no message

cyl/master-0804
jscyl_mac 5 months ago
parent aa0dd0ee64
commit 59d840e84b

@ -1,5 +1,6 @@
let bindInfo = {
bind_getCode:"/assistant/circle/agency/apply/inviteCode",// 获取邀请码
bind_getOrderCode:"/yishoudan/user/apply/order/orderDetailsQrCodeImage",// 获取邀请码
bind_getSubscribeDetail :"/assistant/circle/agency/search/code",// 根据搜索code获取对应关注详情
bind_subscribeSubmit:"/assistant/circle/agency/apply/subscribe",// 提交关注
bind_recordList:"/assistant/circle/agency/apply/list",// 申请记录

@ -370,7 +370,7 @@
</g-panel-fixed>
<u-popup v-model="shareModal.isShow" mode="bottom" border-radius="16" height='600px' :mask-close-able="true">
<mainPanel :showBg="true" :active="1" :name='orderDetail.userName' :job="orderDetail.storeJobName" :recommendList="recommendList[0]" />
<mainPanel :showBg="true" :oid='oid' :active="1" :name='orderDetail.userName' :job="orderDetail.storeJobName" :recommendList="recommendList[0]" />
</u-popup>
</view>
</template>

@ -45,6 +45,7 @@ export default {
canvasHeight: 0,
_name:'',
_job:'',
_oid:'',
};
},
props: {
@ -74,6 +75,9 @@ export default {
},
job:{
default:'',
},
oid:{
default:'',
}
},
created() {
@ -110,6 +114,9 @@ export default {
},
job(val){
this._job = val;
},
oid(val){
this._oid = val;
}
},
methods: {
@ -117,13 +124,18 @@ export default {
let that = this;
that._name = that.name;
that._job = that.job;
that._oid = that.oid;
that.appInfo = that.recommendList;
console.log("that.appInfo", that.appInfo);
let _env = uni.getAccountInfoSync().miniProgram.envVersion;
if(!that._oid || that._oid == 0){
return false;
}
that.G.Get(
that.api.bind_getCode,
that.api.bind_getOrderCode,
{
env: _env,
orderId:that._oid,
},
(res) => {
console.log("获取邀请码:", res);

Loading…
Cancel
Save