分包医生

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
+22
View File
@@ -0,0 +1,22 @@
// Pages/index/index.js
import { API } from '../../../../utils/network/api'
const api = new API()
Page({
data: {
static_host: api.getStaticHost()
},
onShow() {
if (typeof this.getTabBar === 'function' && this.getTabBar()) {
this.getTabBar().setData({
tabBarShow:false, //true/false
})
}
},
toGo(e){
console.log(e.currentTarget.dataset.url)
wx.switchTab({
url: e.currentTarget.dataset.url
})
}
})
+6
View File
@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"t-image": "tdesign-miniprogram/image/image"
}
}
+29
View File
@@ -0,0 +1,29 @@
<view class="title">请选择您的身份</view>
<view>
<view class="item">
<t-image
bindtap="toGo" data-url="/Pages/yaoshi/home/home"
class="item_img"
src="{{static_host}}/applet/doctor/static/images/yi.png"
mode="heightFix"
height="220rpx"
aria-label="医师端"
loading="slot"
>
<t-loading slot="loading" theme="circular" size="40rpx" loading />
</t-image>
</view>
<view class="item">
<t-image
bindtap="toGo" data-url="/Pages/yaoshi/my/my"
class="item_img"
src="{{static_host}}/applet/doctor/static/images/yao.png"
mode="heightFix"
height="220rpx"
aria-label="药师端"
loading="slot">
<t-loading slot="loading" theme="circular" size="40rpx" loading />
</t-image>
</view>
</view>
+19
View File
@@ -0,0 +1,19 @@
.title{
margin-top: 250rpx ;
margin-left: 50rpx;
margin-bottom: 100rpx;
font-size: 50rpx;
font-weight: bold;
}
.item{
display: flex;
flex-direction: row;
margin-bottom: 100rpx;
justify-content: center;
align-content: center;
}
.item_img{
flex: 1;
display: flex;
justify-content: center;
}