Commit a75dbe392061a2336eab4df1c159bed4888ae0b0

Authored by vking
1 parent de1185c5

caicai share

... ... @@ -42,7 +42,7 @@
<view class="flex-lr share-view" wx:if="{{detail.type==1}}">
<formids url="/pages/customer/detail_owner_invitation?id={{detail.id}}&hasInvitation=1&hasSellerShare=1&tplid=1"
class="share-but-view">
<view class="share-but Regular">邀请同行的朋友</view>
<view class="share-but Regular">邀请同行好友</view>
</formids>
</view>
<view class="flex-lr share-view" wx:else="">
... ...
... ... @@ -150,4 +150,11 @@ Page({
url:url,
})
},
gotoDetailHan(e){
console.log(util.attr(e,'id'))
let url='/pages/customer/detail_owner_invitation?id='+util.attr(e,'id')+'&hasInvitation=1&hasSellerShare=1&tplid=1'
wx.navigateTo({
url:url,
})
}
})
\ No newline at end of file
... ...
... ... @@ -25,11 +25,17 @@
<card hasListShare bindevent="gotoDetail"
seller="{{detail.seller}}" detail="{{detail}}">
<view slot="listshare" style="height:52rpx;line-height:52rpx;margin-top:4rpx;">
<userinfo-share
id="userinfo-share-{{detail.id}}"
binduserinfo="userinfo"
bindshare="share"
share="{{detail}}">
<userinfo wx:if="{{detail.hasOwner}}"
data-id="{{detail.id}}"
binduserinfo="gotoDetailHan">
<!--<view class="opt-button">{{detail.hasOwner?'邀请':'分享日程'}}</view>-->
<view class="opt-button">邀请同行好友</view>
</userinfo>
<userinfo-share wx:else="{{}}"
id="userinfo-share-{{detail.id}}"
binduserinfo="userinfo"
bindshare="share"
share="{{detail}}">
<!--<view class="opt-button">{{detail.hasOwner?'邀请':'分享日程'}}</view>-->
<view class="opt-button">发邀请函</view>
</userinfo-share>
... ...
... ... @@ -95,7 +95,7 @@
margin-left: 14rpx;
}
.opt-button{
width: 120rpx;
padding: 0 10rpx;
height: 40rpx;
line-height: 40rpx;
font-size: 26rpx;
... ...