From eb7ea9067798b31bf34e463d8234123db53ee4d9 Mon Sep 17 00:00:00 2001
From: zengh <123456>
Date: Tue, 28 Dec 2021 18:24:47 +0800
Subject: [PATCH] 代码提交
---
pages/article/article_video.nvue | 12 ++++++++++--
manifest.json | 2 +-
pages/loging/logingc.vue | 2 +-
pages/loging/loging.vue | 2 +-
4 files changed, 13 insertions(+), 5 deletions(-)
diff --git a/manifest.json b/manifest.json
index c1d9a0f..fc96425 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,5 +1,5 @@
{
- "name" : "群防群控",
+ "name" : "南昌义警",
"appid" : "__UNI__1A57486",
"description" : "",
"versionName" : "1.0.0",
diff --git a/pages/article/article_video.nvue b/pages/article/article_video.nvue
index 98c014a..e85f775 100644
--- a/pages/article/article_video.nvue
+++ b/pages/article/article_video.nvue
@@ -37,8 +37,8 @@
<cover-image :src="item.check?'../../static/aixinRed.png':'../../static/aixin.png'"
class="img" @click.stop="tapLove"></cover-image>
<text class="right-text">{{item.like}}</text>
- <cover-image v-if="item.iscomment == '1'" src="../../static/xiaoxi.png" class="img" @click.stop="tapMsg"></cover-image>
- <text v-if="item.iscomment == '1'" class="right-text">{{item.comment}}</text>
+ <cover-image src="../../static/xiaoxi.png" class="img" @click.stop="tapMsg"></cover-image>
+ <text class="right-text">{{item.comment}}</text>
<cover-image :src="item.iscollect?'../../static/collectred.png':'../../static/collect.png'"
class="img" @click.stop="tapCollect"></cover-image>
<text class="right-text">{{item.collect}}</text>
@@ -353,6 +353,14 @@
tapMsg(e) {
e.stopPropagation();
if (this.distanceX != 0) return
+ console.log(this.videoList[this.index])
+ if(this.videoList[this.index].iscomment == "0" || this.videoList[this.index].iscomment == ""){
+ uni.showToast({
+ icon: 'none',
+ title: `当前视频不支持评论`
+ });
+ return;
+ }
uni.getSubNVueById('comment').show('none', 0, () => {
uni.$emit('showComment', this.videoList[this.index])
});
diff --git a/pages/loging/loging.vue b/pages/loging/loging.vue
index 4e6ba2d..bb59761 100644
--- a/pages/loging/loging.vue
+++ b/pages/loging/loging.vue
@@ -10,7 +10,7 @@
<view class="content">
<view class="top">
<view class="titie">
- <span>群防群控APP</span>
+ <span>南昌义警APP</span>
</view>
<view class="cell">
<view class="name">账号</view>
diff --git a/pages/loging/logingc.vue b/pages/loging/logingc.vue
index e7b7d90..20e0dc5 100644
--- a/pages/loging/logingc.vue
+++ b/pages/loging/logingc.vue
@@ -6,7 +6,7 @@
<image class="Timg" src="../../static/users.png" mode=""></image>
</view>
<view class="titie">
- <span>群防群控APP</span>
+ <span>南昌义警APP</span>
</view>
<view class="name">
<span>账号:</span>
--
Gitblit v1.9.3