Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
L
linshenxs-shop
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
陈超
linshenxs-shop
Commits
291a764a
Commit
291a764a
authored
Jul 14, 2022
by
cpa
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加商品 认证视频
parent
a95c9498
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
2 deletions
+17
-2
src/views/businessGoods/goodsEdit/goods_edit.vue
+17
-2
No files found.
src/views/businessGoods/goodsEdit/goods_edit.vue
View file @
291a764a
...
@@ -85,7 +85,7 @@
...
@@ -85,7 +85,7 @@
<span
class=
"sug"
>
上传视频,建议视频长度1分钟,仅支持MP4格式
</span>
<span
class=
"sug"
>
上传视频,建议视频长度1分钟,仅支持MP4格式
</span>
</div>
</div>
</el-form-item>
</el-form-item>
<el-form-item
label=
"商品认证视频"
prop=
"authUrl"
>
<el-form-item
label=
"商品认证视频"
prop=
"authUrl"
v-if=
"this.needVideoProof===0"
>
<div
class=
"upload"
>
<div
class=
"upload"
>
<uploader
:lazyList=
"form.authUrl"
:video=
"true"
:image=
"false"
@
change=
"(list) => { form.authUrl = list.join(',') }"
/>
<uploader
:lazyList=
"form.authUrl"
:video=
"true"
:image=
"false"
@
change=
"(list) => { form.authUrl = list.join(',') }"
/>
<span
class=
"sug"
>
上传视频,建议视频长度1分钟,仅支持MP4格式
</span>
<span
class=
"sug"
>
上传视频,建议视频长度1分钟,仅支持MP4格式
</span>
...
@@ -218,6 +218,7 @@
...
@@ -218,6 +218,7 @@
},
},
data
()
{
data
()
{
return
{
return
{
needVideoProof
:
2
,
//如果是编辑则需要id
//如果是编辑则需要id
id
:
undefined
,
id
:
undefined
,
//如果是编辑则需要加载数据
//如果是编辑则需要加载数据
...
@@ -379,10 +380,24 @@
...
@@ -379,10 +380,24 @@
}
}
}
}
},
},
created
()
{
let
userInfo
=
JSON
.
parse
(
sessionStorage
.
getItem
(
"linshenxs-userInfo"
))
let
account
=
userInfo
.
content
.
username
getMerchantByAccount
(
{
account
:
account
}
).
then
(
response
=>
{
this
.
form
.
merchantId
=
response
.
data
.
data
.
id
this
.
needVideoProof
=
response
.
data
.
data
.
needVideoProof
})
},
computed
:
{
computed
:
{
//点前页面标题
//点前页面标题
editTitle
()
{
editTitle
()
{
console
.
log
(
'++++++++++++++++'
+
this
.
id
)
return
this
.
id
?
"编辑商品基础信息"
:
"添加商品基础信息"
return
this
.
id
?
"编辑商品基础信息"
:
"添加商品基础信息"
},
},
//能否选择规格
//能否选择规格
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment