mirror of
https://gitee.com/beijing_hongye_huicheng/lilishop-uniapp.git
synced 2026-11-06 17:09:01 +08:00
refactor(after-sales): 删除独立售后页面并整合至订单列表
- 删除 afterSales.vue 独立页面,将售后入口统一至 myOrder 页面 - 修改售后相关页面跳转路径为 /pages/order/myOrder?status=5 - 重构 applySuccess 页面,增加微信订阅消息授权与视觉优化 - 重构预存款明细页面,增加收支筛选与日志解析功能 - 新增 store 端 API 基础地址配置
This commit is contained in:
@@ -101,12 +101,18 @@ const props = withDefaults(defineProps<{
|
||||
left?: string
|
||||
top?: string
|
||||
business?: string
|
||||
apiType?: string
|
||||
}>(), {
|
||||
height: '80rpx',
|
||||
width: '350rpx',
|
||||
left: '180rpx',
|
||||
top: '30rpx',
|
||||
business: 'LOGIN'
|
||||
business: 'LOGIN',
|
||||
apiType: 'buyer'
|
||||
})
|
||||
|
||||
const sliderBaseUrl = computed(() => {
|
||||
return props.apiType === 'store' ? api.store : api.buyer
|
||||
})
|
||||
|
||||
const store = useStore()
|
||||
@@ -182,7 +188,7 @@ function getCode() {
|
||||
storage.setUuid(uuid.v1())
|
||||
}
|
||||
uni.request({
|
||||
url: api.buyer + '/common/slider/' + props.business,
|
||||
url: sliderBaseUrl.value + '/common/slider/' + props.business,
|
||||
header: {
|
||||
uuid: storage.getUuid()
|
||||
},
|
||||
@@ -217,7 +223,7 @@ function end() {
|
||||
uni.request({
|
||||
method: 'POST',
|
||||
url:
|
||||
api.buyer +
|
||||
sliderBaseUrl.value +
|
||||
'/common/slider/' +
|
||||
props.business +
|
||||
'?xPos=' +
|
||||
|
||||
Reference in New Issue
Block a user