浏览代码

fix:订单详情跳转问题

xyh8905170 2 年之前
父节点
当前提交
34de071963

+ 2 - 2
common/js/env.js

@@ -1,8 +1,8 @@
 "use strict";
 
-let baseUrl = `https://jje.admin.xinyuekj.com.cn`
+// let baseUrl = `https://jje.admin.xinyuekj.com.cn`
 // let baseUrl = `http://127.0.0.1:9000`
-// let baseUrl = `http://192.168.1.150:8080`
+let baseUrl = `http://192.168.1.150:8080`
 
 // 变量可自行添加修改
 export default { //存放变量的容器

+ 1 - 1
myPages/TermsOfService/index.vue

@@ -16,7 +16,7 @@ export default {
 
   data() {
     return {
-      name: '1231231',
+      name: '',
       height: '',
       type:''
 

+ 0 - 1
orderPages/orderDetail/index.rpx.scss

@@ -148,7 +148,6 @@
 
 .bottomHeight{
   height: 236rpx;
-  background: #F7F7F7;
 }
 
 .allMoney{

+ 4 - 1
orderPages/orderDetail/index.vue

@@ -137,7 +137,7 @@
                         </view>
                     </view>
 
-<!--            <view class="bottomHeight"></view>-->
+            <view class="bottomHeight"></view>
 
             <view class="bottom1 flex-col"  v-if="order.orderStatus != 3">
                 <text class="allMoney"></text>
@@ -284,6 +284,9 @@ export default {
         this.getOrderDetailByOrderId(e.id)
         this.getUserInfo();
     },
+    onShow(){
+      this.getOrderDetailByOrderId(this.orderId )
+    },
     methods: {
       getUserInfo() {
           this.$api.getUserInfo().then(res => {

+ 2 - 2
orderPages/serviceItems/index.vue

@@ -250,8 +250,8 @@ export default {
                 couponIds:this.couponIds,
                 userEquityCardId:userEquityCardId
             }).then(res=>{
-                uni.navigateTo({
-                    url:'/orderPages/orderDetail/index?id='+ this.orderId
+                uni.navigateBack({
+                  delta:1
                 })
             })