Showing
6 changed files
with
12 additions
and
11 deletions
| @@ -34,8 +34,8 @@ | @@ -34,8 +34,8 @@ | ||
| 34 | <view class="share-but Regular">发邀请函</view> | 34 | <view class="share-but Regular">发邀请函</view> |
| 35 | </userinfo-share> | 35 | </userinfo-share> |
| 36 | </view> | 36 | </view> |
| 37 | - <view class="flex-lr share-view-cookbook" > | ||
| 38 | - <userinfo | 37 | + <view class="flex-lr share-view-cookbook" wx:if="{{detail.seller.is_open_order==1 || detail.seller.is_open_wine==1}}"> |
| 38 | + <userinfo wx:if="{{detail.seller.is_open_wine==1}}" | ||
| 39 | binduserinfo="wineGo" | 39 | binduserinfo="wineGo" |
| 40 | bindshare="share" | 40 | bindshare="share" |
| 41 | share="{{detail}}" | 41 | share="{{detail}}" |
| @@ -43,7 +43,7 @@ | @@ -43,7 +43,7 @@ | ||
| 43 | class="share-but-view"> | 43 | class="share-but-view"> |
| 44 | <view class="share-but Regular">自带酒水</view> | 44 | <view class="share-but Regular">自带酒水</view> |
| 45 | </userinfo> | 45 | </userinfo> |
| 46 | - <userinfo | 46 | + <userinfo wx:if="{{detail.seller.is_open_order==1}}" |
| 47 | binduserinfo="cookbook" | 47 | binduserinfo="cookbook" |
| 48 | bindshare="share" | 48 | bindshare="share" |
| 49 | share="{{detail}}" | 49 | share="{{detail}}" |
| @@ -47,7 +47,7 @@ | @@ -47,7 +47,7 @@ | ||
| 47 | border-width: 0; | 47 | border-width: 0; |
| 48 | } | 48 | } |
| 49 | .share-view-cookbook{ | 49 | .share-view-cookbook{ |
| 50 | - margin-top: 58rpx; | 50 | + margin-top: 0rpx; |
| 51 | margin-bottom: 20rpx; | 51 | margin-bottom: 20rpx; |
| 52 | height:80rpx; | 52 | height:80rpx; |
| 53 | line-height: 80rpx; | 53 | line-height: 80rpx; |
| 1 | <!--pages/customer/detail_owner.wxml--> | 1 | <!--pages/customer/detail_owner.wxml--> |
| 2 | <nav hasHome backgroundColor="rgba(0,0,0,0)" color="#ffffff"></nav> | 2 | <nav hasHome backgroundColor="rgba(0,0,0,0)" color="#ffffff"></nav> |
| 3 | -<view class="page"> | 3 | +<view class="pages"> |
| 4 | <view class="flex-vc" style="position: relative;"> | 4 | <view class="flex-vc" style="position: relative;"> |
| 5 | <view class="invit-logo"> | 5 | <view class="invit-logo"> |
| 6 | <image src="http://qn.colorcun.com/custom/lite-yd-cook/image/detail_owner_invitation-1.png"></image> | 6 | <image src="http://qn.colorcun.com/custom/lite-yd-cook/image/detail_owner_invitation-1.png"></image> |
| @@ -14,12 +14,12 @@ | @@ -14,12 +14,12 @@ | ||
| 14 | <view class="content">{{detail.rdateStr}}</view> | 14 | <view class="content">{{detail.rdateStr}}</view> |
| 15 | </view> | 15 | </view> |
| 16 | </view> | 16 | </view> |
| 17 | - <view class="opt-button"> | 17 | + <view class="opt-button" wx:if="{{detail.seller.is_open_order==1 || detail.seller.is_open_wine==1}}"> |
| 18 | <view class="opt flex-cc"> | 18 | <view class="opt flex-cc"> |
| 19 | - <userinfo class="button-none flex-vc" binduserinfo="toast"> | 19 | + <userinfo class="button-none flex-vc" binduserinfo="toast" wx:if="{{detail.seller.is_open_wine==1}}"> |
| 20 | <image class="buts" src="http://qn.colorcun.com/custom/lite-yd-cook/image/detail_owner_invitation-2.png"></image> | 20 | <image class="buts" src="http://qn.colorcun.com/custom/lite-yd-cook/image/detail_owner_invitation-2.png"></image> |
| 21 | </userinfo> | 21 | </userinfo> |
| 22 | - <formids class="button-none flex-vc" bindclick="cookbook"> | 22 | + <formids class="button-none flex-vc" bindclick="cookbook" wx:if="{{detail.seller.is_open_order==1}}"> |
| 23 | <image class="buts" src="http://qn.colorcun.com/custom/lite-yd-cook/image/detail_owner_invitation-3.png"></image> | 23 | <image class="buts" src="http://qn.colorcun.com/custom/lite-yd-cook/image/detail_owner_invitation-3.png"></image> |
| 24 | </formids> | 24 | </formids> |
| 25 | </view> | 25 | </view> |
| 1 | /* pages/customer/detail_customer.wxss */ | 1 | /* pages/customer/detail_customer.wxss */ |
| 2 | -.page{ | 2 | +.pages{ |
| 3 | color:#FFFFFF; | 3 | color:#FFFFFF; |
| 4 | background: url("http://qn.colorcun.com/custom/lite-yd/image/invit-bg.png") #353334; | 4 | background: url("http://qn.colorcun.com/custom/lite-yd/image/invit-bg.png") #353334; |
| 5 | background-size: 100%; | 5 | background-size: 100%; |
| @@ -31,7 +31,7 @@ | @@ -31,7 +31,7 @@ | ||
| 31 | "list": [] | 31 | "list": [] |
| 32 | }, | 32 | }, |
| 33 | "miniprogram": { | 33 | "miniprogram": { |
| 34 | - "current": 37, | 34 | + "current": 6, |
| 35 | "list": [ | 35 | "list": [ |
| 36 | { | 36 | { |
| 37 | "id": 0, | 37 | "id": 0, |
| @@ -74,7 +74,7 @@ | @@ -74,7 +74,7 @@ | ||
| 74 | "id": 6, | 74 | "id": 6, |
| 75 | "name": "pages/customer/index", | 75 | "name": "pages/customer/index", |
| 76 | "pathName": "pages/customer/index", | 76 | "pathName": "pages/customer/index", |
| 77 | - "query": "id=1762&fromid=1111&hasInvitation=1", | 77 | + "query": "id=1762&fromid=1111&hasInvitation=0", |
| 78 | "scene": "1044", | 78 | "scene": "1044", |
| 79 | "shareInfo": { | 79 | "shareInfo": { |
| 80 | "groupName": "测试模拟群1", | 80 | "groupName": "测试模拟群1", |
-
Please register or login to post a comment