浏览代码

更新5

master
suizhijia 5 年前
父节点
当前提交
8428880692
共有 2 个文件被更改,包括 4 次插入4 次删除
  1. +2
    -2
      496_dongfengqichen/pages/poster/poster.js
  2. +2
    -2
      496_dongfengqichen/pages/poster/poster.wxml

+ 2
- 2
496_dongfengqichen/pages/poster/poster.js 查看文件

@@ -69,7 +69,7 @@ Page({
this.data.windowH = option.windowHeight;
for (let i = 0; i < 3; i++) {
wx.getImageInfo({//缓存海报背景
src: this.data.imgUrl + '/newImages7/16_'+(i+1)+'.png?v=002',
src: this.data.imgUrl + '/newImages7/16_'+(i+1)+'.png?v=003',
success: res => {
this.data.posterBg[i] = res.path;
_savePostBg[i] = res.path;
@@ -301,7 +301,7 @@ Page({
ctx.setFillStyle('#FFFFFF');
}
ctx.setTextAlign('left');
ctx.fillText(app.globalData.userInfoData ? ("@"+app.globalData.userInfoData.nickName+"送你——") : "", scale * 179, scale *93);
ctx.fillText(app.globalData.userInfoData ? ("@"+app.globalData.userInfoData.nickName) : "", scale * 179, scale *93);
//我是第XXX星探
// ctx.drawImage(this.data.numBg, scale * 86, scale * 1010, scale * 563, scale * 124);
// ctx.drawImage(this.data.numBg[0], scale * 86, scale * 1016, scale * 169, scale * 56);

+ 2
- 2
496_dongfengqichen/pages/poster/poster.wxml 查看文件

@@ -21,11 +21,11 @@
<view class="selectTempFrame {{index==swiperCurrent?'selectTempFrameBorder':''}}">
<view class="imgGroup">
<!-- <image style="width:100%;height:100%;" src="{{imgUrl+'/newImages3/tempImg'+(index+1)+'.jpg?v=007'}}"></image> -->
<image style="width:100%;" mode="widthFix" src="{{imgUrl+'/newImages7/16_'+(index+1)+'.png?v=002'}}"></image>
<image style="width:100%;" mode="widthFix" src="{{imgUrl+'/newImages7/16_'+(index+1)+'.png?v=003'}}"></image>
<view class="userMsg">
<image class="userHead" src="{{userHead}}"></image>
<!-- <image class="userHead" src="{{imgUrl+'/images/posterChoose.png'}}"></image> -->
<view class="userNickName" style="color:{{index==1?'#595757':'#FFFFFF'}}">{{"@"+userName+"送你——"}}</view>
<view class="userNickName" style="color:{{index==1?'#595757':'#FFFFFF'}}">{{"@"+userName}}</view>
</view>
<!-- <view class="userNumber">
<image class="posterNum" style="display:none;" src="{{imgUrl+'/images/posterNum.png'}}"></image>

正在加载...
取消
保存