|
@@ -14,8 +14,10 @@
|
|
<view class="product-name">
|
|
<view class="product-name">
|
|
<view class="title">{{productName}}</view>
|
|
<view class="title">{{productName}}</view>
|
|
<view class="price">
|
|
<view class="price">
|
|
- <text style="font-size:12px;color:#424242">¥</text>
|
|
|
|
- {{price}}
|
|
|
|
|
|
+ <view >
|
|
|
|
+ ¥
|
|
|
|
+ </view>
|
|
|
|
+ <view style="padding-top: 10rpx;">{{price}}</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
@@ -34,10 +36,10 @@
|
|
</view>
|
|
</view>
|
|
<view class="desc-title">预约时间</view>
|
|
<view class="desc-title">预约时间</view>
|
|
<view class="order-time card">
|
|
<view class="order-time card">
|
|
- <mp-tabs tabs="{{tabs}}" style="width: 100%;" data-active="{{activeTab}}" activeTab="{{activeTab}}" swiperClass="weui-tabs-swiper" bindtabclick="onTabClick" bindchange="onSlideChangeEnd" activeClass="tab-bar-title__selected" tabActiveTextColor="#E32490" swiperHeight="{{(tabs[activeTab].list.length)/5*140}}">
|
|
|
|
|
|
+ <mp-tabs tabs="{{tabs}}" style="width: 100%;" data-active="{{activeTab}}" activeTab="{{activeTab}}" swiperClass="weui-tabs-swiper" bindtabclick="onTabClick" bindchange="onSlideChangeEnd" activeClass="tab-bar-title__selected" tabActiveTextColor="#BA9D6E" swiperHeight="{{(tabs[activeTab].list.length)/5*125}}">
|
|
<block wx:for="{{tabs}}" wx:key="title">
|
|
<block wx:for="{{tabs}}" wx:key="title">
|
|
- <view class="tab-content" data-set="{{item}}" slot="tab-content-{{index}}" bind:tap="handleClick" style="height: {{(tabs[activeTab].list.length)/5*140}}rpx;">
|
|
|
|
- <view class="orders" style="height: {{(tabs[activeTab].list.length)/5*140}}rpx;overflow-y: auto;">
|
|
|
|
|
|
+ <view class="tab-content" data-set="{{item}}" slot="tab-content-{{index}}" bind:tap="handleClick" style="height: {{(tabs[activeTab].list.length)/5*120}}rpx;">
|
|
|
|
+ <view class="orders" style="height: {{(tabs[activeTab].list.length)/5*120}}rpx;overflow-y: auto;">
|
|
<block wx:for="{{tabs[activeTab].list}}" wx:for-index="index" wx:key="id">
|
|
<block wx:for="{{tabs[activeTab].list}}" wx:for-index="index" wx:key="id">
|
|
<view class="time-info {{item.checked&&item.inTime?'select-time':''}} {{item.inTime?'':'out-time'}}" data-time="{{item.time}}" data-i="{{index}}" bindtap="getOrderTime">
|
|
<view class="time-info {{item.checked&&item.inTime?'select-time':''}} {{item.inTime?'':'out-time'}}" data-time="{{item.time}}" data-i="{{index}}" bindtap="getOrderTime">
|
|
<view class="time fw300">{{item.time}}</view>
|
|
<view class="time fw300">{{item.time}}</view>
|
|
@@ -49,18 +51,22 @@
|
|
</block>
|
|
</block>
|
|
</mp-tabs>
|
|
</mp-tabs>
|
|
</view>
|
|
</view>
|
|
-
|
|
|
|
- <view class="desc-title">预留手机号</view>
|
|
|
|
|
|
+ <view class="desc-title">联系人</view>
|
|
<view class="product-mobile card f17">
|
|
<view class="product-mobile card f17">
|
|
- <button type="primary" wx:if="{{!hasMobile}}" bindgetphonenumber="getMobile" open-type="getPhoneNumber">
|
|
|
|
- 获取手机号
|
|
|
|
- </button>
|
|
|
|
- <button type="primary" wx:if="{{hasMobile}}">{{mobile}}</button>
|
|
|
|
|
|
+ <view class="phone">
|
|
|
|
+ <image class="phone-icon" src="../../images/icons/user.png"></image>
|
|
|
|
+ <view class="desc-text">{{userName}}</view>
|
|
|
|
+ </view>
|
|
|
|
+ <view class="phone">
|
|
|
|
+ <image class="phone-icon" src="../../images/icons/phone.png"></image>
|
|
|
|
+ <button type="primary" wx:if="{{!hasMobile}}" bindgetphonenumber="getMobile" open-type="getPhoneNumber">
|
|
|
|
+ 点击获取手机号
|
|
|
|
+ </button>
|
|
|
|
+ <view class="desc-text" wx:if="{{hasMobile}}">{{mobile}}</view>
|
|
|
|
+ </view>
|
|
</view>
|
|
</view>
|
|
- <view class="appointment " >
|
|
|
|
|
|
+ <view class="appointment ">
|
|
<view class="price">价格:¥{{peopleNum*price}}</view>
|
|
<view class="price">价格:¥{{peopleNum*price}}</view>
|
|
<view class="btn" bindtap="checkAuth">提交预约</view>
|
|
<view class="btn" bindtap="checkAuth">提交预约</view>
|
|
</view>
|
|
</view>
|
|
-
|
|
|
|
-
|
|
|
|
</view>
|
|
</view>
|