Commit af966f51786d21a1e224941c3be728bff9e2a078

Authored by vking
1 parent 6b40739a

painter

... ... @@ -67,9 +67,25 @@ Page({
onHide: function () {
},
onShareAppMessage: function () {
let path=util.http_build_query({id:this.data.seller.id,fromid:getApp().openid},'/pages/reserve/detail')
return {
title:'请客订包间,就上一键订',
imageUrl:'https://xt04.colorcun.com/sellerShare/Share_'+this.data.seller.id+'.png?'+Math.random(),
path: path,
}
},
NewCustomer(e){
this.setData({
NewCustomerTotal:e.detail.total
})
}
},
shareDisplay(){
this.selectComponent('#share').show()
},
gotoSellerShop(){
wx.navigateTo({
url:util.http_build_query({id:this.data.seller.id},'/pages/reserve/detail')
})
},
})
\ No newline at end of file
... ...
... ... @@ -5,6 +5,7 @@
"usingComponents": {
"nav":"/components/nav/nav",
"tabBar":"../../../components/book/tabBar/tabBar",
"formids":"/components/formids/formids"
"formids":"/components/formids/formids",
"share":"/components/reserve/share/share"
}
}
\ No newline at end of file
... ...
<!--pages/book/setting/index.wxml-->
<nav id="nav" backgroundColor="#199095" color="#fefefe">订座</nav>
<view class="header">
<view class="header flex-lr">
<view class="info">
<view class="nick">{{user.nick_name || user.nickname}}</view>
<view class="seller Medium">{{seller.sellername}} | {{user.role_name||''}}</view>
<view class="nick flex-lr">
<view bindtap="gotoSellerShop">{{seller.sellername}}</view>
<view class="share-but" bindtap="shareDisplay"></view>
</view>
<view class="seller Medium">{{user.nick_name || user.nickname}} | {{user.role_name||''}}</view>
</view>
</view>
<view class="page">
... ... @@ -59,3 +62,4 @@
</formids>
</view>
<tabBar bindNewCustomer="NewCustomer" id="tabBar"></tabBar>
<share id="share" seller_id="{{seller.id}}"></share>
... ...
... ... @@ -4,15 +4,15 @@ http://qn.colorcun.com/custom/lite-yd/image/icon-zk.png
http://qn.colorcun.com/custom/lite-yd/image/icon-cz.png
*/
.header{
height: 302rpx;
background-color: #199095;
margin-top: -2rpx;
}
.header .info{
color:#FEFEFE;
width: 90%;
padding-top: 86rpx;
padding-top: 66rpx;
margin: 0 auto;
padding-bottom: 80rpx;
}
.header .info .nick{
font-size: 44rpx;
... ... @@ -43,4 +43,11 @@ http://qn.colorcun.com/custom/lite-yd/image/icon-cz.png
}
.row .more{
margin-left: 20rpx;
}
.share-but{
background-image: url("http://qn.colorcun.com/reserve/share/%E5%BE%AE%E4%BF%A1%E5%9B%BE%E7%89%87_20190625162307.png");
width: 52rpx;
height: 52rpx;
background-size: 100% 100%;
min-width: 52rpx;
}
\ No newline at end of file
... ...
... ... @@ -110,9 +110,11 @@ Page({
* 用户点击右上角分享
*/
onShareAppMessage: function () {
let path=util.http_build_query({id:this.data.seller.id,fromid:getApp().openid},'/pages/reserve/detail')
return {
title:'请客订包间,就上一键订',
imageUrl:'https://xt04.colorcun.com/sellerShare/Share_'+this.options.id+'.png?'+Math.random(),
path:path,
}
},
reserve(){
... ...
... ... @@ -221,7 +221,7 @@
},
{
"id": -1,
"name": "预订本-设置",
"name": "pack-book/pages/book/setting/index 预订本-设置",
"pathName": "pack-book/pages/book/setting/index",
"query": "",
"scene": "1001"
... ...