feat(helpCenter): 帮助中心列表接入内容接口、问题详情页富文本渲染
This commit is contained in:
@@ -5,18 +5,22 @@
|
||||
</view>
|
||||
|
||||
<view class="tabs">
|
||||
<block wx:for="{{ tabs }}" wx:key="name">
|
||||
<view class="tab {{ item.active ? 'tab--active' : '' }}" bind:tap="onTapTab" data-index="{{ index }}">{{ item.name }}</view>
|
||||
</block>
|
||||
<scroll-view class="scrollView" scroll-x>
|
||||
<block wx:for="{{ tabs }}" wx:key="name">
|
||||
<view class="tab {{ item.active ? 'tab--active' : '' }}" bind:tap="onTapTab" data-index="{{ index }}">{{ item.name }}</view>
|
||||
</block>
|
||||
</scroll-view>
|
||||
</view>
|
||||
|
||||
<view class="list">
|
||||
<block wx:for="{{ questions }}" wx:key="id">
|
||||
<view class="question" bind:tap="onTapQuestion" data-title="{{ item.title }}">
|
||||
<view class="dot"></view>
|
||||
<view class="question-title">{{ item.title }}</view>
|
||||
<view class="arrow"></view>
|
||||
</view>
|
||||
</block>
|
||||
<scroll-view class="scrollView" scroll-y>
|
||||
<block wx:for="{{ questions }}" wx:key="id">
|
||||
<view class="question" bind:tap="onTapQuestion" data-id="{{ item.id }}" data-title="{{ item.title }}">
|
||||
<view class="dot"></view>
|
||||
<view class="question-title">{{ item.title }}</view>
|
||||
<view class="arrow"></view>
|
||||
</view>
|
||||
</block>
|
||||
</scroll-view>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
Reference in New Issue
Block a user