equipmentinspectionreportdetail.vue 21 KB

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