feat: 我的订单样式调整

This commit is contained in:
duanshuwen
2025-10-16 20:29:34 +08:00
parent afb124ee19
commit 11aa958077
11 changed files with 143 additions and 246 deletions

View File

@@ -5,7 +5,7 @@
<view class="title flex-full font-size-17 color-000 font-500"
>更多服务</view
>
<uni-icons type="close" size="20" color="#CACFD8" @click="close" />
<uni-icons type="close" size="24" color="#CACFD8" @click="close" />
</view>
<view class="list bg-white border-box pl-20 pr-20">
@@ -27,6 +27,7 @@
</view>
<view
class="right border-box font-size-12 color-white line-height-16"
@click="handleClick(item)"
>
{{ item.btnText }}
</view>
@@ -49,6 +50,7 @@ const list = ref([
content: "预定门票、房间、餐食",
btnText: "去预定",
type: "quickBooking",
path: "/pages/quickBooking/index",
},
{
icon: "https://oss.nianxx.cn/mp/static/version_101/home/tsfx.png",
@@ -56,6 +58,7 @@ const list = ref([
content: "发现景点、活动、特色内容",
btnText: "去探索",
type: "discovery",
path: "/pages/discovery/index",
},
{
icon: "https://oss.nianxx.cn/mp/static/version_101/home/mddd.png",
@@ -63,6 +66,7 @@ const list = ref([
content: "查看门票、住宿、餐饮等订单",
btnText: "去查看",
type: "myOrder",
path: "/pages-order/order/list",
},
{
icon: "https://oss.nianxx.cn/mp/static/version_101/home/wdgd.png",
@@ -70,6 +74,7 @@ const list = ref([
content: "查看服务工单、进度与处理情况",
btnText: "去查看",
type: "myWorkOrder",
path: "/pages/myWorkOrder/index",
},
{
icon: "https://oss.nianxx.cn/mp/static/version_101/home/fkyj.png",
@@ -77,6 +82,7 @@ const list = ref([
content: "提交使用问题、建议与需求",
btnText: "去反馈",
type: "feedback",
path: "/pages/feedback/index",
},
]);
@@ -88,6 +94,14 @@ const close = () => {
popup.value && popup.value.close();
};
const handleClick = (item) => {
if (item.path) {
uni.navigateTo({ url: item.path });
}
close();
};
// 接收更多服务
uni.$on("SHOW_MORE_POPUP", () => {
open();