绿满眶商城微信小程序-uniapp
peng
2025-10-13 a95cd4cfc856d5861c57c82034f874ee27a3ef13
pages/order/myOrder.vue
@@ -112,6 +112,17 @@
              >
                优惠券卡包
              </view>
              <!-- 新增:定制商品样式 -->
              <view
                ripple
                shape="circle"
                class="cancel-btn"
                size="mini"
                             v-if="order.customizeFlag === 'CUSTOMIZE'"
                @click="opencustomize(order)"
              >
                定制商品
              </view>
                  <!-- 取消订单 -->
<!--                  <view
                    ripple
@@ -384,9 +395,9 @@
  onShow() {
     getSessionId().then(res=>{
        this.pageSessionNo = res.data.data
      this.actionParam.sessionId = this.pageSessionNo
        if(this.pageSessionNo){
        let   param = Object.assign({}, this.actionParam);
           param.sessionId = this.pageSessionNo
           userAction(param)
        }
     })
@@ -456,6 +467,12 @@
         url:"/pages/order/cardPack?sn=" + order.sn
      })  
     },
     opencustomize(order){
        console.log(order)
           uni.navigateTo({
              url:"/pages/order/cardPack?sn=" + order.sn
           })
     },
     //再来一单
     buyBack(order){
      console.log(JSON.stringify(order))