Showing
5 changed files
with
34 additions
and
1 deletions
| @@ -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", |
| @@ -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 | } |
-
Please register or login to post a comment