Commit 2a36c2be95531d142d60337b5887528b066be839

Authored by vking
1 parent 85ace90e

painter

... ... @@ -30,6 +30,7 @@ Page({
IsCollectionSeller:res.data,
})
})
this.SetRelaOpenid();
},
GetSellerDetail(){
let options=this.options
... ... @@ -222,4 +223,14 @@ Page({
currentView:e.detail.current+1
})
},
async SetRelaOpenid(){
if(!this.options.fromid) return;
let openid=await getApp().getOpenid()
App.Reserve.SetRelaOpenid({
openid:openid,
fromid:this.options.fromid,
sid:this.options.id,
sub:this.options.sub||3,//关系类型:1/2/3 邀请关系/商户端分享关系/C端分享关系
})
},
})
\ No newline at end of file
... ...
... ... @@ -14,6 +14,7 @@ Page({
hasLoadData:false,
act:'',
hasActName:'',
hasSellerShare:false,
},
/**
* 生命周期函数--监听页面加载
... ... @@ -21,7 +22,8 @@ Page({
onLoad: function (options) {
this.options=options;
this.setData({
actType:options.act
actType:options.act,
hasSellerShare:options.hasSellerShare||false,
})
this.GetSellerDetail();
},
... ...
... ... @@ -18,7 +18,7 @@
</view>
<view class="save">
<savefile filePath="{{paletteImageSrc}}">
<view class="save-but flex-cc">
<view class="save-but {{hasSellerShare?'sellerShare':''}} flex-cc">
<view class="save-but-icon"></view>
<view class="save-but-text">保存到相册</view>
</view>
... ...
... ... @@ -45,7 +45,7 @@
"list": []
},
"miniprogram": {
"current": 54,
"current": 39,
"list": [
{
"id": 0,
... ... @@ -348,7 +348,7 @@
"id": 39,
"name": "pages/reserve/detail 在线订座 ",
"pathName": "pages/reserve/detail",
"query": "id=999",
"query": "id=999&fromid=22222",
"scene": null
},
{
... ...
... ... @@ -4,7 +4,7 @@ export default {
silence: true, //静默,不带loading; 默认 true 不带loading
cachetime: 0, //缓存 0无,-1永久,86400秒; 默认 0 不缓存
timeout: 2000, //接口超时时间,默认2s
host: '', //默认空使用04服务器,测试填写 'https://xt05.colorcun.com/?s='
host: '', //默认空使用04服务器,测试填写 'https://xt05.colorcun.com:10006/?s='
alias: 'App.TestManagement.TestReal', //真实接口名称,默认为空
},
... ...