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.
< script setup >
/**
* name:
* user: sa0ChunLuyu
* date: 2023年4月5日 09:56:26
*/
import {
ref
} from 'vue'
import {
$image ,
$response
} from '@/api'
import {
onShow
} from '@dcloudio/uni-app'
const $props = defineProps ( {
hospital : {
type : String ,
default : ''
} ,
} ) ;
const id _number = ref ( '' )
const phone = ref ( '' )
const toPage = ( ) => {
uni . navigateTo ( {
url : ` /pages/main/list/list?hospital=4&id_number= ${ id _number . value } &phone= ${ phone . value } `
} )
}
< / script >
< template >
< view >
< view class = "title_wrapper" > 身份证号 < / view >
< view class = "input_wrapper" >
< input type = "text" v-model ="id_number" >
< / view >
< view class = "title_wrapper" style = "margin-top: 10rpx;" > 手机号 < / view >
< view class = "input_wrapper" >
< input type = "tel" v-model ="phone" >
< / view >
< view @click ="toPage()" class = "top_button_wrapper top_button1_wrapper" >
< view class = "top_button_icon_wrapper" >
< image :src ="$image('/storage/assets/report/home/报告对比@2x.png')" > < / image >
< / view >
< view class = "top_button_text_wrapper" > 查看报告 < / view >
< / view >
< / view >
< / template >
< style scoped >
. title _wrapper {
font - size : 30 rpx ;
margin : 60 rpx 40 rpx 20 rpx ;
}
. input _wrapper input {
width : 600 rpx ;
height : 84 rpx ;
line - height : 84 rpx ;
font - size : 40 rpx ;
text - align : center ;
}
. input _wrapper {
padding : 0 30 rpx ;
width : 600 rpx ;
height : 84 rpx ;
border - radius : 8 rpx ;
align - items : center ;
margin : 20 rpx auto 0 ;
background : # ffffff ;
border : 1 px solid # 16 C5A9 ;
}
. top _button _text _wrapper {
font - size : 32 rpx ;
font - weight : normal ;
color : # FFFFFF ;
line - height : 1 ;
margin - left : 18 rpx ;
}
. top _button _icon _wrapper image {
width : 68 rpx ;
height : 68 rpx ;
display : block ;
}
. top _button _icon _wrapper {
width : 68 rpx ;
height : 68 rpx ;
}
. top _button1 _wrapper {
background : # 16 C5A9 ;
}
. top _button _wrapper {
width : 310 rpx ;
height : 84 rpx ;
border - radius : 8 rpx ;
display : flex ;
justify - content : center ;
align - items : center ;
margin : 40 rpx auto 0 ;
}
. top _button _group _wrapper {
height : 120 rpx ;
background : # FFFFFF ;
display : flex ;
align - items : center ;
justify - content : center ;
}
< / style >