This commit is contained in:
haomingming
2023-04-08 09:51:45 +08:00
parent 6fa2a5eaa9
commit 3f40c4c237
69 changed files with 1274 additions and 338 deletions
+6 -1
View File
@@ -15,7 +15,10 @@ Page({
estimate_income: "0",
doctor_id: ""
},
onPullDownRefresh(){
console.log("用户下拉动作")
this.onShow();
},
// 获取状态栏信息
getMenuButtonBound() {
let stateHeight = 0; // 接收状态栏高度
@@ -67,6 +70,8 @@ Page({
this.setData({
"avatar": avatar
})
}).then(res => {
wx.stopPullDownRefresh()
}).catch(errors => {
console.error(errors);
})
+3 -1
View File
@@ -6,5 +6,7 @@
"van-icon": "@vant/weapp/icon/index",
"van-cell": "@vant/weapp/cell/index",
"van-cell-group": "@vant/weapp/cell-group/index"
}
},
"enablePullDownRefresh":true,
"backgroundTextStyle":"dark"
}
+1 -1
View File
@@ -50,7 +50,7 @@
<view class="content" style="top: calc(20rpx + {{stateHeight}}px);">
<van-cell size="large" url="/Pages/yishi/myaccount/index" link-type="navigateTo" title-style="font-size: 30rpx;" title="我的账户" is-link />
<van-cell size="large" url="/Pages/yishi/bankcard/index" link-type="navigateTo" title-style="font-size: 30rpx;" title="我的银行卡" is-link />
<van-cell size="large" url="/Pages/yishi/mycard/index" link-type="navigateTo" title-style="font-size: 30rpx;" title="我的名片" is-link />
<van-cell size="large" url="/Pages/yishi/mycard/index" link-type="navigateTo" title-style="font-size: 30rpx;" title="我的名片" is-link />
<van-cell size="large" url="/Pages/yishi/appraise/index?doctor_id={{doctor_id}}" link-type="navigateTo" title-style="font-size: 30rpx;" title="患者评价" is-link />
<van-cell size="large" url="/Pages/yishi/quickreply/index" link-type="navigateTo" title-style="font-size: 30rpx;" title="常用语" is-link border="{{ false }}"/>
</view>
+4 -3
View File
@@ -1,7 +1,8 @@
.container{
height: 100vh;
width: 100vw;
page{
background-color: #F5F5F5;
}
.container{
width: 100vw;
color: #fff;
position: relative;
}