Files
CompanyProject/衣莎项目/源码/YiShaXiYi/pages/home/home.wxml
2024-09-27 01:32:49 +08:00

184 lines
5.2 KiB
Plaintext

<!-- 头部导航 -->
<nav-bar pageTitle="{{pageTitle}}" system="{{system}}" titleColor="{{titleColor}}" />
<!-- pages/home/home.wxml -->
<view class="home">
<view class="userInfo" data-url="/user/setUp/setUp" catchtap="jump">
<view class="userImg">
<open-data type="userAvatarUrl" />
</view>
<view class="user-title">
<view>
<view class="name">
{{userInfo.nickname || '请登录'}}
<span wx:if="{{!!userInfo.nickname}}" data-url="/user/balance/balance" catchtap="jump">
会员卡
</span>
</view>
<view class="tel" data-telnum="{{userInfo.telnum}}" catchtap="goTelnum">{{ !!userInfo.nickname ? userInfo.telnum : '登录后享受完成功能'}}</view>
</view>
</view>
<view class="user-go">
<image src="/static/img/icon/DASD_03.png" />
</view>
</view>
<!-- 资产 -->
<view class="capital">
<view class="capital-row flex-con3 capital-row-c" data-url="/user/couponExchange/couponExchange" bind:tap="jump">
<view class="cap-cen">
<view class="cap-title verline">
{{userInfo.integral || 0}}
<span/>
</view>
<view class="cap-p">积分</view>
</view>
</view>
<view class="capital-row flex-con3 capital-row-c" data-url="/user/balance/balance" bind:tap="jump">
<view class="cap-cen">
<view class="cap-title verline">
{{userInfo.money || 0}}
<span wx:if="{{userInfo.money < 10000}}">元</span>
</view>
<view class="cap-p">余额</view>
</view>
</view>
<view class="capital-row flex-con3 capital-row-c" data-url="/user/balance/balance?index=2" bind:tap="jump">
<!-- <view > -->
<view class="cap-cen">
<view class="cap-title verline">
{{userInfo.group_money || 0}}
<span wx:if="{{userInfo.group_money < 10000}}">元</span>
</view>
<view class="cap-p">礼卡余额</view>
</view>
<!-- </view> -->
</view>
<view class="capital-row flex-con3 capital-row-c" data-url="/user/couponList/couponList" bind:tap="jump">
<!-- <view > -->
<view class="cap-cen">
<view class="cap-title verline">
{{userInfo.couponCount || 0}}
<span>张</span>
</view>
<view class="cap-p">优惠券</view>
</view>
<!-- </view> -->
</view>
</view>
<!-- 资产end -->
<!-- 订单 -->
<view class="order mt20">
<view class="tit">
<view class="titl">洗衣订单</view>
<view class="titr" />
</view>
<view class="capital">
<view class="capital-row flex-con3" data-url="/user/order/order?orderState=2" bind:tap="jump">
<view class="cap-cen">
<view class="cap-title">
<image src="/static/img/icon/order-1_03.png" />
</view>
<view class="cap-p">服务中</view>
</view>
</view>
<view class="capital-row flex-con3" data-url="/user/order/order?orderState=3" bind:tap="jump">
<view class="cap-cen">
<view class="cap-title">
<image src="/static/img/icon/order-2_03.png" />
</view>
<view class="cap-p">已完成</view>
</view>
</view>
<view class="capital-row flex-con3" data-url="/user/order/order?orderState=1" bind:tap="jump">
<view class="cap-cen">
<view class="cap-title">
<image src="/static/img/icon/order-3_03.png" />
</view>
<view class="cap-p">全部订单</view>
</view>
</view>
</view>
</view>
<!-- 订单end -->
<!-- 列表 -->
<view class="user-list mt20">
<view
class="tit"
data-type='5'
data-url="/user/recharge/recharge"
bind:tap="jump"
>
<view class="titl">充值</view>
<view class="titr">
<image src="/static/img/icon/right-r.png" />
</view>
</view>
<view class="tit" data-url="/mall/laundryList/laundryList" bind:tap="jump">
<view class="titl">商城订单</view>
<view class="titr">
<image src="/static/img/icon/right-r.png" />
</view>
</view>
<view class="tit" data-url="/user/sharingCourtesy/sharingCourtesy" bind:tap="jump">
<view class="titl">分享有礼</view>
<view class="titr">
<image src="/static/img/icon/right-r.png" />
</view>
</view>
<view class="tit" data-url="/user/parIncome/parIncome" bind:tap="jump">
<view class="titl">合伙人收益</view>
<view class="titr">
<image src="/static/img/icon/right-r.png" />
</view>
</view>
</view>
<view class="user-list mt20">
<view
class="tit"
data-type="1"
data-url="/view/logistics/logCentre/logCentre"
bind:tap="jump"
>
<view class="titl">小马哥</view>
<view class="titr">
<image src="/static/img/icon/right-r.png" />
</view>
</view>
<view
class="tit"
data-islog="1"
data-url="/pages/richText/richText?id=7&title=加盟我们"
bind:tap="jump"
>
<view class="titl">加盟我们</view>
<view class="titr">
<image src="/static/img/icon/right-r.png" />
</view>
</view>
<view
class="tit"
data-islog="1"
data-url="/pages/richText/richText?id=6&title=关于我们"
bind:tap="jump"
>
<view class="titl">关于我们</view>
<view class="titr">
<image src="/static/img/icon/right-r.png" />
</view>
</view>
<view
class="tit"
data-islog="3"
data-url="/pages/nearbyStore/nearbyStore"
bind:tap="jump"
>
<view class="titl">附近门店</view>
<view class="titr">
<image src="/static/img/icon/right-r.png" />
</view>
</view>
</view>
</view>
<!-- toasta提示 -->
<i-toast id="toast" />