This commit is contained in:
haomingming 2023-03-24 15:29:41 +08:00
parent 12e4984a95
commit 69df3bf6b3
46 changed files with 300 additions and 197 deletions

View File

@ -4,7 +4,7 @@
margin-left: 50rpx;
margin-bottom: 100rpx;
font-size: 50rpx;
font-family: "AlibabaPuHuiTi-2-75-SemiBold";
/* font-family: "AlibabaPuHuiTi-2-75-SemiBold"; */
color: #333;
}
.item{

View File

@ -13,13 +13,33 @@ Page({
btn_msg: "获取验证码",
btn_disabled: false,
login_disabled: true,
btn_color: "#ccc"
},
onChange(event) {
this.setData({
checked: event.detail,
});
},
phone_change(e){
let phone = this.data.phone;
if(phone != ""){
this.setData({
btn_color: "#3CC7C0"
})
}
},
getCodePhone(e){
let phone_reg = /^1[3-9]\d{9}$/;
let phone = this.data.phone;
//判断用户输入的真实姓名是否为空
if(phone.length == 0){
wx.showToast({title: '手机号不能为空', icon:'error'})
return false;
}else if(!phone_reg.test(phone)){//检测姓名的格式是否匹配
wx.showToast({title: '手机号输入有误', icon:'error'})
return false;
}
if(!this.data.checked){
wx.showToast({
title: '请同意协议',
@ -48,6 +68,24 @@ Page({
})
},
mobileLogin(e){
let phone_reg = /^1[3-9]\d{9}$/;
let phone = this.data.phone;
let sms = this.data.sms;
//判断用户输入的真实姓名是否为空
if(phone.length == 0){
wx.showToast({title: '手机号不能为空', icon:'error'})
return false;
}else if(!phone_reg.test(phone)){//检测姓名的格式是否匹配
wx.showToast({title: '手机号输入有误', icon:'error'})
return false;
}
if(sms.length == 0){
wx.showToast({title: '验证码不能为空', icon:'error'})
return false;
}
if(!this.data.checked){
wx.showToast({
title: '请同意协议',

View File

@ -3,26 +3,27 @@
<van-image height="196rpx" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/logo2.png" fit="heightFix" />
</view>
<view class="fields">
<van-field
model:value="{{ phone }}"
label="+86"
placeholder="请输入手机号"
type="number"
input-align="left"
/>
<van-field
model:value="{{ sms }}"
center
clearable
type="number"
label="短信验证码"
placeholder="请输入短信验证码"
use-button-slot
>
<van-button disabled="{{btn_disabled}}" color="#3CC7C0" slot="button" size="small" round plain type="primary" bind:click="getCodePhone">
{{btn_msg}}
</van-button>
</van-field>
<van-field
model:value="{{ phone }}"
label="+86"
placeholder="请输入手机号"
type="number"
bind:input="phone_change"
input-align="left"
/>
<van-field
model:value="{{ sms }}"
center
clearable
type="number"
label="短信验证码"
placeholder="请输入短信验证码"
use-button-slot
>
<van-button disabled="{{btn_disabled}}" color="{{btn_color}}" slot="button" size="small" round plain type="primary" bind:click="getCodePhone">
{{btn_msg}}
</van-button>
</van-field>
</view>
<view class="btn">
<van-button color="#3CC7C0" disabled="{{login_disabled}}" custom-style="font-size: 36rpx;margin-bottom:30rpx;" type="primary" round block bind:click="mobileLogin">登录</van-button>

View File

@ -1,5 +1,5 @@
.logo{
height: 500rpx;
margin-top: 150rpx;
display: flex;
align-items: center;
justify-content: center;

View File

@ -46,7 +46,7 @@
<view class="item_txt">
<view class="pre_content">处方订单号2023010510324649</view>
<view class="end_content">
<van-button type="primary" size="small">查看病例</van-button>
<van-button type="primary" color="#ec871e" size="small">查看病例</van-button>
</view>
</view>
@ -68,7 +68,7 @@
<view class="item_txt">
<view class="pre_content">处方订单号2023010510324649</view>
<view class="end_content">
<van-button type="primary" size="small">查看病例</van-button>
<van-button type="primary" color="#ec871e" size="small">查看病例</van-button>
</view>
</view>
@ -90,7 +90,7 @@
<view class="item_txt">
<view class="pre_content">处方订单号2023010510324649</view>
<view class="end_content">
<van-button type="primary" size="small">查看病例</van-button>
<van-button type="primary" color="#ec871e" size="small">查看病例</van-button>
</view>
</view>

View File

@ -1,12 +1,16 @@
page{
background-color: #F4F4F4;
}
.top{
width: 100vw;
background-color: cornflowerblue;
background-color: rgb(255, 255, 255);
height: 370rpx;
display: flex;
justify-content: center;
align-items: center;
align-content: center;
flex-direction: column;
margin-bottom: 20rpx;
}
.name{
color: white;
@ -15,4 +19,5 @@
text-justify:distribute-all-lines;
text-align-last: justify;
font-size: 28rpx;
width: 180rpx;
}

View File

@ -4,7 +4,7 @@ const app = getApp()
Page({
data: {
navbarData: {
showCapsule: 1, //是否显示左上角图标 1表示显示 0表示不显示
showCapsule: 0, //是否显示左上角图标 1表示显示 0表示不显示
title: '个人中心', //导航栏 中间的标题
},
height: app.globalData.height,
@ -25,5 +25,30 @@ Page({
}).catch(errors => {
console.error(errors);
})
},
logOut(){
console.log("退出登录");
let usertype = wx.getStorageSync('usertype');
wx.showModal({
title: '确认退出登录',
content: '退出登录后您需要重新登录',
success (res) {
if (res.confirm) {
console.log('用户点击确定')
wx.setStorageSync('AUTH_TOKEN_'+usertype, "");
wx.setStorageSync('user_id', "");
wx.setStorageSync('client_user_id', "");
app.go("/Pages/index/index");
} else if (res.cancel) {
console.log('用户点击取消')
}
}
})
},
go(e){
console.log(e)
let url = e.currentTarget.dataset.url;
app.go(url);
}
})

View File

@ -2,7 +2,9 @@
"component": true,
"usingComponents": {
"t-avatar": "tdesign-miniprogram/avatar/avatar",
"van-icon": "@vant/weapp/icon/index"
"van-icon": "@vant/weapp/icon/index",
"van-button": "@vant/weapp/button/index",
"te-nav-bar": "/commpents/te_navbar"
},
"navigationBarBackgroundColor": "#ffffff",
"navigationBarTextStyle": "black",

View File

@ -1,19 +1,18 @@
<te-nav-bar navbar-data='{{navbarData}}' ></te-nav-bar>
<view class="container">
<view class="top">
<t-avatar class="avatar" size="large" image="{{info.avatar}}" />
<text class="name">{{info.user_name}}</text>
</view>
<view class="content">
<navigator url="/Pages/yaoshi/info/info" open-type="navigate" hover-class="other-navigator-hover">
<view class="my">个人中心</view>
</navigator>
<view class="my" bindtap="go" data-url="/Pages/yaoshi/info/info">个人中心</view>
<view class="item_list">
<view class="item">
<navigator url="/Pages/yaoshi/authentication/authentication" open-type="navigate" hover-class="other-navigator-hover">
<van-icon name="user-o" size="50rpx" color="#55B0E5"/>
<text class="item_name">实名认证</text>
</navigator>
<view class="item" bindtap="go" data-url="/Pages/yaoshi/authentication/authentication">
<van-icon name="user-o" size="50rpx" color="#55B0E5"/>
<text class="item_name">实名认证</text>
</view>
</view>
<van-button type="primary" block bindtap="logOut">退出登录</van-button>
</view>
</view>

View File

@ -12,9 +12,10 @@
color: white;
margin-top: 30rpx;
text-align: justify;
text-justify:distribute-all-lines;
text-justify: inter-word;
text-align-last: justify;
font-size: 28rpx;
width: 180rpx;
}
.my{
display: flex;

View File

@ -32,7 +32,7 @@ page{
font-size: 28rpx;
color: #999999;
width: 92vw;
margin: 0 auto;
margin: -20rpx auto;
line-height: 50rpx;
}
.bankcard_list{

View File

@ -20,7 +20,7 @@
font-size: 28rpx;
color: #999999;
width: 92vw;
margin: 50rpx auto;
margin: 20rpx auto;
line-height: 50rpx;
}
.t-tabs__item--active{
@ -35,3 +35,6 @@
.van-picker__confirm{
color: #3cc7c0 !important;
}
.van-cell {
padding: 32rpx !important;
}

View File

@ -50,7 +50,7 @@
</view> -->
<view class="bottom">
<van-button custom-style="border-radius: 10rpx;" block color="#3CC7C0">提取</van-button>
<van-button custom-style="border-radius: 10rpx;font-size: 30rpx;" block color="#3CC7C0">提取</van-button>
<view class="kefu" bindtap="contactKeFu">
<text>联系客服</text>
</view>

View File

@ -58,12 +58,13 @@ page{
flex-direction: column;
}
.cash_top{
margin-top: 20rpx;
display: flex;
flex: 3;
}
.cash_bottom{
border-top: 1px solid #E5E5E5;
flex: 1;
flex: 1.2;
color: #3CC7C0;
font-size: 32rpx;
display: flex;

View File

@ -13,6 +13,7 @@
t-class="custom-tabs"
theme="line"
custom-style="font-size: 32rpx"
swipeable="{{false}}"
>
<!-- 实名认证tab -->
<t-tab-panel label="实名认证" value="0" style="{{tabPanelstyle}}" catchtouchmove='true'>

View File

@ -71,7 +71,7 @@
letter-spacing: 2rpx;
}
.t-cell__title-text{
font-size: 30rpx !important;
font-size: 32rpx !important;
}
.t-input__wrap--suffix-icon{
padding-left: var(--td-spacer-1, 8rpx) !important;
@ -178,3 +178,33 @@
.van-picker__confirm{
color: #3cc7c0 !important;
}
.van-cell:after {
border-bottom: 1px solid var(--td-cell-border-color, var(--td-gray-color-3, #e7e7e7));
bottom: 0;
box-sizing: border-box;
content: " ";
pointer-events: none;
position: absolute;
width: calc(100vw - 32rpx);
transform: scaleY(.5);
transform-origin: center;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: var(--td-cell-border-color, var(--td-gray-color-3, #e7e7e7));
}
.t-cell__note,.t-class-note,.note{
font-size: 30rpx !important;
}
.van-cell {
padding: 32rpx !important;
}
.van-picker__cancel{
font-size: 32rpx !important;
}
.van-picker__confirm{
color: #3cc7c0 !important;
font-size: 32rpx !important;
}
.van-picker__title {
font-size: 34rpx !important;
}

View File

@ -75,7 +75,7 @@
</view>
</view>
<!-- 广告版块 -->
<view class="ad" wx:if="{{swiperList.length > 0}}">
<view class="ad">
<t-swiper
height="110rpx"
duration="{{duration}}"
@ -129,7 +129,7 @@
src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/chufang.png"
/>
<view class="fun_box_item_txt">
<t-badge dot="{{info.reject_prescription_number ? true : false}}" offset="{{ ['-14rpx', '10rpx'] }}" class="wrapper" content="处方管理" />
<t-badge style="display: flex;align-items: center;" dot="{{info.reject_prescription_number ? true : false}}" offset="{{ ['-14rpx', '10rpx'] }}" class="wrapper" content="处方管理" />
</view>
</view>
<view class="fun_box_item" data-moudle="8" bindtap="contactKeFu">

View File

@ -172,11 +172,12 @@
.fun_box{
width: 90vw;
margin: 30rpx auto 0 auto;
padding: 20rpx 0;
padding: 30rpx 0;
box-shadow: 0px 2px 10px 0px rgba(0,0,0,0.1);
display: flex;
flex-wrap: wrap;
justify-content: space-around;
justify-content: space-evenly;
border-radius: 10rpx;
}
.fun_box_item{
width: 40vw;
@ -186,7 +187,6 @@
margin: 10rpx 0;
display: flex;
align-items: center;
padding-left: 20rpx;
}
.fun_box_item_img{
flex: 1;
@ -194,11 +194,12 @@
justify-content: center;
}
.fun_box_item_txt{
flex: 2;
font-size: 30rpx;
flex: 2.5;
font-size: 34rpx;
color: #333333;
height: 70rpx;
line-height: 70rpx;
display: flex;
}
.t-class-cancel{
color: #3CC7C0 !important;

View File

@ -70,7 +70,7 @@ page{
position: relative;
display: flex;
justify-content: space-between;
margin: 20rpx;
margin: 20rpx 20rpx 20rpx 30rpx;
align-items: center;
}
.price_steup_box_bottom_num{
@ -101,7 +101,7 @@ page{
}
.bottom{
width: 90vw;
margin: 0 auto;
margin: -20rpx auto;
color: #999;
letter-spacing: 2rpx;
font-size: 28rpx;

View File

@ -35,7 +35,7 @@
</view>
<view class="account_top_right">
<navigator url="/Pages/yishi/cash/index" open-type="navigate" hover-class="other-navigator-hover">
<van-button custom-style="text-indent: 20rpx;letter-spacing: 20rpx;text-align: center;border-radius: 10rpx;padding: 20rpx 50rpx;" color="linear-gradient(310deg, #FF931A 0%, #FF931A 0%, #FCB75D 100%);">
<van-button custom-style="text-indent: 20rpx;letter-spacing: 20rpx;text-align: center;border-radius: 10rpx;padding: 20rpx 50rpx;" color="linear-gradient(310deg, #FF931A 0%, #FF931A 0%, #FCB75D 100%);font-size: 32rpx;">
提现
</van-button>
</navigator>

View File

@ -111,7 +111,9 @@
.t-badge__content-text {
line-height: 70rpx !important;
}
.van-cell {
padding: 32rpx !important;
}

View File

@ -17,3 +17,6 @@
border-top: 1px solid #E9E9E9;
color: #3CC7C0;
}
.van-cell {
padding: 32rpx !important;
}

View File

@ -2,7 +2,7 @@ const app = getApp()
Page({
data: {
navbarData: {
showCapsule: 2, //是否显示左上角图标 1表示显示 0表示不显示
showCapsule: 1, //是否显示左上角图标 1表示显示 0表示不显示
title: '我的简介', //导航栏 中间的标题
},
},

View File

@ -1,58 +1,6 @@
/* .container{
padding-bottom: 50rpx;
} */
.t-cell__note {
font-size: 25rpx !important;
letter-spacing: 2rpx;
}
.t-cell__title-text{
.t-cell__note,.t-class-note,.note{
font-size: 30rpx !important;
}
.t-input__wrap--suffix-icon{
padding-left: var(--td-spacer-1, 8rpx) !important;
}
.container {
width: 100vw;
background-color: #ffffff;
}
.tui-navigatorbar{
position: fixed;
top: 0;
width: 750rpx;
height: 170rpx;
background-color: #bae46b;
z-index: 99;
}
.tui-navigatorbar-back{
position: absolute;
width: 48rpx;
height: 48rpx;
left: 40rpx;
bottom: 20rpx;
}
.conversation-title {
position:absolute;
width: 350rpx;
height: 88rpx;
line-height: 56rpx;
font-size: 36rpx;
color: #e68080;
bottom: 0;
left: 200rpx;
display: flex;
justify-content: center;
align-items: center;
}
.van-cell--required::before {
left: 4.7rem !important;
}
.required{
color: #e34d59;
}
.van-picker__confirm{
color: #3cc7c0 !important;
}
.t-tabs__item--active{
color: #49B9AD !important;
}
@ -62,3 +10,19 @@
.t-icon-check{
color: #49B9AD !important;
}
.zhuanchang_btn--confirm {
color: #3cc7c0;
}
.van-picker__cancel{
font-size: 32rpx !important;
}
.van-picker__confirm{
color: #3cc7c0 !important;
font-size: 32rpx !important;
}
.van-picker__title {
font-size: 34rpx !important;
}
.van-cell {
padding: 32rpx !important;
}

View File

@ -11,7 +11,7 @@ page{
}
.item{
display: flex;
margin-bottom: 30rpx;
margin-bottom: 40rpx;
}
.title{
flex: 1;

View File

@ -55,7 +55,7 @@
margin: 20rpx auto 0 auto;
font-size: 32rpx;
margin-bottom: 20rpx;
font-family: "AlibabaPuHuiTi-2-55-Regular";
/* font-family: "AlibabaPuHuiTi-2-55-Regular"; */
color: #333333;
}
.price_steup_box{
@ -71,7 +71,7 @@
position: relative;
display: flex;
justify-content: space-between;
margin: 20rpx;
margin: 20rpx 20rpx 20rpx 30rpx;
align-items: center;
padding-bottom: 20rpx;
}
@ -79,7 +79,7 @@
position: relative;
display: flex;
justify-content: space-between;
margin: 0rpx 20rpx 0rpx 20rpx;
margin: 0rpx 20rpx 0rpx 30rpx;
align-items: center;
}
.price_steup_box_top_title, .price_steup_box_bottom_title{
@ -110,7 +110,7 @@
}
.bottom{
width: 90vw;
margin: 0 auto;
margin: -20rpx auto;
color: #999;
letter-spacing: 2rpx;
font-size: 28rpx;

View File

@ -65,3 +65,9 @@ page{
justify-content: center;
color: #fff;
}
.van-cell {
padding: 32rpx !important;
font-size: 34rpx !important;
color: #333 !important;
font-weight: bolder !important;
}

View File

@ -6,7 +6,7 @@
<view class="item_top">
<view class="item_img">
<text style="margin-left: 10rpx;">快速问诊</text>
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice/kuaisu.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
<van-image class="van_img" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice/kuaisu.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
</view>
<view class="item_date">2023-1-02 12:22</view>
</view>
@ -17,7 +17,7 @@
<view class="item_top">
<view class="item_img">
<text style="margin-left: 10rpx;">在线问诊</text>
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice/online.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
<van-image class="van_img" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice/online.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
</view>
<view class="item_date">2023-1-02 12:22</view>
</view>
@ -27,8 +27,8 @@
<view class="item">
<view class="item_top">
<view class="item_img">
<text style="margin-left: 10rpx;">诊</text>
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice/yizhen.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
<text style="margin-left: 10rpx;">公益问诊</text>
<van-image class="van_img" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice/yizhen.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
</view>
<view class="item_date">2023-1-02 12:22</view>
</view>
@ -39,7 +39,7 @@
<view class="item_top">
<view class="item_img">
<text style="margin-left: 10rpx;">问诊购药</text>
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice/drug.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
<van-image class="van_img" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice/drug.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
</view>
<view class="item_date">2023-1-02 12:22</view>
</view>

View File

@ -35,6 +35,10 @@ page{
}
.item_content{
margin-top: 20rpx;
font-size: 24rpx;
font-size: 30rpx;
color: #666666;
}
.van_img{
display: flex;
justify-content: center;
}

View File

@ -5,7 +5,7 @@
<view class="item" bindtap="go" data-url="/Pages/yishi/notice_deatil/index">
<view class="item_top">
<view class="item_img">
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice/kuaisu.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
<van-image class="van_img" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice/kuaisu.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
</view>
<view class="item_content">9月份的服务费结算通知</view>
</view>
@ -17,7 +17,7 @@
<view class="item" bindtap="go" data-url="/Pages/yishi/notice_deatil/index">
<view class="item_top">
<view class="item_img">
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice/kuaisu.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
<van-image class="van_img" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice/kuaisu.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
</view>
<view class="item_content">8月份的服务费结算通知</view>
</view>
@ -26,7 +26,7 @@
<view class="item" bindtap="go" data-url="/Pages/yishi/notice_deatil/index">
<view class="item_top">
<view class="item_img">
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice/kuaisu.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
<van-image class="van_img" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice/kuaisu.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
</view>
<view class="item_content">7月份的服务费结算通知</view>
</view>
@ -35,7 +35,7 @@
<view class="item" bindtap="go" data-url="/Pages/yishi/notice_deatil/index">
<view class="item_top">
<view class="item_img">
<van-image src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice/kuaisu.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
<van-image class="van_img" src="https://gdxz-hospital.oss-cn-chengdu.aliyuncs.com/applet/doctor/static/images/yishi/service_notice/kuaisu.png" fit="heightFix" height="54rpx" aria-label="qrcode" />
</view>
<view class="item_content">6月份的服务费结算通知</view>
</view>

View File

@ -23,6 +23,10 @@ page{
display: flex;
align-items: center;
}
.van_img{
display: flex;
justify-content: center;
}
.item_content{
font-size: 34rpx;
color: #333333;

View File

@ -17,7 +17,7 @@ page{
display: flex;
flex-direction: column;
color: #666666;
font-size: 20rpx;
font-size: 28rpx;
}
.top_left{
border-right: 1px solid #F4F4F4;

View File

@ -53,10 +53,13 @@
background-color: #fff;
align-items: center;
z-index: 99;
padding-bottom: 50rpx;
}
.bottom_checkbox{
flex: 2;
font-size: 30rpx;
display: flex;
justify-content: center;
}
.bottom_content{
flex: 6;

View File

@ -56,7 +56,7 @@ page{
margin: 0 auto;
font-size: 32rpx;
margin-bottom: 20rpx;
font-family: "AlibabaPuHuiTi-2-55-Regular";
/* font-family: "AlibabaPuHuiTi-2-55-Regular"; */
color: #333333;
}
.price_steup_box{
@ -98,7 +98,7 @@ page{
}
.bottom{
width: 90vw;
margin: 0 auto;
margin: -20rpx auto;
color: #999;
letter-spacing: 2rpx;
font-size: 28rpx;

View File

@ -7,7 +7,7 @@
line-height: 80rpx;
height: 80rpx;
color: #ED7B2F;
font-size: 20rpx;
font-size: 28rpx;
padding-left: 20rpx;
}
.notice::after{

32
app.js
View File

@ -25,22 +25,22 @@ App({
console.log("download fonts from oss ");
let loadStatus = false;
if (!loadStatus) {
wx.loadFontFace({
global: true,
family: 'AlibabaPuHuiTi',
// source: 'url("https://oss.igandan.com/app/fonts/AlibabaPuHuiTi/STXINGKA.TTF")',
source: 'url("https://docwebsite.oss-cn-beijing.aliyuncs.com/app/fonts/AlibabaPuHuiTi/AlibabaPuHuiTi-2-65-Medium/AlibabaPuHuiTi-2-65-Medium.ttf")',
success() {
loadStatus = true;
console.log("download fonts from oss success");
},
fail(){
console.log("download fonts from oss error");
},
complete(){
console.log("download fonts from oss complete");
}
});
// wx.loadFontFace({
// global: true,
// family: 'AlibabaPuHuiTi',
// // source: 'url("https://oss.igandan.com/app/fonts/AlibabaPuHuiTi/STXINGKA.TTF")',
// source: 'url("https://docwebsite.oss-cn-beijing.aliyuncs.com/app/fonts/AlibabaPuHuiTi/AlibabaPuHuiTi-2-65-Medium/AlibabaPuHuiTi-2-65-Medium.ttf")',
// success() {
// loadStatus = true;
// console.log("download fonts from oss success");
// },
// fail(){
// console.log("download fonts from oss error");
// },
// complete(){
// console.log("download fonts from oss complete");
// }
// });
}
this.aegisInit()

View File

@ -1,5 +1,5 @@
/**app.wxss**/
@font-face{
/* @font-face{
font-family:AlibabaPuHuiTi-2-55-Regular;
src:url('https://oss.igandan.com/app/fonts/AlibabaPuHuiTi/AlibabaPuHuiTi-2-55-Regular/AlibabaPuHuiTi-2-55-Regular.ttf')format('TrueType');
font-display:swap;
@ -16,4 +16,4 @@
}
page{
font-family:AlibabaPuHuiTi-2-65-Medium;
}
} */

View File

@ -216,9 +216,9 @@ Component({
})
}).then(()=>{
let index = this.data.zhuanchang_columns.findIndex(item => {
return item.is_selected == 1
return item.is_selected == 1;
})
if(index) {
if(index != undefined) {
this.setData({
zhuanchang_note: ""
})

View File

@ -1,4 +1,4 @@
<view class="photo" style="border-bottom: {{avatar_reason==''?'1px solid var(--td-cell-border-color, var(--td-gray-color-3, #e7e7e7));':'unset'}}">
<view class="{{avatar_reason!=''?'photo':'photo_reason'}}">
<view class="title">头像 <text class="required"> *</text></view>
<van-uploader disabled="{{ indentity && iden_auth_disabled }}" bind:after-read="doUploadPhoto" data-scene="1" data-field_name="avatar" data-file_multiple="false">
<view class="right">

View File

@ -9,6 +9,31 @@
font-weight: 400;
align-items: center;
}
.photo_reason{
position: relative;
padding: 32rpx 32rpx 32rpx 0;
margin-left: 32rpx;
display: flex;
justify-content: space-between;
font-size: 32rpx;
font-weight: 400;
align-items: center;
}
.photo_reason::after{
position: absolute;
box-sizing: border-box;
content: ' ';
pointer-events: none;
right: 0;
bottom: 0;
border-bottom: 1px solid var(--td-cell-border-color, var(--td-gray-color-3, #e7e7e7));
transform: scaleY(0.5);
left: 0rpx;
}
.required{
color: #e34d59;
}
.title{
font-size: 30rpx;
@ -65,14 +90,14 @@
margin: 20rpx 10rpx 20rpx 0;
font-size: 28rpx;
}
.t-radio__icon--checked {
color: #49B9AD !important;
}
.t-tabs__item--active{
color: #49B9AD !important;
}
.t-tabs__track{
background-color: var(--td-tab-track-color, var(--td-primary-color, #49B9AD)) !important;
background-color: #49B9AD !important;
}
.t-icon-check{
color: #49B9AD !important;
}
.t-cell__note {
font-size: 25rpx !important;
@ -96,7 +121,7 @@
}
.bottom_next{
width: 95vw;
margin: 530rpx auto;
margin: 530rpx auto 0 auto;
}
.sub_button{
width: 95vw;
@ -120,6 +145,7 @@
height: 300rpx;
background-color: cadetblue;
}
.zhuanchang_box{
display: flex;
flex-wrap: wrap;
@ -174,41 +200,6 @@
.zhuanchang_btn--confirm {
color: #3cc7c0;
}
.error_box{
position: relative;
display: flex;
background-color: #FEF1F1;
width: calc(95vw - 64rpx);
height: 100rpx;
margin: 30rpx auto 0 auto;
align-items: center;
padding-left: 32rpx;
border-radius: 10rpx;
}
.error_box::after{
border-radius: 5rpx;
position: absolute;
width: 0px;
height: 0px;
border-width: 16rpx;
border-style: solid;
border-color: transparent transparent #FEF1F1 transparent;
content: ' ';
left: 50rpx;
top: -30rpx;
}
.error_msg{
position: relative;
margin-left: 10rpx;
color: #FF0000;
letter-spacing: 3rpx;
font-weight: 600;
}
.has_error{
margin-left: 32rpx;
padding-bottom: 20rpx;
border-bottom: 1rpx solid #e7e7e7;
}
.van-picker__columns {
height: 264px !important;
top: 40px !important;
@ -217,6 +208,24 @@
top: -270px !important;
position: relative !important;
}
.custom_keshi_error{
display: none;
.van-picker__confirm{
color: #3cc7c0 !important;
}
.van-cell:after {
border-bottom: 1px solid var(--td-cell-border-color, var(--td-gray-color-3, #e7e7e7));
bottom: 0;
box-sizing: border-box;
content: " ";
pointer-events: none;
position: absolute;
width: calc(100vw - 32rpx);
transform: scaleY(.5);
transform-origin: center;
border-bottom-width: 1px;
border-bottom-style: solid;
border-bottom-color: var(--td-cell-border-color, var(--td-gray-color-3, #e7e7e7));
}
.van-cell {
padding: 32rpx !important;
}

View File

@ -3,11 +3,11 @@
<view class="textarea-cell-name">{{ textarea_cell_name }}<text wx:if="{{ required }}" class="required"> *</text></view>
<view class="textarea-cell-note t-cell__note" bindtap="onshowNote">
<view><t-icon name="{{ t_icon_name }}" size="{{ t_icon_size}}" data-name="{{ t_icon_name }}" /></view>
<text>{{ textarea_cell_note }}</text>
<text style="font-size: 28rpx;">{{ textarea_cell_note }}</text>
</view>
</view>
<view class="textarea-cell-content">
<textarea disabled="{{disabled}}" bindblur="bindTextAreaBlur" maxlength="1000" style="margin: 32rpx 32rpx 0 32rpx; width: 100%; height: 90%; background-color: #FAFAFA;" name="" id="" placeholder="{{ textarea_cell_content_placeholder }}" value="{{textarea_val}}"></textarea>
<textarea disabled="{{disabled}}" bindblur="bindTextAreaBlur" maxlength="1000" style="margin: 20rpx 20rpx 0 20rpx; width: 100%; height: 90%; background-color: #FAFAFA;" name="" id="" placeholder="{{ textarea_cell_content_placeholder }}" value="{{textarea_val}}"></textarea>
</view>
<view class="error_box" wx:if="{{ has_error_content != '' }}" >
<t-icon color="red" name="close-circle-filled" size="48rpx" data-name="close-circle-filled" />

View File

@ -25,7 +25,7 @@
.textarea-cell-content{
background-color: #FAFAFA;
width: 95%;
height: 500rpx;
height: 310rpx;
display: flex;
margin: 30rpx auto 0 auto;
}

View File

@ -3,7 +3,7 @@
<view class="upload-cell-name">{{ upload_cell_name }}<text wx:if="{{ required }}" class="required"> *</text></view>
<view class="upload-cell-note t-cell__note" bindtap="onshowNote" wx:if="{{upload_cell_note != ''}}">
<view><t-icon name="{{ t_icon_name }}" size="{{ t_icon_size}}" data-name="{{ t_icon_name }}" /></view>
<text>{{ upload_cell_note }}</text>
<text style="font-size: 28rpx;">{{ upload_cell_note }}</text>
</view>
</view>
<view class="upload-cell-desc">

View File

@ -37,6 +37,7 @@
.upload-cell-desc{
color: #999999;
margin: 20rpx 0;
font-size: 30rpx;
}
.error_box{
position: relative;

View File

@ -10,11 +10,11 @@
<view class="content_3">
<view class="status {{ status_class }}">{{ status_text }}</view>
<view class="btn" wx:if="{{ status == 3 }}">
<van-button bind:click="go" data-url="/Pages/yishi/case/index?order_inquiry_id={{order_inquiry_id}}" plain custom-style="width:200rpx; border-radius: 10rpx;" color="#3CC7C0">查看病历</van-button>
<van-button type="default" bindtap="tabShow" custom-style="width:200rpx; border-radius: 10rpx;margin-left:20rpx;" color="#3CC7C0">去接诊</van-button>
<van-button bind:click="go" data-url="/Pages/yishi/case/index?order_inquiry_id={{order_inquiry_id}}" plain custom-style="width:200rpx; height:67rpx; border-radius: 10rpx;" color="#3CC7C0">查看病历</van-button>
<van-button type="default" bindtap="tabShow" custom-style="width:200rpx; height:67rpx; border-radius: 10rpx;margin-left:20rpx;" color="#3CC7C0">去接诊</van-button>
</view>
<view class="btn" wx:if="{{ status >= 4 }}">
<van-button bind:click="goChat" data-from_account="{{from_account}}" data-inquiry_type="{{inquiry_type}}" data-order_inquiry_id="{{order_inquiry_id}}" data-url="/Pages/yishi/chat/index" plain custom-style="width:200rpx; border-radius: 10rpx;" color="#3CC7C0">问诊详情</van-button>
<van-button bind:click="goChat" data-from_account="{{from_account}}" data-inquiry_type="{{inquiry_type}}" data-order_inquiry_id="{{order_inquiry_id}}" data-url="/Pages/yishi/chat/index" plain custom-style="width:200rpx; height:67rpx; border-radius: 10rpx;" color="#3CC7C0">问诊详情</van-button>
<!-- <van-button bind:click="go" data-url="/Pages/yishi/chat_session/index" plain custom-style="width:200rpx; border-radius: 10rpx;" color="#3CC7C0">会话列表</van-button> -->
</view>
</view>

View File

@ -52,7 +52,7 @@
border-top: 1px solid #E3E4E5;
align-items: center;
margin: 0 30rpx;
min-height: 50rpx;
min-height: 70rpx;
}
.pop_content{
text-align: center;