Ver código fonte

fix:拍照上传加成功提示和业务系统下单隐藏价格

xuqiaoying 3 anos atrás
pai
commit
a8a28792be

+ 2 - 2
common/request.js

@@ -5,8 +5,8 @@ import api from './api.js'
 var num = 1
 //接口api   
 // export const BASE_URL = 'https://api.xyyxt.net'   //release
-export const BASE_URL = 'https://test.xyyxt.net'   //预发布
-// export const BASE_URL = 'http://120.79.166.78:19012' // 测试环境
+// export const BASE_URL = 'https://test.xyyxt.net'   //预发布
+export const BASE_URL = 'http://120.79.166.78:19012' // 测试环境
 // export const BASE_URL = 'http://42.192.164.187:19005'    //test(后端本地)
 // export const BASE_URL = 'http://192.168.1.222:5055'    //后端本地更新到222
 // export const BASE_URL = 'http://192.168.1.24:5055'    //后端本地

+ 2 - 1
pages2/order/index.vue

@@ -37,7 +37,7 @@
 									<image class="goods-img" :src="$method.splitImgHost(items.coverUrl)"></image>
 									<view class="goods-text">
 										<view class="goods-name">{{ items.goodsName }}</view>
-										<view class="goods-price">¥ {{ items.goodsRealPrice }}</view>
+										<view v-if="item.orderFrom !== 6" class="goods-price">¥ {{ items.goodsRealPrice }}</view>
 									</view>
 								</view>
 								<view style="display: flex;flex-direction: row-reverse;padding: 10rpx 0;">
@@ -404,6 +404,7 @@ export default {
 						this.pageNum3 = res.data.total;
 					}
 					this.order = res.data.rows;
+					console.log('订单列表this.order', this.order)
 				}
 			});
 		},

+ 1 - 0
pages2/wd/info.vue

@@ -229,6 +229,7 @@ export default {
 						},
 						success: result => {
 							// if (result.statusCode === 200) {
+								this.$u.toast('上传成功')
 								self.avatarOssKey = ossToken.dir;
 								resolve();
 							// } else {

+ 1 - 0
pages3/live/detail.vue

@@ -1613,6 +1613,7 @@ export default {
             },
             success: (result) => {
               // if (result.statusCode === 200) {
+                this.$u.toast('上传成功')
                 self.ossAvatarUrl = ossToken.dir;
                 resolve();
               // } else {

+ 1 - 0
pages3/polyv/detail.vue

@@ -2013,6 +2013,7 @@ export default {
             },
             success: (result) => {
               // if (result.statusCode === 200) {
+                this.$u.toast('上传成功')
                 self.ossAvatarUrl = ossToken.dir;
                 resolve();
               // } else {