This commit is contained in:
haomingming
2023-03-06 17:57:39 +08:00
parent 3794faceae
commit 1066e37c96
4230 changed files with 193453 additions and 0 deletions
+23
View File
@@ -0,0 +1,23 @@
import { API } from './../../../utils/network/api'
let api = new API()
const app = getApp()
Page({
data: {
navbarData: {
showCapsule: 1, //是否显示左上角图标 1表示显示 0表示不显示
title: '操作手册', //导航栏 中间的标题
},
height: app.globalData.height,
list: []
},
onShow(){
console.log("onShow");
//获取医生我的账户数据
api.getBasicOperationManual().then(response => {
console.log(response);
this.setData({
list: response.data,
})
}).catch(errors => {console.error(errors);})
},
})
+7
View File
@@ -0,0 +1,7 @@
{
"component": true,
"usingComponents": {
"te-nav-bar": "/commpents/te_navbar",
"van-cell": "@vant/weapp/cell/index"
}
}
+7
View File
@@ -0,0 +1,7 @@
<!-- 操作手册 -->
<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 url="/Pages/yishi/manual_detail/index?manual_id={{item.manual_id}}" custom-style="border-radius: 20rpx;margin-bottom: 20rpx;" title="{{item.title}}" is-link wx:for="{{list}}" />
</view>
</view>
+9
View File
@@ -0,0 +1,9 @@
.container{
width: 100vw;
height: 100vh;
background-color: #F6F6F6;
}
.item_list{
width: 92vw;
margin: 20rpx auto;
}