| 1234567891011121314151617181920212223242526272829303132 |
- <!--module/health/pages/scheme/scheme.wxml-->
- <t-navbar title="调理方案" left-arrow />
- <scroll-view class="page-scroll__container" type="list" scroll-y style="{{containerStyle}}">
- <view class="card-wrapper">
- <t-cell t-class="card-header" bordered="{{false}}">
- <view slot="title">方案日期:{{dataset.reportTime}}</view>
- <form-button slot="right-icon" index="1" bind:tap="toReportPage">健康分析报告</form-button>
- </t-cell>
- </view>
- <view class="card-wrapper" wx:for="{{dataset.types}}" wx:key="*this">
- <t-cell wx:if="{{item.type}}" t-class="card-header cell-border-gradient" title="{{item.type}}" />
- <view class="card-body">
- <view class="scheme-wrapper" wx:for="{{item.groups}}" wx:key="*this">
- <view class="name">{{item.name}}</view>
- <view class="media-container">
- <view class="media" wx:for="{{item.media}}" wx:key="*this">
- <view class="name">{{item.name}}</view>
- <image wx:if="{{item.type==='picture'}}" src="{{item.mediaUrl}}" mode="aspectFit"></image>
- <video wx:elif="{{item.type==='video'}}" src="{{item.mediaUrl}}" poster="{{item.imgUrl}}"></video>
- <view class="description">{{item.description}}</view>
- </view>
- </view>
- <view class="description" wx:for="{{item.descriptions}}" wx:key="*this">{{item}}</view>
- </view>
- </view>
- </view>
- </scroll-view>
- <t-message id="{{$messageId}}"></t-message>
|