log.wxml 1.08 KB
<view class="layout">
  <navigation-bar showBack navStyle="background-color: transparent;">
    生意助手更新记录
  </navigation-bar>
  <view class="bg">
    <glsx-image custom-class='bgimg' webp src="personal/log-bg.png"></glsx-image>
  </view>
  <view class="log-box">
    <view class="title">{{logData.title}}</view>
    <view class="sub-title">
      {{logData.subtitle}}
    </view>
    <view class="date">{{logData.date}}</view>
    <block wx:for="{{logData.logList}}" wx:key="index">
      <view class="log-item">
        <view class="log-title text-center">
          <view class="text">{{item.title}}</view>
        </view>
        <block wx:for="{{item.data}}" wx:key="ind" wx:for-item="i" wx:for-index="ind">
          <view class="log-content">
            <block wx:if="{{i.type == 'text'}}">
              {{i.content}}
            </block>
            <block wx:else>
             <view class="img">
              <image webp src="{{i.content}}" mode="widthFix" />
             </view>
            </block>
          </view>
        </block>
      </view>
    </block>
  </view>
</view>