1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162 |
- <view class="activityDet">
- <view class="header">
- <image src="{{configure.bgImg}}" class="templateImg" />
- <view class="toBox" style="top:{{configure.templateBase.fromTop}}rpx;left: {{configure.templateBase.fromLeft}}rpx;">
- <input value="{{configure.fromText}}" class="text" maxlength='8'
- style="color:{{configure.fromColor}};font-size: {{configure.fromFontSize}}rpx;border-color: {{configure.fromColor}}60;width: {{fromWidth}}rpx;"
- bindinput="bindKeyInput" data-type='from' />
- <image src="/static/image/edit_new.png" />
- </view>
- <view class="toBox" style="top:{{configure.templateBase.toTop}}rpx;left: {{configure.templateBase.toLeft}}rpx;">
- <input value="{{configure.toText}}" class="text" maxlength='8'
- style="color:{{configure.toColor}};font-size: {{configure.toFontSize}}rpx;border-color: {{configure.toColor}}60;width: {{toWidth}}rpx;"
- bindinput="bindKeyInput" data-type='to' />
- <image src="/static/image/edit_new.png" />
- </view>
- <button class="avatar resetBtn" open-type="chooseAvatar" bind:chooseavatar="changeAvatar"
- style="top:{{configure.templateBase.photoTop}}rpx;left: {{configure.templateBase.photoLeft}}rpx;width: {{configure.templateBase.photoWidth}}rpx;height:{{configure.templateBase.photoHeight}}rpx">
- <view class="tips" wx:if="{{!changeAvatarFlag}}">点击更换图片</view>
- </button>
- <image class="avatarImg"
- style="top:{{configure.templateBase.photoTop}}rpx;left: {{configure.templateBase.photoLeft}}rpx;width: {{configure.templateBase.photoWidth}}rpx;height:{{configure.templateBase.photoHeight}}rpx"
- src="{{avatar}}"></image>
- </view>
- <!-- 录制控制区域 -->
- <view class="btnsBox" wx:if="{{tempFilePath==''}}">
- <!-- <image
- src="{{state?'http://reader-wx.ai160.com/images/reader/card/send_blessings.png':'http://reader-wx.ai160.com/images/reader/card/show_off.png'}}"
- class="send" bindtap="play" /> -->
- <!-- <button class="resetBtn mangeL-box" bindtap="createActivityImg"> -->
- <button class="resetBtn mangeL-box" open-type="share">
- <view class="icon-name">分享</view>
- </button>
- <view class="countDown" wx:if="{{state}}">
- 倒计时:<view class="countBox">{{tens}}</view>
- <view class="countBox">{{bits}}</view>秒
- </view>
- </view>
- <!-- 试听与分享控制区域 -->
- <view class="music" wx:if="{{!state&&tempFilePath!=''}}">
- <image
- src="{{state?'http://reader-wx.ai160.com/images/reader/card/audition.png':'http://reader-wx.ai160.com/images/reader/card/audition.png'}}"
- class="playAuido" bindtap="play" />
- <button class="resetBtn share" open-type="share">
- 发送给亲爱的爸爸妈妈
- </button>
- <!-- http://reader-wx.ai160.com/images/reader/card/share.png -->
- </view>
- <!-- 祝福语 -->
- <view class="blessing">
- <view class="title">
- 祝福语:
- </view>
- <view class="content">{{configure.greeting}}</view>
- </view>
- <!-- 上传进度 -->
- <view class="maskBox" catchtap="true" wx:if="{{uploadState}}">
- <view>0%</view>
- <progress percent="{{percent}}" class="speedProgress" stroke-width="10" activeColor="#C3F166" />
- <view>祝福生成中</view>
- </view>
- </view>
- <canvas id='share' type="2d"> </canvas>
|