madeFont.wxml 1.9 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243
  1. <!--pages/customized/made/madeFont/madeFont.wxml-->
  2. <view class='made-content'>
  3. <!-- <canvas canvas-id='madeContent' class='made-content'></canvas> -->
  4. <view class='made-img-box'>
  5. <image src='{{obverseImgObject[isActive]}}'></image>
  6. <made-solid prop-position="{{dataPositionObj}}" prop-size="{{propSize}}">
  7. <view class='f-box f-align-items-center f-justify-content-center made-prompt' style='color:{{fontColor}};font-size:{{fontSize}}'>{{fontContent}}</view>
  8. </made-solid>
  9. </view>
  10. </view>
  11. <view class='public-prompt'>该预览为仿真效果图,具体请以实物为准</view>
  12. <view class='footer f-box'>
  13. <view class="f-box f-align-items-center f-justify-content-center footer-icon">
  14. <block>
  15. <icon class='f-box' type="clear" />
  16. </block>
  17. </view>
  18. <view class='f-item footer-add-btn' bindtap='addFont'>添加文字</view>
  19. <view class="f-box f-align-items-center footer-icon f-justify-content-center">
  20. <block>
  21. <icon class='f-box' type="success" />
  22. </block>
  23. </view>
  24. </view>
  25. <!-- 文字层 -->
  26. <view class='font-ceng' wx:if="{{addFontStatic}}">
  27. <view class="f-box f-justify-content-between">
  28. <view class='font-cancel f-s32 c-white mar-l20 mar-t20' bindtap='fontCancel'>取消</view>
  29. <view class='font-confirm f-s32 c-white mar-r20 mar-t20' bindtap='fontConfirm'>完成</view>
  30. </view>
  31. <view class='c-white f-box f-justify-content-center f-s26'>仅支持手机自带字体样式</view>
  32. <view class="input-box">
  33. <input placeholder-style="color:#fff" style='color:{{isColor}}' placeholder="可编辑文字" bindinput="bindinput" auto-focus />
  34. </view>
  35. <view class='font-color f-box f-justify-content-around'>
  36. <view wx:for="{{fontColor}}" class='{{isColor === item ? "isColor" : ""}}' data-color="{{item}}" bindtap='selectColor'>
  37. <view style='background:{{item}}' class='font-item'></view>
  38. </view>
  39. </view>
  40. </view>