index.vue 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813
  1. <template>
  2. <view>
  3. <nav-bar :navbarData="navbarData"></nav-bar>
  4. <view :style="`margin-top: ${height * 2 - 20}rpx; height: calc(100vh - ${height * 2 - 2}rpx)`">
  5. <view class="userbg" :style="`background-image:url(${imgDomain}/images/icon/bg_patients_bg.png)`">
  6. <view class="search">
  7. <van-row>
  8. <view class="searchcontent">
  9. <input
  10. type="text"
  11. class="search-input"
  12. placeholder="输入电话,登记号,身份证,姓名,病案号搜索"
  13. placeholder-style="color: #999"
  14. @input="handleInput"
  15. />
  16. </view>
  17. <view class="scan" @tap="scan">
  18. <image :src="`${imgDomain}/images/icon/ydhl_scan.png`" class="custom-icon" />
  19. </view>
  20. </van-row>
  21. </view>
  22. <view class="user" :style="`background-image:url(${imgDomain}/images/icon/bg_user.png)`">
  23. <view class="usericon">
  24. <image class="icon" :src="`${imgDomain}/images/icon/avatar_nurse.png`"></image>
  25. </view>
  26. <view class="userinfo">
  27. <view class="date">{{ dateStr }}</view>
  28. <view class="username">
  29. {{ userData.userName }}
  30. <span class="but-span">
  31. <view class="userout" @tap="userOutFun">退出登录</view>
  32. <view class="changeloc" @tap="changeloc">切换科室</view>
  33. </span>
  34. </view>
  35. </view>
  36. </view>
  37. <progress :percent="percent" activeColor="#D52424" stroke-width="1"></progress>
  38. </view>
  39. <view class="wardtitle">
  40. <text style="padding-left: 3px">在院患者 ({{ userData.locDesc }})</text>
  41. </view>
  42. <view class="patcontent">
  43. <view
  44. class="patlist"
  45. @tap="gotoPatMainPage(item)"
  46. v-for="(item, index) in wardPatList"
  47. :key="index"
  48. >
  49. <van-cell
  50. :icon="item.patSexCode === '1' ? `${imgDomain}/images/icon/gender-male.png` : `${imgDomain}/images/icon/gender-female.png`"
  51. use-label-slot
  52. >
  53. <van-row slot="title" class="topinfo">
  54. <van-col span="4">{{ item.admBedCode }}</van-col>
  55. <van-col span="15">
  56. <view style="overflow: hidden; text-overflow: ellipsis; white-space: nowrap">
  57. {{ item.patName }}
  58. </view>
  59. </van-col>
  60. <van-col span="5">
  61. <view class="paticon">
  62. <view
  63. :style="`width:18px;height:18px;background:url(${imgDomain}/images/mobilenurse/bedicon.png);background-position: ${getposition(iconitem)}`"
  64. v-for="(iconitem, iconindex) in item.admIcon"
  65. :key="iconindex"
  66. ></view>
  67. </view>
  68. </van-col>
  69. </van-row>
  70. <van-row slot="label" class="bottominfo">
  71. <van-col span="19">入院时间: {{ item.admDatetime }}</van-col>
  72. <van-col span="5">
  73. <view v-if="item.nurseLv === '特级'" class="nurse-lv-css-red">{{ item.nurseLv }}</view>
  74. <view v-if="item.nurseLv === '一级'" class="nurse-lv-css-pink">{{ item.nurseLv }}</view>
  75. <view v-if="item.nurseLv === '二级'" class="nurse-lv-css-blue">{{ item.nurseLv }}</view>
  76. <view v-if="item.nurseLv === '三级'" class="nurse-lv-css-greenyellow">{{ item.nurseLv }}</view>
  77. </van-col>
  78. </van-row>
  79. </van-cell>
  80. </view>
  81. </view>
  82. </view>
  83. <van-action-sheet
  84. :show="showchangeLoc"
  85. title="请选择科室"
  86. @close="onClose"
  87. @cancel="onClose"
  88. >
  89. <van-cell
  90. :title="loc.logonGroupDesc"
  91. :label="loc.logonHospDesc"
  92. :value="loc.logonLocDesc"
  93. value-class="locclass"
  94. :class="curLoc === index ? 'locitemcur' : 'locitem'"
  95. label-class="label"
  96. title-class="title"
  97. @tap="changeToLoc(loc, index)"
  98. v-for="(loc, index) in locList"
  99. :key="index"
  100. ></van-cell>
  101. </van-action-sheet>
  102. </view>
  103. </template>
  104. <script setup>
  105. import { ref, onMounted, onUnmounted, computed } from 'vue';
  106. import { httpconfig } from '../../config/httpconfig';
  107. import WXBizDataCrypt from '../../utils/WXBizDataCrypt';
  108. import { onLoad ,onShow } from '@dcloudio/uni-app';
  109. import Util from '../../utils/util.js';
  110. import Common from '../../utils/common.js';
  111. import { $http } from '../../config/https';
  112. import navBar from '@/pages/components/navbar/index';
  113. // 工具函数(替代原wxs模块)
  114. const getspan = (widh) => {
  115. return widh.replace("px", "");
  116. };
  117. const findPat = (patinfo, searchData) => {
  118. if (!searchData) return 1;
  119. const searchStr = searchData.toUpperCase();
  120. return (
  121. patinfo.patName.includes(searchData) ||
  122. patinfo.admBedCode.includes(searchData) ||
  123. patinfo.patID.includes(searchData) ||
  124. patinfo.patNameSpell.includes(searchStr) ||
  125. patinfo.patNo.includes(searchStr) ||
  126. patinfo.patMedicalNo.includes(searchStr) ||
  127. patinfo.admID === searchData
  128. ) ? 1 : 0;
  129. };
  130. const getposition = (iconitem) => {
  131. return `-${(iconitem.position % 10 - 1) * 18}px -${Math.floor(iconitem.position / 10) * 18}px`;
  132. };
  133. // 响应式数据
  134. const height = ref('');
  135. const navbarData = ref({
  136. background: '',
  137. title: '普瑞眼科移动护理',
  138. height: '100',
  139. bottom: true,
  140. isGoBack: false,
  141. cleanPat: 'Y'
  142. });
  143. const userData = ref(uni.getStorageSync('userData') || {});
  144. const patInfo = ref(uni.getStorageSync('patInfo') || {});
  145. const patColums = ref([]);
  146. const templateList = ref([{
  147. icon: `${httpconfig.imgDomain}/images/icon/mine-address.png`,
  148. title: '巡视单',
  149. value: '',
  150. url: ''
  151. }]);
  152. const timer = ref(null);
  153. const dateStr = ref('2020年11月15日 14:25 星期三');
  154. const searchData = ref('');
  155. const countTime = ref(1500);
  156. const searchWaiting = ref(false);
  157. const showchangeLoc = ref(false);
  158. const imgDomain = ref(httpconfig.imgDomain);
  159. const locList = ref([]);
  160. const curLoc = ref(-1);
  161. const wardPatList = ref('');
  162. const percent = ref(0);
  163. const downLineShow = ref(true);
  164. onShow(() => {
  165. try {
  166. const pages = getCurrentPages()
  167. if (pages.length > 0) {
  168. const currentPage = pages[pages.length - 1]
  169. const currentRoute = currentPage.route // 当前页面路由
  170. // 更新全局变量
  171. if (uni.$appGlobal) {
  172. uni.$appGlobal.globalData.value.currentRoute = currentRoute
  173. }
  174. }
  175. } catch (err) {
  176. console.error('更新当前路由失败:', err)
  177. }
  178. })
  179. // 生命周期
  180. onMounted(() => {
  181. // 页面显示时执行
  182. if (!imgDomain.value) {
  183. imgDomain.value = uni.getStorageSync('appUrlAddress');
  184. }
  185. const storedUserData = uni.getStorageSync('userData');
  186. const storedPatInfo = uni.getStorageSync('patInfo');
  187. if (storedUserData) {
  188. userData.value = storedUserData;
  189. patInfo.value = storedPatInfo;
  190. }
  191. getAuthorityApply();
  192. if (patColums.value.length === 0) {
  193. getPatInfoColumns();
  194. }
  195. showTime();
  196. getAppVersion();
  197. });
  198. onUnmounted(() => {
  199. if (timer.value) {
  200. clearInterval(timer.value);
  201. }
  202. });
  203. // 方法定义
  204. const getAppVersion = () => {
  205. const appInfo = uni.getAppBaseInfo();
  206. const appVersion = appInfo.appVersion;
  207. $http.post('urlDeault',this, {
  208. code: '02010011',
  209. data: {
  210. params: [{ propId: '76||377' }]
  211. },
  212. success: (res) => {
  213. if (+res.errorCode === 0) {
  214. const setValue = res.result.rows[0].setValue;
  215. if (setValue > appVersion) {
  216. uni.showModal({
  217. title: `检测到新版本V${setValue}`,
  218. content: '是否立即下载更新?',
  219. complete: (res) => {
  220. if (res.confirm) {
  221. downAppApk(setValue);
  222. }
  223. }
  224. });
  225. }
  226. }
  227. }
  228. });
  229. };
  230. const downAppApk = (setValue) => {
  231. const appUrlAddress = uni.getStorageSync('appUrlAddress');
  232. const downloadTask = uni.downloadFile({
  233. url: `${appUrlAddress}/images/apk/ydhl-${setValue}.apk`,
  234. success: (downloadResult) => {
  235. plus.runtime.install(
  236. downloadResult.tempFilePath,
  237. { force: true },
  238. () => {
  239. uni.showToast({ title: '更新成功,重启中', icon: 'none' });
  240. plus.runtime.restart();
  241. }
  242. );
  243. },
  244. fail: (res) => {
  245. uni.showToast({ title: `download apk fail: ${res}`, icon: 'none' });
  246. },
  247. complete: () => {
  248. downloadTask.offProgressUpdate();
  249. }
  250. });
  251. downloadTask.onProgressUpdate((res) => {
  252. percent.value = res.progress;
  253. });
  254. };
  255. const gotoPatMainPage = (patInfoData) => {
  256. Util.getPatInfo(patInfoData.admID, () => {
  257. uni.navigateTo({ url: '../patMainPage/patMainPage' });
  258. });
  259. };
  260. const gotoPage = (e) => {
  261. const flag = e.currentTarget.dataset.flag;
  262. if (flag === 'Pat') {
  263. uni.navigateTo({ url: '../wardPatList/wardPatList' });
  264. } else if (flag === 'template') {
  265. const patInfo = uni.getStorageSync('patInfo');
  266. if (!patInfo) {
  267. uni.showModal({
  268. title: '提示',
  269. content: '无患者信息,请先扫描患者腕带或选择患者!!!',
  270. showCancel: false,
  271. confirmText: '知道了'
  272. });
  273. return;
  274. }
  275. const itemdata = e.currentTarget.dataset.itemdata;
  276. uni.navigateTo({
  277. url: `../nurseRecordList/nurseRecordList?templateID=${itemdata.id}&title=${itemdata.IEMRTemplateDesc}列表`
  278. });
  279. }
  280. };
  281. const scan = () => {
  282. uni.scanCode({
  283. success: (res) => {
  284. const scValue = res.result;
  285. if (scValue.length > 20) {
  286. uni.navigateTo({ url: scValue });
  287. } else {
  288. Util.getPatInfoNew(res.result, () => {
  289. uni.navigateTo({ url: '../patMainPage/patMainPage' });
  290. });
  291. }
  292. }
  293. });
  294. };
  295. const getPatInfo = (admID) => {
  296. $http.post('urlDeault',this, {
  297. code: '03030002',
  298. data: { params: [{ admID }] },
  299. success: (res) => {
  300. if (+res.errorCode === 0) {
  301. patInfo.value = res.result;
  302. uni.setStorage({ key: 'patInfo', data: res.result });
  303. }
  304. }
  305. });
  306. };
  307. const getAuthorityApply = () => {
  308. const storedUserData = uni.getStorageSync('userData');
  309. if (storedUserData) {
  310. userData.value = storedUserData;
  311. getWardPatList();
  312. } else {
  313. gotoAuthority();
  314. }
  315. };
  316. const gotoAuthority = () => {
  317. uni.reLaunch({ url: '../authentication/authentication' });
  318. };
  319. const getPatInfoColumns = () => {
  320. const data = {
  321. params: [{ compontName: 'MobileNursePatInfo', type: 'C', reactCode: [] }]
  322. };
  323. $http.post('urlDeault',this, {
  324. code: '01040073',
  325. data,
  326. success: (res) => {
  327. if (+res.errorCode === 0) {
  328. if (res.result.C) {
  329. patColums.value = res.result.C;
  330. } else {
  331. uni.showToast({ title: '未获取到病人信息维护,请联系信息中心', icon: 'none' });
  332. }
  333. } else {
  334. uni.showToast({ title: res.errorMessage, icon: 'none' });
  335. }
  336. }
  337. });
  338. };
  339. const getTemplateList = () => {
  340. const patInfo = uni.getStorageSync('patInfo');
  341. const userData = uni.getStorageSync('userData');
  342. const data = {
  343. params: [{
  344. hospID: userData.hospID,
  345. admID: patInfo.admInfo ? patInfo.admInfo.admID : '',
  346. useFlag: 'N'
  347. }]
  348. };
  349. $http.post('urlDeault',this, {
  350. code: '10020001',
  351. data,
  352. success: (res) => {
  353. templateList.value = res.result.TemplateList;
  354. }
  355. });
  356. };
  357. const getWardPatList = () => {
  358. const userData = uni.getStorageSync('userData');
  359. uni.showLoading({ title: '数据加载中...' });
  360. $http.post('urlDeault',this, {
  361. code: '04020025',
  362. data: {
  363. params: [{ wardID: userData.locID, patMessage: searchData.value || '' }]
  364. },
  365. success: (res) => {
  366. uni.hideLoading();
  367. if (+res.errorCode === 0) {
  368. wardPatList.value = res.result.patList;
  369. showchangeLoc.value = false;
  370. } else if (['01040053', '01040054', '01040055'].includes(res.errorCode)) {
  371. getWardPatList();
  372. }
  373. }
  374. });
  375. };
  376. const changeloc = () => {
  377. getLocList();
  378. };
  379. const userOutFun = () => {
  380. uni.showModal({
  381. title: '退出登录',
  382. content: '您确定要退出当前登录工号吗?',
  383. success: (res) => {
  384. if (res.confirm) {
  385. uni.removeStorageSync('userData');
  386. gotoAuthority();
  387. }
  388. }
  389. });
  390. };
  391. const onClose = () => {
  392. showchangeLoc.value = false;
  393. };
  394. const showTime = () => {
  395. const showDay = ['星期日', '星期一', '星期二', '星期三', '星期四', '星期五', '星期六'];
  396. timer.value = setInterval(() => {
  397. const time = new Date();
  398. const year = time.getFullYear();
  399. const month = time.getMonth() + 1;
  400. const date = time.getDate();
  401. const day = time.getDay();
  402. const hour = time.getHours().toString().padStart(2, '0');
  403. const minutes = time.getMinutes().toString().padStart(2, '0');
  404. const second = time.getSeconds().toString().padStart(2, '0');
  405. dateStr.value = `${year}年${month}月${date}日 ${hour}:${minutes}:${second} ${showDay[day]}`;
  406. }, 1000);
  407. };
  408. const handleInput = (val) => {
  409. let inputvalue = val.detail.value.replace(/\s+/g, '');
  410. if (inputvalue.length === 10) {
  411. searchData.value = '';
  412. Util.getPatInfoNew(inputvalue, () => {
  413. uni.navigateTo({ url: '../patMainPage/patMainPage' });
  414. });
  415. } else {
  416. searchData.value = inputvalue;
  417. if (!searchWaiting.value) {
  418. searchTimer();
  419. }
  420. }
  421. };
  422. const searchTimer = () => {
  423. searchWaiting.value = true;
  424. const setTimer = setInterval(() => {
  425. countTime.value -= 500;
  426. if (countTime.value <= 0) {
  427. countTime.value = 1500;
  428. searchWaiting.value = false;
  429. clearInterval(setTimer);
  430. getWardPatList();
  431. }
  432. }, 500);
  433. };
  434. const getLocList = () => {
  435. const userData = uni.getStorageSync('userData');
  436. const data = {
  437. params: [{
  438. currentLocFlag: 'Y',
  439. language: 'CN',
  440. userCode: userData.userCode
  441. }]
  442. };
  443. $http.post('urlDeault',this, {
  444. code: '01040043',
  445. data,
  446. success: (res) => {
  447. if (+res.errorCode === 0) {
  448. let currentIndex = -1;
  449. const logonLocAry = res.result.logonLocAry;
  450. logonLocAry.forEach((locInfo, index) => {
  451. if (
  452. locInfo.logonLocID === userData.locID &&
  453. locInfo.logonHospID === userData.hospID &&
  454. locInfo.logonGroupID === userData.groupID
  455. ) {
  456. currentIndex = index;
  457. }
  458. });
  459. locList.value = logonLocAry;
  460. curLoc.value = currentIndex;
  461. showchangeLoc.value = true;
  462. }
  463. }
  464. });
  465. };
  466. const changeToLoc = (loc) => {
  467. const updatedUserData = { ...userData.value };
  468. updatedUserData.locID = loc.logonLocID;
  469. updatedUserData.locDesc = loc.logonLocDesc;
  470. updatedUserData.groupID = loc.logonGroupID;
  471. updatedUserData.groupDesc = loc.logonGroupDesc;
  472. updatedUserData.hospID = loc.logonHospID;
  473. updatedUserData.hospDesc = loc.logonHospDesc;
  474. updatedUserData.hospCode = loc.logonHospCode;
  475. userData.value = updatedUserData;
  476. uni.setStorage({
  477. key: 'userData',
  478. data: updatedUserData,
  479. success: () => {
  480. uni.removeStorage({ key: 'patInfo' });
  481. getWardPatList();
  482. }
  483. });
  484. };
  485. </script>
  486. <style>
  487. /* 保持原样式不变 */
  488. .pat {
  489. font-size: 30rpx;
  490. padding: 0 20rpx;
  491. }
  492. .patInfo {
  493. font-size: 26rpx;
  494. font-weight: 400;
  495. }
  496. .userbg {
  497. width: 100%;
  498. height: 340rpx;
  499. background-size: 100% auto;
  500. background-repeat: no-repeat;
  501. }
  502. .search {
  503. height: 100rpx;
  504. padding: 20rpx 30rpx 0;
  505. }
  506. .searchcontent {
  507. width: calc(100% - 120rpx);
  508. float: left;
  509. }
  510. .search-input {
  511. margin-top: 18rpx;
  512. height: 70rpx;
  513. border-radius: 40rpx;
  514. background-color: #ffffff;
  515. border: #007aff 1px solid;
  516. padding: 0rpx 10rpx;
  517. }
  518. .searchcontent .van-cell__title {
  519. max-width: 0 !important;
  520. min-width: 0 !important;
  521. -webkit-flex: 0;
  522. flex: 0;
  523. }
  524. .scan {
  525. width: 100rpx;
  526. padding-left: 16rpx;
  527. float: left;
  528. color: #fff;
  529. text-align: center;
  530. }
  531. .user {
  532. width: calc(100% - 30rpx);
  533. height: 200rpx;
  534. background-size: 100% auto;
  535. background-repeat: no-repeat;
  536. padding: 0 18rpx 20rpx;
  537. margin-top: -8rpx !important;
  538. }
  539. .usericon {
  540. border-radius: 50%;
  541. margin-left: 12rpx;
  542. background: #e3e4fc;
  543. height: 120rpx;
  544. width: 120rpx;
  545. text-align: center;
  546. line-height: 120rpx;
  547. float: left;
  548. margin: 40rpx 20rpx;
  549. }
  550. .userinfo {
  551. float: left;
  552. width: calc(100% - 190rpx);
  553. height: 120rpx;
  554. margin: 40rpx 0;
  555. line-height: 60rpx;
  556. padding-right: 30rpx;
  557. }
  558. .date {
  559. font-size: 15px;
  560. font-weight: 400;
  561. color: #333333;
  562. }
  563. .icon {
  564. height: 120rpx;
  565. width: 120rpx;
  566. border-radius: 50%;
  567. }
  568. .wardtitle {
  569. width: calc(100% - 56px);
  570. margin: 0 28rpx;
  571. height: 42rpx;
  572. font-size: 15px;
  573. border-left: 8rpx solid #007aff;
  574. font-weight: 400;
  575. color: #333333;
  576. line-height: 42rpx;
  577. margin-bottom: 10rpx;
  578. }
  579. .username {
  580. font-size: 14px;
  581. font-weight: 400;
  582. color: #666666;
  583. display: flex;
  584. justify-content: space-between;
  585. }
  586. .unwrite {
  587. color: red !important;
  588. font-size: 10px !important;
  589. }
  590. .but-span {
  591. display: flex;
  592. flex-direction: row;
  593. }
  594. .changeloc {
  595. width: 140rpx;
  596. height: 50rpx;
  597. background: #007aff;
  598. border-radius: 4px;
  599. font-size: 25rpx;
  600. color: #fff;
  601. line-height: 50rpx;
  602. border-radius: 8rpx;
  603. text-align: center;
  604. }
  605. .userout {
  606. width: 120rpx;
  607. height: 46rpx;
  608. border-radius: 4px;
  609. border: 1px solid;
  610. color: #007aff;
  611. font-size: 25rpx;
  612. line-height: 46rpx;
  613. border-radius: 8rpx;
  614. text-align: center;
  615. margin-right: 20rpx;
  616. }
  617. .write {
  618. color: #809aff !important;
  619. font-size: 10px !important;
  620. }
  621. .patcontent {
  622. overflow: auto;
  623. height: calc(100% - 500rpx);
  624. }
  625. .patlist .van-cell,
  626. .patlist .van-cell__left-icon-wrap {
  627. height: 120rpx !important;
  628. padding: 0 8px !important;
  629. }
  630. .patlist .van-cell__left-icon-wrap {
  631. line-height: 120rpx !important;
  632. }
  633. .patlist .van-icon--image,
  634. .patlist .van-icon__image {
  635. height: 90rpx !important;
  636. width: 90rpx !important;
  637. bottom: 20rpx !important;
  638. }
  639. .patlist .van-col {
  640. white-space: nowrap;
  641. min-height: 1px;
  642. }
  643. .patlist .van-cell__value {
  644. width: 0 !important;
  645. }
  646. .patlist .van-cell__title {
  647. padding-left: 10rpx;
  648. }
  649. .patlist .van-cell__right-icon-wrap {
  650. height: 100%;
  651. }
  652. .topinfo {
  653. font-size: 32rpx;
  654. font-weight: 400;
  655. color: #666666;
  656. height: 45rpx;
  657. line-height: 40rpx;
  658. padding-top: 8px;
  659. }
  660. .topinfo .van-col {
  661. text-align: left;
  662. }
  663. .paticon {
  664. display: flex;
  665. flex-direction: row;
  666. }
  667. .bottominfo {
  668. font-weight: 400;
  669. color: #999999;
  670. height: 40rpx;
  671. line-height: 40rpx;
  672. }
  673. /* 让row下的所有col内容左对齐 */
  674. .bottominfo .van-col {
  675. text-align: left;
  676. }
  677. .nurse-lv-css-red {
  678. background-color: red;
  679. color: #fff;
  680. border-radius: 4rpx;
  681. padding: 0rpx 18rpx;
  682. font-size: 20rpx;
  683. width: 50rpx;
  684. }
  685. .nurse-lv-css-pink {
  686. background-color: pink;
  687. color: #fff;
  688. border-radius: 4rpx;
  689. padding: 0rpx 18rpx;
  690. font-size: 20rpx;
  691. width: 50rpx;
  692. }
  693. .nurse-lv-css-greenyellow {
  694. background-color: rgb(93, 187, 93);
  695. color: #fff;
  696. border-radius: 4rpx;
  697. padding: 0rpx 18rpx;
  698. font-size: 20rpx;
  699. width: 50rpx;
  700. }
  701. .nurse-lv-css-blue {
  702. background-color: #007aff;
  703. color: #fff;
  704. border-radius: 4rpx;
  705. padding: 0rpx 18rpx;
  706. font-size: 20rpx;
  707. width: 50rpx;
  708. }
  709. .custom-icon {
  710. margin-top: 24rpx;
  711. width: 60rpx;
  712. height: 60rpx;
  713. }
  714. .locclass {
  715. font-size: 34rpx;
  716. font-weight: 500;
  717. color: #000 !important;
  718. }
  719. .locitem .van-cell {
  720. background: #fff;
  721. }
  722. .locitemcur .van-cell {
  723. background: #bfe6f8 !important;
  724. }
  725. .label {
  726. font-size: 32rpx !important;
  727. font-weight: 500;
  728. }
  729. .title {
  730. font-size: 34rpx;
  731. font-weight: 500;
  732. color: #000;
  733. }
  734. </style>