index.wxml 2.1 KB

1
  1. <view class="complaint-root data-v-6497fc4f"><view class="custom-navbar data-v-6497fc4f" style="{{'padding-top:' + b}}"><view class="nav-content data-v-6497fc4f"><view class="back-area data-v-6497fc4f" bindtap="{{a}}"><view class="back-arrow data-v-6497fc4f"></view></view><view class="nav-title data-v-6497fc4f">投诉与建议</view><view class="right-placeholder data-v-6497fc4f"></view></view></view><view class="scroll-container data-v-6497fc4f"><scroll-view scroll-y class="scroll-content data-v-6497fc4f" show-scrollbar="{{false}}"><view class="form-body data-v-6497fc4f"><view class="section-card data-v-6497fc4f"><view class="section-title data-v-6497fc4f">反馈类型</view><view class="type-grid data-v-6497fc4f"><view wx:for="{{c}}" wx:for-item="item" wx:key="b" class="{{['type-item', 'data-v-6497fc4f', item.c && 'active']}}" bindtap="{{item.d}}"><text class="data-v-6497fc4f">{{item.a}}</text></view></view></view><view class="section-card data-v-6497fc4f"><view class="section-title data-v-6497fc4f">反馈内容</view><block wx:if="{{r0}}"><textarea class="content-input data-v-6497fc4f" placeholder="请详细描述您遇到的问题或改进建议..." maxlength="500" value="{{d}}" bindinput="{{e}}"></textarea></block><view class="word-count data-v-6497fc4f">{{f}}/500</view></view><view class="section-card data-v-6497fc4f"><view class="section-title data-v-6497fc4f">上传图片 (最多6张)</view><view class="upload-grid data-v-6497fc4f"><view wx:for="{{g}}" wx:for-item="img" wx:key="d" class="img-item data-v-6497fc4f"><image class="data-v-6497fc4f" src="{{img.a}}" mode="aspectFill" bindtap="{{img.b}}"></image><view class="del-btn data-v-6497fc4f" catchtap="{{img.c}}"><view class="close-icon data-v-6497fc4f">×</view></view></view><view wx:if="{{h}}" class="add-btn data-v-6497fc4f" bindtap="{{i}}"><text class="add-icon data-v-6497fc4f">+</text><text class="add-txt data-v-6497fc4f">添加图片</text></view></view></view></view><view class="bottom-placeholder data-v-6497fc4f"></view></scroll-view></view><view class="footer-bar data-v-6497fc4f"><button class="submit-btn data-v-6497fc4f" disabled="{{j}}" bindtap="{{k}}">提交反馈</button></view></view>