You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

55 lines
2.3 KiB

  1. <!--components/memory/memory.wxml-->
  2. <!--与list中的问题是一样的,这里的加号应该也有之前的疑问-->
  3. <view style="display: flex;">
  4. <image class="navi" src="/asset/img/navi.png" bindtap="onRet"></image>
  5. <view style="padding: 0;margin: 0;width: 1px;height:700px;background-color: #7B8B6F;"></view>
  6. <view style="display: block">
  7. <view class="title">Memos</view>
  8. <view class="share" style="display:flex;">
  9. <image class="display" src="{{icon[flag1]}}" bindtap="hit"></image>
  10. <text decode="true">&nbsp;&nbsp;共享备忘</text>
  11. </view>
  12. <view style="display: {{display1}};">
  13. <view class="card" style="display:block;">
  14. <view style="display:flex;">
  15. <image class="display" src="{{icon[flag3]}}" bindtap="hitc"></image>
  16. <text decode="true">&nbsp;&nbsp;景点相关</text><!--要更改的地方,需要把这里也变成for循环来渲染-->
  17. </view>
  18. <view class="content" style="display: {{display3}};">
  19. <view wx:for="{{pubScenic}}" wx:for-item="item">
  20. <view style="display: flex;padding-bottom:10px;">
  21. <image class="li" src="/asset/img/icon-li.png"></image>
  22. <input type="text" style="width: 25vw; text-align: center;" placeholder="..."/>
  23. <switch style="padding-left: 30px;height: 15px;" color="#D8CAAF"></switch>
  24. <image src="{{star[st]}}" class="star" bindtap="emphasize"></image>
  25. </view>
  26. </view>
  27. <button class="add" bindtap="addPub">+</button>
  28. </view>
  29. </view>
  30. <button class="add" bindtap="addPub">+</button><!--要更改的地方-->
  31. </view>
  32. <!--下面这里也需要用两个for循环来渲染-->
  33. <view class="share" style="display:flex;">
  34. <image class="display" src="{{icon[flag2]}}" bindtap="hit2"></image>
  35. <text decode="true">&nbsp;&nbsp;私有备忘</text>
  36. </view>
  37. <view style="display: {{display2}};">
  38. <button class="add" bindtap="addPrivate">+</button>
  39. </view>
  40. </view>
  41. </view>