Commit d5d273158b29e03e1826fc9449766a657ef33cc1

Authored by wangfan
1 parent b43d5757

reserve index

@@ -7,6 +7,7 @@ @@ -7,6 +7,7 @@
7 "pages/book/b_info", 7 "pages/book/b_info",
8 "pages/book/b_desk", 8 "pages/book/b_desk",
9 "pages/customer/detail_owner", 9 "pages/customer/detail_owner",
  10 + "pages/customer/detail_owner_part",
10 "pages/customer/detail_customer", 11 "pages/customer/detail_customer",
11 "pages/customer/invite", 12 "pages/customer/invite",
12 "pages/customer/list", 13 "pages/customer/list",
@@ -226,4 +226,7 @@ image{ @@ -226,4 +226,7 @@ image{
226 width:100%; 226 width:100%;
227 border-radius: 0; 227 border-radius: 0;
228 background-color: transparent; 228 background-color: transparent;
  229 +}
  230 +.navigator-hover{
  231 + background:none;
229 } 232 }
@@ -45,6 +45,17 @@ @@ -45,6 +45,17 @@
45 </view> 45 </view>
46 </view> 46 </view>
47 <view class="hr" style="margin-top: 52rpx;margin-bottom: 48rpx;"></view> 47 <view class="hr" style="margin-top: 52rpx;margin-bottom: 48rpx;"></view>
  48 + <navigator url="./detail_owner_part?id={{detail.id}}" hover-class="navigator-hover">
  49 + <view class="flex-lr customers_view">
  50 + <view class="customers flex-ll">
  51 + <block wx:for="{{detail.customers}}" wx:key="detail.customers.key">
  52 + <image src="{{item.headimgurl}}" class="avatar" mode="aspectFill" wx:if="{{index<3}}"></image>
  53 + </block>
  54 + <view style="margin-left: 12rpx;">等{{detail.customers.length}}人已参加</view>
  55 + </view>
  56 + <image src="/pages/image/click.png" class="more"></image>
  57 + </view>
  58 + </navigator>
48 <view class="detail-info Medium"> 59 <view class="detail-info Medium">
49 <view class="flex-lr"> 60 <view class="flex-lr">
50 <view>退订政策</view> 61 <view>退订政策</view>
@@ -78,3 +78,20 @@ @@ -78,3 +78,20 @@
78 font-size: 30rpx; 78 font-size: 30rpx;
79 color:#ccc; 79 color:#ccc;
80 } 80 }
  81 +.customers_view{
  82 + height: 60rpx;
  83 + line-height: 60rpx;
  84 + margin-bottom: 54rpx;
  85 + font-size: 26rpx;
  86 + color: #999999;
  87 +}
  88 +.customers image{
  89 + width: 60rpx;
  90 + height: 60rpx;
  91 + margin-right: 8rpx;
  92 + border-radius: 50%;
  93 +}
  94 +.more{
  95 + width: 14rpx;
  96 + height: 26rpx;
  97 +}
@@ -61,7 +61,8 @@ Page({ @@ -61,7 +61,8 @@ Page({
61 if (!res.data.openid) {//无预订人 61 if (!res.data.openid) {//无预订人
62 url = '/pages/customer/detail_owner'; 62 url = '/pages/customer/detail_owner';
63 } else { 63 } else {
64 - url = '/pages/customer/detail_customer'; 64 + //url = '/pages/customer/detail_customer';
  65 + url = '/pages/customer/detail_owner';
65 if (res.data.openid == opt.openid) { 66 if (res.data.openid == opt.openid) {
66 url = '/pages/customer/detail_owner'; 67 url = '/pages/customer/detail_owner';
67 } 68 }