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
+30
View File
@@ -0,0 +1,30 @@
import { API } from './../../../utils/network/api'
let api = new API()
Page({
data: {
navbarData: {
showCapsule: 1, //是否显示左上角图标 1表示显示 0表示不显示
title: '操作手册详情', //导航栏 中间的标题
},
manual_id: "",
html_content: ""
},
onLoad(option){
this.setData({
manual_id: option.manual_id
})
},
onShow(){
//获取医生我的账户数据
api.getBasicOperationManualID({manual_id: this.data.manual_id}).then(response => {
console.log(response);
this.setData({
html_content: response.data.content,
"navbarData.title": response.data.title,
})
}).catch(errors => {console.error(errors);})
}
})
+6
View File
@@ -0,0 +1,6 @@
{
"component": true,
"usingComponents": {
"m-nav-bar": "/commpents/mynavbar/index"
}
}
+4
View File
@@ -0,0 +1,4 @@
<!-- 操作手册详情 -->
<m-nav-bar navbarData="{{navbarData}}">
<rich-text nodes="{{html_content}}" space="nbsp"></rich-text>
</m-nav-bar>
+1
View File
@@ -0,0 +1 @@
/* Pages/yishi/manual_detail/index.wxss */