report.vue 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800
  1. <template>
  2. <div class="addcompany">
  3. <div class="list">
  4. <div class="list-row" style="padding-top: 0">
  5. <div style="height: auto" class="width100">
  6. <div
  7. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  8. >
  9. <div class="input_title float_left">
  10. <span style="color: red">*&nbsp;</span>检查类型
  11. </div>
  12. <div
  13. class="float_left width60 whitespacenowrap first_title height50rpx font28rpx"
  14. style="color: #777"
  15. >
  16. <picker
  17. @change="bindPickerChange"
  18. :value="form.testTypeIndex"
  19. :range="dic_SelectList.safety_inspection_type"
  20. range-key="label"
  21. >
  22. {{
  23. !dic_SelectList.safety_inspection_type[form.testTypeIndex]
  24. .label
  25. ? "未知类型"
  26. : dic_SelectList.safety_inspection_type[form.testTypeIndex]
  27. .label
  28. }}
  29. </picker>
  30. </div>
  31. </div>
  32. <div
  33. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  34. >
  35. <div class="input_title float_left">
  36. <span style="color: red">*&nbsp;</span>
  37. 归属年度
  38. </div>
  39. <div
  40. class="float_left width60 whitespacenowrap first_title height50rpx font28rpx"
  41. style="color: #777"
  42. >
  43. <picker mode="date" fields="year" @change="selectYear">
  44. {{ form.attributiveYear ? form.attributiveYear : "请选择" }}
  45. </picker>
  46. </div>
  47. </div>
  48. <div
  49. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  50. >
  51. <div class="input_title float_left">
  52. <span style="color: red">*&nbsp;</span>
  53. 检查人
  54. </div>
  55. <input
  56. style="color: #777"
  57. class="input_value float_left"
  58. placeholder="请输入"
  59. v-model="form.checkUser"
  60. />
  61. </div>
  62. <div
  63. v-if="form.testTypeIndex == 2 || form.testTypeIndex == 3"
  64. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  65. style="display: flex; align-items: center; color: #777"
  66. >
  67. <div class="input_title float_left">
  68. <span style="color: red">*&nbsp;</span>
  69. 检查对象
  70. </div>
  71. <div @click="finisherPopupStatus = true">
  72. {{ form.checkCompanyName ? form.checkCompanyName : "请选择" }}
  73. </div>
  74. </div>
  75. <div
  76. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height40rpx"
  77. >
  78. <div class="input_title float_left">
  79. <span style="color: red">*&nbsp;</span>检查日期
  80. </div>
  81. <div
  82. class="float_left width60 whitespacenowrap first_title height50rpx font28rpx"
  83. style="color: #777"
  84. >
  85. <picker mode="date" @change="selectCarDate">
  86. {{ form.checkTime ? form.checkTime : "请选择" }}
  87. </picker>
  88. </div>
  89. </div>
  90. <div
  91. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height300rpx"
  92. style="height: 325rpx"
  93. >
  94. <div class="input_title mb16rpx">检查详情:</div>
  95. <textarea
  96. v-model="form.checkInfo"
  97. :maxlength="2000"
  98. placeholder="请输入"
  99. type="textarea"
  100. style="
  101. height: 200rpx;
  102. background: rgba(249, 249, 249, 1);
  103. padding: 20rpx;
  104. width: calc(100% - 40rpx);
  105. "
  106. />
  107. <div
  108. style="
  109. background: rgba(249, 249, 249, 1);
  110. text-align: right;
  111. padding-right: 10px;
  112. padding-bottom: 10rpx;
  113. "
  114. >
  115. {{ form.checkInfo.length }}/2000
  116. </div>
  117. </div>
  118. <div class="width100 mt24rpx border_bottom_ccc list_date">
  119. <div class="input_title">
  120. <span style="color: red">*&nbsp;</span>自检表:
  121. </div>
  122. <div style="margin-top: 24rpx">(支持图片上传10M内,最多6张)</div>
  123. <div
  124. class="custom-image-box"
  125. style="margin-top: 20rpx; margin-bottom: 36rpx"
  126. >
  127. <van-uploader
  128. :max-count="6"
  129. @delete="deleteRYXXZP()"
  130. :file-list="form.uploadAddressExcel"
  131. @after-read="uploadRYXXZP"
  132. :show-upload="true"
  133. />
  134. </div>
  135. </div>
  136. <div class="width100 mt24rpx border_bottom_ccc list_date">
  137. <div class="input_title">其他附件</div>
  138. <!-- <div style="margin-top: 24rpx">(支持图片上传10M内,最多6张)</div> -->
  139. <div
  140. style="margin-top: 20rpx; margin-bottom: 36rpx"
  141. class="choosefile"
  142. >
  143. <!-- <van-uploader
  144. accept="all"
  145. :max-count="6"
  146. @delete="deleteRYXXZP2()"
  147. :file-list="form.uploadAddressExcel2"
  148. @after-read="uploadRYXXZP2"
  149. :show-upload="true"
  150. /> -->
  151. <uni-file-picker
  152. limit="5"
  153. @delete="deleteRYXXZP2"
  154. @select="uploadRYXXZP2"
  155. v-model="form.uploadAddressExcel2"
  156. file-mediatype="all"
  157. title="最多选择5个文件"
  158. >
  159. <van-button
  160. type="primary"
  161. size="small"
  162. style="margin-bottom: 15rpx"
  163. >文件选择</van-button
  164. >
  165. </uni-file-picker>
  166. <div
  167. @click="openFile(item)"
  168. class="file"
  169. v-for="(item, index) in form.uploadAddressExcel2"
  170. :key="index"
  171. >
  172. <div style="width: 90%">{{ item.name }}</div>
  173. <uni-icons
  174. type="closeempty"
  175. size="20"
  176. @click="deleteRYXXZP2(index)"
  177. ></uni-icons>
  178. </div>
  179. </div>
  180. </div>
  181. <div
  182. class="width100 mt24rpx padb24rpx border_bottom_ccc list_date height300rpx"
  183. style="height: 325rpx"
  184. >
  185. <div class="input_title mb16rpx">备注:</div>
  186. <textarea
  187. v-model="form.remark"
  188. :maxlength="2000"
  189. placeholder="请输入"
  190. type="textarea"
  191. style="
  192. height: 200rpx;
  193. background: rgba(249, 249, 249, 1);
  194. padding: 20rpx;
  195. width: calc(100% - 40rpx);
  196. "
  197. />
  198. <div
  199. style="
  200. background: rgba(249, 249, 249, 1);
  201. text-align: right;
  202. padding-right: 10px;
  203. padding-bottom: 10rpx;
  204. "
  205. >
  206. {{ form.remark.length }}/2000
  207. </div>
  208. </div>
  209. </div>
  210. </div>
  211. <!-- <div class="form">
  212. <div
  213. class="form_row pdt32 pdb32 border_bottom_ccc width100"
  214. @click="getSelectUserTwo('selectDengjiyuan')"
  215. >
  216. <div class="float_left width30 first_title height50rpx">招商经理</div>
  217. <div
  218. class="float_left width60 whitespacenowrap first_title height50rpx font28rpx color292d98"
  219. >
  220. {{ form.investmentManagerString }}
  221. </div>
  222. <img
  223. class="height40rpx width40rpx float_right"
  224. src="../../../static/mine/youjiantou.png"
  225. alt=""
  226. />
  227. </div>
  228. </div> -->
  229. <van-popup
  230. position="bottom"
  231. closeable
  232. :show="finisherPopupStatus"
  233. @close="onClose"
  234. custom-style="height:1000rpx;"
  235. >
  236. <div style="margin-top: 70rpx">
  237. <input
  238. type="text"
  239. v-model="qymc"
  240. @keydown.enter="findAllSimpleCompanies()"
  241. @confirm="findAllSimpleCompanies()"
  242. style="margin: 10rpx 15rpx"
  243. placeholder="请输入园区用户模糊查询"
  244. />
  245. <div class="tabsbox">
  246. <div class="tabsbox-item" v-for="item in companyUserList">
  247. <div style="width: 70%; overflow: hidden">
  248. {{ item.text }}
  249. </div>
  250. <div
  251. @click="getFinishUserName(item.value, item.text, 2)"
  252. :class="[
  253. 'people-select',
  254. form.checkCompanyName == item.value ? 'ischecked' : '',
  255. ]"
  256. >
  257. <div
  258. :class="[
  259. 'select-point',
  260. form.checkCompanyName == item.value ? 'ischecked' : '',
  261. ]"
  262. ></div>
  263. </div>
  264. </div>
  265. </div>
  266. </div>
  267. </van-popup>
  268. <div class="save_button" @click="save()">保存</div>
  269. </div>
  270. <select-dengjiyuan
  271. ref="selectDengjiyuan"
  272. :multiple="true"
  273. :range="range"
  274. :selectParent="true"
  275. :foldAll="true"
  276. rangeKey="name"
  277. idKey="id"
  278. @selectDengjiyuan="selectDengjiyuan"
  279. >
  280. </select-dengjiyuan>
  281. <uni-file-picker v-show="false" ref="files" :auto-upload="false" />
  282. <multiple-select
  283. v-model="show"
  284. :data="companyAllList"
  285. :default-selected="defaultSelected"
  286. @confirm="confirm"
  287. ></multiple-select>
  288. </div>
  289. </template>
  290. <script>
  291. const form = {
  292. uploadAddressExcel: [],
  293. uploadAddressExcel2: [],
  294. testTypeIndex: 0,
  295. year: "2023",
  296. carDate: "2023-06-30",
  297. remark: "",
  298. checkInfo: "",
  299. };
  300. import multipleSelect from "../../subPackages/components/momo-multipleSelect/momo-multipleSelect";
  301. import selectDengjiyuan from "../../subPackages/components/select_dengjiyuan/tkitree.vue";
  302. import tools from "../../subPackages/components/tkitree/tools.js";
  303. import {
  304. getSelectUserTwo,
  305. getSelectDeptTwo,
  306. getByCodes,
  307. getUserLocalStorageInfo,
  308. addSafetySelfCheckingManage,
  309. updateSafetySelfCheckingManage,
  310. findSafetySelfCheckingManagetById,
  311. findAllSimpleCompanies,
  312. } from "@/js_sdk/http";
  313. export default {
  314. components: {
  315. multipleSelect,
  316. selectDengjiyuan,
  317. },
  318. data() {
  319. return {
  320. qymc: "",
  321. id: null,
  322. finisherPopupStatus: false,
  323. companyUserList: [],
  324. BASE_URI: this.$constant.BASE_URI,
  325. companyAllList: [],
  326. defaultSelected: [],
  327. show: false,
  328. bizhongIndex: 0,
  329. testList: [
  330. { label: "类型1", value: 1 },
  331. { label: "类型2", value: 2 },
  332. { label: "类型3", value: 3 },
  333. { label: "类型4", value: 4 },
  334. { label: "类型5", value: 5 },
  335. { label: "类型6", value: 6 },
  336. { label: "类型7", value: 7 },
  337. { label: "类型8", value: 8 },
  338. ],
  339. testList: ["企业自检", "设备自检"],
  340. settleInTypeIndex: 0,
  341. range: [],
  342. zaitiList: [],
  343. imageStyles: {},
  344. listStyles: {},
  345. fileLists: [],
  346. activeNames: [],
  347. StatusBar: 0,
  348. dic_key: ["safety_inspection_type"],
  349. dic_SelectList: {},
  350. search: {
  351. pageSize: 10,
  352. pageNum: 1,
  353. },
  354. form: { ...form },
  355. companyAllList: [],
  356. value: ["0"],
  357. modeIndex: -1,
  358. styleIndex: -1,
  359. current: 0,
  360. mode: "default",
  361. dotsStyles: {},
  362. swiperDotIndex: 0,
  363. };
  364. },
  365. onLoad(option) {
  366. this.id = option.id !== "null" ? option.id : null;
  367. this.form.createdBy = getUserLocalStorageInfo().user.id;
  368. this.getByCodes();
  369. this.findAllSimpleCompanies();
  370. // this.getByCodes();
  371. // this.getCompanyAll();
  372. },
  373. onShow() {},
  374. methods: {
  375. getFinishUserName(id, name, pushType) {
  376. this.form.checkCompanyId = id;
  377. this.form.checkCompanyName = name;
  378. this.finisherPopupStatus = false;
  379. },
  380. onClose() {
  381. this.finisherPopupStatus = false;
  382. },
  383. async findAllSimpleCompanies() {
  384. let { data } = await findAllSimpleCompanies({
  385. pageSize: 1,
  386. pageNum: 1,
  387. qymc: this.qymc,
  388. });
  389. console.log(data);
  390. this.companyUserList = data.rows;
  391. },
  392. async findSafetySelfCheckingManagetById() {
  393. let that = this;
  394. if (that.id != null) {
  395. let detail = await findSafetySelfCheckingManagetById(that.id);
  396. that.form = detail;
  397. that.form.uploadAddressExcel = JSON.parse(detail.uploadAddressExcel);
  398. that.form.uploadAddressExcel2 = JSON.parse(detail.uploadAddressExcel2);
  399. let index = that.dic_SelectList.safety_inspection_type.findIndex(
  400. (e) => e.value == detail.type
  401. );
  402. if (index != -1) {
  403. that.form.testTypeIndex = index;
  404. that.form.type = that.safety_inspection_type[index].value;
  405. }
  406. }
  407. },
  408. selectYear(event) {
  409. this.form.attributiveYear = event.detail.value;
  410. this.$forceUpdate();
  411. },
  412. selectCarDate(event) {
  413. this.form.checkTime = event.detail.value;
  414. this.$forceUpdate();
  415. },
  416. bindPickerChange: function (e) {
  417. console.log("picker发送选择改变,携带值为", e.detail);
  418. this.form.testTypeIndex = e.detail.value;
  419. this.form.type =
  420. this.dic_SelectList.safety_inspection_type[e.detail.value].value;
  421. },
  422. uploadRYXXZP(event) {
  423. let that = this;
  424. const { file } = event.detail;
  425. uni.uploadFile({
  426. url: that.$constant.BASE_URI + "/wx/fileController/upload",
  427. filePath: file.url,
  428. name: "file",
  429. formData: { user: "test" },
  430. success(res) {
  431. // 上传完成需要更新 fileList
  432. let data = JSON.parse(res.data);
  433. that.form.uploadAddressExcel.push({
  434. imgUrl: "/FileController/download/" + data.data[0],
  435. id: data.data[0],
  436. url:
  437. that.$constant.BASE_URI +
  438. "/FileController/download/" +
  439. data.data[0],
  440. isImage: true,
  441. });
  442. },
  443. fail(res) {},
  444. });
  445. },
  446. uploadRYXXZP2(e) {
  447. console.log(e);
  448. let that = this;
  449. let tempFilePaths = e.tempFilePaths[0];
  450. uni.uploadFile({
  451. url: that.$constant.BASE_URI + "/wx/fileController/upload2",
  452. filePath: tempFilePaths,
  453. name: "file",
  454. formData: { user: "test" },
  455. success(res) {
  456. // 上传完成需要更新 fileList
  457. let data = JSON.parse(res.data);
  458. console.log(data);
  459. that.form.uploadAddressExcel2.push({
  460. name: JSON.parse(data.data[0]).name,
  461. size: JSON.parse(data.data[0]).size,
  462. imgUrl: "/FileController/download/" + data.data[1],
  463. id: data.data[1],
  464. url:
  465. that.$constant.BASE_URI +
  466. "/FileController/download/" +
  467. data.data[1],
  468. });
  469. console.log(that.form.uploadAddressExcel2);
  470. },
  471. fail(res) {},
  472. });
  473. },
  474. confirm(e) {
  475. var associationCompanyString = [];
  476. var associationCompany = [];
  477. for (var p in e) {
  478. associationCompanyString.push(e[p].label);
  479. associationCompany.push(e[p].value);
  480. }
  481. this.form.associationCompanyString = associationCompanyString.join(",");
  482. this.form.associationCompany = associationCompany.join(",");
  483. },
  484. deleteRYXXZP(event) {
  485. this.form.uploadAddressExcel.splice(event.detail.index, 1);
  486. },
  487. deleteRYXXZP2(index) {
  488. console.log(index);
  489. this.form.uploadAddressExcel2.splice(index, 1);
  490. },
  491. openFile(item) {
  492. uni.downloadFile({
  493. url: item.url,
  494. success: function (res) {
  495. var filePath = res.tempFilePath;
  496. console.log("下载文件:", res);
  497. uni.openDocument({
  498. filePath: filePath,
  499. success: function (res) {
  500. console.log("打开文档成功");
  501. },
  502. fail: function (res) {
  503. console.log("uni.openDocument,fail");
  504. console.log(res);
  505. },
  506. complete: function (res) {
  507. console.log("uni.openDocument,complete");
  508. console.log(res);
  509. },
  510. });
  511. },
  512. fail: function (res) {
  513. console.log("uni.downloadFile,fail");
  514. console.log(res);
  515. },
  516. complete: function (res) {
  517. console.log("uni.downloadFile,complete");
  518. console.log(res);
  519. },
  520. });
  521. console.log(item);
  522. },
  523. async getByCodes() {
  524. let data = await getByCodes(JSON.stringify(this.dic_key));
  525. this.dic_SelectList = this.$common.handleDicList(data);
  526. this.form.type = this.dic_SelectList.safety_inspection_type[0].value;
  527. if (this.form.createdBy) {
  528. this.findSafetySelfCheckingManagetById();
  529. }
  530. },
  531. // /wx/SaleController/findRoomInfoListByIds
  532. async findRoomInfoListByIds() {
  533. let data = await findRoomInfoListByIds(ids);
  534. return data;
  535. },
  536. async getSelectUserTwo(key) {
  537. let that = this;
  538. let departmentList = await getSelectUserTwo("");
  539. that.range = tools.transData(
  540. departmentList.data,
  541. "id",
  542. "parentid",
  543. "children"
  544. );
  545. that.$refs[key]._show();
  546. },
  547. async getSelectDeptTwo(key) {
  548. let that = this;
  549. let departmentList = await getSelectDeptTwo("");
  550. that.range = tools.transData(
  551. departmentList.data,
  552. "id",
  553. "parentid",
  554. "children"
  555. );
  556. that.$refs[key]._show();
  557. },
  558. binddata() {},
  559. submit() {},
  560. async save() {
  561. let that = this;
  562. if (!that.form.attributiveYear || that.form.attributiveYear.length == 0) {
  563. that.$showToast("请选择归属年度");
  564. return;
  565. }
  566. if (!that.form.checkUser || that.form.checkUser.length == 0) {
  567. that.$showToast("请填写检查人");
  568. return;
  569. }
  570. if (!that.form.checkTime || that.form.checkTime.length == 0) {
  571. that.$showToast("请选择检查日期");
  572. return;
  573. }
  574. if (
  575. (that.form.testTypeIndex == 2 || that.form.testTypeIndex == 3) &&
  576. !that.form.checkCompanyName
  577. ) {
  578. that.$showToast("请选择检查对象");
  579. return;
  580. }
  581. console.log(that.form.uploadAddressExcel);
  582. if (
  583. !that.form.uploadAddressExcel ||
  584. that.form.uploadAddressExcel.length == 0
  585. ) {
  586. that.$showToast("请填写上传自检表");
  587. return;
  588. }
  589. console.log(that.form.uploadAddressExcel);
  590. let uploadAddressExcel = JSON.stringify(that.form.uploadAddressExcel);
  591. let uploadAddressExcel2 = JSON.stringify(that.form.uploadAddressExcel2);
  592. let form = { ...this.form };
  593. form.companyName = getUserLocalStorageInfo().user.truename;
  594. form.uploadAddressExcel = uploadAddressExcel;
  595. form.uploadAddressExcel2 = uploadAddressExcel2;
  596. let data;
  597. if (this.id) data = await updateSafetySelfCheckingManage(form);
  598. else data = await addSafetySelfCheckingManage(form);
  599. if (data.code == 200) {
  600. this.$showToast(this.id ? "编辑成功" : "新增成功");
  601. uni.navigateBack({});
  602. }
  603. },
  604. chossseFile() {
  605. this.$refs.files.upload();
  606. },
  607. onChange(event) {
  608. this.activeNames = event.detail;
  609. },
  610. },
  611. };
  612. </script>
  613. <style scoped lang="scss" scpoed>
  614. .tabsbox {
  615. height: 680rpx;
  616. overflow-y: auto;
  617. padding: 10rpx;
  618. .tabsbox-item {
  619. margin: 5rpx;
  620. display: flex;
  621. justify-content: space-between;
  622. align-items: center;
  623. }
  624. }
  625. .people-select {
  626. height: 30rpx;
  627. width: 30rpx;
  628. border-radius: 50%;
  629. border: 5rpx solid #cccc;
  630. text-align: center;
  631. line-height: 50rpx;
  632. align-items: center;
  633. display: flex;
  634. justify-content: center;
  635. .select-point {
  636. height: 15rpx;
  637. width: 15rpx;
  638. background: #cccc;
  639. border-radius: 50%;
  640. }
  641. }
  642. .save_button {
  643. width: calc(100% - 64rpx);
  644. margin: 64rpx 32rpx 0 32rpx;
  645. background: #1d18bc;
  646. border-radius: 50rpx;
  647. height: 88rpx;
  648. color: white;
  649. text-align: center;
  650. line-height: 88rpx;
  651. }
  652. .form {
  653. width: calc(100% - 64rpx);
  654. background: #ffffff;
  655. padding: 32rpx;
  656. margin-top: 64rpx;
  657. .label {
  658. height: 53rpx;
  659. line-height: 53rpx;
  660. }
  661. }
  662. .form_row {
  663. height: 40rpx;
  664. font-weight: 400;
  665. font-size: 24rpx;
  666. }
  667. .zaiti_list {
  668. width: 100%;
  669. height: 50rpx;
  670. line-height: 50rpx;
  671. }
  672. .idclass {
  673. width: 147rpx;
  674. height: 100rpx;
  675. }
  676. .dengjibutton {
  677. margin-top: 24rpx;
  678. margin-left: 60rpx;
  679. margin-right: 60rpx;
  680. width: calc(100% - 120rpx);
  681. height: 60rpx;
  682. text-align: center;
  683. background: #1d18bc;
  684. color: white;
  685. line-height: 60rpx;
  686. }
  687. .addcompany {
  688. margin-bottom: 200rpx;
  689. }
  690. .addcompany {
  691. .detailstitle {
  692. height: 42rpx;
  693. font-size: 30rpx;
  694. font-weight: 500;
  695. color: #333333;
  696. padding-bottom: 16rpx;
  697. }
  698. .typestitle {
  699. height: 42rpx;
  700. font-size: 24rpx;
  701. font-weight: 500;
  702. padding-bottom: 16rpx;
  703. margin-bottom: 16rpx;
  704. }
  705. }
  706. </style>
  707. <style lang="scss">
  708. .choosefile {
  709. .is-text-box {
  710. display: none !important;
  711. }
  712. .file {
  713. display: flex;
  714. width: 100%;
  715. flex: 1;
  716. font-size: 14px;
  717. color: #666;
  718. margin-right: 25px;
  719. word-break: break-all;
  720. word-wrap: break-word;
  721. margin-bottom: 15rpx;
  722. }
  723. }
  724. ::v-deep .is-open + .uni-collapse-item__wrap {
  725. height: auto !important;
  726. }
  727. ::v-deep .uni-collapse-item__wrap-content {
  728. height: auto !important;
  729. }
  730. .pageconfig {
  731. background: #ffffff;
  732. padding: 32rpx;
  733. }
  734. .input_title {
  735. width: 40%;
  736. font-size: 28rpx;
  737. height: 40rpx;
  738. line-height: 40rpx;
  739. color: #333333;
  740. }
  741. .input_value {
  742. width: 60%;
  743. font-size: 28rpx;
  744. height: 40rpx;
  745. line-height: 40rpx;
  746. color: #777777;
  747. }
  748. .uni-collapse-item__title-box {
  749. padding: 0 !important;
  750. }
  751. .uni-collapse-item__title-text {
  752. color: #1d18bc !important;
  753. font-size: 32rpx !important;
  754. }
  755. </style>
  756. <style lang="scss">
  757. .example-body {
  758. padding: 10px;
  759. padding-top: 0;
  760. }
  761. .custom-image-box {
  762. /* #ifndef APP-NVUE */
  763. display: flex;
  764. /* #endif */
  765. flex-direction: row;
  766. justify-content: space-between;
  767. align-items: center;
  768. }
  769. .text {
  770. font-size: 14px;
  771. color: #333;
  772. }
  773. .uni-file-picker__item {
  774. display: none;
  775. }
  776. .uploadbutton {
  777. width: 162rpx;
  778. height: 44rpx;
  779. }
  780. .ischecked {
  781. background: rgb(7, 193, 96);
  782. border: 5rpx solid rgb(7, 193, 96);
  783. }
  784. </style>