分包医生

This commit is contained in:
zoujiandong
2024-01-16 14:59:06 +08:00
parent 562d4e9691
commit d5a9339ddd
1060 changed files with 3177 additions and 44707 deletions
+18
View File
@@ -0,0 +1,18 @@
const app = getApp()
Page({
data: {
navbarData: {
showCapsule: 1, //是否显示左上角图标 1表示显示 0表示不显示
title: '设置快捷回复', //导航栏 中间的标题
},
height: app.globalData.height,
},
onLoad(option) {
console.log("onLoad", option)
this.setData({
'navbarData.title': option.title,
})
},
})
@@ -0,0 +1,8 @@
{
"component": true,
"usingComponents": {
"te-nav-bar": "../../../../commpents/te_navbar/index",
"van-cell": "@vant/weapp/cell/index",
"van-button": "@vant/weapp/button/index"
}
}
@@ -0,0 +1,11 @@
<te-nav-bar navbar-data='{{navbarData}}' ></te-nav-bar>
<view class="container" style="height: calc(100vh - 96rpx - {{height}}px);">
<view class="item_list">
<van-cell size="large" custom-style="border-radius: 20rpx;margin-bottom: 20rpx;" title="身体怎么样" />
<van-cell size="large" custom-style="border-radius: 20rpx;margin-bottom: 20rpx;" title="按时吃药" />
<van-cell size="large" custom-style="border-radius: 20rpx;margin-bottom: 20rpx;" title="多运动" />
</view>
<van-button color="#3CC7C0"
custom-style="border-radius: 20rpx;font-size:30rpx;width:92vw;position:fixed;bottom:50rpx;left:50%; transform: translateX(-50%);"
type="primary" block>添加快捷回复</van-button>
</view>
@@ -0,0 +1,9 @@
.container{
width: 100vw;
height: 100vh;
background-color: #F6F6F6;
}
.item_list{
width: 92vw;
margin: 20rpx auto;
}