jufubao-base 1.0.243-beta203 → 1.0.243-beta205

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "jufubao-base",
3
- "version": "1.0.243-beta203",
3
+ "version": "1.0.243-beta205",
4
4
  "private": false,
5
5
  "description": "聚福宝业务组件基础插件包",
6
6
  "main": "index.js",
@@ -112,6 +112,9 @@
112
112
  </view>
113
113
  <view class="_main">抱歉,该订单已无可申请售后商品</view>
114
114
  <view class="_sub">若您对商品售后有疑问,请联系客服处理</view>
115
+ <view style="margin-top: 40rpx;">
116
+ <xd-button type="primary" width="360rpx" @click="toAfterSaleDetail">售后详情</xd-button>
117
+ </view>
115
118
  </view>
116
119
  <view slot="btn"></view>
117
120
  </xd-dailog>
@@ -156,6 +159,7 @@
156
159
  service_product_list: [],
157
160
  customer_feedback: "",
158
161
  showDialog: false,
162
+ last_service_order_id: "",
159
163
 
160
164
  productList: [],
161
165
  afterSalesTypes: [],
@@ -287,7 +291,8 @@
287
291
  }
288
292
  }).then(res => {
289
293
  this.$xdHideLoading();
290
- const { product_list, base_info } = res;
294
+ const { product_list, base_info, last_service_order_id } = res;
295
+ this.last_service_order_id = last_service_order_id;
291
296
  if(product_list.length === 0){
292
297
  this.showDialog = true;
293
298
  }
@@ -311,6 +316,11 @@
311
316
  }
312
317
  })
313
318
  },
319
+ toAfterSaleDetail(){
320
+ this.$xdUniHelper.navigateTo({
321
+ url: `${this.refundStepPath}?service_order_id=${this.last_service_order_id}`,
322
+ });
323
+ },
314
324
  handleApplyRefund(){
315
325
  let { order_id, after_sale_method, after_sale_type, customer_feedback } = this;
316
326
  if(!after_sale_type) {
@@ -569,7 +579,7 @@
569
579
  }
570
580
 
571
581
  .no_after_prod{
572
- padding: 100rpx 0;
582
+ padding: 100rpx 0 20rpx;
573
583
  font-size: 28rpx;
574
584
  ._icon{
575
585
  margin-bottom: 20rpx;
@@ -84,7 +84,7 @@
84
84
  <view class="sec_tag _new">新商品</view>
85
85
  </view>
86
86
  <view class="sec_body">
87
- <SecProd v-for="(item,i) in newProductList" :key="i" :item="item"></SecProd>
87
+ <SecProd class="sec_prod" v-for="(item,i) in newProductList" :key="i" :item="item"></SecProd>
88
88
  </view>
89
89
  </view>
90
90
 
@@ -282,7 +282,7 @@
282
282
  styles: this.styles,
283
283
  title: "提示",
284
284
  width: '90%',
285
- content: '确定撤销当前工单吗?',
285
+ content: '确定取消当前工单吗?',
286
286
  confirmText: '确认',
287
287
  isHtml: true,
288
288
  cancelText: '取消',
@@ -295,9 +295,10 @@
295
295
  service_order_id: this.service_order_id
296
296
  }
297
297
  }).then(res => {
298
- this.$xdUniHelper.navigateTo({
299
- url: this.serviceListPath
300
- })
298
+ this.p_getAfterServiceOrder();
299
+ // this.$xdUniHelper.navigateTo({
300
+ // url: this.serviceListPath
301
+ // })
301
302
  })
302
303
  }
303
304
  else{
@@ -508,6 +509,7 @@
508
509
  border-radius: 24rpx;
509
510
  color: #CCCCCC;
510
511
  border: 1px solid #CCCCCC;
512
+ text-align: center;
511
513
  }
512
514
  }
513
515
  }
@@ -250,7 +250,7 @@
250
250
  this.page_token = 1;
251
251
  this.getList();
252
252
  })
253
- })
253
+ }, '确定取消当前工单吗?')
254
254
  },
255
255
  handleDel(item){
256
256
  this.handleConfirm(() => {
@@ -263,7 +263,7 @@
263
263
  this.page_token = 1;
264
264
  this.getList();
265
265
  })
266
- })
266
+ }, '确定删除当前工单吗?')
267
267
  },
268
268
  getList() {
269
269
  this.$xdShowLoading({});
@@ -304,12 +304,12 @@
304
304
  url: `${this.afterSalesDetailPath}?service_order_id=${item.service_order_id}`,
305
305
  });
306
306
  },
307
- handleConfirm(cb){
307
+ handleConfirm(cb, content){
308
308
  this.$xdConfirm({
309
309
  styles: this.styles,
310
310
  title: "提示",
311
311
  width: '90%',
312
- content: '确定删除当前工单吗?',
312
+ content: content,
313
313
  confirmText: '确认',
314
314
  isHtml: true,
315
315
  cancelText: '取消',
@@ -380,11 +380,11 @@
380
380
  border-bottom: 1px solid #DDD;
381
381
 
382
382
  .filter_item{
383
- margin: 0 40rpx;
383
+ margin: 0 110rpx;
384
384
  font-size: 28rpx;
385
385
  color: var(--tab-color);
386
386
  &.active{
387
- border-bottom: 1px solid var(--active-tab-color);
387
+ border-bottom: 2px solid var(--active-tab-color);
388
388
  color: var(--active-tab-color);
389
389
  }
390
390
  }