公寓小程序端前端代码
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

54 lines
3.2 KiB

<!--subpages/mine/evaluate/evaluate.wxml-->
<view class="flex bg-white p-24">
<image src="{{info.coverImg}}" mode="" class=" mr-10" style="width: 200rpx;height: 152rpx;"/>
<view class="flex flex-col flex-1">
<view class="font-bold">
{{info.apartmentName}}
</view>
<view>{{info.buildingName}}-{{info.unitName}}-{{info.houseName}}-{{info.roomType}}</view>
<view class="text-26 mt-24" style="color:#ee962c;">{{info.houseTypeName}}</view>
</view>
</view>
<view class="card" style="width: calc(100vw - 40rpx);margin:14rpx auto 0;">
<view class="title">
满意度评价
</view>
<view class="flex flex-sb">
<view class="labe">总体评价</view>
<view class="flex flex-1 flex-x-end items-center">
<view class="gray text-28">{{satisfiedZt === 0 ?'':satisfiedZt <= 2 ? '不满意' : (satisfiedZt <= 4 ? '基本满意' : (satisfiedZt === 5 ? '非常满意' : ''))}}</view>
<van-rate model:value="{{ satisfiedZt }}" size="{{ 25 }}" color="#13c2c2" void-icon="star" void-color="#eee" />
</view>
</view>
<view class="flex flex-sb">
<view class="labe">环境方面</view>
<view class="flex flex-1 flex-x-end items-center">
<view class="gray text-28">{{satisfiedHj === 0?'':satisfiedHj <= 2? '不满意' : (satisfiedHj <= 4 ? '基本满意' : (satisfiedHj === 5 ? '非常满意' : ''))}}</view>
<van-rate model:value="{{ satisfiedHj }}" size="{{ 25 }}" color="#13c2c2" void-icon="star" void-color="#eee" />
</view>
</view>
<view class="flex flex-sb">
<view class="labe">服务方面</view>
<view class="flex flex-1 flex-x-end items-center">
<view class="gray text-28">{{satisfiedFw === 0?'':satisfiedFw <= 2? '不满意' : (satisfiedFw <= 4 ? '基本满意' : (satisfiedFw === 5 ? '非常满意' : ''))}}</view>
<van-rate model:value="{{ satisfiedFw }}" size="{{ 25 }}" color="#13c2c2" void-icon="star" void-color="#eee" />
</view>
</view>
<view class="flex flex-sb">
<view class="labe">体验方面</view>
<view class="flex flex-1 flex-x-end items-center">
<view class="gray text-28">{{satisfiedTy === 0?'':satisfiedTy <= 2? '不满意' : (satisfiedTy <= 4 ? '基本满意' : (satisfiedTy === 5 ? '非常满意' : ''))}}</view>
<van-rate model:value="{{ satisfiedTy }}" size="{{ 25 }}" color="#13c2c2" void-icon="star" void-color="#eee" />
</view>
</view>
<textarea class="question-input" placeholder="请输入内容" value="{{evaluateContent}}" maxlength="" bind:input="handelChangTextarea"/>
<view class="mt-40">
<van-uploader file-list="{{ fileList }}" bind:after-read="afterRead" bind:before-read="beforeRead" bind:delete="deleteData" max-count="3" />
</view>
</view>
<view class="flex flex-sb items-center" style="width: calc(100vw - 40rpx);margin:14rpx auto 0;">
<view>匿名</view>
<van-switch checked="{{ releaseMethod }}" bind:change="onChangeSwitch" active-color="#13c2c2"
inactive-color="#e2e2e3" size="32rpx" active-value="{{1}}" inactive-value="{{0}}" />
</view>
<view class="bsBtn" bindtap="onButtonTap">提交</view>