小程序链接助手

appletEdit.wxml 1.2KB

12345678910111213141516171819202122232425262728293031323334
  1. <!--pages/appletEdit/appletEdit.wxml-->
  2. <view class="setting">
  3. <image wx:if="{{!b64}}" class="base" mode="widthFix" src='{{imgUrl}}'></image>
  4. <image class="base" mode="widthFix" style="width:100%" wx:if="{{b64}}" src='{{b64}}'></image>
  5. <view class="box">
  6. <view class="change" bindtap='fetch'>更换主图</view>
  7. <canvas canvas-id='myCanvas' style="width:{{canvasWidth}}px;height:{{canvasHeight}}px"></canvas>
  8. </view>
  9. <view>
  10. <view class="item">
  11. <text class="title">路径</text>
  12. <view class="info">
  13. <input type="text" bindinput="getKeyword" value="{{path}}" placeholder="pages/index/index" placeholder-class="default"/>
  14. </view>
  15. </view>
  16. <view class="item">
  17. <text class="title">引导词</text>
  18. <view class="info" bindtap="toWord" data-type="0">
  19. {{word}}
  20. <image src="../../assets/img/right_jt.png"></image>
  21. </view>
  22. </view>
  23. <view class="item">
  24. <text class="title">作者名字</text>
  25. <view class="info" bindtap="toWord" data-type="1">
  26. {{author}}
  27. <image src="../../assets/img/right_jt.png"></image>
  28. </view>
  29. </view>
  30. <view class="start" bindtap="toStatus">开始转链</view>
  31. </view>
  32. </view>