|
|
|
@ -205,7 +205,7 @@
|
|
|
|
{{ miniAppInfo.fullName || miniAppInfo.agencyName }}
|
|
|
|
{{ miniAppInfo.fullName || miniAppInfo.agencyName }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
<div :style="{ fontSize: '60%' }">
|
|
|
|
<div :style="{ fontSize: '60%' }">
|
|
|
|
{{ miniAppInfo.slogan || "全心全意为老乡服务" }}
|
|
|
|
{{ miniAppInfo.slogan || "为劳动者创造价值" }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
@ -232,7 +232,7 @@ export default {
|
|
|
|
path = `/pages/person/index`;
|
|
|
|
path = `/pages/person/index`;
|
|
|
|
let appInfo = uni.getStorageSync("miniApp-info");
|
|
|
|
let appInfo = uni.getStorageSync("miniApp-info");
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
title: appInfo.slogan || "你想找的厂都有,立即查看",
|
|
|
|
title: appInfo.slogan || "为劳动者创造价值",
|
|
|
|
imageUrl: appInfo.sharePoster,
|
|
|
|
imageUrl: appInfo.sharePoster,
|
|
|
|
path,
|
|
|
|
path,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
@ -241,7 +241,7 @@ export default {
|
|
|
|
let that = this;
|
|
|
|
let that = this;
|
|
|
|
let appInfo = uni.getStorageSync("miniApp-info");
|
|
|
|
let appInfo = uni.getStorageSync("miniApp-info");
|
|
|
|
return {
|
|
|
|
return {
|
|
|
|
title: appInfo.slogan || "你想找的厂都有,立即查看",
|
|
|
|
title: appInfo.slogan || "为劳动者创造价值",
|
|
|
|
imageUrl: appInfo.logo,
|
|
|
|
imageUrl: appInfo.logo,
|
|
|
|
};
|
|
|
|
};
|
|
|
|
},
|
|
|
|
},
|
|
|
|
@ -365,7 +365,7 @@ export default {
|
|
|
|
that.isLogin = false;
|
|
|
|
that.isLogin = false;
|
|
|
|
that.userInfo.avatar = that.G.store().svgBaseImg + "defaultAva.svg";
|
|
|
|
that.userInfo.avatar = that.G.store().svgBaseImg + "defaultAva.svg";
|
|
|
|
that.userInfo.name = "微信用户";
|
|
|
|
that.userInfo.name = "微信用户";
|
|
|
|
that.userInfo.tel = that.miniAppInfo.slogan || "全心全意为老乡服务";
|
|
|
|
that.userInfo.tel = that.miniAppInfo.slogan || "为劳动者创造价值";
|
|
|
|
// that.userInfo.tel = "钱多 活少 离家近";
|
|
|
|
// that.userInfo.tel = "钱多 活少 离家近";
|
|
|
|
that.userInfo.agencyName = "";
|
|
|
|
that.userInfo.agencyName = "";
|
|
|
|
that.userInfo.teamType = 0;
|
|
|
|
that.userInfo.teamType = 0;
|
|
|
|
@ -471,8 +471,7 @@ export default {
|
|
|
|
contentFontSize = 36;
|
|
|
|
contentFontSize = 36;
|
|
|
|
that.G.roundRect1(ctx, 30, baseTop, mycenter - 60, 360, 48, "#fff");
|
|
|
|
that.G.roundRect1(ctx, 30, baseTop, mycenter - 60, 360, 48, "#fff");
|
|
|
|
that.G.fillTextLineBreak(ctx, that.miniAppInfo.fullName || that.miniAppInfo.agencyName, baseLeft + 20, baseTop + 162, 300, 64, "#000", titleFontSize, "500"); // 代理名字
|
|
|
|
that.G.fillTextLineBreak(ctx, that.miniAppInfo.fullName || that.miniAppInfo.agencyName, baseLeft + 20, baseTop + 162, 300, 64, "#000", titleFontSize, "500"); // 代理名字
|
|
|
|
let slogan = that.miniAppInfo.slogan || "全心全意为老乡服务";
|
|
|
|
let slogan = that.miniAppInfo.slogan || "为劳动者创造价值";
|
|
|
|
// let slogan = '全新全意为老乡服务'
|
|
|
|
|
|
|
|
that.G.fillTextLineBreak(ctx, slogan, baseLeft + 20, baseTop + 168 + titleFontSize, 600, 48, "#666", contentFontSize, "500"); // slogan
|
|
|
|
that.G.fillTextLineBreak(ctx, slogan, baseLeft + 20, baseTop + 168 + titleFontSize, 600, 48, "#666", contentFontSize, "500"); // slogan
|
|
|
|
that.G.roundRect(ctx, QRres.tempFilePath, mycenter - 320, baseTop + 60, 240, 240, 0);
|
|
|
|
that.G.roundRect(ctx, QRres.tempFilePath, mycenter - 320, baseTop + 60, 240, 240, 0);
|
|
|
|
ctx.restore();
|
|
|
|
ctx.restore();
|
|
|
|
@ -647,8 +646,7 @@ export default {
|
|
|
|
contentFontSize = 36;
|
|
|
|
contentFontSize = 36;
|
|
|
|
that.G.roundRect1(ctx, mycenter - (canvas.width - 60) / 2, baseTop, canvas.width - 60, 360, 48, "#fff");
|
|
|
|
that.G.roundRect1(ctx, mycenter - (canvas.width - 60) / 2, baseTop, canvas.width - 60, 360, 48, "#fff");
|
|
|
|
that.G.fillTextLineBreak(ctx, that.miniAppInfo.fullName || that.miniAppInfo.agencyName, baseLeft + 20, baseTop + 162, 300, 64, "#000", titleFontSize, "500"); // 代理名字
|
|
|
|
that.G.fillTextLineBreak(ctx, that.miniAppInfo.fullName || that.miniAppInfo.agencyName, baseLeft + 20, baseTop + 162, 300, 64, "#000", titleFontSize, "500"); // 代理名字
|
|
|
|
let slogan = that.miniAppInfo.slogan || "全心全意为老乡服务";
|
|
|
|
let slogan = that.miniAppInfo.slogan || "为劳动者创造价值";
|
|
|
|
// let slogan = '全新全意为老乡服务'
|
|
|
|
|
|
|
|
that.G.fillTextLineBreak(ctx, slogan, baseLeft + 20, baseTop + 168 + titleFontSize, 600, 48, "#666", contentFontSize, "500"); // slogan
|
|
|
|
that.G.fillTextLineBreak(ctx, slogan, baseLeft + 20, baseTop + 168 + titleFontSize, 600, 48, "#666", contentFontSize, "500"); // slogan
|
|
|
|
// miniAppInfo
|
|
|
|
// miniAppInfo
|
|
|
|
return new Promise((imgres) => {
|
|
|
|
return new Promise((imgres) => {
|
|
|
|
@ -954,8 +952,7 @@ export default {
|
|
|
|
contentFontSize = 36;
|
|
|
|
contentFontSize = 36;
|
|
|
|
that.G.roundRect1(ctx, mycenter - (canvas.width - 60) / 2, baseTop, canvas.width - 60, 360, 48, "#fff");
|
|
|
|
that.G.roundRect1(ctx, mycenter - (canvas.width - 60) / 2, baseTop, canvas.width - 60, 360, 48, "#fff");
|
|
|
|
that.G.fillTextLineBreak(ctx, that.miniAppInfo.fullName || that.miniAppInfo.agencyName, baseLeft + 20, baseTop + 162, 300, 64, "#000", titleFontSize, "500"); // 代理名字
|
|
|
|
that.G.fillTextLineBreak(ctx, that.miniAppInfo.fullName || that.miniAppInfo.agencyName, baseLeft + 20, baseTop + 162, 300, 64, "#000", titleFontSize, "500"); // 代理名字
|
|
|
|
let slogan = that.miniAppInfo.slogan || "全心全意为老乡服务";
|
|
|
|
let slogan = that.miniAppInfo.slogan || "为劳动者创造价值";
|
|
|
|
// let slogan = '全新全意为老乡服务'
|
|
|
|
|
|
|
|
that.G.fillTextLineBreak(ctx, slogan, baseLeft + 20, baseTop + 168 + titleFontSize, 600, 48, "#666", contentFontSize, "500"); // slogan
|
|
|
|
that.G.fillTextLineBreak(ctx, slogan, baseLeft + 20, baseTop + 168 + titleFontSize, 600, 48, "#666", contentFontSize, "500"); // slogan
|
|
|
|
// miniAppInfo
|
|
|
|
// miniAppInfo
|
|
|
|
return new Promise((imgres) => {
|
|
|
|
return new Promise((imgres) => {
|
|
|
|
|