Browse Source

选择就诊人列表页面调整

master
kuaileWu 6 months ago
parent
commit
2346a3dbff
  1. 35
      pages/visitors/visitors.vue
  2. 2
      static/images/frontend/visitor_select_active.svg
  3. 9
      中医针灸改版2.0_2025_03_06/需求拆分.txt

35
pages/visitors/visitors.vue

@ -1,16 +1,20 @@
<template>
<view class='add-visitor-page'>
<view class="h-name over PfScSemibold">
{{hospital_depart_name}}
</view>
<view class="header block flex line40" @click="addVisitor">
<img :src="cssUrl+'add.svg'">增加就诊人
</view>
<view class="list-wrapper" v-if="type == 1">
<view :class="'item block'+(item.select?' active':'')" v-for="(item,key) in visitUsers" @click="chooseVisitor(item, key)">
<view class="top flex">
<view class="name PfScSemibold">{{item.name}}</view>
<view class="aam_times" v-if="item.remain_num > 0">剩余{{item.remain_num}}</view>
<view class="name PfScSemibold over2">{{item.name}}</view>
<!-- <view class="aam_times" v-if="item.remain_num > 0">剩余{{item.remain_num}}</view> -->
</view>
<view class="bot line36">
身份证尾号{{item.idcard}}
身份证{{item.idcard_txt}}
</view>
<img class="status" :src="cssUrl+'visitor_select_active.svg'">
<img class="bg" :src="cssUrl+'visitor_list__bg.svg'">
@ -88,13 +92,20 @@
activeVisitors:[],
popMsgs:[],
popIndex:0,
depart_id:0
depart_id:0,
hospital_depart_name:''
}
},
components:{
pop
},
onLoad(option) {
var depart_info = uni.getStorageSync('depart')
if(depart_info) {
depart_info = JSON.parse(depart_info)
this.hospital_depart_name = depart_info.hospital_name + ' ' + depart_info.depart_name
}
if(option.type) {
this.type = option.type
}else{
@ -244,6 +255,18 @@
<style lang="scss" scoped>
.add-visitor-page{
overflow: hidden;
.h-name{
padding: 36rpx 24rpx;
box-sizing: border-box;
width: 100%;
height: 116rpx;
margin-bottom: 20rpx;
background: white;
display: flex;
align-items: center;
font-size: 32rpx;
color: #000000;
}
.block{
width: 714rpx;
background: #FFFFFF;
@ -264,7 +287,7 @@
}
}
.list-wrapper{
height: 70vh;
height: 60vh;
padding-bottom: 20rpx;
overflow-y: auto;
box-sizing: border-box;
@ -311,7 +334,7 @@
}
.status{
right: 0;
top: 0;
bottom: 0;
width: 98rpx;
height: 98rpx;
display: none;

2
static/images/frontend/visitor_select_active.svg

@ -1 +1 @@
<?xml version="1.0" encoding="UTF-8"?><svg version="1.1" width="100px" height="100px" viewBox="0 0 100.0 100.0" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><clipPath id="i0"><path d="M1474,0 L1474,2382 L0,2382 L0,0 L1474,0 Z"></path></clipPath><clipPath id="i1"><path d="M92,0 C96.418278,-8.11624501e-16 100,3.581722 100,8 L100,100 L0,100 L0,0 L92,0 Z"></path></clipPath><clipPath id="i2"><path d="M100,0 L100,100 L0,0 L100,0 Z"></path></clipPath><clipPath id="i3"><path d="M22.1529914,0 C22.6522995,0 23.1276494,0.21406046 23.4585914,0.587940188 C24.1785914,1.3679402 24.1785914,2.63394018 23.4585914,3.41394019 L10.5357914,17.4155402 C10.1745914,17.8043402 9.70179138,17.9999402 9.23019138,17.9999402 C8.73231473,17.9967589 8.25863634,17.7847356 7.92459137,17.4155402 L0.539791377,9.41514019 C-0.179930459,8.60923862 -0.179930459,7.39144176 0.539791377,6.58554019 C0.871531099,6.21347564 1.34631042,6.00070264 1.84479138,6.00070264 C2.34327234,6.00070264 2.81805166,6.21347564 3.14979138,6.58554019 L9.23019138,13.1723402 L20.8473914,0.587940188 C21.1783333,0.21406046 21.6536832,0 22.1529914,0 Z"></path></clipPath></defs><g transform="translate(-65.0 -1128.0)"><g clip-path="url(#i0)"><g transform="translate(65.0 1128.0)"><g clip-path="url(#i1)"><g clip-path="url(#i2)"><polygon points="0,0 100,0 100,100 0,100 0,0" stroke="none" fill="#39D067"></polygon></g></g><g transform="translate(54.9978086226256 23.79765982391291)"><g clip-path="url(#i3)"><polygon points="-5.90453355e-16,0 23.9985914,0 23.9985914,17.9999402 -5.90453355e-16,17.9999402 -5.90453355e-16,0" stroke="none" fill="#FFFFFF"></polygon></g></g></g></g></g></svg>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" fill="none" version="1.1" width="98" height="98" viewBox="0 0 98 98"><g><g transform="matrix(1,0,0,-1,0,196)"><path d="M0,98L82,98C87.6005,98,90.4641,98.0113375,92.5956,99.11618C94.4302,100.06717,95.9328,101.56978,96.8838,103.40442C97.9887,105.53589,98,108.3995,98,114L98,196L0,98Z" fill-rule="evenodd" fill="#39D067" fill-opacity="1"/></g><g><path d="M79.45469375,59.385547421875C79.12369375,59.011667421875,78.64839375,58.797607421875,78.14909374999999,58.797607421875C77.64979375,58.797607421875,77.17439375000001,59.011667421875,76.84349375,59.385547421875L65.22628375,71.969907421875L59.14588375,65.383147421875C58.81414375,65.011087421875,58.33936375,64.798307421875,57.84088375,64.798307421875C57.34240375,64.798307421875,56.86762475,65.011087421875,56.53588475,65.383147421875C55.81616375,66.189047421875,55.81616375,67.406847421875,56.53588475,68.212747421875L63.92068375,76.21310742187501C64.25473375,76.582307421875,64.72841375,76.79440742187501,65.22628375,76.797507421875C65.69788375,76.797507421875,66.17069375,76.601907421875,66.53189375,76.21310742187501L79.45469375,62.211547421875C80.17469375,61.431547421875,80.17469375,60.165547421875,79.45469375,59.385547421875Z" fill="#FFFFFF" fill-opacity="1"/></g></g></svg>

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 1.3 KiB

9
中医针灸改版2.0_2025_03_06/需求拆分.txt

@ -1,17 +1,15 @@
中医针灸患者端静态页面及样式改造
1.首页调整
(1)首页医院地址导航在小程序中打开样式
(2)增加就诊须知折叠面板
(3)增加医保定点标签
(4)出诊医院列表样式调整
2.底部公共菜单增加“现场报道”入口
3.首页医院列表部分样式调整
1.首页医院地址导航在小程序中打开调整
2.首页医院列表部分样式调整
进行中
3.选择就诊人列表页面调整
3.选择就诊人列表页面样式改造
4.新增就诊人页面样式改造
5.扫码报道页面
6.确认报道页面
@ -22,4 +20,5 @@
12.就诊记录页面
13.就诊详情页面样式改造
14.候诊状态,所在床位弹窗
1.首页医院地址导航在小程序中打开调整

Loading…
Cancel
Save