<van-sticky>
    <header class="header_custom">
        <view slot="content" class="header-title flex_row">
            <view class="flex_row">
                <view class='goback' catchtap="goBack">
                    <van-icon name="arrow-left" size="18px"/>
                </view>
                <view class="gohome" bindtap="goHome">
                    <image src="../../static/images/home.png" />
                </view>
            </view>
            <text class="titlename">问题反馈</text>
             <text class="righttext"></text>
        </view>
    </header>
</van-sticky>
<view class="feedback_content">
    <view class="contact">
        <view class="item_title">联系我们</view>
        <view class="contact_card flex_row">
            <!-- <image src="../../static/images/service.png" wx:if="{{!houseKeeper}}"/> -->
            <view class="card_left">
                <text>您的环境管家</text>
                <view class="phone flex_row"  bindtap="makePhoneCall" data-phone="{{houseKeeper.phone}}">
                    <image src="../../static/images/phone.png" />
                    {{houseKeeper.phone}}
                </view>
                <text class="opentime">
                    服务时间：09:00 - 18:30
                </text>
            </view>
            <view class="card_right">
                <view>
                    <image src="{{imgbaseUrl}}{{houseKeeper.wechatQrCode}}" show-menu-by-longpress  wx:if="{{houseKeeper}}"/>
                </view>
            </view>
        </view>
    </view>
    <view class="item_title">
        吐槽树洞<text> 选择您要吐槽的内容：</text>
    </view>
    <view class="debunk">
        <view class="selectspace flex_row" catchtap="chooseSpace">
            <text>选择空间</text>
            <view class="flex_row" >
                {{spaceName}} <van-icon name="arrow" color="#aaacb1"/>
            </view>
        </view>
        <view class="debunk_card">
            <van-radio-group value="{{ debunkValue }}" bind:change="debunkChange"  class="flex_row rodio_box">
                <block wx:for="{{debunkList}}">
                    <van-radio name="{{item.label}}" checked-color="#04B49C" custom-class="custom-rodio">{{item.name}}</van-radio>
                </block>
            </van-radio-group>
        </view>
        <view class="addpicture">
            <view class="item_title">添加图片或视频</view>
            <view class='uploader_cell'>
                <view class='uploader_item' wx:for="{{fileList}}" wx:key="{{index}}">
                    <image  src="../../static/images/deletepic.png" class="deleteimg"  bindtap='clearImg' data-index="{{index}}"/>
                    <!-- <icon class='ui_uploader_item_icon' bindtap='clearImg' data-index="{{index}}" type="clear" size="20" color="red"/> -->
                    <image bindtap='showImg' data-index="{{index}}" src='{{item}}' class="prelook" wx:if="{{photoType=='0'}}"></image>
                    <video bindtap='showImg' data-index="{{index}}" src='{{item}}' class="prelook" wx:else />
                </view>
                <view class='uploader flex_row' bindtap='uploadVadio' wx:if="{{showUpload}}">
                    <image src="../../static/images/addpic.png" />
                </view>
            </view>
        </view>
        <view class="addpicture">
            <view class="item_title">反馈和建议</view>
            <textarea placeholder="请输入"  value="{{suggest}}" bindinput="inputChange" class="txtarea" maxlength="200" cursor-spacing="10"/>
        </view>
        <button class="submit flex_row" catchtap="submitFeed">
            提交
        </button>
    </view>
</view>
