Commit 26792a6525778634fb51443693e18d1b8a80d1c4

Authored by vking
1 parent 560b6e02

taocan-share-pinglun

... ... @@ -179,13 +179,16 @@ Page({
}
})
if(eval_label.length<1) return util.toast('请选择标签','none')
this.submitIng=true
let enclosure=[];
this.data.files.some(attr=>{
if(attr.remote){
enclosure.push(attr.remote)
}else{
util.toast('请等待上传完成','none')
throw new Error('请等待上传完成')
}
})
this.submitIng=true
let params={
sid:this.options.sid,
rid:this.options.oid,
... ...
... ... @@ -21,14 +21,13 @@
</view>
</view>
<textarea
class="margin-top-lg" style="height: 294rpx; font-size: 30rpx;line-height: 42rpx;"
class="margin-top-lg text-df textarea"
bindinput="textareaInput"
placeholder-style="font-size: 30rpx;line-height: 42rpx;color:#999999;"
placeholder="从包间环境、菜品口味、服务来评价餐厅,可以帮助更多想要订这家餐厅的人哦~"></textarea>
</view>
<scroll-view class="view"
scroll-into-view="{{scrollIntoView}}"
scroll-x="true" style="height: 192rpx;width: 100%;white-space: nowrap;">
scroll-x="true" style="height: 100%;width: 100%;white-space: nowrap;">
<block wx:for="{{files}}" wx:key="fileskey">
<qnupload qnConf="{{qnConf}}" upConf="{{upConf}}"
file="{{item}}" files="{{files}}"
... ...
... ... @@ -3,7 +3,7 @@
.qnupload{
display: inline-block;
margin-right: 20rpx;
padding-top: 12rpx;
padding-top: 32rpx;
}
.scroll-block{
width: 180rpx;
... ... @@ -42,6 +42,15 @@
background-image: url("http://nosqn.colorcun.com/pinglun/p%20%286%29.png");
background-size: 100% 100%;
}
.image-delete:after{
display: block;
content: "";
position: absolute;
top:-22rpx;
right: -12rpx;
width: 80rpx;
height: 80rpx;
}
.submit{
position: fixed;
width: calc(100% - 80rpx);
... ... @@ -73,4 +82,17 @@
height: 60rpx;
top:calc(50% - 30rpx);
left:calc(50% - 30rpx);
}
.textarea{
height: 252rpx;
font-size: 30rpx;
line-height: 42rpx;
margin-bottom:20rpx;
}
.textarea-placeholder{
font-size: 30rpx;
font-family: PingFangSC-Regular, PingFang SC;
font-weight: 400;
color: #999999!important;
line-height: 42rpx;
}
\ No newline at end of file
... ...
... ... @@ -5,7 +5,7 @@
<view class="view flex flex-wrap margin-lr-lg margin-top-lg" wx:if="{{commentLabel.length>0}}">
<block wx:for="{{commentLabel}}" wx:key="commentLabel">
<view bindtap="commentLabelTap" data-val="{{item.name}}"
class="view commentLabel padding-lr-sm margin-bottom-sm {{commentLabelActive==item.name?'active':''}}">{{item.name}}</view>
class="view commentLabel padding-lr-sm margin-bottom-sm margin-right-sm {{commentLabelActive==item.name?'active':''}}">{{item.name}}</view>
</block>
</view>
<view class="view" wx:for="{{posts}}" wx:key="posts">
... ...
... ... @@ -209,7 +209,7 @@
<view class="view padding-bottom-xl">
<view class="view flex flex-wrap" wx:if="{{commentLabel.length>0}}">
<block wx:for="{{commentLabel}}" wx:key="commentLabel">
<view class="view commentLabel padding-lr-sm margin-bottom-sm">{{item.name}}</view>
<view class="view commentLabel padding-lr-sm margin-bottom-sm margin-right-sm">{{item.name}}</view>
</block>
</view>
<view class="margin-top-lg">
... ...