|
|
|
|
@ -47,68 +47,68 @@ Page({
@@ -47,68 +47,68 @@ Page({
|
|
|
|
|
doctorId: id, |
|
|
|
|
}, |
|
|
|
|
}).then((res) => { |
|
|
|
|
res = { |
|
|
|
|
info: { id: 'doctor_mini', title: '医生码海报', desc: '医生小程序码海报' }, |
|
|
|
|
body: { |
|
|
|
|
bgImg: |
|
|
|
|
'https://picsissiok-10049618.cos.ap-shanghai.myqcloud.com/c40aa612270160a657112c56a933d54e_17558553039736.png', |
|
|
|
|
width: '750', |
|
|
|
|
height: '1448', |
|
|
|
|
}, |
|
|
|
|
elements: [ |
|
|
|
|
{ |
|
|
|
|
id: 'avatar', |
|
|
|
|
desc: '医生头像', |
|
|
|
|
type: 0, |
|
|
|
|
picType: 'avatar', |
|
|
|
|
src: 'https://picsissiok-10049618.cos.ap-shanghai.myqcloud.com/6e61b32196f54f20f66dd45c33ade450_17693963483779.png', |
|
|
|
|
width: '128', |
|
|
|
|
height: '128', |
|
|
|
|
left: '70', |
|
|
|
|
top: '256', |
|
|
|
|
shape: 'circle', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
id: 'doctorName', |
|
|
|
|
desc: '医生姓名', |
|
|
|
|
type: 1, |
|
|
|
|
text: '云南大学附属医院\n内分泌科医生', |
|
|
|
|
font: '', |
|
|
|
|
'font-size': '40', |
|
|
|
|
'font-weight': 'bold', |
|
|
|
|
width: '384', |
|
|
|
|
color: 'rgba(33, 29, 46, 1)', |
|
|
|
|
'single-line': true, |
|
|
|
|
left: '234', |
|
|
|
|
top: '256', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
id: 'hospitalName', |
|
|
|
|
desc: '医院名称', |
|
|
|
|
type: 1, |
|
|
|
|
text: '中南大学湘雅医院', |
|
|
|
|
font: '', |
|
|
|
|
'font-size': '32', |
|
|
|
|
color: 'rgba(115, 114, 121, 1)', |
|
|
|
|
'single-line': true, |
|
|
|
|
left: '234', |
|
|
|
|
width: '384', |
|
|
|
|
top: '344', |
|
|
|
|
lineHeight: '36', |
|
|
|
|
}, |
|
|
|
|
{ |
|
|
|
|
id: 'minicode', |
|
|
|
|
desc: '医生小程序码', |
|
|
|
|
type: 0, |
|
|
|
|
picType: 'minicode', |
|
|
|
|
src: '', |
|
|
|
|
width: '238', |
|
|
|
|
height: '238', |
|
|
|
|
halign: 'center', |
|
|
|
|
top: '640', |
|
|
|
|
}, |
|
|
|
|
], |
|
|
|
|
} |
|
|
|
|
// res = {
|
|
|
|
|
// info: { id: 'doctor_mini', title: '医生码海报', desc: '医生小程序码海报' },
|
|
|
|
|
// body: {
|
|
|
|
|
// bgImg:
|
|
|
|
|
// '替换为我发你的图片',
|
|
|
|
|
// width: '750',
|
|
|
|
|
// height: '1448',
|
|
|
|
|
// },
|
|
|
|
|
// elements: [
|
|
|
|
|
// {
|
|
|
|
|
// id: 'avatar',
|
|
|
|
|
// desc: '医生头像',
|
|
|
|
|
// type: 0,
|
|
|
|
|
// picType: 'avatar',
|
|
|
|
|
// src: 'https://picsissiok-10049618.cos.ap-shanghai.myqcloud.com/6e61b32196f54f20f66dd45c33ade450_17693963483779.png',
|
|
|
|
|
// width: '128',
|
|
|
|
|
// height: '128',
|
|
|
|
|
// left: '70',
|
|
|
|
|
// top: '256',
|
|
|
|
|
// shape: 'circle',
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// id: 'doctorName',
|
|
|
|
|
// desc: '医生姓名',
|
|
|
|
|
// type: 1,
|
|
|
|
|
// text: '云南大学附属医院\n内分泌科医生',
|
|
|
|
|
// font: '',
|
|
|
|
|
// 'font-size': '40',
|
|
|
|
|
// 'font-weight': 'bold',
|
|
|
|
|
// width: '384',
|
|
|
|
|
// color: 'rgba(33, 29, 46, 1)',
|
|
|
|
|
// 'single-line': true,
|
|
|
|
|
// left: '234',
|
|
|
|
|
// top: '256',
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// id: 'hospitalName',
|
|
|
|
|
// desc: '医院名称',
|
|
|
|
|
// type: 1,
|
|
|
|
|
// text: '中南大学湘雅医院',
|
|
|
|
|
// font: '',
|
|
|
|
|
// 'font-size': '32',
|
|
|
|
|
// color: 'rgba(115, 114, 121, 1)',
|
|
|
|
|
// 'single-line': true,
|
|
|
|
|
// left: '234',
|
|
|
|
|
// width: '384',
|
|
|
|
|
// top: '344',
|
|
|
|
|
// lineHeight: '36',
|
|
|
|
|
// },
|
|
|
|
|
// {
|
|
|
|
|
// id: 'minicode',
|
|
|
|
|
// desc: '医生小程序码',
|
|
|
|
|
// type: 0,
|
|
|
|
|
// picType: 'minicode',
|
|
|
|
|
// src: '这块为医生的邀约码url',
|
|
|
|
|
// width: '238',
|
|
|
|
|
// height: '238',
|
|
|
|
|
// halign: 'center',
|
|
|
|
|
// top: '640',
|
|
|
|
|
// },
|
|
|
|
|
// ],
|
|
|
|
|
// }
|
|
|
|
|
this.setData({ |
|
|
|
|
params: res, |
|
|
|
|
}) |
|
|
|
|
|