Initial Commit
This commit is contained in:
commit
1d71a02738
237 changed files with 64293 additions and 0 deletions
56
pages/settings/feedback/feedback.wxml
Normal file
56
pages/settings/feedback/feedback.wxml
Normal file
|
|
@ -0,0 +1,56 @@
|
|||
<!-- 反馈页面 -->
|
||||
<view class="container">
|
||||
<!-- 顶部导航栏 - 使用动态高度 -->
|
||||
<view class="navbar" style="height: {{navbarHeight}}px; padding-top: {{statusBarHeight}}px;">
|
||||
<view class="back-btn" bindtap="navigateBack" style="height: {{menuButtonInfo.height}}px; line-height: {{menuButtonInfo.height}}px;">
|
||||
<text class="icon">↩</text>
|
||||
</view>
|
||||
<view class="title" style="line-height: {{menuButtonInfo.height}}px;">意见反馈</view>
|
||||
<view class="back-btn" style="line-height: {{menuButtonInfo.height}}px;"></view>
|
||||
</view>
|
||||
|
||||
<!-- 主内容区 - 根据导航栏总高度调整顶部距离 -->
|
||||
<view class="content" style="padding-top: {{navbarHeight + statusBarHeight}}px;">
|
||||
<!-- 反馈表单 -->
|
||||
<view class="form-section">
|
||||
<view class="form-item">
|
||||
<text class="label">反馈类型</text>
|
||||
<picker mode="selector" range="{{feedbackTypes}}" value="{{selectedType}}" bindchange="onTypeChange">
|
||||
<view class="picker-view">
|
||||
{{feedbackTypes[selectedType] || '请选择反馈类型'}}
|
||||
</view>
|
||||
</picker>
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<text class="label">反馈内容</text>
|
||||
<textarea
|
||||
placeholder="请输入您的反馈内容..."
|
||||
value="{{content}}"
|
||||
bindinput="onContentChange"
|
||||
class="textarea"
|
||||
></textarea>
|
||||
</view>
|
||||
|
||||
<view class="form-item">
|
||||
<text class="label">联系方式</text>
|
||||
<input
|
||||
placeholder="请输入您的联系方式(选填)"
|
||||
value="{{contact}}"
|
||||
bindinput="onContactChange"
|
||||
class="input"
|
||||
></input>
|
||||
</view>
|
||||
|
||||
<!-- 提交按钮 -->
|
||||
<view class="submit-container">
|
||||
<view class="submit-button gradient" bindtap="submitFeedback" wx:if="{{!isSubmitting}}">
|
||||
<text class="submit-text">提交</text>
|
||||
</view>
|
||||
<view class="submit-button submitting" wx:else>
|
||||
<text class="submit-text">提交中...</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
Loading…
Add table
Add a link
Reference in a new issue