Commit d5d273158b29e03e1826fc9449766a657ef33cc1

Authored by wangfan
1 parent b43d5757

reserve index

... ... @@ -7,6 +7,7 @@
"pages/book/b_info",
"pages/book/b_desk",
"pages/customer/detail_owner",
"pages/customer/detail_owner_part",
"pages/customer/detail_customer",
"pages/customer/invite",
"pages/customer/list",
... ...
... ... @@ -226,4 +226,7 @@ image{
width:100%;
border-radius: 0;
background-color: transparent;
}
.navigator-hover{
background:none;
}
\ No newline at end of file
... ...
... ... @@ -45,6 +45,17 @@
</view>
</view>
<view class="hr" style="margin-top: 52rpx;margin-bottom: 48rpx;"></view>
<navigator url="./detail_owner_part?id={{detail.id}}" hover-class="navigator-hover">
<view class="flex-lr customers_view">
<view class="customers flex-ll">
<block wx:for="{{detail.customers}}" wx:key="detail.customers.key">
<image src="{{item.headimgurl}}" class="avatar" mode="aspectFill" wx:if="{{index<3}}"></image>
</block>
<view style="margin-left: 12rpx;">等{{detail.customers.length}}人已参加</view>
</view>
<image src="/pages/image/click.png" class="more"></image>
</view>
</navigator>
<view class="detail-info Medium">
<view class="flex-lr">
<view>退订政策</view>
... ...
... ... @@ -78,3 +78,20 @@
font-size: 30rpx;
color:#ccc;
}
.customers_view{
height: 60rpx;
line-height: 60rpx;
margin-bottom: 54rpx;
font-size: 26rpx;
color: #999999;
}
.customers image{
width: 60rpx;
height: 60rpx;
margin-right: 8rpx;
border-radius: 50%;
}
.more{
width: 14rpx;
height: 26rpx;
}
\ No newline at end of file
... ...
... ... @@ -61,7 +61,8 @@ Page({
if (!res.data.openid) {//无预订人
url = '/pages/customer/detail_owner';
} else {
url = '/pages/customer/detail_customer';
//url = '/pages/customer/detail_customer';
url = '/pages/customer/detail_owner';
if (res.data.openid == opt.openid) {
url = '/pages/customer/detail_owner';
}
... ...