twt 4 天之前
父节点
当前提交
83603771ee
共有 5 个文件被更改,包括 36 次插入6 次删除
  1. 15 0
      pages/index/index.vue
  2. 10 2
      pages/shop/confirm.vue
  3. 1 1
      pages/shop/goodsDetail.vue
  4. 8 1
      pages/user/myOrder/paintOrderDetail.vue
  5. 2 2
      utils/request.js

+ 15 - 0
pages/index/index.vue

@@ -144,6 +144,9 @@
 				<img src="../../static/timg/icon_arrow_right.png" alt="" class="adviserJt">
 			</view>
 		</view>
+		<!-- 测试跳转 -->
+		<view @click="MiniProgram">测试跳转微信小程序</view>
+		<!-- 测试跳转 -->
 		<!-- 服务顾问 -->
 		<!-- 	 中间应用模块 -->
 			<view class="modular">
@@ -556,6 +559,18 @@
 			}, 1000);
 		},
 		methods: {
+			MiniProgram(){
+				uni.navigateToMiniProgram({
+				  appId: 'wx7b55d68810dd6f1f',
+				  path: 'pages/index/index?id=123',
+				  extraData: {
+				    'data1': 'test'
+				  },
+				  success(res) {
+				    // 打开成功
+				  }
+				})
+			},
 			goMaintain(item){
 			  uni.removeStorageSync('byCar');
 			  uni.navigateTo({

+ 10 - 2
pages/shop/confirm.vue

@@ -58,10 +58,14 @@
 		</view>
 		
 		<view class="contKk" style="margin-top:20rpx;">
-			<view class="contLine " style="border-bottom: none;">
+			<view class="contLine2 " style="border-bottom: none;">
 				<view class="contlineLeft">订单备注</view>
-				<view class="contlineRight">
+				<!-- <view class="contlineRight">
 					<input type="text" v-model="comment" placeholder="请输入" class="contlineRightInput2">
+				</view> -->
+				<view style="padding-top: 15rpx;">
+					<textarea placeholder-style="color:#999999" placeholder="请输入" v-model="comment"
+							class="textareaCont" maxlength="-1" auto-height="true"  />
 				</view>
 			</view>
 		</view>
@@ -415,6 +419,10 @@
 	padding: 30rpx 0;
 	border-bottom: 1px solid #EEEEEE;
 }
+.contLine2{
+	font-size: 28rpx;
+	padding: 30rpx 0;
+}
 .contlineLeft{
 	color: #666666;
 	line-height: 40rpx;

+ 1 - 1
pages/shop/goodsDetail.vue

@@ -685,7 +685,7 @@
 	justify-content: space-between;
 }
 .buyXg{
-	width: 110rpx;
+	min-width: 110rpx;
 	height: 36rpx;
 	border-radius: 4rpx;
 	border: 1px solid #F19D01;

+ 8 - 1
pages/user/myOrder/paintOrderDetail.vue

@@ -921,7 +921,14 @@
 							duration: 3000
 						});
 					}
-					console.log('可用券码--',this.quanMaList);
+					uni.setStorage({
+						key: 'orderData',
+						data: this.orderData,
+						 success: function () {
+						    
+						 
+						 }
+					}); 
 					
 				})
 				this.$http('openOrderManagement/sheetQRCodeList', {

+ 2 - 2
utils/request.js

@@ -8,8 +8,8 @@
 import $store from '../store'
 const extConfig = uni.getExtConfigSync();		
 console.log(extConfig)
-const baseUrl=extConfig.url+'/'
-//const baseUrl='http://192.168.1.12:20187/'
+//const baseUrl=extConfig.url+'/'
+const baseUrl='http://192.168.1.24:20187/'
 //const baseUrl='http://dms.66km.com.cn/'
 //const baseUrl='http://192.168.1.9:20187/' 
 //const baseUrl='https://store-api.qdbtl.cn/'