|
@@ -12,74 +12,6 @@
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
</view>
|
|
- <view class="ndbox mb12 plr15 comment-section" style="display:none">
|
|
|
|
- <view class="pltit">评论<text>(31)</text></view>
|
|
|
|
- <!-- 评论列表 -->
|
|
|
|
- <view class="pllist flex">
|
|
|
|
- <image :src="head" class="head"></image>
|
|
|
|
- <view class="flex1 overh">
|
|
|
|
- <view class="flext mb14 ">
|
|
|
|
- <view class="plname flex1 over">床前明月光</view>
|
|
|
|
- <view class="plrbtn flexc flex0">
|
|
|
|
- <!-- <image :src="niconb" class="imga"></image> -->
|
|
|
|
- <image :src="nicond"></image>
|
|
|
|
- <view>点赞</view>
|
|
|
|
- </view>
|
|
|
|
- <view class="plrbtn flexc flex0">
|
|
|
|
- <image :src="nicone" class="imgb"></image>
|
|
|
|
- <view>回复</view>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <view class="infotxt mb15">支持!去看一下优惠政策!<view class="infotime">12-3</view></view>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <view class="pllist flex">
|
|
|
|
- <image :src="head" class="head"></image>
|
|
|
|
- <view class="flex1 overh">
|
|
|
|
- <view class="flext mb14 ">
|
|
|
|
- <view class="plname flex1 over">疑是地上霜</view>
|
|
|
|
- <view class="plrbtn flexc flex0">
|
|
|
|
- <image :src="niconb" class="imga"></image>
|
|
|
|
- <!-- <image :src="nicond"></image> -->
|
|
|
|
- <view>点赞</view>
|
|
|
|
- </view>
|
|
|
|
- <view class="plrbtn flexc flex0">
|
|
|
|
- <image :src="nicone" class="imgb"></image>
|
|
|
|
- <view>回复</view>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <view class="infotxt mb15">提前缴一年的物业费,可以免一个月吗?<view class="infotime">12-3</view></view>
|
|
|
|
- <!-- 二级回复 -->
|
|
|
|
- <view class="pllist flex">
|
|
|
|
- <image :src="head" class="head"></image>
|
|
|
|
- <view class="flex1 overh">
|
|
|
|
- <view class="flext mb14 ">
|
|
|
|
- <view class="plname flex1 over">幸福小区物业</view>
|
|
|
|
- <view class="plrbtn flexc flex0">
|
|
|
|
- <image :src="niconb" class="imga"></image>
|
|
|
|
- <!-- <image :src="nicond"></image> -->
|
|
|
|
- <view>点赞</view>
|
|
|
|
- </view>
|
|
|
|
- <view class="plrbtn flexc flex0">
|
|
|
|
- <image :src="nicone" class="imgb"></image>
|
|
|
|
- <view>回复</view>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <view class="infotxt mb15">尊敬的业主朋友,您的建议我司已收到,将在内 部讨论后于物业公告中告知结果,谢谢您的宝贵 建议!<view class="infotime">12-3</view></view>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <view style="height:100rpx"></view>
|
|
|
|
- <view class="pjfbtn">
|
|
|
|
- <view class="flexc pjfbox">
|
|
|
|
- <uni-easyinput type="textarea" autoHeight v-model="text" :inputBorder='false' placeholder="发表我的评论…" />
|
|
|
|
- <view class="btns">发送</view>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- </view>
|
|
|
|
- <!-- 评论 -->
|
|
|
|
-
|
|
|
|
<loading></loading>
|
|
<loading></loading>
|
|
</view>
|
|
</view>
|
|
</template>
|
|
</template>
|
|
@@ -153,7 +85,8 @@
|
|
calculateStayDuration() {
|
|
calculateStayDuration() {
|
|
const currentTime = Date.now();
|
|
const currentTime = Date.now();
|
|
var time=Math.floor((currentTime - this.pageLoadTime) / 1000); // 转换为秒
|
|
var time=Math.floor((currentTime - this.pageLoadTime) / 1000); // 转换为秒
|
|
- var staffTime=Math.ceil(time/60);//向上取整,转换成分钟
|
|
|
|
|
|
+ // var staffTime=Math.ceil(time/60);//向上取整,转换成分钟
|
|
|
|
+ var staffTime=Math.round(time/60);//四舍五入,转换成分钟
|
|
var params={
|
|
var params={
|
|
staffTime:staffTime,
|
|
staffTime:staffTime,
|
|
}
|
|
}
|
|
@@ -165,7 +98,9 @@
|
|
}
|
|
}
|
|
manualPut(paramsput).then(res=>{
|
|
manualPut(paramsput).then(res=>{
|
|
if(res.code==200){
|
|
if(res.code==200){
|
|
-
|
|
|
|
|
|
+ if(this.putflag){
|
|
|
|
+ uni.$emit('newsygList')
|
|
|
|
+ }
|
|
}
|
|
}
|
|
})
|
|
})
|
|
},
|
|
},
|
|
@@ -200,12 +135,14 @@
|
|
if(height<Number(windowHeight)){
|
|
if(height<Number(windowHeight)){
|
|
this.progress=100;
|
|
this.progress=100;
|
|
this.scrollflag=false;
|
|
this.scrollflag=false;
|
|
|
|
+ this.datainfo.progress= 100;
|
|
|
|
+ this.putflag=true;
|
|
}
|
|
}
|
|
}).exec();
|
|
}).exec();
|
|
// 获取评论模块高度
|
|
// 获取评论模块高度
|
|
- query.select('.comment-section').boundingClientRect(data => {
|
|
|
|
- this.commentHeight = data.height;
|
|
|
|
- }).exec();
|
|
|
|
|
|
+ // query.select('.comment-section').boundingClientRect(data => {
|
|
|
|
+ // this.commentHeight = data.height;
|
|
|
|
+ // }).exec();
|
|
|
|
|
|
},
|
|
},
|
|
getDetailFn(){
|
|
getDetailFn(){
|