|
@@ -48,7 +48,6 @@ Component({
|
|
|
width,
|
|
|
height
|
|
|
} = e.detail; // 获取图片的宽高
|
|
|
- console.log('11', e.detail);
|
|
|
const imageClass = width > height ? 'image-landscape' : 'image-portrait'; // 判断横竖屏
|
|
|
|
|
|
this.setData({
|
|
@@ -75,7 +74,6 @@ Component({
|
|
|
this.setData({
|
|
|
isgood: !this.data.isgood
|
|
|
})
|
|
|
- console.log(this.data.isgood);
|
|
|
},
|
|
|
isclick() {
|
|
|
|
|
@@ -101,7 +99,6 @@ Component({
|
|
|
this.setData({
|
|
|
images: this.data.cicleList[0].images
|
|
|
})
|
|
|
- console.log('isclick', this.data.isclick);
|
|
|
// 将 ISO 字符串转换为时间戳并传递给 formatTime
|
|
|
const createdAt = new Date(this.data.cicleList[0].createdAt).getTime();
|
|
|
const time = this.formatTime(createdAt);
|
|
@@ -187,6 +184,7 @@ Component({
|
|
|
const currentUser = Parse.User.current();
|
|
|
let AIMomentCommentquery2 = new Parse.Query('AIMomentComment');
|
|
|
AIMomentCommentquery2.equalTo('company', company);
|
|
|
+ AIMomentCommentquery2.equalTo('type', 'chickin');
|
|
|
AIMomentCommentquery2.equalTo('moment', this.data.objectId);
|
|
|
AIMomentCommentquery2.equalTo('user', currentUser.id);
|
|
|
let moment2 = await AIMomentCommentquery2.find()
|
|
@@ -194,6 +192,7 @@ Component({
|
|
|
this.setData({
|
|
|
isclick:AIMoment1List2[0].isDeleted
|
|
|
})
|
|
|
+ console.log('isclick',AIMoment1List2);
|
|
|
},
|
|
|
//显示点赞人
|
|
|
async showchick() {
|