|
@@ -53,6 +53,11 @@
|
|
|
@handleData="claData">
|
|
|
</seller-regulations>
|
|
|
<regula-alert v-if="isregulaTip" ref="csPhone"></regula-alert>
|
|
|
+ <!-- 返佣订单 -->
|
|
|
+ <view class="Rebate" @click="RebateChang">
|
|
|
+ <text class="rebate-title">返佣订单</text>
|
|
|
+ <text class="iconfont" :class="rebatecheck?'icon-yixuanze':'icon-weixuanze'" ></text>
|
|
|
+ </view>
|
|
|
<!-- 底部 -->
|
|
|
<view class="footer" :style="{paddingBottom :isIphoneX ? '68rpx' : '0rpx'}">
|
|
|
<view class="footer-le">
|
|
@@ -131,6 +136,8 @@
|
|
|
regulationsData:[],
|
|
|
clauseId:0,
|
|
|
seconDepositFlg:true,
|
|
|
+ rebateFlag:0,
|
|
|
+ rebatecheck:false,
|
|
|
}
|
|
|
},
|
|
|
onLoad(option){//商品数据
|
|
@@ -157,6 +164,14 @@
|
|
|
},
|
|
|
},
|
|
|
methods: {
|
|
|
+ RebateChang(){
|
|
|
+ this.rebatecheck = !this.rebatecheck;
|
|
|
+ if(this.rebateshow){
|
|
|
+ this.rebateFlag=1;
|
|
|
+ }else{
|
|
|
+ this.rebateFlag=0;
|
|
|
+ }
|
|
|
+ },
|
|
|
getInitProdcutCrearOrder(option){//二手下单初始化查询
|
|
|
this.$api.getStorage().then((resolve) =>{
|
|
|
this.seconDepositFlg = false;
|
|
@@ -328,7 +343,8 @@
|
|
|
productId:item.productID,
|
|
|
productNum:item.productCount,
|
|
|
productType:item.giftType ? Number(item.giftType) : 0,
|
|
|
- presentNum:0
|
|
|
+ presentNum:0,
|
|
|
+ rebateFlag:this.rebateFlag
|
|
|
})
|
|
|
})
|
|
|
return {shopId:el.shopID,note:el.note?el.note:'',productInfo:productInfo}
|
|
@@ -475,6 +491,7 @@
|
|
|
-webkit-tap-highlight-color: transparent;
|
|
|
overflow: hidden;
|
|
|
color: $color-system;
|
|
|
+ padding: 5rpx;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
@@ -581,5 +598,29 @@
|
|
|
background:linear-gradient(135deg,rgba(242,143,49,1) 0%,rgba(225,86,22,1) 100%);
|
|
|
}
|
|
|
}
|
|
|
+ .Rebate{
|
|
|
+ width: 702rpx;
|
|
|
+ height: auto;
|
|
|
+ padding: 0 24rpx;
|
|
|
+ background: #FFFFFF;
|
|
|
+ float: left;
|
|
|
+ margin-bottom: 24rpx;
|
|
|
+ margin-bottom: 24rpx;
|
|
|
+ line-height: 86rpx;
|
|
|
+ .rebate-title{
|
|
|
+ float: left;
|
|
|
+ font-weight: bold;
|
|
|
+ color: #333333;
|
|
|
+ font-size: $font-size-28;
|
|
|
+ }
|
|
|
+ .iconfont{
|
|
|
+ float: right;
|
|
|
+ color: #b2b2b2;
|
|
|
+ font-size: 40rpx;
|
|
|
+ &.icon-yixuanze{
|
|
|
+ color: $color-system;
|
|
|
+ }
|
|
|
+ }
|
|
|
+ }
|
|
|
|
|
|
</style>
|