From 95cc9a50bdd95b079fe4a13fbdb485357f2af977 Mon Sep 17 00:00:00 2001
From: sx <2427911852@qq.com>
Date: Thu, 20 Mar 2025 08:50:15 +0800
Subject: [PATCH] =?UTF-8?q?2025.03.19=20=E5=B7=A5=E4=BD=9C=E4=BB=A3?=
=?UTF-8?q?=E7=A0=81=E6=8F=90=E4=BA=A4?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
jiuyi2/common/js/config.js | 1 -
jiuyi2/components/index/shareFirend.vue | 14 +-
jiuyi2/components/index/videoMenu.vue | 2 +-
jiuyi2/pages.json | 2 +-
jiuyi2/pages/mine/realname.vue | 23 ++-
.../news/chat/components/news-temp/index.vue | 62 +++++-
.../store/components/jy-store-head/index.vue | 192 ------------------
jiuyi2/static/amount.png | Bin 202 -> 0 bytes
jiuyi2/vite.config.js | 1 -
9 files changed, 86 insertions(+), 211 deletions(-)
delete mode 100644 jiuyi2/pages/shop/store/components/jy-store-head/index.vue
delete mode 100644 jiuyi2/static/amount.png
diff --git a/jiuyi2/common/js/config.js b/jiuyi2/common/js/config.js
index 042767f3..36cfa819 100644
--- a/jiuyi2/common/js/config.js
+++ b/jiuyi2/common/js/config.js
@@ -7,7 +7,6 @@ const config = {
// #endif
// #ifndef H5
host: 'http://91f.xyz:8080',
- // host: 'http://96w3gq.natappfree.cc',
// #endif
// 是否vivo显示
showVivo: true,
diff --git a/jiuyi2/components/index/shareFirend.vue b/jiuyi2/components/index/shareFirend.vue
index bf138b6a..2232ec5c 100644
--- a/jiuyi2/components/index/shareFirend.vue
+++ b/jiuyi2/components/index/shareFirend.vue
@@ -96,11 +96,17 @@
//
api.video.videoShare({
query: {
+ // 分享用户id
+ toUserId: item.userID,
+ },
+ data: {
// 视频id
- videoId: videoItem.videoId,
- // 分享人id
- sharedUserIds: item.userID,
- }
+ videoId: videoItem.id,
+ // 视频标题
+ videoTitle: videoItem.title,
+ // 视频封面照片
+ videoImages: videoItem.coverUrl,
+ },
}).then(rs => {
if (rs.code == 200) {
util.alert('分享成功')
diff --git a/jiuyi2/components/index/videoMenu.vue b/jiuyi2/components/index/videoMenu.vue
index 930088f2..e60886cd 100644
--- a/jiuyi2/components/index/videoMenu.vue
+++ b/jiuyi2/components/index/videoMenu.vue
@@ -126,7 +126,7 @@
-
+
{{item.play}}
diff --git a/jiuyi2/pages.json b/jiuyi2/pages.json
index d2059573..34a9cb3a 100644
--- a/jiuyi2/pages.json
+++ b/jiuyi2/pages.json
@@ -882,7 +882,7 @@
"list": [
{
"name": "test",
- "path": "pages/mine/mine"
+ "path": "pages/news/news"
},
{
"name": "test",
diff --git a/jiuyi2/pages/mine/realname.vue b/jiuyi2/pages/mine/realname.vue
index 652b84ba..f53cdb61 100644
--- a/jiuyi2/pages/mine/realname.vue
+++ b/jiuyi2/pages/mine/realname.vue
@@ -51,15 +51,23 @@
// 活体检测
function startLive() {
- // 验证必填项
- if (!form.idCard) {
- util.alert('身份证号不能为空')
+ const data = {
+ ...form
+ }
+
+ // 验证
+ if (!data.name) {
+ util.alert('真实姓名不能为空')
+ return
+ }
+ if (!data.idCard) {
+ util.alert('用户身份证号不能为空')
return
}
api.mine.isCertification({
query: {
- userIdCard: form.idCard
+ userIdCard: data.idCard,
}
}).then(rs => {
if (rs.code === 200) {
@@ -72,6 +80,9 @@
console.log('startLive', result)
if (result.errorCode == 0) {
faceImage.value = result.liveImage
+ // 实名认证
+ handleSubmit()
+ //
} else if (result.errorCode == 1 && result.errorMessage == '活体检测未通过') {
util.alert({
title: '系统提示',
@@ -123,11 +134,7 @@
}).then(rs => {
console.log('certification', rs)
if (rs.code == 200) {
- util.alert('认证成功')
util.getUserinfo()
- setTimeout(() => {
- uni.navigateBack()
- }, 500)
return
}
util.alert({
diff --git a/jiuyi2/pages/news/chat/components/news-temp/index.vue b/jiuyi2/pages/news/chat/components/news-temp/index.vue
index 0916a2b7..99391117 100644
--- a/jiuyi2/pages/news/chat/components/news-temp/index.vue
+++ b/jiuyi2/pages/news/chat/components/news-temp/index.vue
@@ -82,13 +82,23 @@
urls,
})
}
+
+ // 跳转到视频详情
+ function toVideoDetail() {
+ console.log('videoId', formatData.value)
+ uni.navigateTo({
+ url: util.setUrl('/pages/index/videoDetail', {
+ videoId: formatData.value.videoId,
+ })
+ })
+ }
-
@@ -167,6 +177,21 @@
+
+
+
+
+
+
+
+
+
+
+
+ {{formatData.from_name}}
+
+
+
@@ -198,17 +223,48 @@
\ No newline at end of file
diff --git a/jiuyi2/static/amount.png b/jiuyi2/static/amount.png
deleted file mode 100644
index a6de99c00e638d26b62b77294e43c21ee00a1fb2..0000000000000000000000000000000000000000
GIT binary patch
literal 0
HcmV?d00001
literal 202
zcmeAS@N?(olHy`uVBq!ia0vp^96-#;!3HGxgLCzO6k~CayA#8@b22Z19F}4y&kznE
zsNqQI0P;&bT^vIsrq)ha$lKx|;&T6ff?&%91}1N2lg7Ol7+I4haAYZzG&m#(s1!fi
zbTV!8@yq#YpZ9x8F|zxlZ4-Xjz@^dXc*#9TkSkIoqao@Nmrh#Q@h1LK2kp!<&V!Sg
vYgZjCW-RuqXxJ}pR`-0~!v)RL?Q0m*xfCV}+z*`qw4cG#)z4*}Q$iB}JoP^*
diff --git a/jiuyi2/vite.config.js b/jiuyi2/vite.config.js
index 439ccb56..fc5535df 100644
--- a/jiuyi2/vite.config.js
+++ b/jiuyi2/vite.config.js
@@ -4,7 +4,6 @@ import {
import uni from '@dcloudio/vite-plugin-uni';
let target = 'http://91f.xyz:8080'
-// let target = 'http://96w3gq.natappfree.cc'
export default defineConfig({
plugins: [uni()],