From a479ddf92e133e0a15f19bd07f9cc04acb9422cd Mon Sep 17 00:00:00 2001
From: zoujiandong <10130823232@qq.com>
Date: Thu, 28 Mar 2024 09:38:22 +0800
Subject: [PATCH] =?UTF-8?q?3.28=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
user/commpents/myprofile/index.js | 5 +-
user/commpents/myprofile/index.wxss | 1 +
user/pages/yishi/addServiceContent/index.js | 8 +-
user/pages/yishi/addServiceContent/index.json | 4 +-
user/pages/yishi/addServiceContent/index.wxml | 20 +++-
user/pages/yishi/addServiceContent/index.wxss | 92 ++++++++++++++++++-
user/pages/yishi/onlinesetup/index.js | 2 +-
7 files changed, 125 insertions(+), 7 deletions(-)
diff --git a/user/commpents/myprofile/index.js b/user/commpents/myprofile/index.js
index 969d18c..468f9d9 100644
--- a/user/commpents/myprofile/index.js
+++ b/user/commpents/myprofile/index.js
@@ -877,7 +877,10 @@ Component({
}
},
zhuanchangConfirm(e){
- this.setData({ zhuanchang_show: false });
+ this.setData({
+ zhuanchang_show: false,
+ expertise_reason:''
+ });
this.triggerEvent('hidePageMeta');
},
zhuanchangConcle(e){
diff --git a/user/commpents/myprofile/index.wxss b/user/commpents/myprofile/index.wxss
index 7ea00f0..b4bbb1c 100644
--- a/user/commpents/myprofile/index.wxss
+++ b/user/commpents/myprofile/index.wxss
@@ -266,4 +266,5 @@
color: #FF0000;
letter-spacing: 3rpx;
font-weight: 600;
+ word-break: break-all;
}
\ No newline at end of file
diff --git a/user/pages/yishi/addServiceContent/index.js b/user/pages/yishi/addServiceContent/index.js
index d78b6c7..4277f78 100644
--- a/user/pages/yishi/addServiceContent/index.js
+++ b/user/pages/yishi/addServiceContent/index.js
@@ -1,11 +1,17 @@
// user/pages/yishi/addServiceContent/index.js
+import { API } from '../../../../utils/network/api'
+let api = new API()
+const app = getApp()
Page({
/**
* 页面的初始数据
*/
data: {
-
+ navbarData: {
+ showCapsule: 1, //是否显示左上角图标 1表示显示 0表示不显示
+ title: '添加服务内容', //导航栏 中间的标题
+ },
},
/**
diff --git a/user/pages/yishi/addServiceContent/index.json b/user/pages/yishi/addServiceContent/index.json
index 75ef835..9bb8f20 100644
--- a/user/pages/yishi/addServiceContent/index.json
+++ b/user/pages/yishi/addServiceContent/index.json
@@ -1,6 +1,8 @@
{
"usingComponents": {
"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"
}
}
\ No newline at end of file
diff --git a/user/pages/yishi/addServiceContent/index.wxml b/user/pages/yishi/addServiceContent/index.wxml
index c525d8a..c169534 100644
--- a/user/pages/yishi/addServiceContent/index.wxml
+++ b/user/pages/yishi/addServiceContent/index.wxml
@@ -1,2 +1,18 @@
-
-user/pages/yishi/addServiceContent/index.wxml
\ No newline at end of file
+
+
+
+
+ 每日接诊数量
+
+
+
+
+
+ 问诊单价
+
+
+ 元
+
+
+
+
diff --git a/user/pages/yishi/addServiceContent/index.wxss b/user/pages/yishi/addServiceContent/index.wxss
index db2739f..4f4dd66 100644
--- a/user/pages/yishi/addServiceContent/index.wxss
+++ b/user/pages/yishi/addServiceContent/index.wxss
@@ -1 +1,91 @@
-/* user/pages/yishi/addServiceContent/index.wxss */
\ No newline at end of file
+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;
+ }
\ No newline at end of file
diff --git a/user/pages/yishi/onlinesetup/index.js b/user/pages/yishi/onlinesetup/index.js
index 4a096c9..e1bd532 100644
--- a/user/pages/yishi/onlinesetup/index.js
+++ b/user/pages/yishi/onlinesetup/index.js
@@ -106,7 +106,7 @@ Page({
}).catch(errors => {console.error(errors);})
},
addServiceContent(){
-
+ app.go('/user/pages/yishi/addServiceContent/index')
},
doChange(detail){
console.log("onChange: ", detail);