no message

cyl/master-0804
jscyl_mac 5 months ago
parent 2e2aa8457a
commit 52a6225c9b

@ -370,7 +370,7 @@
</g-panel-fixed> </g-panel-fixed>
<u-popup v-model="shareModal.isShow" mode="bottom" border-radius="16" height='600px' :mask-close-able="true"> <u-popup v-model="shareModal.isShow" mode="bottom" border-radius="16" height='600px' :mask-close-able="true">
<mainPanel :showBg="true" :oid='oid' :active="1" :name='orderDetail.userName' :job="orderDetail.storeJobName" :recommendList="recommendList[0]" /> <mainPanel :showBg="true" :rid='relationId' :oid='oid' :active="1" :name='orderDetail.userName' :job="orderDetail.storeJobName" :recommendList="recommendList[0]" />
</u-popup> </u-popup>
</view> </view>
</template> </template>
@ -482,7 +482,7 @@ export default {
let codeRes = _str.split("="); let codeRes = _str.split("=");
console.log('邀请 codeRes 2',codeRes) console.log('邀请 codeRes 2',codeRes)
this.oid = codeRes[1].split('_')[1]; this.oid = codeRes[1].split('_')[1];
this.relationId = codeRes[1].split('_')[0]; this.relationId = codeRes[1].split('_')[2];
this.type = '1'; this.type = '1';
console.log('邀请 codeRes 3 oid:',this.oid,' rid:',this.relationId) console.log('邀请 codeRes 3 oid:',this.oid,' rid:',this.relationId)
} else { } else {

@ -46,6 +46,7 @@ export default {
_name:'', _name:'',
_job:'', _job:'',
_oid:'', _oid:'',
_rid:''
}; };
}, },
props: { props: {
@ -78,6 +79,9 @@ export default {
}, },
oid:{ oid:{
default:'', default:'',
},
rid:{
default:''
} }
}, },
created() { created() {
@ -117,6 +121,9 @@ export default {
}, },
oid(val){ oid(val){
this._oid = val; this._oid = val;
},
rid(val){
this._rid = val;
} }
}, },
methods: { methods: {
@ -125,6 +132,7 @@ export default {
that._name = that.name; that._name = that.name;
that._job = that.job; that._job = that.job;
that._oid = that.oid; that._oid = that.oid;
that._rid = that.rid;
that.appInfo = that.recommendList; that.appInfo = that.recommendList;
console.log("that.appInfo", that.appInfo); console.log("that.appInfo", that.appInfo);
let _env = uni.getAccountInfoSync().miniProgram.envVersion; let _env = uni.getAccountInfoSync().miniProgram.envVersion;
@ -136,6 +144,7 @@ export default {
{ {
env: _env, env: _env,
orderId:that._oid, orderId:that._oid,
relationId:that._rid
}, },
(res) => { (res) => {
console.log("获取邀请码:", res); console.log("获取邀请码:", res);

Loading…
Cancel
Save