refactor: 将跳转页面从用户页修改为洗车页
将多个页面中的跳转链接从"/pages/user/user"修改为"/pages/washing/washing",以优化用户体验,确保用户直接进入洗车相关页面。同时,将洗车券列表中的显示内容从`item.code`改为`item.title`,使其更直观。
This commit is contained in:
parent
fea27b66cf
commit
ffcfda1f4b
@ -43,7 +43,7 @@ Page({
|
||||
wx.showToast({ title: startRes.message || '启动成功', icon: 'success' });
|
||||
// 跳转到洗车券列表页面
|
||||
wx.redirectTo({
|
||||
url: "/pages/user/user"
|
||||
url: "/pages/washing/washing"
|
||||
})
|
||||
} else {
|
||||
wx.redirectTo({
|
||||
|
@ -212,7 +212,7 @@ Page({
|
||||
title: "",
|
||||
content: e.message
|
||||
}), a.data.tmplIds.length > 0 && a.requestSubscribeMessage(), wx.redirectTo({
|
||||
url: "/pages/user/user"
|
||||
url: "/pages/washing/washing"
|
||||
}), a.isneedUpload = !0), 888 == e.code && (wx.navigateTo({
|
||||
url: "/pages/voucher/voucher"
|
||||
}), a.isneedUpload = !0);
|
||||
|
@ -128,7 +128,7 @@ Page({
|
||||
wx.showToast({ title: t.message || '启动成功', icon: 'success' });
|
||||
// 成功后跳转
|
||||
a.isSubmit = !1, wx.hideLoading(), 200 == t.code && wx.redirectTo({
|
||||
url: "/pages/user/user"
|
||||
url: "/pages/washing/washing"
|
||||
});
|
||||
}).catch(function (t) {
|
||||
a.isSubmit = !1, wx.hideLoading();
|
||||
|
@ -5,7 +5,7 @@
|
||||
<view bindtap="selectItem" class="{{item.available!=1?'item item-notavailable':selectID==item.code?'active item':'item'}}" data-available="{{item.available}}" data-code="{{item.code}}" wx:for="{{list}}" wx:key="index">
|
||||
<view class="top">
|
||||
<view class="radio"></view>
|
||||
<view class="code">{{item.code}}</view>
|
||||
<view class="code">{{item.title}}</view>
|
||||
</view>
|
||||
<view class="location">
|
||||
可使用网点:
|
||||
|
Loading…
x
Reference in New Issue
Block a user