78 lines
2.2 KiB
Plaintext
78 lines
2.2 KiB
Plaintext
<view class="feedback-container">
|
|
<!-- 标题区域 -->
|
|
<view class="page-title">意见反馈</view>
|
|
<view class="page-subtitle">请告诉我们您的想法,帮助我们做得更好</view>
|
|
|
|
<!-- 反馈类型选择 -->
|
|
<view class="section">
|
|
<view class="section-title">反馈类型</view>
|
|
<view class="type-options">
|
|
<view
|
|
class="type-item {{selectedType === 'suggestion' ? 'selected' : ''}}"
|
|
bindtap="selectType"
|
|
data-type="suggestion"
|
|
>
|
|
<text>功能建议</text>
|
|
</view>
|
|
<view
|
|
class="type-item {{selectedType === 'bug' ? 'selected' : ''}}"
|
|
bindtap="selectType"
|
|
data-type="bug"
|
|
>
|
|
<text>问题反馈</text>
|
|
</view>
|
|
<view
|
|
class="type-item {{selectedType === 'complaint' ? 'selected' : ''}}"
|
|
bindtap="selectType"
|
|
data-type="complaint"
|
|
>
|
|
<text>投诉举报</text>
|
|
</view>
|
|
<view
|
|
class="type-item {{selectedType === 'other' ? 'selected' : ''}}"
|
|
bindtap="selectType"
|
|
data-type="other"
|
|
>
|
|
<text>其他</text>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
|
|
<!-- 反馈内容 -->
|
|
<view class="section">
|
|
<view class="section-title">反馈内容</view>
|
|
<textarea
|
|
class="feedback-content"
|
|
placeholder="请详细描述您的想法或遇到的问题..."
|
|
value="{{feedbackContent}}"
|
|
bindinput="onContentChange"
|
|
maxlength="500"
|
|
auto-height
|
|
></textarea>
|
|
<view class="content-count">{{contentLength}}/500</view>
|
|
</view>
|
|
|
|
<!-- 联系方式 -->
|
|
<view class="section">
|
|
<view class="section-title">联系方式(选填)</view>
|
|
<input
|
|
class="contact-input"
|
|
placeholder="请输入您的手机号或邮箱,方便我们回复您"
|
|
value="{{contactInfo}}"
|
|
bindinput="onContactChange"
|
|
></input>
|
|
</view>
|
|
|
|
<!-- 提交按钮 -->
|
|
<button
|
|
class="submit-btn {{canSubmit ? 'active' : ''}}"
|
|
bindtap="submitFeedback"
|
|
disabled="{{!canSubmit}}"
|
|
>
|
|
提交反馈
|
|
</button>
|
|
|
|
<!-- 提示信息 -->
|
|
<view class="hint-text">我们会认真对待每一条反馈,感谢您的支持!</view>
|
|
</view>
|
|
|