index.vue 23 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668
  1. <template>
  2. <view class="page home">
  3. <view class="page-back"></view>
  4. <view class="uni-page-head navgator justify-center align-center">
  5. <uni-row style="width: 100%; display: flex">
  6. <uni-col :span="6" />
  7. <uni-col :span="12">
  8. <view class="nav-title" style="text-align: center">{{ $t('app.appName') }}</view>
  9. </uni-col>
  10. <uni-col :span="6" style="display: flex; justify-content: end; padding-right: 20px">
  11. <uni-badge absolute="rightTop" size="small" :text="messageCount">
  12. <image
  13. src="~@/static/home/message.png"
  14. style="width: 20px; height: 20px; background-color: transparent"
  15. @click="navigatorTo('/pages/message/index')" />
  16. </uni-badge>
  17. </uni-col>
  18. </uni-row>
  19. </view>
  20. <view class="page-content flex-col">
  21. <uni-row class="row-full">
  22. <uni-col class="daiban-tixing flex-row align-center justify-between">
  23. <!-- <view class="dt-title">
  24. <view class="todo font-BiaoTiHei">
  25. {{ $t('home.todo') }}
  26. </view>
  27. <view class="remind font-BiaoTiHei">
  28. {{ $t('home.remind') }}
  29. </view>
  30. </view> -->
  31. <swiper
  32. class="dt-swiper"
  33. circular="true"
  34. :indicator-dots="false"
  35. :autoplay="true"
  36. :vertical="true"
  37. :interval="2000"
  38. :duration="500">
  39. <swiper-item
  40. class="flex-col justify-between"
  41. v-for="{ item1, item2 } in overtimeTaskList"
  42. @click="navigatorTo('/pages/overtime/index')">
  43. <view class="daiban flex-row align-center justify-around" style="margin-top: 10px">
  44. <view class="dt-status green">
  45. <!-- 超时未保养 -->
  46. {{ item1.status }}
  47. </view>
  48. <view class="dt-content">
  49. <!-- 增压机十年使用到期保养 -->
  50. {{ item1.type + '-' + item1.title }}
  51. </view>
  52. <!-- <view class="dt-time">-->
  53. <!-- &lt;!&ndash; 1小时前 &ndash;&gt;-->
  54. <!-- {{ item1.createTime }}-->
  55. <!-- </view>-->
  56. </view>
  57. <view v-if="item2" class="daiban flex-row align-center justify-around" style="margin-bottom: 10px">
  58. <view class="dt-status green">
  59. <!-- 超时未保养 -->
  60. {{ item2?.status }}
  61. </view>
  62. <view class="dt-content">
  63. <!-- 增压机十年使用到期保养 -->
  64. {{ item2?.type + '-' + item2?.title }}
  65. </view>
  66. <!-- <view class="dt-time">-->
  67. <!-- &lt;!&ndash; 1小时前 &ndash;&gt;-->
  68. <!-- {{ item2?.createTime }}-->
  69. <!-- </view>-->
  70. </view>
  71. </swiper-item>
  72. </swiper>
  73. </uni-col>
  74. </uni-row>
  75. <uni-row class="row-half flex-row justify-between">
  76. <!-- 运行记录填报 -->
  77. <uni-col
  78. :span="12"
  79. class="yunxingjilu flex-col justify-between"
  80. @click="navigatorTo('/pages/recordFilling/list')">
  81. <view class="half-title">
  82. {{ $t('home.operationRecordFilling') }}
  83. </view>
  84. <view class="half-subtitle">
  85. {{ $t('home.fillDailyOperationRecord') }}
  86. </view>
  87. </uni-col>
  88. <!-- 保养工单 -->
  89. <uni-col :span="12" class="baoyang flex-col justify-between" @click="navigatorTo('/pages/maintenance/index')">
  90. <view class="half-title">
  91. {{ $t('home.maintenanceWorkOrder') }}
  92. </view>
  93. <view class="half-subtitle">
  94. {{ $t('home.receiveMaintenanceWorkOrderAndSubmit') }}
  95. </view>
  96. </uni-col>
  97. </uni-row>
  98. <uni-row class="row-half" :gutter="5">
  99. <!-- 设备维修 -->
  100. <uni-col :span="12" class="shebeiweixiu flex-col justify-between" @click="navigatorTo('/pages/repair/index')">
  101. <view class="half-title">
  102. {{ $t('home.equipmentMaintenance') }}
  103. </view>
  104. <view class="half-subtitle">
  105. {{ $t('home.fillMaintenanceWorkOrder') }}
  106. </view>
  107. </uni-col>
  108. <!-- 巡检工单 -->
  109. <uni-col :span="12" class="xunjian flex-col justify-between" @click="navigatorTo('/pages/inspection/index')">
  110. <view class="half-title">
  111. {{ $t('home.inspectionWorkOrder') }}
  112. </view>
  113. <view class="half-subtitle">
  114. {{ $t('home.receiveInspectionWorkOrderAndSubmit') }}
  115. </view>
  116. </uni-col>
  117. </uni-row>
  118. <uni-row class="row-full">
  119. <!-- 故障上报 -->
  120. <uni-col class="guzhang flex-row align-center" @click="navigatorTo('/pages/fault/index')">
  121. <view class="half-title" style="margin-right: 10px">
  122. {{ $t('home.faultReporting') }}
  123. </view>
  124. <view class="half-subtitle">
  125. {{ $t('home.fillAndReportFaultWorkOrder') }}
  126. </view>
  127. </uni-col>
  128. </uni-row>
  129. <view class="card">
  130. <!-- 瑞都日报 -->
  131. <view
  132. class="card-cell flex-row align-center justify-between"
  133. @click="navigatorTo('/pages/ruiDu/index')"
  134. v-if="isShowRuiduDaily">
  135. <image src="/static/home/ribao.svg" mode="aspectFill"></image>
  136. <view class="cell-con flex-row align-center justify-between">
  137. <view class="cell-text flex-row align-center justify-start">
  138. <view class="title">
  139. {{ $t('home.dailyReportRuiDu') }}
  140. </view>
  141. <view class="subtitle">
  142. {{ $t('home.dailyReportRuiDuTip') }}
  143. </view>
  144. </view>
  145. <uni-icons type="right" :color="'#CACCCF'" size="15" />
  146. </view>
  147. </view>
  148. <view
  149. class="card-cell flex-row align-center justify-between"
  150. @click="navigatorTo('/pages/ruihen/index?type=edit')"
  151. v-if="rhReportFlag">
  152. <image src="/static/home/ribao.svg" mode="aspectFill"></image>
  153. <view class="cell-con flex-row align-center justify-between">
  154. <view class="cell-text flex-row align-center justify-start">
  155. <view class="title">
  156. {{ $t('home.dailyReportRuiHen') }}
  157. </view>
  158. <view class="subtitle">
  159. {{ $t('home.dailyReportRuiHenTip') }}
  160. </view>
  161. </view>
  162. <uni-icons type="right" :color="'#CACCCF'" size="15" />
  163. </view>
  164. </view>
  165. <view
  166. class="card-cell flex-row align-center justify-between"
  167. @click="navigatorTo('/pages/ruihen/index?type=approval')"
  168. v-if="rhReportApprovalFlag">
  169. <image src="/static/home/ribao.svg" mode="aspectFill"></image>
  170. <view class="cell-con flex-row align-center justify-between">
  171. <view class="cell-text flex-row align-center justify-start">
  172. <view class="title">
  173. {{ $t('home.dailyReportRuiHen') }}
  174. </view>
  175. <view class="subtitle">
  176. {{ $t('home.dailyReportRuiHenApproval') }}
  177. </view>
  178. </view>
  179. <uni-icons type="right" :color="'#CACCCF'" size="15" />
  180. </view>
  181. </view>
  182. <view
  183. class="card-cell flex-row align-center justify-between"
  184. @click="navigatorTo('/pages/ruiying/index?type=edit')"
  185. v-if="ryReportFlag">
  186. <image src="/static/home/ribao.svg" mode="aspectFill"></image>
  187. <view class="cell-con flex-row align-center justify-between">
  188. <view class="cell-text flex-row align-center justify-start">
  189. <view class="title">
  190. {{ $t('home.dailyReportRuiYing') }}
  191. </view>
  192. <view class="subtitle">
  193. {{ $t('home.dailyReportRuiYingTip') }}
  194. </view>
  195. </view>
  196. <uni-icons type="right" :color="'#CACCCF'" size="15" />
  197. </view>
  198. </view>
  199. <view
  200. class="card-cell flex-row align-center justify-between"
  201. @click="navigatorTo('/pages/ruiying/index?type=approval')"
  202. v-if="ryReportApprovalFlag">
  203. <image src="/static/home/ribao.svg" mode="aspectFill"></image>
  204. <view class="cell-con flex-row align-center justify-between">
  205. <view class="cell-text flex-row align-center justify-start">
  206. <view class="title">
  207. {{ $t('home.dailyReportRuiYing') }}
  208. </view>
  209. <view class="subtitle">
  210. {{ $t('home.dailyReportRuiYingApproval') }}
  211. </view>
  212. </view>
  213. <uni-icons type="right" :color="'#CACCCF'" size="15" />
  214. </view>
  215. </view>
  216. <view
  217. class="card-cell flex-row align-center justify-between"
  218. @click="navigatorTo('/pages/ruiyingx/index?type=edit')"
  219. v-if="ryXjReportFlag">
  220. <image src="/static/home/ribao.svg" mode="aspectFill"></image>
  221. <view class="cell-con flex-row align-center justify-between">
  222. <view class="cell-text flex-row align-center justify-start">
  223. <view class="title">
  224. {{ $t('home.dailyReportRuiYingX') }}
  225. </view>
  226. <view class="subtitle">
  227. {{ $t('home.dailyReportRuiYingXTip') }}
  228. </view>
  229. </view>
  230. <uni-icons type="right" :color="'#CACCCF'" size="15" />
  231. </view>
  232. </view>
  233. <view
  234. class="card-cell flex-row align-center justify-between"
  235. @click="navigatorTo('/pages/ruiyingx/index?type=approval')"
  236. v-if="ryXjReportApprovalFlag">
  237. <image src="/static/home/ribao.svg" mode="aspectFill"></image>
  238. <view class="cell-con flex-row align-center justify-between">
  239. <view class="cell-text flex-row align-center justify-start">
  240. <view class="title">
  241. {{ $t('home.dailyReportRuiYingX') }}
  242. </view>
  243. <view class="subtitle">
  244. {{ $t('home.dailyReportRuiYingXApproval') }}
  245. </view>
  246. </view>
  247. <uni-icons type="right" :color="'#CACCCF'" size="15" />
  248. </view>
  249. </view>
  250. <!-- 库存查询 -->
  251. <view class="card-cell flex-row align-center justify-between" @click="navigatorTo('/pages/inventory/index')">
  252. <image src="/static/home/kucun.svg" mode="aspectFill"></image>
  253. <view class="cell-con flex-row align-center justify-between">
  254. <view class="cell-text flex-row align-center justify-start">
  255. <view class="title">
  256. {{ $t('home.inventoryQuery') }}
  257. </view>
  258. <view class="subtitle">
  259. {{ $t('home.clickToQueryInventoryData') }}
  260. </view>
  261. </view>
  262. <uni-icons type="right" :color="'#CACCCF'" size="15" />
  263. </view>
  264. </view>
  265. <!-- 设备台账 -->
  266. <view class="card-cell flex-row align-center justify-between" @click="navigatorTo('/pages/ledger/index')">
  267. <image src="/static/home/taizhang.svg" mode="aspectFill"></image>
  268. <view class="cell-con flex-row align-center justify-between">
  269. <view class="cell-text flex-row align-center justify-start">
  270. <view class="title">
  271. {{ $t('home.equipmentLedger') }}
  272. </view>
  273. <view class="subtitle">
  274. {{ $t('home.viewEquipmentLedger') }}
  275. </view>
  276. </view>
  277. <uni-icons type="right" :color="'#CACCCF'" size="15" />
  278. </view>
  279. </view>
  280. <!-- 设备状态变更 -->
  281. <view class="card-cell flex-row align-center justify-between" @click="navigatorTo('/pages/statusChange/index')">
  282. <image src="/static/home/zhuangtaibiangeng.svg" mode="aspectFill"></image>
  283. <view class="cell-con flex-row align-center justify-between">
  284. <view class="cell-text flex-row align-center justify-start">
  285. <view class="title">
  286. {{ $t('home.equipmentStatusChange') }}
  287. </view>
  288. <view class="subtitle">
  289. {{ $t('home.adjustEquipmentStatus') }}
  290. </view>
  291. </view>
  292. <uni-icons type="right" :color="'#CACCCF'" size="15" />
  293. </view>
  294. </view>
  295. <!-- 设备责任人 -->
  296. <view class="card-cell flex-row align-center justify-between" @click="navigatorTo('/pages/deviceUser/index')">
  297. <image src="/static/home/deviceUser.svg" mode="aspectFill"></image>
  298. <view class="cell-con flex-row align-center justify-between">
  299. <view class="cell-text flex-row align-center justify-start">
  300. <view class="title">
  301. {{ $t('home.deviceUser') }}
  302. </view>
  303. <view class="subtitle">
  304. {{ $t('home.deviceUserTip') }}
  305. </view>
  306. </view>
  307. <uni-icons type="right" :color="'#CACCCF'" size="15" />
  308. </view>
  309. </view>
  310. <!-- 设备实时数据监控 -->
  311. <view class="card-cell flex-row align-center justify-between" @click="navigatorTo('/pages/realTimeData/index')">
  312. <image src="/static/home/shujujiankong.svg" mode="aspectFill"></image>
  313. <view class="cell-con flex-row align-center justify-between">
  314. <view class="cell-text flex-row align-center justify-start">
  315. <view class="title">
  316. {{ $t('home.realTimeEquipmentDataMonitoring') }}
  317. </view>
  318. <view class="subtitle">
  319. {{ $t('home.viewRealTimeEquipmentData') }}
  320. </view>
  321. </view>
  322. <uni-icons type="right" :color="'#CACCCF'" size="15" />
  323. </view>
  324. </view>
  325. <!-- 统计分析 -->
  326. <view class="card-cell flex-row align-center justify-between" @click="navigatorTo('/pages/statistic/index')">
  327. <image src="/static/home/tongjifenxi.svg" mode="aspectFill"></image>
  328. <view class="cell-con flex-row align-center justify-between">
  329. <view class="cell-text flex-row align-center justify-start">
  330. <view class="title">
  331. {{ $t('home.statisticalAnalysis') }}
  332. </view>
  333. <view class="subtitle">
  334. {{ $t('home.equipmentDataStatisticalAnalysis') }}
  335. </view>
  336. </view>
  337. <uni-icons type="right" :color="'#CACCCF'" size="15" />
  338. </view>
  339. </view>
  340. </view>
  341. </view>
  342. <!-- 升级提示 -->
  343. <upgrade />
  344. </view>
  345. </template>
  346. <script setup>
  347. import { onShow } from '@dcloudio/uni-app';
  348. import { nextTick, onMounted, ref } from 'vue';
  349. import { getUnreadMessageCount } from '@/api/message';
  350. import { getOvertimeTaskList } from '@/api/task';
  351. import { getLoginUserInfo } from '@/api/login';
  352. import { useDataDictStore } from '@/store/modules/dataDict';
  353. import { useDeptStore } from '@/store/modules/dept';
  354. import { useDeviceStore } from '@/store/modules/device';
  355. import { messageNavigate } from '@/utils/navigate';
  356. import Upgrade from '@/components/upgrade.vue';
  357. const navigatorTo = url => {
  358. uni.navigateTo({
  359. url: url,
  360. });
  361. };
  362. const messageCount = ref(0);
  363. onMounted(async () => {
  364. await Promise.all([
  365. useDataDictStore().loadDataDictList(),
  366. useDeptStore().loadDeptList(),
  367. useDeviceStore().loadDeviceTypeList(),
  368. ]);
  369. });
  370. // 是否展示瑞都日报入口
  371. const isShowRuiduDaily = ref(false);
  372. const rhReportFlag = ref(false);
  373. const rhReportApprovalFlag = ref(false);
  374. const ryReportFlag = ref(false);
  375. const ryReportApprovalFlag = ref(false);
  376. const ryXjReportFlag = ref(false);
  377. const ryXjReportApprovalFlag = ref(false);
  378. const userInfo = ref({});
  379. const getLoginUser = async () => {
  380. const response = await getLoginUserInfo();
  381. if (response.code === 0) {
  382. userInfo.value = response.data;
  383. isShowRuiduDaily.value = response.data.rdReportFlag;
  384. rhReportFlag.value = response.data.rhReportFlag;
  385. rhReportApprovalFlag.value = response.data.rhReportApprovalFlag;
  386. ryReportFlag.value = response.data.ryReportFlag;
  387. ryReportApprovalFlag.value = response.data.ryReportApprovalFlag;
  388. ryXjReportFlag.value = response.data.ryXjReportFlag;
  389. ryXjReportApprovalFlag.value = response.data.ryXjReportApprovalFlag;
  390. }
  391. };
  392. getLoginUser();
  393. const overtimeTaskList = ref([]);
  394. const isNavigated = ref(false);
  395. // 处理缓存的钉钉消息传递的消息
  396. onShow(async () => {
  397. const response = await Promise.all([getUnreadMessageCount(), getOvertimeTaskList({ pageNo: 1, pageSize: 10 })]);
  398. // const response = await getUnreadMessageCount()
  399. // messageCount.value = response.data
  400. if (response[0].code === 0) {
  401. messageCount.value = response[0].data;
  402. }
  403. if (response[1].code === 0) {
  404. const list = response[1].data.list;
  405. const mapList = [];
  406. for (let i = 0; i < list.length; i += 2) {
  407. mapList.push({
  408. item1: list[i],
  409. item2: list[i + 1],
  410. });
  411. }
  412. overtimeTaskList.value = mapList;
  413. }
  414. // await getOvertimeTaskList({ pageNo: 1, pageSize: 10 })
  415. await nextTick(() => {
  416. const json = uni.getStorageSync('dingTalkJson');
  417. // console.log('home: dingTalkJson -> ' + json + `, isTrue: ${!!json}`)
  418. if (json) {
  419. const obj = JSON.parse(json);
  420. if (obj.type) {
  421. messageNavigate(obj);
  422. uni.removeStorageSync('dingTalkJson');
  423. // console.log('home: dingTalkJson -> ' + uni.getStorageSync('dingTalkJson'))
  424. }
  425. } else {
  426. if (isNavigated.value) return;
  427. let args = '';
  428. // #ifdef APP
  429. args = plus.runtime.arguments;
  430. // #endif
  431. // console.log('home: args -> ' + args)
  432. const parts = args.match(/^deepoil:\/\/([^/]+)\/([^/]+)$/);
  433. if (parts) {
  434. const type = parts[1];
  435. const id = parts[2];
  436. messageNavigate({ type, id });
  437. isNavigated.value = true;
  438. }
  439. }
  440. });
  441. });
  442. </script>
  443. <style lang="scss" scoped>
  444. .home {
  445. width: 100%;
  446. height: 100%;
  447. position: relative;
  448. box-sizing: border-box;
  449. overflow: hidden;
  450. }
  451. .row-full {
  452. width: 100%;
  453. height: 64px;
  454. margin-bottom: 10px;
  455. }
  456. .row-half {
  457. width: 100%;
  458. height: 68px;
  459. margin-bottom: 5px;
  460. .uni-col {
  461. padding: 15px !important;
  462. box-sizing: border-box;
  463. }
  464. }
  465. .daiban-tixing {
  466. height: 100%;
  467. min-height: 128rpx;
  468. background-image: url('/static/home/kapian.png');
  469. background-repeat: no-repeat;
  470. background-size: 100% 100%;
  471. padding: 0 10px !important;
  472. padding-left: 15px !important;
  473. box-sizing: border-box;
  474. }
  475. .dt-title {
  476. width: 37px;
  477. font-size: 20px;
  478. line-height: 20px;
  479. text-shadow: 0 2px 4px rgba(98, 114, 125, 0.36);
  480. text-align: center;
  481. font-style: normal;
  482. .todo {
  483. color: #004098;
  484. }
  485. .remind {
  486. color: #333333;
  487. }
  488. }
  489. .dt-swiper {
  490. width: calc(100%);
  491. height: 100%;
  492. }
  493. .dt-status {
  494. width: 60px;
  495. height: 18px;
  496. background: #ffffff;
  497. box-shadow: 0 2px 4px 0 rgba(98, 114, 125, 0.36), 0 2px 4px 0 rgba(0, 0, 0, 0.13);
  498. border-radius: 6px;
  499. font-family: PingFangSC, PingFang SC;
  500. font-weight: 500;
  501. font-size: 10px;
  502. line-height: 18px;
  503. text-shadow: 0px 2px 4px rgba(98, 114, 125, 0.36);
  504. text-align: center;
  505. &.green {
  506. color: #2bbb80;
  507. }
  508. &.blue {
  509. color: #3b63c9;
  510. }
  511. }
  512. .dt-content {
  513. flex: 1;
  514. width: auto;
  515. margin-left: 10px;
  516. font-family: PingFangSC, PingFang SC;
  517. font-weight: 500;
  518. font-size: 10px;
  519. color: #595959;
  520. line-height: 14px;
  521. text-shadow: 0px 2px 4px rgba(98, 114, 125, 0.36);
  522. text-overflow: ellipsis;
  523. white-space: nowrap;
  524. overflow: hidden;
  525. }
  526. .dt-time {
  527. font-family: PingFangSC, PingFang SC;
  528. font-weight: 500;
  529. font-size: 10px;
  530. color: #646464;
  531. line-height: 14px;
  532. text-shadow: 0px 2px 4px rgba(98, 114, 125, 0.36);
  533. }
  534. .half-title {
  535. font-family: PingFangSC, PingFang SC;
  536. font-weight: 500;
  537. font-size: 14px;
  538. color: #ffffff;
  539. }
  540. .half-subtitle {
  541. font-family: PingFangSC, PingFang SC;
  542. font-weight: 500;
  543. font-size: 10px;
  544. color: #ffffff;
  545. }
  546. .yunxingjilu {
  547. width: calc(50% - 2.5px);
  548. height: 100%;
  549. background-image: url('/static/home/yunxingjilu.png');
  550. background-repeat: no-repeat;
  551. background-size: 100% 100%;
  552. margin-right: 2.5px;
  553. }
  554. .baoyang {
  555. width: calc(50% - 2.5px);
  556. height: 100%;
  557. background-image: url('/static/home/baoyang.png');
  558. background-repeat: no-repeat;
  559. background-size: 100% 100%;
  560. margin-left: 2.5px;
  561. }
  562. .shebeiweixiu {
  563. width: calc(50% - 2.5px);
  564. height: 100%;
  565. background-image: url('/static/home/shebeiweixiu.png');
  566. background-repeat: no-repeat;
  567. background-size: 100% 100%;
  568. margin-right: 2.5px;
  569. }
  570. .xunjian {
  571. width: calc(50% - 2.5px);
  572. height: 100%;
  573. background-image: url('/static/home/xunjian.png');
  574. background-repeat: no-repeat;
  575. background-size: 100% 100%;
  576. margin-left: 2.5px;
  577. }
  578. .guzhang {
  579. // width: 100%;
  580. height: 100%;
  581. background-image: url('/static/home/guzhang.png');
  582. background-repeat: no-repeat;
  583. background-size: 100% 100%;
  584. padding: 15px !important;
  585. box-sizing: border-box;
  586. }
  587. .card {
  588. width: 100%;
  589. background: #ffffff;
  590. border-radius: 6px;
  591. padding: 20px;
  592. box-sizing: border-box;
  593. }
  594. .card-cell {
  595. width: 100%;
  596. height: 50px;
  597. image {
  598. width: 32px;
  599. height: 32px;
  600. }
  601. }
  602. .cell-con {
  603. margin-left: 10px;
  604. margin-right: 10px;
  605. width: calc(100% - 32px - 10px - 10px);
  606. height: 100%;
  607. border-bottom: 0.5px solid #cacccf;
  608. }
  609. .cell-text {
  610. width: 100%;
  611. font-weight: 500;
  612. .title {
  613. font-size: 14px;
  614. color: #333333;
  615. line-height: 20px;
  616. }
  617. .subtitle {
  618. font-size: 12px;
  619. color: #999999;
  620. line-height: 17px;
  621. margin-left: 10px;
  622. }
  623. .icon {
  624. width: 6px;
  625. height: 10px;
  626. }
  627. }
  628. </style>