12345678910111213141516171819202122232425262728293031323334353637383940414243 |
- <!--pages/customized/made/madeFont/madeFont.wxml-->
- <view class='made-content'>
- <!-- <canvas canvas-id='madeContent' class='made-content'></canvas> -->
- <view class='made-img-box'>
- <image src='{{obverseImgObject[isActive]}}'></image>
- <made-solid prop-position="{{dataPositionObj}}" prop-size="{{propSize}}">
- <view class='f-box f-align-items-center f-justify-content-center made-prompt' style='color:{{fontColor}};font-size:{{fontSize}}'>{{fontContent}}</view>
- </made-solid>
- </view>
- </view>
- <view class='public-prompt'>该预览为仿真效果图,具体请以实物为准</view>
- <view class='footer f-box'>
- <view class="f-box f-align-items-center f-justify-content-center footer-icon">
- <block>
- <icon class='f-box' type="clear" />
- </block>
- </view>
- <view class='f-item footer-add-btn' bindtap='addFont'>添加文字</view>
- <view class="f-box f-align-items-center footer-icon f-justify-content-center">
- <block>
- <icon class='f-box' type="success" />
- </block>
- </view>
- </view>
- <!-- 文字层 -->
- <view class='font-ceng' wx:if="{{addFontStatic}}">
- <view class="f-box f-justify-content-between">
- <view class='font-cancel f-s32 c-white mar-l20 mar-t20' bindtap='fontCancel'>取消</view>
- <view class='font-confirm f-s32 c-white mar-r20 mar-t20' bindtap='fontConfirm'>完成</view>
- </view>
- <view class='c-white f-box f-justify-content-center f-s26'>仅支持手机自带字体样式</view>
- <view class="input-box">
- <input placeholder-style="color:#fff" style='color:{{isColor}}' placeholder="可编辑文字" bindinput="bindinput" auto-focus />
- </view>
- <view class='font-color f-box f-justify-content-around'>
- <view wx:for="{{fontColor}}" class='{{isColor === item ? "isColor" : ""}}' data-color="{{item}}" bindtap='selectColor'>
- <view style='background:{{item}}' class='font-item'></view>
- </view>
- </view>
- </view>
|