添加服务内容

This commit is contained in:
zoujiandong 2024-03-27 18:46:30 +08:00
parent 5d03a05186
commit e76883f86e
7 changed files with 160 additions and 82 deletions

View File

@ -46,8 +46,6 @@
"pages/yishi/quickreply/index",
"pages/yishi/quickreply_data/index",
"pages/yishi/case/index",
"pages/login/index",
"pages/mobile_login/index",
"pages/yishi/manual_detail/index",
@ -67,7 +65,8 @@
"pages/yishi/write_sickform/index",
"pages/yishi/sickform/index",
"pages/yishi/service_setting/index",
"pages/yishi/expertDetail/expertDetail"
"pages/yishi/expertDetail/expertDetail",
"pages/yishi/addServiceContent/index"
]
},
{
@ -90,7 +89,9 @@
"preloadRule": {
"TUICallKit/pages/globalCall/globalCall": {
"network": "all",
"packages": ["TUICallKit"]
"packages": [
"TUICallKit"
]
}
},
"window": {
@ -108,7 +109,6 @@
{
"pagePath": "Pages/yaoshi/home/home",
"text": "首页"
},
{
"pagePath": "Pages/yaoshi/my/my",

View File

@ -0,0 +1,66 @@
// user/pages/yishi/addServiceContent/index.js
Page({
/**
* 页面的初始数据
*/
data: {
},
/**
* 生命周期函数--监听页面加载
*/
onLoad(options) {
},
/**
* 生命周期函数--监听页面初次渲染完成
*/
onReady() {
},
/**
* 生命周期函数--监听页面显示
*/
onShow() {
},
/**
* 生命周期函数--监听页面隐藏
*/
onHide() {
},
/**
* 生命周期函数--监听页面卸载
*/
onUnload() {
},
/**
* 页面相关事件处理函数--监听用户下拉动作
*/
onPullDownRefresh() {
},
/**
* 页面上拉触底事件的处理函数
*/
onReachBottom() {
},
/**
* 用户点击右上角分享
*/
onShareAppMessage() {
}
})

View File

@ -0,0 +1,6 @@
{
"usingComponents": {
"te-nav-bar": "../../../../commpents/te_navbar/index",
"van-field": "@vant/weapp/field/index"
}
}

View File

@ -0,0 +1,2 @@
<!--user/pages/yishi/addServiceContent/index.wxml-->
<text>user/pages/yishi/addServiceContent/index.wxml</text>

View File

@ -0,0 +1 @@
/* user/pages/yishi/addServiceContent/index.wxss */

View File

@ -104,6 +104,9 @@ Page({
})
}
}).catch(errors => {console.error(errors);})
},
addServiceContent(){
},
doChange(detail){
console.log("onChange: ", detail);

View File

@ -61,11 +61,11 @@
<view class="switch_box_note">{{ (info.is_open==1 && active==0)?'已开启,患者可以向您发起图文问诊':'已关闭,暂不接诊' }}</view>
</view>
<view class="help">
<van-cell size="large" url="/user/pages/yishi/manual_detail/index?manual_id=6" custom-style="font-size:32rpx;" title="图文问诊操作手册" is-link border="{{false}}" />
<van-cell size="large" custom-style="font-size:32rpx;" title="服务内容介绍和结算" is-link border="{{false}}" />
</view>
</view>
<view class="checked_box">
<!-- <view class="checked_box">
<view class="price_title">价格设置</view>
<view class="price_steup_box">
<van-cell size="large" url="/user/pages/yishi/onlinesetupprice/index?inquiry_mode=1" custom-style="font-size:32rpx;" title="每日接诊数量" is-link border="{{true}}">
@ -80,16 +80,16 @@
</view>
</van-cell>
</view>
</view>
<view class="bottom" style="padding-bottom: 30rpx;">
</view> -->
<!-- <view class="bottom" style="padding-bottom: 30rpx;">
<text class="bottom_txt">
提示:服务开启后,患者按照所设置的价格向您购买图文问诊服务
1、接诊后患者可与您在<text class="green">{{config.duration/60}}小时内进行{{config.times_number}}回合沟通\n</text>2、若开启公益问诊图文问诊价格以公益问诊价格为准\n3、每日接诊数量和问诊价格<text class="green">每日仅限调整1次每月仅限调整5次\n</text>4、价格修改后立即生效不影响修改之前已生成的问诊订单\n
</text>
</view>
</view> -->
</view>
<view class="go">
<van-button disabled="{{info.is_open!=1}}" bind:click="putDoctorInquiryConfig" color="#3CC7C0" custom-style="border-radius: 20rpx;font-size:30rpx;" type="primary" block>去接诊</van-button>
<van-button disabled="{{info.is_open!=1}}" bind:click="addServiceContent" color="#3CC7C0" custom-style="border-radius: 20rpx;font-size:30rpx;" type="primary" block>添加服务内容</van-button>
</view>
</van-tab>
<van-tab title="健康包">