45
chenyc
2022-10-21 4184b50aa0f50790f21932b226da2e50d106250d
src/views/myMine/index.vue
@@ -7,11 +7,11 @@
                        round
                        width="50px"
                        height="50px"
                        src="https://fastly.jsdelivr.net/npm/@vant/assets/cat.jpeg"
                        :src="patientInfo.patientInfo.patientAvatarIcon"
                    />
                </div>
                <div class="rowtext">
                    用户名:1771723243242
                    手机号:{{patientInfo.patientInfo.patientTelNo}}
                </div>
            </div>
        </div>
@@ -25,11 +25,11 @@
            <van-row style="padding-left: 20px;">
                <van-col span="16" class="info16">
                    <div class="div1">张三丰
                    <div class="div1">{{patientInfo.patientInfo.patientName}}
                        <span class="but">排班提醒</span>
                    </div>
                    <div class="div2">患者卡号</div>
                    <div class="div3">000000001</div>
                    <div class="div3">{{patientInfo.patientInfo.patientCardNo}} </div>
                </van-col>
                <van-col span="8" class="info8">
                    <div class="img">
@@ -110,20 +110,24 @@
    </div>
</template>
<script lang="ts" setup>
    import { ref } from 'vue'
    import { ref,computed } from 'vue'
    import { userInfoStore } from '@/stores/userInfo'
    import serve1 from './imgs/serve1.png'
    import { Image as VanImage,Tabbar as VanTabbar , TabbarItem as VanTabbarItem} from 'vant'
    import {useRouter} from 'vue-router'
    const router=useRouter()
    const userInfo = userInfoStore()
    const active=ref('my')
    const tabChang=(index:any)=>{
        alert(index)
        if (index==='home'){
            router.push('/')
        } else {
            router.push('my')
        }
    }
    const patientInfo=computed(()=>{
        return userInfo.patient
    })
</script>
<style lang="scss" scoped>
    body{
@@ -259,7 +263,7 @@
    background: #166bd3;
}
.ButtonBody{
    margin-top: 80px;
    margin-top: 40px;
    width: 92%;
    margin-left: 4%;
    // background: #166bd3;