You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.
< template >
< view class = "test2-wrapper" >
< view class = "test2-title" > 测试页面 < / view >
< view class = "test2-info" >
< view class = "info-row" >
< text class = "info-label" > 就诊人 : < / text >
< text > { { $store . user . name } } < / text >
< / view >
< view class = "info-row" >
< text class = "info-label" > 身份证 : < / text >
< text > { { $store . user . id _number } } < / text >
< / view >
< view class = "info-row" >
< text class = "info-label" > person _id : < / text >
< text > { { $store . user . person _id } } < / text >
< / view >
< / view >
< view class = "test2-btn" @click ="goJump" > 跳 转 小 程 序 页 面 < / view >
< / view >
< / template >
< script setup >
import wx from 'weixin-js-sdk'
import { useStore } from '@/store'
const $store = useStore ( )
const goJump = ( ) => {
wx . miniProgram . navigateTo ( {
url : '/pages/other/entry/index?scene=1002&hospitalAreaId=6&path=/pages/outpatient/doctor-appointment/index&departmentCode=A0030003&subDepartmentCode='
} )
}
< / script >
< style scoped >
. test2 - wrapper {
padding : 40 rpx ;
}
. test2 - title {
font - size : 36 rpx ;
font - weight : 500 ;
color : # 323232 ;
margin - bottom : 40 rpx ;
}
. info - row {
display : flex ;
align - items : center ;
margin - bottom : 20 rpx ;
font - size : 28 rpx ;
}
. info - label {
color : # 939393 ;
margin - right : 10 rpx ;
}
. test2 - btn {
width : 100 % ;
height : 80 rpx ;
line - height : 80 rpx ;
text - align : center ;
background : # 35 ACB2 ;
color : # FFFFFF ;
font - size : 28 rpx ;
border - radius : 10 rpx ;
margin - top : 40 rpx ;
}
< / style >