|
@@ -106,7 +106,7 @@ export default {
|
|
context.fillText('感谢信', ((750 - obj.size) * obj.ratio) / 2, 260 * obj.ratio)
|
|
context.fillText('感谢信', ((750 - obj.size) * obj.ratio) / 2, 260 * obj.ratio)
|
|
context.setFontSize(30 * obj.ratio);
|
|
context.setFontSize(30 * obj.ratio);
|
|
context.fillText('尊敬的' + this.name + ':', 60 * obj.ratio, 350 * obj.ratio);
|
|
context.fillText('尊敬的' + this.name + ':', 60 * obj.ratio, 350 * obj.ratio);
|
|
- context.fillText('衷心感谢您对监利县红十字事业的信任与支', 120 * obj.ratio, 410 * obj.ratio);
|
|
|
|
|
|
+ context.fillText('衷心感谢您对监利市红十字事业的信任与支', 120 * obj.ratio, 410 * obj.ratio);
|
|
context.fillText('持!我们已收到您的捐款', 60 * obj.ratio, 465 * obj.ratio);
|
|
context.fillText('持!我们已收到您的捐款', 60 * obj.ratio, 465 * obj.ratio);
|
|
// 画横线
|
|
// 画横线
|
|
context.moveTo(380 * obj.ratio, 470 * obj.ratio);
|
|
context.moveTo(380 * obj.ratio, 470 * obj.ratio);
|
|
@@ -124,7 +124,7 @@ export default {
|
|
context.fillText('我们因您更有力量,因您倍感温暖!', 60 * obj.ratio, 735 * obj.ratio);
|
|
context.fillText('我们因您更有力量,因您倍感温暖!', 60 * obj.ratio, 735 * obj.ratio);
|
|
// context.fillText('谨表谢意', (580 * obj.ratio), 680 * obj.ratio)
|
|
// context.fillText('谨表谢意', (580 * obj.ratio), 680 * obj.ratio)
|
|
// context.setTextAlign('right')
|
|
// context.setTextAlign('right')
|
|
- context.fillText('监利县红十字会', 450 * obj.ratio, 850 * obj.ratio);
|
|
|
|
|
|
+ context.fillText('监利市红十字会', 450 * obj.ratio, 850 * obj.ratio);
|
|
context.fillText(obj.add_time, 450 * obj.ratio, 910 * obj.ratio);
|
|
context.fillText(obj.add_time, 450 * obj.ratio, 910 * obj.ratio);
|
|
// 插入二维码
|
|
// 插入二维码
|
|
// console.log(codeX, codeY, codeSize, 999)
|
|
// console.log(codeX, codeY, codeSize, 999)
|
|
@@ -167,7 +167,7 @@ export default {
|
|
onLoad(option) {
|
|
onLoad(option) {
|
|
console.log(333, option);
|
|
console.log(333, option);
|
|
this.money = option.money;
|
|
this.money = option.money;
|
|
- this.name = decodeURI(option.name)
|
|
|
|
|
|
+ this.name = decodeURI(option.name) || '佚名'
|
|
this.add_time =decodeURI(option.time)
|
|
this.add_time =decodeURI(option.time)
|
|
this.IndexShare();
|
|
this.IndexShare();
|
|
this.ScanAudio(true);
|
|
this.ScanAudio(true);
|
|
@@ -195,7 +195,7 @@ export default {
|
|
link: obj.$store.state.baseURL + '/index/#/pages/form/donaSuccess?money=' + obj.money + '&name=' + encodeURI(obj.name) + '&time=' + encodeURI(obj.add_time), // 分享链接
|
|
link: obj.$store.state.baseURL + '/index/#/pages/form/donaSuccess?money=' + obj.money + '&name=' + encodeURI(obj.name) + '&time=' + encodeURI(obj.add_time), // 分享链接
|
|
imgUrl: obj.$store.state.baseURL + '/index/static/img/002.png',
|
|
imgUrl: obj.$store.state.baseURL + '/index/static/img/002.png',
|
|
desc: '弘扬红十字精神,传播红十字观念,宣传红十字工作,这是一个汇聚爱心、救助之家力量的平台!',
|
|
desc: '弘扬红十字精神,传播红十字观念,宣传红十字工作,这是一个汇聚爱心、救助之家力量的平台!',
|
|
- title: '来自监利县红十字会的感谢信',
|
|
|
|
|
|
+ title: '来自监利市红十字会的感谢信',
|
|
success: console.log('分享加载成功')
|
|
success: console.log('分享加载成功')
|
|
};
|
|
};
|
|
console.log('分享加', item);
|
|
console.log('分享加', item);
|