Commit c68c680a099829df65b75203e92cbb24987e56fb

Authored by liuxuqinfhp1220
2 parents 82694bd1 c352db55

时间段组件修改

{
"component": true,
"usingComponents": {}
"usingComponents": {
"formids": "/components/formids/formids"
}
}
\ No newline at end of file
... ...
<!--components/seller-card/seller-card.wxml-->
<view class="card {{hasOnlineReserve?'online':''}}">
<view class="seller flex-lr">
<view class="flex-ll">
<view class="avatar" wx:if="{{seller.seller_image}}">
<image src="{{seller.seller_image}}"></image>
<formids url="/pages/reserve/detail?id={{seller.id}}">
<view class="seller flex-lr">
<view class="flex-ll">
<view class="avatar" wx:if="{{seller.seller_image}}">
<image src="{{seller.seller_image}}"></image>
</view>
<view class="card-class name Medium">{{seller.sellername}}</view>
</view>
<view wx:if="{{hasShowStatus}}" style="font-size: 30rpx;">
{{showStatusStr}}
</view>
<view class="more" wx:else="">
<image src="http://qn.colorcun.com/custom/lite-yd/image/click.png"></image>
</view>
<view class="card-class name Medium">{{seller.sellername}}</view>
</view>
<view wx:if="{{hasShowStatus}}" style="font-size: 30rpx;">
{{showStatusStr}}
</view>
<view class="more" wx:else="">
<image src="http://qn.colorcun.com/custom/lite-yd/image/click.png"></image>
</view>
</view>
</formids>
<view class="context flex-lr">
<view class="left info Medium">
<view class="label">时间</view>
... ...
... ... @@ -24,6 +24,12 @@ Page({
onLoad: function (options) {
console.log('onLoad', options)
this.options=options
if(options.activeTab && options.activeTab!='detail'){
this.setData({
activeTab:options.activeTab||'detail',
})
}
App.Customer.IsCollectionSeller({
sid:options.id,
openid:getApp().openid
... ... @@ -71,7 +77,6 @@ Page({
this.setData({
seller:seller,
hasOnlineReserve:seller.is_online_reserve==1||true,
activeTab:options.activeTab||'detail',
})
}
})
... ...
... ... @@ -198,6 +198,7 @@
<view class="olreserve">
<calendar seller="{{seller}}" bindselectdate="selectdate"></calendar>
<people seller="{{seller}}" bindselectpeople="selectpeople"></people>
<view class="reserve-time Semibold">可订时间</view>
<dur seller="{{seller}}" date="{{reserveDate}}" bindselecttime="selecttime"></dur>
</view>
</view>
\ No newline at end of file
... ...
... ... @@ -506,4 +506,9 @@
}
.olreserve{
margin-top: 80rpx;
padding-bottom: 120rpx;
}
.reserve-time{
padding: 44rpx 0 38rpx 30rpx;
font-size: 32rpx;
}
... ...