no message

cyl/master-0804
jscyl_mac 5 months ago
parent 8ee1a51324
commit aa0dd0ee64

@ -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" :active="1" :recommendList="recommendList[0]" /> <mainPanel :showBg="true" :active="1" :name='orderDetail.userName' :job="orderDetail.storeJobName" :recommendList="recommendList[0]" />
</u-popup> </u-popup>
</view> </view>
</template> </template>

@ -43,6 +43,8 @@ export default {
appfile: null, appfile: null,
canvasWidth: 0, canvasWidth: 0,
canvasHeight: 0, canvasHeight: 0,
_name:'',
_job:'',
}; };
}, },
props: { props: {
@ -67,6 +69,12 @@ export default {
}; };
}, },
}, },
name:{
default:'',
},
job:{
default:'',
}
}, },
created() { created() {
let that = this; let that = this;
@ -97,10 +105,18 @@ export default {
that.appInfo = val; that.appInfo = val;
this.init(); this.init();
}, },
name(val){
this._name = val;
},
job(val){
this._job = val;
}
}, },
methods: { methods: {
init() { init() {
let that = this; let that = this;
that._name = that.name;
that._job = that.job;
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;
@ -243,16 +259,16 @@ export default {
img.src = res.path; img.src = res.path;
img.onload = () => { img.onload = () => {
that.G.roundRect(ctx, img, 915, 218, 272, 272, 136); // logo that.G.roundRect(ctx, img, 915, 218, 272, 272, 136); // logo
that.G.fillTextLineBreak(ctx, info.fullName, 140, 300, info.fullName.length * 80, 80, "#333", 80, 600, "left"); // that.G.fillTextLineBreak(ctx, that._name, 140, 300, that._name.length * 80, 80, "#333", 80, 600, "left"); //
that.G.fillTextLineBreak(ctx, "今日更新职位" + info.jobUpdateNum, 140, 400, ("今日更新职位" + info.jobUpdateNum).length * 56, 56, "#999", 56, 500, "left"); // that.G.fillTextLineBreak(ctx, that._job, 140, 400, that._job.length * 56, 56, "#999", 56, 500, "left"); //
that.G.fillTextLineBreak(ctx, info.jobNum.toString(), 230, 620, info.jobNum.toString().length * 88, 88, "#333", 88, 600); // // that.G.fillTextLineBreak(ctx, info.jobNum.toString(), 230, 620, info.jobNum.toString().length * 88, 88, "#333", 88, 600); //
that.G.fillTextLineBreak(ctx, info.recruitmentJobNum.toString(), 480, 620, info.recruitmentJobNum.toString().length * 88, 88, "#333", 88, 600); // // that.G.fillTextLineBreak(ctx, info.recruitmentJobNum.toString(), 480, 620, info.recruitmentJobNum.toString().length * 88, 88, "#333", 88, 600); //
that.G.fillTextLineBreak(ctx, info.downNum.toString(), 730, 620, info.downNum.toString().length * 88, 88, "#333", 88, 600); // // that.G.fillTextLineBreak(ctx, info.downNum.toString(), 730, 620, info.downNum.toString().length * 88, 88, "#333", 88, 600); //
that.G.fillTextLineBreak(ctx, "总职位", 230, 700, "总职位".length * 56, 56, "#999", 56, 500); // // that.G.fillTextLineBreak(ctx, "", 230, 700, "".length * 56, 56, "#999", 56, 500); //
that.G.fillTextLineBreak(ctx, "在招数", 480, 700, "在招数".length * 56, 56, "#999", 56, 500); // // that.G.fillTextLineBreak(ctx, "", 480, 700, "".length * 56, 56, "#999", 56, 500); //
that.G.fillTextLineBreak(ctx, "粉丝数", 730, 700, "粉丝数".length * 56, 56, "#999", 56, 500); // // that.G.fillTextLineBreak(ctx, "", 730, 700, "".length * 56, 56, "#999", 56, 500); //
imgres(canvas); imgres(canvas);
}; };
}, },

Loading…
Cancel
Save