浏览代码

修改文案"

zhangtao 4 天之前
父节点
当前提交
90ae04f8be
共有 5 个文件被更改,包括 64 次插入50 次删除
  1. 1 0
      common/config.js
  2. 3 3
      pages/index/index.vue
  3. 4 4
      pages/index/order/order.vue
  4. 53 40
      pages/index/order/orderDet.vue
  5. 3 3
      pages/therapist/therapistList.vue

+ 1 - 0
common/config.js

@@ -7,6 +7,7 @@
 
 const ROOTPATH = "https://master.dstapp.cn/sqx_fast";
 // const ROOTPATH = "http://192.168.1.166:8188/sqx_fast";
+// const ROOTPATH1 = "http://192.168.1.166:8188/sqx_fast";
 const ROOTPATH1 = "https://master.dstapp.cn/sqx_fast";
 const ROOTPATH3 = "ws://smam.qd-xiaomage.com:9210/wss/websocket/";
 

+ 3 - 3
pages/index/index.vue

@@ -76,16 +76,16 @@
 						</view>
 
 						<view class="item_btn" v-if="item.classifyName === '足浴按摩'" @click.stop="goOrder(item)">
-							选择技师
+							预约服务
 							<image style="position: absolute;width: 39rpx;height: 39rpx;top: -4rpx;right: -8rpx;"
 								src="../../static/image/btn-icon.png" mode=""></image>
 						</view>
 						<view class="item_btn" v-if="item.classifyName === '健身私教'" @click.stop="goOrder(item)">
-							选择教练
+							预约服务
 						</view>
 						<view class="item_btn" v-if="item.classifyName != '健身私教' && item.classifyName != '足浴按摩'"
 							@click.stop="goOrder(item)">
-							选择师傅
+							预约服务
 						</view>
 					</view>
 				</view>

+ 4 - 4
pages/index/order/order.vue

@@ -92,7 +92,7 @@
 			<view class=" text-bold padding-bottom" style="font-size: 34rpx;">
 				服务内容:
 			</view>
-			<view v-html="order.content"></view>
+			<view v-html="order.content" ></view>
 		</view>
 
 		<view class="margin-top-sm bg radius ">
@@ -126,17 +126,17 @@
 			<view class="text-center" v-if="order.classifyName === '足浴按摩'"
 				style="width: 686upx;line-height: 100rpx;background: linear-gradient( 143deg, #FFE6EE 0%, #FF9AB2 100%);border-radius: 86rpx;margin: 0 auto;font-weight: bold;font-size: 32rpx;color: #222222;"
 				@click="goNav(order.massageTypeId,order.classifyId)">
-				选择技师
+				立即预约
 			</view>
 			<view class="text-center" v-if="order.classifyName === '健身私教'"
 				style="width: 665upx;line-height: 78upx;background: #2FB57A;border-radius: 39upx;margin: 0 auto;color: #FFFFFF;"
 				@click="goNav(order.massageTypeId,order.classifyId)">
-				选择教练
+				立即预约
 			</view>
 			<view class="text-center" v-if="order.classifyName != '健身私教' && order.classifyName != '足浴按摩'"
 				style="width: 665upx;line-height: 78upx;background: #2FB57A;border-radius: 39upx;margin: 0 auto;color: #FFFFFF;"
 				@click="goNav(order.massageTypeId,order.classifyId)">
-				选择师傅
+				立即预约
 			</view>
 		</view>
 		<!-- <u-picker v-model="show" mode="time" :params="params" @confirm="statusChange"></u-picker> -->

+ 53 - 40
pages/index/order/orderDet.vue

@@ -2,7 +2,8 @@
 	<view class="orderDet" style="padding-bottom: 200upx;" v-if="XCXIsSelect !='否'">
 		<view class="padding-sm">
 			<view class="bg  u--fillet-skeleton" style="border-radius:24rpx;position: relative;">
-				<image style="width: 100%;height: 30rpx;position: absolute;left: 0;bottom: -10rpx;" src="@/static/img/line.png" mode=""></image>
+				<image style="width: 100%;height: 30rpx;position: absolute;left: 0;bottom: -10rpx;"
+					src="@/static/img/line.png" mode=""></image>
 				<view class="flex align-center padding" @click="getAddressList()">
 					<view class="u-flex-1  margin-left-xs">
 						<view v-if="!detailaddress">请选择地址</view>
@@ -49,11 +50,14 @@
 
 					</view>
 				</view>
-				
-				<view class="flex justify-between" style="padding: 20rpx 0;border-top: 1rpx solid #F0F0F0;margin-top: 24rpx;">
-					<view  style="font-weight: bold;font-size: 40rpx;color: #FF6E98;x">
-						<text v-if="hyCheck != '否'"><text style="font-size: 28rpx;"> 会员价:¥</text>{{artificerlist.memberPrice}}</text>
-						<text class=" text-xl text-bold" style="font-size: 24rpx;color: #AAAAAA;text-decoration: line-through;font-weight: 400;">原价¥{{artificerlist.price}}</text>
+
+				<view class="flex justify-between"
+					style="padding: 20rpx 0;border-top: 1rpx solid #F0F0F0;margin-top: 24rpx;">
+					<view style="font-weight: bold;font-size: 40rpx;color: #FF6E98;x">
+						<text v-if="hyCheck != '否'"><text style="font-size: 28rpx;">
+								会员价:¥</text>{{artificerlist.memberPrice}}</text>
+						<text class=" text-xl text-bold"
+							style="font-size: 24rpx;color: #AAAAAA;text-decoration: line-through;font-weight: 400;">原价¥{{artificerlist.price}}</text>
 					</view>
 					<!-- <view>¥{{price}}</view> -->
 					<view>
@@ -144,22 +148,28 @@
 				<navigator url="/my/setting/about?id=391&name=下单协议" open-type="navigate">《下单协议》</navigator>
 			</view>
 		</view> -->
-		<view class="text-white flex justify-between cu-bar foot bg" style="padding: 16rpx 32rpx;box-shadow: 0rpx -6rpx 12rpx 2rpx rgba(0,0,0,0.09);border-radius: 32rpx 32rpx 0rpx 0rpx;" v-if="cxSel">
+		<view class="text-white flex justify-between cu-bar foot bg"
+			style="padding: 16rpx 32rpx;box-shadow: 0rpx -6rpx 12rpx 2rpx rgba(0,0,0,0.09);border-radius: 32rpx 32rpx 0rpx 0rpx;"
+			v-if="cxSel">
 			<view style="color: #999999;">
-				合计:<text style="color: #FF6E98;font-size: 40rpx;font-weight: bold;">¥{{price + cheFei}}</text>
+				合计:<text style="color: #FF6E98;font-size: 40rpx;font-weight: bold;">¥{{(price + cheFei).toFixed(2)}}</text>
 			</view>
 			<view class="">
 				<u-button :custom-style="customStyle" @click="openpay()" shape="circle" :hair-line="false">确认预约
 				</u-button>
 			</view>
 		</view>
+		<!-- <view class="">
+			{{dataRes}}
+		</view> -->
 
 		<u-skeleton :loading="loading" :animation="true" elColor='#FFFFFF' bgColor='#FFFFFF'></u-skeleton>
 
 		<u-popup v-model="isTrue" mode="bottom">
 			<view>
 				<scroll-view scroll-y="true">
-					<its-calendar :sta_num="0" :end_num="24" :int_num="msTimeDate" :msTimeList="msTimeList" @getTime="TimeData">
+					<its-calendar :sta_num="0" :end_num="24" :int_num="msTimeDate" :msTimeList="msTimeList"
+						@getTime="TimeData">
 					</its-calendar>
 				</scroll-view>
 			</view>
@@ -292,7 +302,7 @@
 				loading: true, // 是否显示骨架屏组件
 				customStyle: {
 					width: '214rpx',
-					height:'100rpx',
+					height: '100rpx',
 					color: '#FFFFFF',
 					background: "#FF6E98",
 					border: '60rpx'
@@ -303,8 +313,8 @@
 					background: '#F6F6F6',
 					padding: '20rpx 0 0 0',
 					borderRadius: '16rpx',
-					marginTop:'28rpx',
-					padding:'24rpx'
+					marginTop: '28rpx',
+					padding: '24rpx'
 				},
 				value: '',
 				remark: '',
@@ -347,7 +357,8 @@
 				tripNum: '',
 				xuMoney: '',
 				tripPrice: '',
-				artificerMoney: 0
+				artificerMoney: 0,
+				dataRes:null,
 			}
 		},
 		onLoad(option) {
@@ -409,19 +420,19 @@
 
 			// #ifdef H5
 			this.openLists = [{
-					image: '../../../static/images/icon_weixin.png',
-					text: '微信支付',
-					id: 2
-				}, 
-				// {
-				// 	image: '../../../static/images/zhifubao.png',
-				// 	text: '支付宝支付',
-				// 	id: 3
-				// }, {
-				// 	image: '../../../static/images/lingqian.png',
-				// 	text: '零钱支付',
-				// 	id: 1
-				// },
+						image: '../../../static/images/icon_weixin.png',
+						text: '微信支付',
+						id: 2
+					},
+					// {
+					// 	image: '../../../static/images/zhifubao.png',
+					// 	text: '支付宝支付',
+					// 	id: 3
+					// }, {
+					// 	image: '../../../static/images/lingqian.png',
+					// 	text: '零钱支付',
+					// 	id: 1
+					// },
 				],
 				this.openWay = 2;
 			// #endif
@@ -484,6 +495,7 @@
 			getChuXing() {
 				this.$Request.getT('/app/artificer/selectTaxiMoney?artificerId=' + this.artificerId + '&latitude=' + this
 					.latitude + '&longitude=' + this.longitude).then(res => {
+					// this.dataRes = res
 					if (res.code == 0) {
 						this.cheFei = res.data.taxiMoney ? res.data.taxiMoney : 0;
 						// this.price = parseInt(this.price)+parseInt(this.cheFei).toFixed(2)
@@ -499,6 +511,7 @@
 							duration: 2000,
 							icon: 'none'
 						});
+
 					}
 				});
 			},
@@ -679,8 +692,8 @@
 			},
 			openpay() {
 				console.log(5555555);
-					
-			
+
+
 				if (!this.startTime) {
 					uni.showToast({
 						title: '请选择预约时间',
@@ -941,7 +954,7 @@
 								// uni.switchTab({
 								//   url: "/pages/order/index"
 								// });
-								
+
 								let data = {
 									ordersId: res.data.ordersId,
 									// type: 4
@@ -957,9 +970,9 @@
 										// window.location = rea.data.mweb_url + url
 										// window.location = callBack+'pages/order/index'
 										uni.switchTab({
-										  url: "/pages/order/index"
+											url: "/pages/order/index"
 										});
-										
+
 									} else {
 										uni.showToast({
 											title: rea.msg,
@@ -1131,15 +1144,15 @@
 	.bg {
 		background-color: #FFFFFF;
 	}
-	.orderDet{
+
+	.orderDet {}
+
+	.orderDet ::v-deep .u-icon-plus {
+		background: #FF6E98 !important;
+		width: 40rpx;
+		height: 40rpx;
+		font-size: 30rpx !important;
 	}
-	
-	.orderDet ::v-deep .u-icon-plus{
-			background: #FF6E98!important;
-			width: 40rpx;
-			height: 40rpx;
-			font-size: 30rpx!important;
-		}
 
 	.box {
 		border: 1px solid #2FB57A;
@@ -1224,4 +1237,4 @@
 		line-height: 55rpx;
 		font-size: 24rpx;
 	}
-</style>
+</style>

+ 3 - 3
pages/therapist/therapistList.vue

@@ -115,13 +115,13 @@
 							<view class="text-center text-sm" @tap.stop="goOrder(item)" v-if="item.status == 1"
 								style="background: linear-gradient( 313deg, #FFE6EE 0%, #FFBACA 100%);color: #222222;width: 160rpx;border-radius: 36rpx;line-height: 64rpx;font-weight: bold;position: relative;"
 									@click.stop="goOrder(item)">
-									立即预约
+									选择Ta
 									<image style="position: absolute;width: 39rpx;height: 39rpx;top: -4rpx;right: -8rpx;" src="../../static/image/btn-icon.png" mode=""></image>
 								</view>
 							
 							<view class="text-center text-sm" v-else
 								style="background: #d9d9d9;color: #ffffff;width: 135upx;border-radius: 16upx;line-height: 50upx;position: relative;">
-								立即预约
+								选择Ta
 								<image style="position: absolute;width: 39rpx;height: 39rpx;top: -4rpx;right: -8rpx;" src="../../static/image/btn-icon.png" mode=""></image>
 							</view>
 						</view>
@@ -134,7 +134,7 @@
 						<view v-if="numIndex == 3">
 							<view class="text-center text-sm"
 								style="background: #d9d9d9;color: #222222;width: 160rpx;border-radius: 36rpx;line-height: 64rpx;font-weight: bold;position: relative;">
-								立即预约
+								选择Ta
 								<image style="position: absolute;width: 39rpx;height: 39rpx;top: -4rpx;right: -8rpx;" src="../../static/image/btn-icon.png" mode=""></image>
 							</view>
 						</view>