更新小程序仓库

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
+78
View File
@@ -0,0 +1,78 @@
// pages/agreeList/agreeList.js
const app = getApp();
import {throttle} from "../../utils/util"
let urlHost=app.hostConfig().agreehost;
Page({
/**
* 页面的初始数据
*/
data: {
img_host:'https://oss.prod.applets.igandanyiyuan.com/applet/patient/static',
},
goRight:throttle(function(){
app.method.navigateTo({
url:"/pages/linkPage/linkPage?url="+encodeURIComponent(urlHost+'/basic/file/agreement.htm?id=5')
})
}),
goAgreement:throttle(function(){
app.method.navigateTo({
url:"/pages/linkPage/linkPage?url="+encodeURIComponent(urlHost+'/basic/file/agreement.htm?id=4')
})
}),
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
this.setData({
img_host:app.hostConfig().imghost
});
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
})
+7
View File
@@ -0,0 +1,7 @@
{
"usingComponents": {
"nav":"../../components/nav/nav"
},
"navigationStyle":"custom",
"navigationBarTitleText": "肝胆相照互联网医院"
}
+14
View File
@@ -0,0 +1,14 @@
<!--pages/agreeList/agreeList.wxml-->
<view class="page">
<nav navName="资质协议和患者知情同意书"></nav>
<view class="dcellbox">
<view class="dcell" bindtap="goRight">
<view class="name">资质协议</view>
<image src="{{img_host+'/righticon.png'}}" class="righticon"></image>
</view>
<view class="dcell" bindtap="goAgreement">
<view class="name">患者知情同意书</view>
<image src="{{img_host+'/righticon.png'}}" class="righticon"></image>
</view>
</view>
</view>
+29
View File
@@ -0,0 +1,29 @@
/* pages/agreeList/agreeList.wxss */
.page{
overflow: hidden;
display: flex;
flex-direction: column;
}
.dcellbox{
flex:1;
overflow: scroll;
-webkit-overflow-scrolling: touch;
margin-top: 172rpx;
}
.dcell {
width: 100%;
border-bottom: 1px solid #E3E4E5;
box-sizing: border-box;
padding: 0 37rpx 0 20rpx;
display: flex;
align-items: center;
justify-content: space-between;
height: 112rpx;
background: #FFFFFF;
border-radius: 10rpx;
}
.righticon {
width: 24rpx;
height: 48rpx;
}