121 lines
5.8 KiB
Plaintext
121 lines
5.8 KiB
Plaintext
<!-- 骨架屏 -->
|
|
<skeleton selector="skeleton" loading="spin" bgcolor="#FFF" wx:if="{{showSkeleton}}"></skeleton>
|
|
<!-- pages/auth/auth.wxml -->
|
|
<view class="skeleton content">
|
|
<view hidden="{{!(index == 1)}}">
|
|
<index id="index"></index>
|
|
</view>
|
|
<view hidden="{{!(index == 5)}}">
|
|
<home id="home"></home>
|
|
</view>
|
|
<view hidden="{{!(index == 6)}}">
|
|
<choice id="choice"></choice>
|
|
</view>
|
|
</view>
|
|
<!-- tabbar -->
|
|
<view class="TabBar">
|
|
<view class="cu-bar tabbar bg-white">
|
|
<view data-index="1" bind:tap="tabSwitch" class="action">
|
|
<view class="cuIcon-cu-image">
|
|
<image class="index-icon" src="{{ index == 1 ? '/static/img/icon/index-active-icon.png' : '/static/img/icon/index-icon.png' }}"></image>
|
|
</view>
|
|
<view class="{{ index == 1 ? 'text-green' : 'text-gray' }} mt10">首页</view>
|
|
</view>
|
|
<!-- <view data-index="2" data-islog="ok" bind:tap="tabSwitch" class="action {{index == 2?'text-green':'text-gray'}}">
|
|
<view class="cuIcon-cu-image">
|
|
<image class="index-icon" src="{{ index == 2 ? '/static/img/icon/wardrobe-active-icon.png' : '/static/img/icon/wardrobe-icon.png' }}"></image>
|
|
</view>
|
|
<view class="{{ index == 2 ? 'text-green' : 'text-gray' }} mt10">洗衣柜</view>
|
|
</view> -->
|
|
<view data-index="2" bind:tap="tabSwitch" class="action {{index == 2?'text-green':'text-gray'}}">
|
|
<view class="cuIcon-cu-image">
|
|
<image class="index-icon" src="{{ index == 2 ? '/static/img/icon/xy_md.png' : '/static/img/icon/xy_md.png' }}"></image>
|
|
</view>
|
|
<view class="{{ index == 2 ? 'text-green' : 'text-gray' }} mt10">门店</view>
|
|
</view>
|
|
<view data-index="{{index}}" data-islog='ok' data-nav="true" bind:tap="tabSwitch" class="action text-gray add-action">
|
|
<view class="my-icno">
|
|
<view class="icon_bac flex-con3">
|
|
<image src="/static/img/icon/asdferfhrthjtr.png" />
|
|
</view>
|
|
</view>
|
|
马上洗
|
|
</view>
|
|
<view data-index="4" bind:tap="tabSwitch" class="action {{index == 4?'text-green':'text-gray'}}">
|
|
<view class="cuIcon-cu-image">
|
|
<image class="index-icon" src="{{ index == 4 ? '/static/img/icon/shop-active-icon.png' : '/static/img/icon/shop-icon.png' }}"></image>
|
|
</view>
|
|
<view class="{{ index == 4 ? 'text-green' : 'text-gray' }} mt10">商城</view>
|
|
</view>
|
|
<view data-index="5" bind:tap="tabSwitch" class="action {{index == 5?'text-green':'text-gray'}}">
|
|
<view class="cuIcon-cu-image">
|
|
<image class="index-icon" src="{{ index == 5 ? '/static/img/icon/home-active-icon.png' : '/static/img/icon/home-icon.png' }}"></image>
|
|
</view>
|
|
<view class="{{ index == 5 ? 'text-green' : 'text-gray' }} mt10">我的</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<!-- 客服 -->
|
|
<button catchtap="_service" wx:if="{{ index == 1 }}" class="customer flex-con3" style="right:{{ kfRight }}rpx;">
|
|
<image src="/static/img/icon/kf.png" />
|
|
</button>
|
|
<!-- 客服弹出层 -->
|
|
<view wx:if="{{ isKf }}" class="coupon flex-con3">
|
|
<view class="video_cen">
|
|
<view class="coupon_list tips-bac">
|
|
<view class="coupon_list_tit coupon_list_tit-t1">请选择你要进行的操作</view>
|
|
<view class="mt30 dis-flex">
|
|
<view class="flex1">
|
|
<view class="tel-img flex-con3" catchtap="openTel">
|
|
<image src="/static/img/tel-icon-kf.png" />
|
|
</view>
|
|
<view class="tel-p">电话客服</view>
|
|
</view>
|
|
<view class="flex1">
|
|
<button open-type="contact" class="tel-img flex-con3">
|
|
<image src="/static/img/wx-icon-kf.png" />
|
|
</button>
|
|
<view class="tel-p">微信客服</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<image catchtap="_service" src="/static/img/icon/colse_tips.png" />
|
|
</view>
|
|
</view>
|
|
<!-- 优惠券 -->
|
|
<view wx:if="{{ isCoupon }}" catchtouchmove="{{ isCoupon }}" class="coupon flex-con3">
|
|
<view class="video_cen">
|
|
<view class="coupon_list">
|
|
<view class="coupon_list_tit">{{couponTitle}}</view>
|
|
<view wx:for="{{ couponList }}" wx:key class="coupon_list_row dis-flex mt20" catchtap="goUrl">
|
|
<view class="coupon_row_l ">
|
|
<image src="/static/img/xrj.png" />
|
|
<view class="row_l1 flex-con3">
|
|
<view>
|
|
<view class="row_l1_p1">
|
|
¥
|
|
<span>{{item.coupon_price}}</span>
|
|
</view>
|
|
<view class="row_l1_p2">满{{item.use_min_price}}使用</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view class="flex1 coupon_row_r">
|
|
<image src="/static/img/xrjr.png" />
|
|
<view class="row_l1 flex-con2 pl30">
|
|
<view>
|
|
<view class="row_r1_p1 text-left clamp1">{{item.coupon_title}}</view>
|
|
<view class="row_r1_p2 text-left clamp1">
|
|
{{item.start_time}}至{{item.end_time}}
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
<view bind:tap="_receive" class="receive mt40">立即领取</view>
|
|
</view>
|
|
<image catchtap="_coupon" src="/static/img/icon/colse_tips.png" />
|
|
</view>
|
|
</view>
|
|
<!-- toasta提示 -->
|
|
<i-toast id="toast" /> |