orderprocessreportdetail.vue 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655
  1. <template>
  2. <view class="container">
  3. <uni-nav-bar dark :fixed="true" backgroundColor="#3F9EFF" statusBar="false" left-icon="left" left-text="返回"
  4. @clickLeft="toBack">
  5. <view style="width: 100%;display: flex;flex-direction: row;justify-content: center;align-items: center;">
  6. <text style="color: white;font-size: 1rem;">{{title}}</text>
  7. </view>
  8. </uni-nav-bar>
  9. <view v-if="reportInfo.orderStatusKey==orderStatusCreateKey">
  10. <uSection title="工单说明" titleFontSize="0.8rem" type="line">
  11. <uCard :is-shadow="false">
  12. <text class="uni-body">{{reportInfo.processDesc}}</text>
  13. </uCard>
  14. </uSection>
  15. <uSection title="工单来源" titleFontSize="0.8rem" type="line">
  16. <uCard :is-shadow="false">
  17. <text class="uni-body">{{reportInfo.orderFromText}}</text>
  18. </uCard>
  19. </uSection>
  20. </view>
  21. <view v-else-if="reportInfo.orderStatusKey==orderStatusConfirmKey">
  22. <uSection title="工单说明" titleFontSize="0.8rem" type="line">
  23. <uCard :is-shadow="false">
  24. <text class="uni-body">{{reportInfo.processDesc}}</text>
  25. </uCard>
  26. </uSection>
  27. <uSection title="接单运维人员姓名" titleFontSize="0.8rem" type="line">
  28. <uCard :is-shadow="false">
  29. <text class="uni-body">{{reportInfo.orderConfirmUserName}}</text>
  30. </uCard>
  31. </uSection>
  32. </view>
  33. <view v-else-if="reportInfo.orderStatusKey==orderStatusProcessKey">
  34. <uSection title="工单说明" titleFontSize="0.8rem" type="line">
  35. <uCard :is-shadow="false">
  36. <text class="uni-body">{{reportInfo.processDesc}}</text>
  37. </uCard>
  38. <uCard v-if="reportInfo.basePhoto1Take ==1" padding="0" spacing="0" :is-shadow="false">
  39. <template v-slot:cover>
  40. <view class="custom-cover">
  41. <image class="cover-image" style="width: 100%;" mode="aspectFill"
  42. :src="toOss(reportInfo.basePhoto1Url)">
  43. </image>
  44. <view class="cover-content" style="text-align: center;">
  45. <text class="uni-subtitle uni-white" style="color: gray;">图片一</text>
  46. </view>
  47. </view>
  48. </template>
  49. </uCard>
  50. <uCard v-if="reportInfo.basePhoto2Take" padding="0" spacing="0" :is-shadow="false">
  51. <template v-slot:cover>
  52. <view class="custom-cover">
  53. <image class="cover-image" style="width: 100%;" mode="aspectFill"
  54. :src="toOss(reportInfo.basePhoto2Url)">
  55. </image>
  56. <view class="cover-content" style="text-align: center;">
  57. <text class="uni-subtitle uni-white" style="color: gray;">图片二</text>
  58. </view>
  59. </view>
  60. </template>
  61. </uCard>
  62. </uSection>
  63. <uSection title="RTU设备信息" titleFontSize="0.8rem" type="line">
  64. <template v-slot:right>
  65. <view style="padding-right: 15px;">
  66. <text style="font-size: 0.7rem;">运行状态:</text>
  67. <text v-if="reportInfo.rtuStatus == 0"
  68. style="font-size: 0.7rem;color: green;margin-left: 4px;">正常</text>
  69. <text v-else style="font-size: 0.7rem;color: orangered;margin-left: 4px;">故障</text>
  70. </view>
  71. </template>
  72. <uCard title="是否更换RTU" :is-shadow="false">
  73. <text v-if="reportInfo.rtuReplace==0" class="uni-body">否</text>
  74. <text v-else class="uni-body">更换</text>
  75. </uCard>
  76. <uCard title="备注说明" :is-shadow="false">
  77. <text class="uni-body">{{reportInfo.rtuDesc}}</text>
  78. </uCard>
  79. <uCard v-if="reportInfo.rtuPhotoTake" padding="0" spacing="0" :is-shadow="false">
  80. <template v-slot:cover>
  81. <view class="custom-cover">
  82. <image class="cover-image" style="width: 100%;" mode="aspectFill"
  83. :src="toOss(reportInfo.rtuPhotoUrl)">
  84. </image>
  85. <view class="cover-content" style="text-align: center;">
  86. <text class="uni-subtitle uni-white" style="color: gray;">RTU图片</text>
  87. </view>
  88. </view>
  89. </template>
  90. </uCard>
  91. </uSection>
  92. <!-- <uSection v-if="reportInfo.rainSensorActive ==1" title="雨量传感器" titleFontSize="0.8rem" type="line"> -->
  93. <uSection title="雨量传感器" titleFontSize="0.8rem" type="line">
  94. <template v-slot:right>
  95. <view style="padding-right: 15px;">
  96. <text style="font-size: 0.7rem;">运行状态:</text>
  97. <text v-if="reportInfo.rainSensorStatus == 0"
  98. style="font-size: 0.7rem;color: green;margin-left: 4px;">正常</text>
  99. <text v-else style="font-size: 0.7rem;color: orangered;margin-left: 4px;">故障</text>
  100. </view>
  101. </template>
  102. <uCard title="是否更换雨量传感器" :is-shadow="false">
  103. <text v-if="reportInfo.rainSensorReplace==0" class="uni-body">否</text>
  104. <text v-else class="uni-body">更换</text>
  105. </uCard>
  106. <uCard title="备注说明" :is-shadow="false">
  107. <text class="uni-body">{{reportInfo.rainSensorDesc}}</text>
  108. </uCard>
  109. <uCard v-if="reportInfo.rainSensorPhotoTake" padding="0" spacing="0" :is-shadow="false">
  110. <template v-slot:cover>
  111. <view class="custom-cover">
  112. <image class="cover-image" style="width: 100%;" mode="aspectFill"
  113. :src="toOss(reportInfo.rainSensorPhotoUrl)">
  114. </image>
  115. <view class="cover-content" style="text-align: center;">
  116. <text class="uni-subtitle uni-white" style="color: gray;">雨量传感器图片</text>
  117. </view>
  118. </view>
  119. </template>
  120. </uCard>
  121. </uSection>
  122. <!-- <uSection v-if="reportInfo.waterLevelSensorActive ==1" title="水位传感器" titleFontSize="0.8rem" type="line"> -->
  123. <uSection title="水位传感器" titleFontSize="0.8rem" type="line">
  124. <template v-slot:right>
  125. <view style="padding-right: 15px;">
  126. <text style="font-size: 0.7rem;">运行状态:</text>
  127. <text v-if="reportInfo.waterLevelSensorStatus == 0"
  128. style="font-size: 0.7rem;color: green;margin-left: 4px;">正常</text>
  129. <text v-else style="font-size: 0.7rem;color: orangered;margin-left: 4px;">故障</text>
  130. </view>
  131. </template>
  132. <uCard title="是否更换水位传感器" :is-shadow="false">
  133. <text v-if="reportInfo.waterSensorReplace==0" class="uni-body">否</text>
  134. <text v-else class="uni-body">更换</text>
  135. </uCard>
  136. <uCard title="备注说明" :is-shadow="false">
  137. <text class="uni-body">{{reportInfo.waterSensorDesc}}</text>
  138. </uCard>
  139. <uCard v-if="reportInfo.waterSensorPhotoTake" padding="0" spacing="0" :is-shadow="false">
  140. <template v-slot:cover>
  141. <view class="custom-cover">
  142. <image class="cover-image" style="width: 100%;" mode="aspectFill"
  143. :src="toOss(reportInfo.waterSensorPhotoUrl)">
  144. </image>
  145. <view class="cover-content" style="text-align: center;">
  146. <text class="uni-subtitle uni-white" style="color: gray;">水位传感器图片</text>
  147. </view>
  148. </view>
  149. </template>
  150. </uCard>
  151. </uSection>
  152. <uSection title="墒情传感器" titleFontSize="0.8rem" type="line">
  153. <!-- <uSection v-if="reportInfo.groundWaterSensorActive ==1" title="墒情传感器" titleFontSize="0.8rem" type="line"> -->
  154. <template v-slot:right>
  155. <view style="padding-right: 15px;">
  156. <text style="font-size: 0.7rem;">运行状态:</text>
  157. <text v-if="reportInfo.groundWaterSensorStatus == 0"
  158. style="font-size: 0.7rem;color: green;margin-left: 4px;">正常</text>
  159. <text v-else style="font-size: 0.7rem;color: orangered;margin-left: 4px;">故障</text>
  160. </view>
  161. </template>
  162. <uCard title="是否更换墒情传感器" :is-shadow="false">
  163. <text v-if="reportInfo.groundSensorReplace==0" class="uni-body">否</text>
  164. <text v-else class="uni-body">更换</text>
  165. </uCard>
  166. <uCard title="备注说明" :is-shadow="false">
  167. <text class="uni-body">{{reportInfo.groundSensorDesc}}</text>
  168. </uCard>
  169. <uCard v-if="reportInfo.groundSensorPhotoTake" padding="0" spacing="0" :is-shadow="false">
  170. <template v-slot:cover>
  171. <view class="custom-cover">
  172. <image class="cover-image" style="width: 100%;" mode="aspectFill"
  173. :src="toOss(reportInfo.groundSensorPhotoUrl)">
  174. </image>
  175. <view class="cover-content" style="text-align: center;">
  176. <text class="uni-subtitle uni-white" style="color: gray;">墒情传感器图片</text>
  177. </view>
  178. </view>
  179. </template>
  180. </uCard>
  181. </uSection>
  182. <uSection title="供电系统" titleFontSize="0.8rem" type="line">
  183. <template v-slot:right>
  184. <view style="padding-right: 15px;">
  185. <text style="font-size: 0.7rem;">运行状态:</text>
  186. <text v-if="reportInfo.powerStatus == 0"
  187. style="font-size: 0.7rem;color: green;margin-left: 4px;">正常</text>
  188. <text v-else style="font-size: 0.7rem;color: orangered;margin-left: 4px;">故障</text>
  189. </view>
  190. </template>
  191. <uCard title="是否更换蓄电池" :is-shadow="false">
  192. <text v-if="reportInfo.batteryReplace==0" class="uni-body">否</text>
  193. <text v-else class="uni-body">更换</text>
  194. </uCard>
  195. <uCard title="是否更换太阳能板" :is-shadow="false">
  196. <text v-if="reportInfo.sunPowerReplace==0" class="uni-body">否</text>
  197. <text v-else class="uni-body">更换</text>
  198. </uCard>
  199. <uCard title="备注说明" :is-shadow="false">
  200. <text class="uni-body">{{reportInfo.powerDesc}}</text>
  201. </uCard>
  202. <uCard v-if="reportInfo.batteryPhotoTake" padding="0" spacing="0" :is-shadow="false">
  203. <template v-slot:cover>
  204. <view class="custom-cover">
  205. <image class="cover-image" style="width: 100%;" mode="aspectFill"
  206. :src="toOss(reportInfo.batteryPhotoUrl)">
  207. </image>
  208. <view class="cover-content" style="text-align: center;">
  209. <text class="uni-subtitle uni-white" style="color: gray;">蓄电池图片</text>
  210. </view>
  211. </view>
  212. </template>
  213. </uCard>
  214. <uCard v-if="reportInfo.sunPhotoTake" padding="0" spacing="0" :is-shadow="false">
  215. <template v-slot:cover>
  216. <view class="custom-cover">
  217. <image class="cover-image" style="width: 100%;" mode="aspectFill"
  218. :src="toOss(reportInfo.sunPhotoUrl)">
  219. </image>
  220. <view class="cover-content" style="text-align: center;">
  221. <text class="uni-subtitle uni-white" style="color: gray;">太阳能板图片</text>
  222. </view>
  223. </view>
  224. </template>
  225. </uCard>
  226. </uSection>
  227. <!-- <uSection v-if="reportInfo.networkActive ==1" title="4G移动网络" titleFontSize="0.8rem" type="line"> -->
  228. <uSection title="4G移动网络" titleFontSize="0.8rem" type="line">
  229. <template v-slot:right>
  230. <view style="padding-right: 15px;">
  231. <text style="font-size: 0.7rem;">运行状态:</text>
  232. <text v-if="reportInfo.networkStatus == 0"
  233. style="font-size: 0.7rem;color: green;margin-left: 4px;">正常</text>
  234. <text v-else style="font-size: 0.7rem;color: orangered;margin-left: 4px;">故障</text>
  235. </view>
  236. </template>
  237. <uCard title="是否欠费" :is-shadow="false">
  238. <text v-if="reportInfo.networkOverdue==0" class="uni-body">否</text>
  239. <text v-else class="uni-body">欠费</text>
  240. </uCard>
  241. <uCard title="备注说明" :is-shadow="false">
  242. <text class="uni-body">{{reportInfo.networkDesc}}</text>
  243. </uCard>
  244. </uSection>
  245. <!-- <uSection v-if="reportInfo.satelliteActive ==1" title="北斗通讯" titleFontSize="0.8rem" type="line"> -->
  246. <uSection title="北斗通讯" titleFontSize="0.8rem" type="line">
  247. <template v-slot:right>
  248. <view style="padding-right: 15px;">
  249. <text style="font-size: 0.7rem;color: gray;">运行状态:</text>
  250. <text v-if="reportInfo.satelliteStatus == 0"
  251. style="font-size: 0.7rem;color: green;margin-left: 4px;">正常</text>
  252. <text v-else style="font-size: 0.7rem;color: orangered;margin-left: 4px;">故障</text>
  253. </view>
  254. </template>
  255. <uCard title="备注说明" :is-shadow="false">
  256. <text class="uni-body">{{reportInfo.satelliteDesc}}</text>
  257. </uCard>
  258. </uSection>
  259. </view>
  260. <view v-else>
  261. <uSection title="工单说明" titleFontSize="0.8rem" type="line">
  262. <uCard :is-shadow="false">
  263. <text class="uni-body">{{reportInfo.processDesc}}</text>
  264. </uCard>
  265. </uSection>
  266. </view>
  267. </view>
  268. </template>
  269. <script>
  270. import http from '@/http/api.js';
  271. import {
  272. pathToBase64,
  273. base64ToPath
  274. } from '@/js_sdk/mmmm-image-tools/index.js';
  275. import {
  276. oss,
  277. devUrl,
  278. prodUrl
  279. } from '@/common/setting';
  280. import uNavBar from '@/uni_modules/uni-nav-bar/components/uni-nav-bar/uni-nav-bar.vue'
  281. import uDataPicker from '@/uni_modules/uni-data-picker/components/uni-data-picker/uni-data-picker.vue'
  282. import uGroup from '@/uni_modules/uni-group/uni-group.vue'
  283. import uSection from '@/uni_modules/uni-section/uni-section.vue'
  284. import uPagination from '@/uni_modules/uni-pagination/components/uni-pagination/uni-pagination.vue'
  285. import uBreadcrumb from '@/uni_modules/uni-breadcrumb/components/uni-breadcrumb/uni-breadcrumb.vue'
  286. import uList from '@/uni_modules/uni-list/components/uni-list/uni-list.vue'
  287. import uListItem from '@/uni_modules/uni-list/components/uni-list-item/uni-list-item.vue'
  288. import uIcons from '@/uni_modules/uni-icons/components/uni-icons/uni-icons.vue'
  289. import uCard from '@/uni_modules/uni-card/components/uni-card/uni-card.vue'
  290. export default {
  291. components: {
  292. uNavBar,
  293. uDataPicker,
  294. uPagination,
  295. uBreadcrumb,
  296. uList,
  297. uListItem,
  298. uIcons,
  299. uGroup,
  300. uSection,
  301. uCard,
  302. },
  303. onLoad(options) {
  304. this.processId = options.processId;
  305. //this.rtuCode = options.rtuCode;
  306. this.baseURL = process.env.NODE_ENV === 'development' ? devUrl : prodUrl;
  307. //初始化巡检填报字典
  308. this.getReportDict();
  309. //查询计划信息
  310. //this.getPlanInfo();
  311. //this.getReportInfo();
  312. },
  313. data() {
  314. return {
  315. baseURL: '',
  316. reportId: 0,
  317. orderStatusCreateKey: 0,
  318. orderStatusConfirmKey: 0,
  319. orderStatusProcessKey: 0,
  320. orderStatusCloseKey: 0,
  321. reportInfo: {
  322. orderStatusKey: -1,
  323. orderConfirmUserName: '',
  324. orderFromText: '',
  325. processDesc: '测试测试',
  326. basePhoto1Url: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/094a9dc0-50c0-11eb-b680-7980c8a877b8.jpg',
  327. basePhoto1Take: true,
  328. basePhoto2Url: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/094a9dc0-50c0-11eb-b680-7980c8a877b8.jpg',
  329. basePhoto2Take: true,
  330. rtuStatus: 0,
  331. rtuDesc: '测试测试',
  332. rtuReplace: 1,
  333. rtuPhotoUrl: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/094a9dc0-50c0-11eb-b680-7980c8a877b8.jpg',
  334. rtuPhotoTake: true,
  335. rainSensorActive: 1,
  336. rainSensorStatus: 0,
  337. rainSensorDesc: '测试测试',
  338. rainSensorReplace: 0,
  339. rainSensorPhotoUrl: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/094a9dc0-50c0-11eb-b680-7980c8a877b8.jpg',
  340. rainSensorPhotoTake: true,
  341. waterSensorReplace: 0,
  342. waterSensorDesc: '测试测试',
  343. waterSensorPhotoUrl: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/094a9dc0-50c0-11eb-b680-7980c8a877b8.jpg',
  344. waterSensorPhotoTake: true,
  345. waterLevelSensorActive: 1,
  346. waterLevelSensorStatus: 1,
  347. groundSensorReplace: 0,
  348. groundSensorDesc: '测试测试',
  349. groundSensorPhotoUrl: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/094a9dc0-50c0-11eb-b680-7980c8a877b8.jpg',
  350. groundSensorPhotoTake: true,
  351. groundWaterSensorActive: 1,
  352. groundWaterSensorStatus: 0,
  353. batteryReplace: 0,
  354. sunPowerReplace: 0,
  355. batteryPhotoUrl: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/094a9dc0-50c0-11eb-b680-7980c8a877b8.jpg',
  356. batteryPhotoTake: true,
  357. sunPhotoUrl: 'https://vkceyugu.cdn.bspapp.com/VKCEYUGU-dc-site/094a9dc0-50c0-11eb-b680-7980c8a877b8.jpg',
  358. sunPhotoTake: true,
  359. powerDesc: '测试测试',
  360. powerStatus: 0,
  361. networkOverdue: 1,
  362. networkDesc: '111',
  363. networkStatus: 0,
  364. networkActive: 1,
  365. satelliteStatus: 0,
  366. satelliteDesc: '测试测试',
  367. satelliteActive: 0,
  368. },
  369. title: '工单填报详情',
  370. desc: '',
  371. }
  372. },
  373. computed: {
  374. getIcon() {
  375. return path => {
  376. return 'https://cdn.uviewui.com/uview/example/' + path + '.png';
  377. }
  378. },
  379. },
  380. onShow() {
  381. },
  382. created() {
  383. },
  384. methods: {
  385. toOss(path) {
  386. return oss + path;
  387. },
  388. toBack() {
  389. uni.navigateBack({
  390. delta: 1
  391. })
  392. },
  393. dateFormat(dt) {
  394. var text = "" + dt.getFullYear();
  395. text += "-";
  396. text += ((dt.getMonth() + 1) < 10) ? ("0" + (dt.getMonth() + 1)) : (dt
  397. .getMonth() +
  398. 1);
  399. text += "-";
  400. text += dt.getDate() < 10 ? "0" + dt.getDate() : dt.getDate();
  401. text += " ";
  402. text += dt.getHours() < 10 ? "0" + dt.getHours() : dt.getHours();
  403. text += ":";
  404. text += dt.getMinutes() < 10 ? "0" + dt.getMinutes() : dt.getMinutes();
  405. text += ":";
  406. text += dt.getSeconds() < 10 ? "0" + dt.getSeconds() : dt.getSeconds();
  407. return text;
  408. },
  409. getReportDict() {
  410. var that = this;
  411. //查询北斗模式
  412. http.request({
  413. url: '/galaxy-system/dict-biz/dictionary?code=rtu_check_order_status',
  414. method: 'GET'
  415. }).then(res => {
  416. console.log(res.data)
  417. if (res.data != null) {
  418. const dictLength = res.data['length'];
  419. for (var i = 0; i < dictLength; i++) {
  420. let dict = res.data[i];
  421. if (dict.dictKey === '1') {
  422. that.orderStatusCreateKey = dict.id;
  423. } else if (dict.dictKey === '2') {
  424. that.orderStatusConfirmKey = dict.id;
  425. } else if (dict.dictKey === '3') {
  426. that.orderStatusProcessKey = dict.id;
  427. } else if (dict.dictKey === '4') {
  428. that.orderStatusCloseKey = dict.id;
  429. }
  430. }
  431. that.getReportInfo();
  432. }
  433. }).catch(err => {
  434. console.log(err)
  435. })
  436. },
  437. getReportInfo() {
  438. var that = this;
  439. var postData = {};
  440. postData['id'] = this.processId;
  441. console.log("processId ", this.processId);
  442. http.request({
  443. url: '/galaxy-test/rtu/check/order/process/detail',
  444. method: 'GET',
  445. data: postData
  446. }).then(res => {
  447. console.log(res.data)
  448. if (res.data != null) {
  449. that.reportInfo = res.data;
  450. //that.reportInfo.orderStatusKey=res.data.orderStatusKey;
  451. }
  452. }).catch(err => {
  453. console.log(err)
  454. })
  455. },
  456. }
  457. }
  458. </script>
  459. <style>
  460. /* page {
  461. background-color: rgb(240, 242, 244);
  462. } */
  463. .cell-hover-class {
  464. background-color: rgb(235, 237, 238);
  465. }
  466. .view-flex-rs {
  467. display: flex;
  468. flex-direction: row;
  469. justify-content: flex-start;
  470. }
  471. .view-flex-rc {
  472. display: flex;
  473. flex-direction: row;
  474. justify-content: center;
  475. }
  476. .view-flex-re {
  477. display: flex;
  478. flex-direction: row;
  479. justify-content: flex-end;
  480. }
  481. .view-flex-cs {
  482. display: flex;
  483. flex-direction: column;
  484. justify-content: flex-start;
  485. }
  486. .view-flex-cc {
  487. display: flex;
  488. flex-direction: column;
  489. justify-content: center;
  490. }
  491. .view-flex-ce {
  492. display: flex;
  493. flex-direction: column;
  494. justify-content: flex-end;
  495. }
  496. .line-body {
  497. padding-left: 10px;
  498. padding-right: 10px;
  499. }
  500. .required-star {
  501. color: #FF0000;
  502. font-size: 15px;
  503. width: 20px;
  504. text-align: center;
  505. padding-left: 0px;
  506. padding-right: 2px;
  507. }
  508. .item-title {
  509. color: #909399;
  510. font-size: 15px;
  511. }
  512. .mline-text {
  513. padding-left: 2px;
  514. width: 100%;
  515. /* background-color:#909399; */
  516. height: 70px;
  517. border: 1px solid #FF5A5F;
  518. border-radius: 5px;
  519. }
  520. </style>
  521. <style lang="scss" scoped>
  522. .container {
  523. padding: 0 0 50rpx;
  524. }
  525. .uni-body {
  526. font-size: 0.8rem;
  527. }
  528. .u-cell-icon {
  529. width: 36rpx;
  530. height: 36rpx;
  531. margin-right: 8rpx;
  532. }
  533. .slot-box {
  534. /* #ifndef APP-NVUE */
  535. display: flex;
  536. /* #endif */
  537. flex-direction: row;
  538. align-items: center;
  539. }
  540. .slot-image {
  541. /* #ifndef APP-NVUE */
  542. display: block;
  543. /* #endif */
  544. margin-right: 10px;
  545. width: 30px;
  546. height: 30px;
  547. }
  548. .slot-text {
  549. flex: 1;
  550. font-size: 14px;
  551. color: #4cd964;
  552. margin-right: 10px;
  553. }
  554. .img-container {
  555. margin-bottom: 0px;
  556. width: 100px;
  557. height: 100px;
  558. .note-image-box {
  559. margin-top: 0px;
  560. display: flex;
  561. flex-wrap: wrap;
  562. padding: 10px;
  563. .note-image-item {
  564. position: relative;
  565. width: 100%;
  566. height: 0;
  567. padding-top: 100%;
  568. box-sizing: border-box;
  569. // background-color: #18B566;
  570. .close-icon {
  571. display: flex;
  572. justify-content: center;
  573. align-items: center;
  574. position: absolute;
  575. right: 0px;
  576. top: 0px;
  577. width: 22px;
  578. height: 22px;
  579. border-radius: 50%;
  580. background-color: #d5d5d5;
  581. z-index: 2;
  582. }
  583. .image-box {
  584. display: flex;
  585. justify-content: center;
  586. align-items: center;
  587. position: absolute;
  588. top: 5px;
  589. right: 5px;
  590. border: 5px;
  591. left: 5px;
  592. border: 1px #eee solid;
  593. border-radius: 5px;
  594. overflow: hidden;
  595. width: 98%;
  596. height: 98%;
  597. }
  598. }
  599. }
  600. }
  601. .input-body {
  602. background-color: #fff;
  603. padding: 10px;
  604. }
  605. </style>