index.wxml 4.1 KB

1
  1. <view class="{{[$root.g0.tmVuetify.black?'black':' ']}}" style="{{'min-height:'+(sys.windowHeight+'px')+';'}}"><tm-menubars vue-id="1ca6ad1c-1" title="我的评价" shadow="{{0}}" showback="{{true}}" bind:__l="__l"></tm-menubars><view class="zhuti _div"><tm-sheet class="kuang" style="padding-bottom:70px !important;" vue-id="1ca6ad1c-2" bind:__l="__l" vue-slots="{{['default']}}"><view style="width:94%;margin:0 auto;"><tm-cart-cell-list-food class="shangpin" vue-id="{{('1ca6ad1c-3')+','+('1ca6ad1c-2')}}" typeclick="{{typeclick}}" mdata="{{item}}" cart-num="{{item.buy}}" data-event-opts="{{[['^updateCartNum',[['__set_sync',['$0','buy','$event'],['item']]]],['^updateCartNum',[['__set_sync',['$0','buy','$event'],['item']]]]]}}" bind:updateCartNum="__e" bind:__l="__l"></tm-cart-cell-list-food><view class="tiyan"><text class="text-white mr-20">产品体验</text><tm-rate bind:input="__e" vue-id="{{('1ca6ad1c-4')+','+('1ca6ad1c-2')}}" value="{{rate1}}" data-event-opts="{{[['^input',[['__set_model',['','rate1','$event',[]]]]]]}}" bind:__l="__l"></tm-rate><block wx:if="{{rate1==5}}"><text class="ml-20 text-size-s">非常满意</text></block><block wx:if="{{rate1<=4&&rate1>3}}"><text class="ml-20 text-size-s">比较满意</text></block><block wx:if="{{rate1<=3&&rate1>0}}"><text class="ml-20 text-size-s">一般满意</text></block></view><view class="tiyan"><text class="text-white mr-20">派送评价</text><tm-rate bind:input="__e" vue-id="{{('1ca6ad1c-5')+','+('1ca6ad1c-2')}}" value="{{rate2}}" data-event-opts="{{[['^input',[['__set_model',['','rate2','$event',[]]]]]]}}" bind:__l="__l"></tm-rate><block wx:if="{{rate2==5}}"><text class="ml-20 text-size-s">非常满意</text></block><block wx:if="{{rate2<=4&&rate2>3}}"><text class="ml-20 text-size-s">比较满意</text></block><block wx:if="{{rate2<=3&&rate2>0}}"><text class="ml-20 text-size-s">一般满意</text></block></view><view class="tiyan"><text class="text-white mr-20">服务态度</text><tm-rate bind:input="__e" vue-id="{{('1ca6ad1c-6')+','+('1ca6ad1c-2')}}" value="{{rate3}}" data-event-opts="{{[['^input',[['__set_model',['','rate3','$event',[]]]]]]}}" bind:__l="__l"></tm-rate><block wx:if="{{rate3==5}}"><text class="ml-20 text-size-s">非常满意</text></block><block wx:if="{{rate3<=4&&rate3>3}}"><text class="ml-20 text-size-s">比较满意</text></block><block wx:if="{{rate3<=3&&rate3>0}}"><text class="ml-20 text-size-s">一般满意</text></block></view><tm-input bind:input="__e" class="shuru" vue-id="{{('1ca6ad1c-7')+','+('1ca6ad1c-2')}}" height="{{150}}" title maxlength="{{144}}" border-bottom="{{false}}" placeholder="快来发表评论吧!" input-type="textarea" bg-color="grey-lighten-5" clear="{{true}}" value="{{val_1}}" data-event-opts="{{[['^input',[['__set_model',['','val_1','$event',[]]]]]]}}" bind:__l="__l"></tm-input><view class="mt-30"><view><view class="cent-bottom-m"><view class="uploadImg"><block wx:for="{{fileList}}" wx:for-item="el" wx:for-index="index" wx:key="index"><view><view class="uploadImg-image"><image style="width:100%;height:100%;border-radius:4px;" src="{{imgUrl+el}}" mode="aspectFill" data-event-opts="{{[['tap',[['checkImgbox',['$0',index],['fileList']]]]]}}" bindtap="__e"></image><view data-event-opts="{{[['tap',[['popImg',[index]]]]]}}" class="jian" bindtap="__e"><tm-button class="shanchu" vue-id="{{('1ca6ad1c-8-'+index)+','+('1ca6ad1c-2')}}" theme="white" size="s" icon="icon-times" bind:__l="__l"></tm-button></view></view></view></block><block wx:if="{{uploadFlag}}"><view data-event-opts="{{[['tap',[['openImagePage',['$event']]]]]}}" class="jia-btn" bindtap="__e"><view class="jia"><view><tm-button vue-id="{{('1ca6ad1c-9')+','+('1ca6ad1c-2')}}" theme="white" size="m" icon="icon-plus" bind:__l="__l"></tm-button></view><view style="font-size:12px;">上传图片</view></view></view></block></view></view></view></view><tm-button class="sao" vue-id="{{('1ca6ad1c-10')+','+('1ca6ad1c-2')}}" round="{{24}}" block="{{true}}" data-event-opts="{{[['^click',[['submit']]]]}}" bind:click="__e" bind:__l="__l" vue-slots="{{['default']}}">提交</tm-button></view></tm-sheet></view><tm-message class="vue-ref" vue-id="1ca6ad1c-11" data-ref="toast" bind:__l="__l"></tm-message></view>