新增常见问题,,调整网页地址

This commit is contained in:
2024-07-22 16:08:46 +08:00
parent 00384d7382
commit 526e775cd8
7 changed files with 41 additions and 33 deletions

View File

@@ -2,11 +2,9 @@
<scrollPageWrapper>
<navigator title="常见问题" canBack="{{true}}" />
<view class="content">
<scroll-view type="list" scroll-y style="display: flex; flex-direction: column; flex: 1; width: 100%; overflow: auto;">
<view wx:for="{{questions}}" list-item>
<view class="question"> {{ item.question }} </view>
<view class="answer"> {{ item.answer }} </view>
</view>
</scroll-view>
<view wx:for="{{questions}}" list-item>
<view class="question"> {{index + 1}}、 {{ item.name }} </view>
<view class="answer"> {{ item.content }} </view>
</view>
</view>
</scrollPageWrapper>