From 059f9068163e2e48b5d802db93e171991dd6bce5 Mon Sep 17 00:00:00 2001
From: zxl <763096477@qq.com>
Date: 星期五, 08 八月 2025 17:07:09 +0800
Subject: [PATCH] 商品打标签
---
manager/src/views/video/VideoList.vue | 46 ++++++++++++++++++++++++++++++++++++++++++++--
1 files changed, 44 insertions(+), 2 deletions(-)
diff --git a/manager/src/views/video/VideoList.vue b/manager/src/views/video/VideoList.vue
index 393b491..f3e5c72 100644
--- a/manager/src/views/video/VideoList.vue
+++ b/manager/src/views/video/VideoList.vue
@@ -402,6 +402,9 @@
<Button type="primary" size="small" style="margin-right: 5px" v-if="row.status === '99'"
@click="openAuditing(row)">瀹℃牳
</Button>
+<!-- <Button type="primary" size="small" style="margin-right: 5px"-->
+<!-- @click="editVideo(row)">缂栬緫-->
+<!-- </Button>-->
<Button type="error" size="small" style="margin-right: 5px" v-if="row.status === '1'"
@click="openVideoDown(row)">涓嬫灦
</Button>
@@ -420,7 +423,7 @@
:mask-closable="false"
>
<vue-qr
- text="https://myk.9village.cn/scanpage/recommend?shareType=videoRecommend&videoId=1948284811844190209"
+ :text="QRCodeUrl"
:margin="0"
colorDark="#000"
colorLight="#fff"
@@ -428,7 +431,7 @@
></vue-qr>
<div slot="footer">
<Button type="text" @click="closeGeneralQrCode">鍏抽棴</Button>
- <Button type="primary" @click="generalQrCode">纭</Button>
+<!-- <Button type="primary" @click="generalQrCode">纭</Button>-->
</div>
</Modal>
<Row type="flex" justify="end" class="mt_10">
@@ -499,6 +502,9 @@
},
data() {
return {
+ // https://myk.9village.cn/scanpage/recommend?shareType=videoRecommend&videoId=1948284811844190209
+ baseQRCodeUrl: this.QRcodeBaseUrl+ '/scanpage/recommend',
+ QRCodeUrl:'',
showGeneralQrCode:false,
endpoint: '',
searchGoods: '',
@@ -701,9 +707,45 @@
this.getTags('')
},
methods: {
+ editVideo(row){
+ // this.uploadVideoForm = {};
+ // this.uploadVideoForm = row;
+ // this.showUploadVideoShow = true;
+ console.log('------------------->缂栬緫',JSON.stringify(row));
+ this.upLoadVideoShow = true;
+ this.videoTagList = []
+ this.chooseTag = row.tagList
+ this.uploadVideoForm = {
+ id: '',
+ title: '',
+ cover: "",
+ videoFileKey: "",
+ videoDuration: 0,
+ videoFit: "cover",
+ videoContentType: 'video',
+ videoImgs: [],
+ showListImages: [],
+ tags: [],
+ fileInfo: {},
+ goodsList: []
+ }
+ this.uploadVideoForm = row
+ recommend({
+ searchType: "HOT"
+ }).then(res => {
+ this.videoTagList = res.data;
+ })
+ this.searchGoodsList();
+ },
+ closeGeneralQrCode(){
+ this.showGeneralQrCode = false;
+ this.QRCodeUrl = '';
+ },
generalQrCode(row){
this.showGeneralQrCode = true
console.log('-------------------->',row);
+ this.QRCodeUrl = this.baseQRCodeUrl + '?shareType=videoRecommend' + '&videoId='+ row.id;
+ console.log(this.QRCodeUrl)
},
//todo 淇濈暀鍚庣画鍙兘浼氫娇鐢�
changeGoodsNum(id,index,goodsNum){
--
Gitblit v1.8.0