You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
199 lines
10 KiB
199 lines
10 KiB
<!--pages/user/user.wxml-->
|
|
<view class="bg">
|
|
<!-- 顶部背景与用户信息 -->
|
|
<view class="top-background">
|
|
<image class="bg-img" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/user2026/topBg.png" mode="widthFix"></image>
|
|
|
|
<!-- 用户信息 (浮动) -->
|
|
<navigator url="profile/index" catchtap="pagePoint" data-event="mine_information" class="user-top-new" wx:if="{{info}}">
|
|
<view class="avatar-box">
|
|
<image class="headimg" src="{{info.avatar}}" mode="aspectFill"></image>
|
|
</view>
|
|
<view class="info-text">
|
|
<view class="name-row">
|
|
<text class="nickname text-overflow">{{info.nickname}}</text>
|
|
<image class="gender-icon" src="https://static.ticket.sz-trip.com/xcxImages/user/sex{{info.gender}}.png" mode="aspectFit"></image>
|
|
</view>
|
|
<view class="id-row">id:{{info.id}}</view>
|
|
</view>
|
|
<!-- <view class="arrow-right">
|
|
<text class="iconfont icon-you" style="color: #fff; font-size: 32rpx;"></text>
|
|
</view> -->
|
|
</navigator>
|
|
</view>
|
|
|
|
<!-- 主要内容区域 (向上浮动) -->
|
|
<view class="main-container">
|
|
|
|
<!-- 1. 我的订单 -->
|
|
<view class="card-box my-order">
|
|
<view class="title">
|
|
<text class="main-title">我的订单</text>
|
|
<navigator url="order/list" catchtap="pagePoint" data-event="mine_order" class="sub-title">
|
|
全部订单 <text class="iconfont icon-you" style="font-size: 24rpx;"></text>
|
|
</navigator>
|
|
</view>
|
|
|
|
<view class="order-list">
|
|
<!-- 待付款 -->
|
|
<navigator url="order/list?type=WAIT_PAYMENT" catchtap="pagePoint" data-event="mine_order" class="order-item">
|
|
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/user2026/dfk.png" mode="aspectFit"></image>
|
|
<text>待付款</text>
|
|
<view class="total" wx:if="{{dfkTotal > 0}}">{{dfkTotal}}</view>
|
|
</navigator>
|
|
<!-- 待发货 -->
|
|
<navigator url="order/list?type=WAIT_POST" catchtap="pagePoint" data-event="mine_order" class="order-item">
|
|
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/user2026/dfh.png" mode="aspectFit"></image>
|
|
<text>待发货</text>
|
|
</navigator>
|
|
<!-- 待出行 -->
|
|
<navigator url="order/list?type=WAIT_USE" catchtap="pagePoint" data-event="mine_order" class="order-item">
|
|
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/user2026/dcx.png" mode="aspectFit"></image>
|
|
<text>待出行</text>
|
|
</navigator>
|
|
<!-- 待收货 -->
|
|
<navigator url="order/list?type=WAIT_DELIVERY" catchtap="pagePoint" data-event="mine_order" class="order-item">
|
|
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/user2026/dsh.png" mode="aspectFit"></image>
|
|
<text>待收货</text>
|
|
</navigator>
|
|
<!-- 退货/退款 -->
|
|
<navigator url="order/list?type=NEED_REFUND" catchtap="pagePoint" data-event="mine_order" class="order-item">
|
|
<image src="https://static.ticket.sz-trip.com/jundaosuzhou/images/user2026/thtk.png" mode="aspectFit"></image>
|
|
<text>退货/退款</text>
|
|
</navigator>
|
|
</view>
|
|
|
|
<!-- 待付款轮播 -->
|
|
<view class="pay-swiper-box" wx:if="{{list && list.length > 0}}">
|
|
<swiper autoplay interval="{{3500}}" circular="true" class="swiper">
|
|
<swiper-item wx:for="{{list}}" wx:key="index">
|
|
<view class="dfkBox" bindtap="gotoDetail" data-item="{{orderList[index]}}">
|
|
<image class="prod-img" mode="aspectFill" src="{{item.product_img}}"></image>
|
|
<view class="contentBox">
|
|
<view class="status-text">等待付款</view>
|
|
<view class="time-text">剩余时间: <text style="color: #FB6E4D;">{{formatTime[index]}}</text></view>
|
|
<navigator class="orderBtn" catchtap="stopBubble" url="/pages/order/pay/index?id={{orderList[index].order_id}}">去支付</navigator>
|
|
</view>
|
|
</view>
|
|
</swiper-item>
|
|
</swiper>
|
|
</view>
|
|
</view>
|
|
|
|
<!-- 2. 团购订单 -->
|
|
<navigator url="/pages/pbService/web/index?weburl=https://m.cloud.sz-trip.com/groupTradesNew" class="card-box group-order-row" wx:if="{{isShowGroup}}">
|
|
<view class="left">
|
|
<text class="main-title">团购订单</text>
|
|
<image class="group-icon" src="https://static.ticket.sz-trip.com/uploads/20260122/86e50cdee3bed939990086abc2431477.png" mode="widthFix"></image>
|
|
</view>
|
|
<view class="right sub-title">
|
|
全部订单 <text class="iconfont icon-you" style="font-size: 24rpx;"></text>
|
|
</view>
|
|
</navigator>
|
|
|
|
<!-- 3. 常用功能 (手动硬编码保留原逻辑) -->
|
|
<view class="section-box">
|
|
<view class="section-title">常用功能</view>
|
|
<view class="common-func-grid">
|
|
<!-- 购物车 -->
|
|
<navigator url="cartlist/list" catchtap="pagePoint" data-event="mine_cart" class="func-item" style="background-image: url('https://static.ticket.sz-trip.com/jundaosuzhou/images/user2026/gwc.png');"></navigator>
|
|
|
|
<!-- 我的优惠券 -->
|
|
<navigator url="coupon/index" catchtap="pagePoint" data-event="mine_card" class="func-item" style="background-image: url('https://static.ticket.sz-trip.com/jundaosuzhou/images/user2026/wdyhq.png');"></navigator>
|
|
|
|
<!-- 中奖记录 -->
|
|
<navigator url="/pages/pbService/web/index?weburl=https://m.cloud.sz-trip.com/PrizeLog" class="func-item" style="background-image: url('https://static.ticket.sz-trip.com/jundaosuzhou/images/user2026/zjjl.png');"></navigator>
|
|
|
|
<!-- 人工客服 -->
|
|
<view bindtap="phoneCall" class="func-item" style="background-image: url('https://static.ticket.sz-trip.com/jundaosuzhou/images/user2026/rgkf.png');"></view>
|
|
</view>
|
|
</view>
|
|
|
|
<!-- 4. 更多服务 (手动硬编码保留原逻辑) -->
|
|
<view class="section-box">
|
|
<view class="section-title">更多服务</view>
|
|
<view class="more-service-grid">
|
|
|
|
<!-- 出游人信息 -->
|
|
<navigator url="linkman/index" catchtap="pagePoint" data-event="mine_travelinfo" class="service-item">
|
|
<image class="service-icon" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/user2026/cyrxx.png" mode="aspectFit"></image>
|
|
<view class="service-name">出游人信息</view>
|
|
</navigator>
|
|
|
|
<!-- 收货地址 -->
|
|
<navigator url="address/index" catchtap="pagePoint" data-event="mine_receiveinfo" class="service-item">
|
|
<image class="service-icon" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/user2026/shdz.png" mode="aspectFit"></image>
|
|
<view class="service-name">收货地址</view>
|
|
</navigator>
|
|
|
|
<!-- 商户入驻 -->
|
|
<view bindtap="supplier" class="service-item">
|
|
<image class="service-icon" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/user2026/shrz.png" mode="aspectFit"></image>
|
|
<view class="service-name">商户入驻</view>
|
|
</view>
|
|
|
|
<!-- 商户核销 -->
|
|
<navigator url="/pages/pbService/web/index?weburl=https://m.supplier.cloud.sz-trip.com" catchtap="pagePoint" data-event="mine_receiveinfo" class="service-item">
|
|
<image class="service-icon" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/user2026/shhx.png" mode="aspectFit"></image>
|
|
<view class="service-name">商户核销</view>
|
|
</navigator>
|
|
|
|
<!-- 我的收藏 -->
|
|
<navigator url="likes/index" catchtap="pagePoint" data-event="mine_collection" class="service-item">
|
|
<image class="service-icon" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/user2026/wdsc.png" mode="aspectFit"></image>
|
|
<view class="service-name">我的收藏</view>
|
|
</navigator>
|
|
|
|
<!-- 投诉建议 -->
|
|
<navigator url="suggest/suggest" catchtap="pagePoint" data-event="mine_travelinfo" class="service-item">
|
|
<image class="service-icon" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/user2026/tsjy.png" mode="aspectFit"></image>
|
|
<view class="service-name">投诉建议</view>
|
|
</navigator>
|
|
|
|
<!-- 用户协议 -->
|
|
<navigator url="userPrivacy/index?id=9" catchtap="pagePoint" data-event="mine_travelinfo" class="service-item">
|
|
<image class="service-icon" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/user2026/yhxy.png" mode="aspectFit"></image>
|
|
<view class="service-name">用户协议</view>
|
|
</navigator>
|
|
|
|
<!-- 隐私政策 -->
|
|
<navigator url="userPrivacy/index?id=12" catchtap="pagePoint" data-event="mine_receiveinfo" class="service-item">
|
|
<image class="service-icon" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/user2026/yszc.png" mode="aspectFit"></image>
|
|
<view class="service-name">隐私政策</view>
|
|
</navigator>
|
|
|
|
<!-- 个人信息收集清单 -->
|
|
<navigator url="personalInfo/index" catchtap="pagePoint" data-event="mine_receiveinfo" class="service-item">
|
|
<image class="service-icon" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/user2026/grxxsjqd.png" mode="aspectFit"></image>
|
|
<view class="service-name"><text>个人信息\n收集清单</text></view>
|
|
</navigator>
|
|
|
|
<!-- 第三方共享信息清单 -->
|
|
<navigator url="userPrivacy/index?id=14" catchtap="pagePoint" data-event="mine_receiveinfo" class="service-item">
|
|
<image class="service-icon" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/user2026/gxxxqd.png" mode="aspectFit"></image>
|
|
<view class="service-name"><text>第三方共享\n信息清单</text></view>
|
|
</navigator>
|
|
|
|
<!-- 实名认证 -->
|
|
<navigator url="verify/index" catchtap="pagePoint" data-event="mine_verify" class="service-item" wx:if="{{info && info.name_verification=='UNCERTFIED'}}">
|
|
<image class="service-icon" src="https://static.ticket.sz-trip.com/jundaosuzhou/images/user2026/smrz.png" mode="aspectFit"></image>
|
|
<view class="service-name">实名认证</view>
|
|
</navigator>
|
|
|
|
</view>
|
|
</view>
|
|
|
|
<!-- 底部文字 -->
|
|
<view class="bottom-intro">
|
|
<view>主办方:苏州市文化广电和旅游局</view>
|
|
<view>承办方:苏州市文旅融合发展中心</view>
|
|
<view>备案号:苏ICP备19064944号-3X@君到苏州</view>
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view style="height:20rpx"></view>
|
|
</view>
|
|
|
|
<!-- 客服弹窗组件 -->
|
|
<kefuCom wx:if="{{showModel}}" bind:hideModal="closeModel"></kefuCom>
|
|
|