<view class="container">
    <view class="goods-mes pd-bg-fff">
        <view class="goods-img">
            <image class="wh100" src="{{resourceUrl+order.original_img}}" 
                 data-errorimg="order.original_img" lazy-load="true"
                 binderror="bind_bnerr"></image>
        </view>
        <view class="goods-des">
            <view class="goods-name ellipsis-1">{{order.goods_name}}</view>
            <view class="goods-package">
                <view class="goods-price">价格:￥{{order.goods_price}}</view>
                <view class="goods-num">数量:×{{order.goods_num}}</view>
            </view>
        </view>
    </view>
    <view class="service pd-bg-fff">
        <view class="service-title">服务类型</view>
        <view class="chcek-btns">
            <view bindtap="selectServiceType" class="{{index==typeBtnIndex?'checkedBtn':''}}" data-i="{{index}}" wx:for="{{checkBtns}}" wx:key="{{index}}">{{item}}</view>
        </view>
    </view>
    <view class="apply-num">
        <view class="apply-title">退款金额</view>
        <view class="cred">
           ￥{{order.goods_price*order.goods_num}}
        </view>
    </view> 
    <view class="cause">
        <view class="cause-title">提交原因</view>
        <view bindtap="openPop" class="cause-cont">{{causeCont}}</view>
    </view>
    <view hidden="{{popState}}">
        <view bindtap="closePop" class="cover-layer"></view>
        <view class="cause-pop">
            <view class="pop-title">提交原因</view>
            <view bindtap="closePop" class="close-btn">×</view>
            <view class="cause-list">
                <view bindtap="selectCause" class="cause-item" data-i="{{index}}" wx:for="{{causeList}}" wx:key="{{index}}">
                    <icon color="{{checkCauseIndex==index?'red':'gray'}}" size="20" type="success"></icon>{{item}}
                </view>
            </view>
        </view>
    </view>
    <!-- <view class="receiving-wrap">
        <view class="receiving-title">货物状态</view>
        <view class="receiving-status">
            <view bindtap="selectGoodsStatus" class="receiving" data-status="{{false}}">
                <icon color="{{isReceive?'gray':'red'}}" size="20" type="success"></icon>
                未收到货
            </view>
            <view bindtap="selectGoodsStatus" class="receiving" data-status="{{true}}">
                <icon color="{{isReceive?'red':'gray'}}" size="20" type="success"></icon>
                已收到货
            </view>
        </view>
    </view> -->
    <view class="evaluation">
        <view class="evaluation-title">问题描述</view>
        <textarea bindinput="InputDescription" class="word-box" hidden="{{!popState}}" maxlength="500" placeholder="请你在此描述详细问题"></textarea>
        <view class="words-num">{{500-maxWord}}/500</view>
    </view>

    <!-----上传图片的功能取消------->
    <!-- <view class="upload-img">
        <view class="upload-title">上传照片</view>
        <view class="pic-list">
            <view class="share-pic" wx:for="{{5}}" wx:key="{{index}}">
                <image bindlongtap="removePhoto" bindtap="selectPhotos" class="wh100" data-idx="{{index}}" src="{{filePaths[index]?filePaths[index]:defaultPhoto}}"></image>
            </view>
        </view>
        <view class="upload-tips">为帮助我们更好的解决问题，请上传照片。最多5张，每张不超过5M，支持JPG、BMP、PNG</view>
    </view> -->
    <view class="contact pd-bg-fff">
        <view class="address">寄回地址:{{config.address}}</view>
        <view class="work-time">上班时间:（周一至周五）08:00-19:00</view>
        <view class="tel">客服电话:{{config.phone}}</view>
    </view>
    <view class="btn-wrap">
        <view bindtap="submiApply" class="submit-btn">提 交</view>
    </view>
</view>
