Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 39ed4a8e
authored
Dec 08, 2022
by
姜鹏凯
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
商品中心优化&&路由调整
1 parent
7d33ff72
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
15 additions
and
6 deletions
linkwe-pc/src/components/Upload.vue
linkwe-pc/src/layout/components/TopNav/index.vue
linkwe-pc/src/views/commodityCenter/commodityManage/list.vue
linkwe-pc/src/components/Upload.vue
View file @
39ed4a8
...
@@ -465,7 +465,12 @@
...
@@ -465,7 +465,12 @@
-->
-->
<slot>
<slot>
<i
v-if=
"!loading && !fileUrlWatch"
class=
"el-icon-plus uploader-icon upload-action"
></i>
<
template
v-if=
"multiple"
>
<i
v-if=
"limit !== fileListWatch.length"
class=
"el-icon-plus uploader-icon upload-action"
></i>
</
template
>
<
template
v-else
>
<i
v-if=
"!loading && !fileUrlWatch"
class=
"el-icon-plus uploader-icon upload-action"
></i>
</
template
>
<transition>
<transition>
<!-- 上传精度条 -->
<!-- 上传精度条 -->
...
...
linkwe-pc/src/layout/components/TopNav/index.vue
View file @
39ed4a8
This diff is collapsed.
Click to expand it.
linkwe-pc/src/views/commodityCenter/commodityManage/list.vue
View file @
39ed4a8
...
@@ -73,10 +73,12 @@
...
@@ -73,10 +73,12 @@
if
(
data
)
{
if
(
data
)
{
api
.
getDetail
(
data
.
id
).
then
((
res
)
=>
{
api
.
getDetail
(
data
.
id
).
then
((
res
)
=>
{
this
.
form
=
res
.
data
this
.
form
=
res
.
data
let
arr
=
this
.
form
.
attachments
.
split
(
','
)
if
(
this
.
form
.
attachments
)
{
arr
.
forEach
((
dd
)
=>
{
let
arr
=
this
.
form
.
attachments
.
split
(
','
)
this
.
fileList
.
push
({
url
:
dd
})
arr
.
forEach
((
dd
)
=>
{
})
this
.
fileList
.
push
({
url
:
dd
})
})
}
})
})
}
else
{
}
else
{
this
.
form
=
JSON
.
parse
(
JSON
.
stringify
(
defaultForm
))
this
.
form
=
JSON
.
parse
(
JSON
.
stringify
(
defaultForm
))
...
@@ -237,10 +239,12 @@
...
@@ -237,10 +239,12 @@
<PhoneTemplate>
<PhoneTemplate>
<div
class=
"phone-content"
>
<div
class=
"phone-content"
>
<el-image
<el-image
v-if=
"form.picture"
class=
"commodity-img commodity-thumb"
class=
"commodity-img commodity-thumb"
style=
"width: 100%;
height: 100px;
"
style=
"width: 100%;"
:src=
"form.picture"
:src=
"form.picture"
></el-image>
></el-image>
<div
v-else
class=
"commodity-img commodity-thumb"
></div>
<div
class=
"price"
>
¥{{ form.price }}
</div>
<div
class=
"price"
>
¥{{ form.price }}
</div>
<div
class=
"content"
>
{{ form.describe }}
</div>
<div
class=
"content"
>
{{ form.describe }}
</div>
<el-image
v-for=
"(item, index) in fileList"
class=
"commodity-img"
:src=
"item.url"
:key=
"index"
></el-image>
<el-image
v-for=
"(item, index) in fileList"
class=
"commodity-img"
:src=
"item.url"
:key=
"index"
></el-image>
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment