3.28提交
This commit is contained in:
parent
e76883f86e
commit
a479ddf92e
@ -877,7 +877,10 @@ Component({
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
zhuanchangConfirm(e){
|
zhuanchangConfirm(e){
|
||||||
this.setData({ zhuanchang_show: false });
|
this.setData({
|
||||||
|
zhuanchang_show: false,
|
||||||
|
expertise_reason:''
|
||||||
|
});
|
||||||
this.triggerEvent('hidePageMeta');
|
this.triggerEvent('hidePageMeta');
|
||||||
},
|
},
|
||||||
zhuanchangConcle(e){
|
zhuanchangConcle(e){
|
||||||
|
|||||||
@ -266,4 +266,5 @@
|
|||||||
color: #FF0000;
|
color: #FF0000;
|
||||||
letter-spacing: 3rpx;
|
letter-spacing: 3rpx;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
|
word-break: break-all;
|
||||||
}
|
}
|
||||||
@ -1,11 +1,17 @@
|
|||||||
// user/pages/yishi/addServiceContent/index.js
|
// user/pages/yishi/addServiceContent/index.js
|
||||||
|
import { API } from '../../../../utils/network/api'
|
||||||
|
let api = new API()
|
||||||
|
const app = getApp()
|
||||||
Page({
|
Page({
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 页面的初始数据
|
* 页面的初始数据
|
||||||
*/
|
*/
|
||||||
data: {
|
data: {
|
||||||
|
navbarData: {
|
||||||
|
showCapsule: 1, //是否显示左上角图标 1表示显示 0表示不显示
|
||||||
|
title: '添加服务内容', //导航栏 中间的标题
|
||||||
|
},
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@ -1,6 +1,8 @@
|
|||||||
{
|
{
|
||||||
"usingComponents": {
|
"usingComponents": {
|
||||||
"te-nav-bar": "../../../../commpents/te_navbar/index",
|
"te-nav-bar": "../../../../commpents/te_navbar/index",
|
||||||
"van-field": "@vant/weapp/field/index"
|
"van-field": "@vant/weapp/field/index",
|
||||||
|
"van-stepper": "@vant/weapp/stepper/index",
|
||||||
|
"van-button": "@vant/weapp/button/index"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@ -1,2 +1,18 @@
|
|||||||
<!--user/pages/yishi/addServiceContent/index.wxml-->
|
<te-nav-bar navbar-data='{{navbarData}}' ></te-nav-bar>
|
||||||
<text>user/pages/yishi/addServiceContent/index.wxml</text>
|
<view class="checked_box">
|
||||||
|
<view class="price_steup_box">
|
||||||
|
<view class="price_steup_box_top">
|
||||||
|
<view class="price_steup_box_top_title">每日接诊数量</view>
|
||||||
|
<view class="price_steup_box_top_stepper">
|
||||||
|
<van-stepper value="{{ info.work_num_day }}" min="0" max="{{info.work_num_day > config.max_work_num_day?info.work_num_day:config.max_work_num_day}}" integer bind:change="onStepperChange" />
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="price_steup_box_bottom">
|
||||||
|
<view class="price_steup_box_bottom_title">问诊单价</view>
|
||||||
|
<view class="price_steup_box_bottom_num">
|
||||||
|
<input class="weui-input" bindblur="onPriceChange" type="digit" value="{{ info.inquiry_price }}" placeholder="请输入问诊单价" />
|
||||||
|
<text class="price">元</text>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
|||||||
@ -1 +1,91 @@
|
|||||||
/* user/pages/yishi/addServiceContent/index.wxss */
|
page{
|
||||||
|
background-color: #F6F6F6;
|
||||||
|
}
|
||||||
|
.checked_box{
|
||||||
|
margin-top: 30rpx;
|
||||||
|
}
|
||||||
|
.price_title{
|
||||||
|
width: 90vw;
|
||||||
|
margin: 20rpx auto 0 auto;
|
||||||
|
font-size: 32rpx;
|
||||||
|
margin-bottom: 20rpx;
|
||||||
|
/* font-family: "AlibabaPuHuiTi-2-55-Regular"; */
|
||||||
|
color: #333333;
|
||||||
|
}
|
||||||
|
.price_steup_box{
|
||||||
|
display: flex;
|
||||||
|
width: 90vw;
|
||||||
|
height: 180rpx;
|
||||||
|
margin: 0 auto;
|
||||||
|
border-radius: 20rpx;
|
||||||
|
flex-direction: column;
|
||||||
|
background-color: rgb(255, 255, 255);
|
||||||
|
}
|
||||||
|
.price_steup_box_top{
|
||||||
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
margin: 20rpx 20rpx 20rpx 30rpx;
|
||||||
|
align-items: center;
|
||||||
|
padding-bottom: 20rpx;
|
||||||
|
}
|
||||||
|
.price_steup_box_bottom{
|
||||||
|
position: relative;
|
||||||
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
margin: 0rpx 20rpx 0rpx 30rpx;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.price_steup_box_top_title, .price_steup_box_bottom_title{
|
||||||
|
flex: 1;
|
||||||
|
font-size: 32rpx;
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
.price_steup_box_bottom_num{
|
||||||
|
flex: 1.5;
|
||||||
|
display: flex;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.price_steup_box_top::after{
|
||||||
|
position: absolute;
|
||||||
|
box-sizing: border-box;
|
||||||
|
content: ' ';
|
||||||
|
pointer-events: none;
|
||||||
|
right: 0;
|
||||||
|
left: 0;
|
||||||
|
bottom: 0;
|
||||||
|
border-bottom: 1px solid var(--td-cell-border-color, var(--td-gray-color-3, #e7e7e7));
|
||||||
|
transform: scaleY(0.5);
|
||||||
|
}
|
||||||
|
.price_steup_box_top_stepper{
|
||||||
|
flex: 1;
|
||||||
|
text-align: right;
|
||||||
|
align-items: center;
|
||||||
|
}
|
||||||
|
.bottom{
|
||||||
|
width: 90vw;
|
||||||
|
margin: -20rpx auto;
|
||||||
|
color: #999;
|
||||||
|
letter-spacing: 2rpx;
|
||||||
|
font-size: 28rpx;
|
||||||
|
line-height: 40rpx;
|
||||||
|
}
|
||||||
|
.go{
|
||||||
|
position: fixed;
|
||||||
|
left: 50%;
|
||||||
|
transform: translateX(-50%);
|
||||||
|
bottom: 100rpx;
|
||||||
|
width: 90vw;
|
||||||
|
}
|
||||||
|
.weui-input{
|
||||||
|
color: red;
|
||||||
|
display: inline-block;
|
||||||
|
text-align: right;
|
||||||
|
}
|
||||||
|
.price{
|
||||||
|
text-align: center;
|
||||||
|
flex: 1;
|
||||||
|
}
|
||||||
|
.green{
|
||||||
|
color:#3CC7C0;
|
||||||
|
}
|
||||||
@ -106,7 +106,7 @@ Page({
|
|||||||
}).catch(errors => {console.error(errors);})
|
}).catch(errors => {console.error(errors);})
|
||||||
},
|
},
|
||||||
addServiceContent(){
|
addServiceContent(){
|
||||||
|
app.go('/user/pages/yishi/addServiceContent/index')
|
||||||
},
|
},
|
||||||
doChange(detail){
|
doChange(detail){
|
||||||
console.log("onChange: ", detail);
|
console.log("onChange: ", detail);
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user