index.wxml 1.8 KB

1234567891011121314151617181920212223242526272829
  1. <view wx:if="{{recorded.length}}" class="grld">
  2. <view class="group">
  3. <view class="label"><text class="work work-zuijinshiyong" />最近使用</view>
  4. <view class="main">
  5. <navigator version='trial' class="item" target='{{it.appid!=appid?"miniProgram":"self"}}' app-id='{{it.appid}}' path="{{it.path+'?auth='+auth+'&userMsg='+userMsg+'&site='+site}}" wx:for="{{recorded}}" wx:for-item="it" wx:for-index="i" url="{{it.path}}" open-type="{{it.openType||'navigate'}}" wx:key="name" data-item="{{it}}">
  6. <view class="icon-box" style="background-color: {{it.bColor}};">
  7. <text class="work {{it.icon}}" style="color: {{it.color}};" />
  8. </view>
  9. <view class="name line-1">{{it.name}}</view>
  10. </navigator>
  11. </view>
  12. </view>
  13. </view>
  14. <view class="grld">
  15. <block wx:for="{{entrance}}" wx:key="index">
  16. <view class="group" wx:if="{{item.list.length}}">
  17. <view class="label"><text class="work {{item.icon}}" />{{item.label}}</view>
  18. <view class="main">
  19. <navigator version='trial' class="item" wx:for="{{item.list}}" wx:for-item="it" wx:for-index="i" target='{{item.appid!=appid?"miniProgram":"self"}}' app-id='{{item.appid}}' path="{{it.path+'?auth='+auth+'&userMsg='+userMsg+'&site='+site}}" url="{{it.path}}" open-type="{{it.openType||'navigate'}}" wx:key="name" data-it="{{it}}" data-item="{{item}}" bindtap="openRecord">
  20. <view class="icon-box" style="background-color: {{it.bColor}};">
  21. <text class="work {{it.icon}}" style="color: {{it.color}};" />
  22. </view>
  23. <view class="name">{{it.name}}</view>
  24. </navigator>
  25. </view>
  26. </view>
  27. </block>
  28. </view>
  29. <view style="height: 140rpx;" />