更新小程序仓库

This commit is contained in:
zoujiandong
2023-11-17 09:51:35 +08:00
parent 13f54a26df
commit 4506940c2d
936 changed files with 60022 additions and 0 deletions
+29
View File
@@ -0,0 +1,29 @@
// components/navbar/navbar.js
const app=getApp();
Component({
/**
* 页面的初始数据
*/
data: {
keyWord:'',
img_host:'https://oss.prod.applets.igandanyiyuan.com/applet/patient/static'
},
pageLifetimes: {
// 组件所在页面的生命周期函数
show() {
this.setData({
img_host:app.hostConfig().imghost
});
},
hide: function () { },
resize: function () { },
},
methods: {
handleFocus(){
this.triggerEvent('handleFocus',true)
},
},
})
+5
View File
@@ -0,0 +1,5 @@
{
"usingComponents": {
}
}
+10
View File
@@ -0,0 +1,10 @@
<!--components/navbar/navbar.wxml-->
<view class="barcontain">
<view class="barcon">
<text class="text">肝胆相照互联网医院</text>
<view class="scon">
<input type="text" placeholder="输入姓名或医院查找医生" value="{{keyWord}}" disabled="{{true}}" bindtap="handleFocus" confirm-type="search" class="ipt"/>
<image src="{{img_host+'/ss.png'}}" class="ss"></image>
</view>
</view>
</view>
File diff suppressed because one or more lines are too long