补卡,图书列表接口替换
This commit is contained in:
@@ -17,8 +17,7 @@
|
|||||||
<text>返回今天</text>
|
<text>返回今天</text>
|
||||||
</view>
|
</view>
|
||||||
<!-- <u-icon name="checkbox-mark" color="#55aa7f" size="14" style="display: inline;"></u-icon> -->
|
<!-- <u-icon name="checkbox-mark" color="#55aa7f" size="14" style="display: inline;"></u-icon> -->
|
||||||
<view class="dakaBtn" @tap="buSign(linshiDay)"
|
<view class="dakaBtn" @tap="buSign(linshiDay)" v-if="currentDay > linshiDay">
|
||||||
v-if="currentDay > linshiDay">
|
|
||||||
<text style="font-size: 24rpx;">补卡</text>
|
<text style="font-size: 24rpx;">补卡</text>
|
||||||
</view>
|
</view>
|
||||||
<view class="dakaBtn" @tap="kuickSign()"
|
<view class="dakaBtn" @tap="kuickSign()"
|
||||||
@@ -114,7 +113,8 @@
|
|||||||
<view class="content" style="width: 100%;" @click="showPingLun(item)">
|
<view class="content" style="width: 100%;" @click="showPingLun(item)">
|
||||||
<view class="" v-html="item.phtml"></view>
|
<view class="" v-html="item.phtml"></view>
|
||||||
</view>
|
</view>
|
||||||
<view class="flexbox" style="text-align: right; align-items: center; justify-content: space-between;">
|
<view class="flexbox"
|
||||||
|
style="text-align: right; align-items: center; justify-content: space-between;">
|
||||||
<view class="flexbox" @click="showPingLun(item)" style="align-items: center; ">
|
<view class="flexbox" @click="showPingLun(item)" style="align-items: center; ">
|
||||||
<u-icon style="display: inline ;margin-left: 10rpx; " name="chat" color="#999"
|
<u-icon style="display: inline ;margin-left: 10rpx; " name="chat" color="#999"
|
||||||
size="18"></u-icon>
|
size="18"></u-icon>
|
||||||
@@ -130,14 +130,17 @@
|
|||||||
<view class="subPItem" v-for="item2 in item.subCommentList" :key="item2.key">
|
<view class="subPItem" v-for="item2 in item.subCommentList" :key="item2.key">
|
||||||
<view class="touxiang zhuipingTX flexbox">
|
<view class="touxiang zhuipingTX flexbox">
|
||||||
<view class="left">
|
<view class="left">
|
||||||
<image v-if="!item2.avatar || item2.avatar == ''" src="../../static/icon/morenAvavter.png"
|
<image v-if="!item2.avatar || item2.avatar == ''"
|
||||||
mode="aspectFit"></image>
|
src="../../static/icon/morenAvavter.png" mode="aspectFit"></image>
|
||||||
<image v-else :src="item2.avatar" mode="aspectFit"></image>
|
<image v-else :src="item2.avatar" mode="aspectFit"></image>
|
||||||
</view>
|
</view>
|
||||||
<view class="neirong" style="text-align: left;">
|
<view class="neirong" style="text-align: left;">
|
||||||
<text class="username nowrap subPName">{{item2.nickName?item2.nickName:'匿名用户'}}</text>
|
<text
|
||||||
<text class="username nowrap" style="padding: 0 10rpx; color: #c7c7c7;">回复了</text>
|
class="username nowrap subPName">{{item2.nickName?item2.nickName:'匿名用户'}}</text>
|
||||||
<text class="username nowrap">{{item2.puserNickName?item2.puserNickName:'匿名用户'}}</text>
|
<text class="username nowrap"
|
||||||
|
style="padding: 0 10rpx; color: #c7c7c7;">回复了</text>
|
||||||
|
<text
|
||||||
|
class="username nowrap">{{item2.puserNickName?item2.puserNickName:'匿名用户'}}</text>
|
||||||
<view class="contentBox" style="width: 100% !important; padding-left: 3px;">
|
<view class="contentBox" style="width: 100% !important; padding-left: 3px;">
|
||||||
<!-- <div class="pjimgs flexbox">
|
<!-- <div class="pjimgs flexbox">
|
||||||
<view class="item" v-for="(item1,index) in item2.imageList">
|
<view class="item" v-for="(item1,index) in item2.imageList">
|
||||||
@@ -149,11 +152,14 @@
|
|||||||
<view class="" v-html="item2.phtml"></view>
|
<view class="" v-html="item2.phtml"></view>
|
||||||
<!-- <view class="" v-html="item2.content"></view> -->
|
<!-- <view class="" v-html="item2.content"></view> -->
|
||||||
</view>
|
</view>
|
||||||
<view class="flexbox" style="text-align: right; align-items: center; justify-content: space-between;">
|
<view class="flexbox"
|
||||||
<view class="flexbox" @click="showPingLun(item2)" style="align-items: center;justify-content: space-between; ">
|
style="text-align: right; align-items: center; justify-content: space-between;">
|
||||||
<u-icon style="display: inline ;margin-left: 10rpx; " name="chat" color="#999"
|
<view class="flexbox" @click="showPingLun(item2)"
|
||||||
size="18" ></u-icon>
|
style="align-items: center;justify-content: space-between; ">
|
||||||
<text class="time" style="display: inline ;margin-right: 20rpx; ">回复</text>
|
<u-icon style="display: inline ;margin-left: 10rpx; " name="chat"
|
||||||
|
color="#999" size="18"></u-icon>
|
||||||
|
<text class="time"
|
||||||
|
style="display: inline ;margin-right: 20rpx; ">回复</text>
|
||||||
</view>
|
</view>
|
||||||
<text class="time">{{item2.createTime}}</text>
|
<text class="time">{{item2.createTime}}</text>
|
||||||
</view>
|
</view>
|
||||||
@@ -530,15 +536,16 @@
|
|||||||
// 获取某天的签到列表信息
|
// 获取某天的签到列表信息
|
||||||
getAllSign(val) {
|
getAllSign(val) {
|
||||||
console.log(val, '-----------')
|
console.log(val, '-----------')
|
||||||
let param = {
|
let data = {
|
||||||
'entryId': val.id,
|
'entryId': val.id
|
||||||
// 'userId': null,
|
// 'bookid': this.bookid,
|
||||||
'currentPage': this.recordPage,
|
// 'limit': 5,
|
||||||
'pageSize': this.recordPageSize,
|
// 'page': this.page,
|
||||||
// 'taskid': val.id
|
// 'taskid': val.id
|
||||||
}
|
}
|
||||||
this.$http
|
this.$http
|
||||||
.get('book/clockInForum/getChatList', param)
|
// .post('book/clockin/applist', data)
|
||||||
|
.get('book/clockInForum/getChatList', data)
|
||||||
// .get('book/clockInForum/getChatList', data)
|
// .get('book/clockInForum/getChatList', data)
|
||||||
.then(res => {
|
.then(res => {
|
||||||
if (res.code == 0) {
|
if (res.code == 0) {
|
||||||
@@ -911,7 +918,10 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss" scoped>
|
<style lang="scss" scoped>
|
||||||
.pingjiaBox{margin-bottom: 20rpx;}
|
.pingjiaBox {
|
||||||
|
margin-bottom: 20rpx;
|
||||||
|
}
|
||||||
|
|
||||||
.ql-editor {
|
.ql-editor {
|
||||||
min-height: 50rpx;
|
min-height: 50rpx;
|
||||||
}
|
}
|
||||||
@@ -981,10 +991,18 @@
|
|||||||
margin-top: 6rpx;
|
margin-top: 6rpx;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
.subPItem{margin-bottom: 40rpx;}
|
|
||||||
.subPName{padding-left: 10rpx;}
|
.subPItem {
|
||||||
|
margin-bottom: 40rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.subPName {
|
||||||
|
padding-left: 10rpx;
|
||||||
|
}
|
||||||
|
|
||||||
.zhuipingTX {
|
.zhuipingTX {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|
||||||
image {
|
image {
|
||||||
width: 30px !important;
|
width: 30px !important;
|
||||||
padding: 3px;
|
padding: 3px;
|
||||||
@@ -995,6 +1013,7 @@
|
|||||||
;
|
;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.allComments {
|
.allComments {
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
margin-top: 20rpx;
|
margin-top: 20rpx;
|
||||||
|
|||||||
Reference in New Issue
Block a user