refactor: 将跳转页面从用户页修改为洗车页

将多个页面中的跳转链接从"/pages/user/user"修改为"/pages/washing/washing",以优化用户体验,确保用户直接进入洗车相关页面。同时,将洗车券列表中的显示内容从`item.code`改为`item.title`,使其更直观。
This commit is contained in:
XiaoMo 2025-04-30 15:50:25 +08:00
parent fea27b66cf
commit ffcfda1f4b
4 changed files with 4 additions and 4 deletions

View File

@ -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({

View File

@ -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);

View File

@ -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();

View File

@ -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">
可使用网点: