Authored by 肖亚东

修改

... ... @@ -250,14 +250,14 @@
.promotion-detail-title{
color: #444444;
font-size: 30rpx;
font-size: 26rpx;
padding-left: 10rpx;
padding-right: 15rpx;
}
.promotion-detail-date{
color: #b0b0b0;
font-size: 25rpx;
font-size: 20rpx;
padding-bottom: 20rpx;
margin-left: 10rpx;
}
... ...
... ... @@ -535,7 +535,7 @@ Component({
let metrics = 328;
pCtx.setFillStyle('white');
pCtx.fillRect(0, 0, snapWidth, snapHeight);
pCtx.setStrokeStyle('#222')
pCtx.setStrokeStyle('#222222')
pCtx.setLineWidth(6)
pCtx.strokeRect(3, 3, snapWidth-6, snapHeight-6)
/*---------开始新的作画-----------*/
... ... @@ -553,20 +553,20 @@ Component({
src: defaultImage,
success:function(res){
pCtx.drawImage(res.path, 40, 176, 650, 404)
pCtx.setStrokeStyle('#222')
pCtx.setStrokeStyle('#222222')
pCtx.setLineWidth(2)
pCtx.strokeRect(40, 176, 650, 866)
pCtx.setFillStyle('#B0B0B0')
pCtx.font = 'normal normal 28px PingFang-SC-Regular'
pCtx.fillText('潮流资讯,新鲜贩售,Yoho!Buy有货【逛】不停', 70, 660, 600)
pCtx.font = 'normal bold 40px PingFang-SC-Regular'
that.drawLongText(guang.article_title, pCtx, middle, 730, '#222', 40, 13, 2, true, 56)
that.drawLongText(guang.article_title, pCtx, middle, 730, '#222222', 40, 13, 2, true, 56)
pCtx.font = 'normal normal 28px PingFang-SC-Regular'
if (pCtx.measureText) {
metrics = pCtx.measureText(`#${guang.tag}#`).width + 80
}
pCtx.fillRect(middle - metrics / 2, 940, metrics, 50)
pCtx.setFillStyle('#fff')
pCtx.setFillStyle('#ffffff')
pCtx.fillText(`#${guang.tag}#`, middle, 976)
pCtx.setTextAlign('center')
pCtx.draw(true)
... ... @@ -582,7 +582,7 @@ Component({
})
pCtx.font = 'normal normal 28px PingFang-SC-Regular'
pCtx.setFillStyle('#444')
pCtx.setFillStyle('#444444')
pCtx.fillText('长按扫码查看详情',230,1144)
pCtx.font = 'normal normal 24px PingFang-SC-Regular'
that.drawLongText('或者在各大应用市场搜索Yoho!Buy有货 下载App', pCtx, 230, 1192, '#B0B0B0', 24, 21, 2, false, 36)
... ...