Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Q
qk_admin
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
quanku
qk_admin
Commits
46153fd1
Commit
46153fd1
authored
May 16, 2024
by
yaya
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:优化
parent
a4966a82
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
2 deletions
+8
-2
src/views/books/bookManager.vue
src/views/books/bookManager.vue
+7
-1
src/views/sale/itemDetail.vue
src/views/sale/itemDetail.vue
+1
-1
No files found.
src/views/books/bookManager.vue
View file @
46153fd1
...
@@ -96,7 +96,12 @@ export default {
...
@@ -96,7 +96,12 @@ export default {
if
(
!
row
.
id
)
{
if
(
!
row
.
id
)
{
return
return
}
}
const
text
=
`http://h5.wanwudezhi.com/product-web/books/bookPage?bookId=
${
row
.
id
}
`
console
.
log
(
'
==环境=
'
,
process
.
env
.
NODE_ENV
)
let
text
=
`http://tulu.tppv.cn/bookDetail?bookId=
${
row
.
id
}
`
if
(
process
.
env
.
NODE_ENV
===
'
development
'
)
{
text
=
`http://tulu-dev.tppv.cn/bookDetail?bookId=
${
row
.
id
}
`
}
// 判断是否支持clipboard方式
// 判断是否支持clipboard方式
if
(
window
.
navigator
.
clipboard
)
{
if
(
window
.
navigator
.
clipboard
)
{
// 利用clipboard将文本写入剪贴板(这是一个异步promise)
// 利用clipboard将文本写入剪贴板(这是一个异步promise)
...
@@ -156,6 +161,7 @@ export default {
...
@@ -156,6 +161,7 @@ export default {
display
:
flex
;
display
:
flex
;
justify-content
:
center
;
justify-content
:
center
;
}
}
.page_consignList
{
.page_consignList
{
padding
:
0
20px
20px
;
padding
:
0
20px
20px
;
}
}
...
...
src/views/sale/itemDetail.vue
View file @
46153fd1
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<div>
{{
`¥${itemContent && itemContent.distributionPrice || '-'
}
`
}}
<
/div
>
<div>
{{
`¥${itemContent && itemContent.distributionPrice || '-'
}
`
}}
<
/div
>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
商品详情:
"
>
<
el
-
form
-
item
label
=
"
商品详情:
"
>
<
div
>
{{
itemContent
&&
itemContent
.
name
||
'
-
'
}}
<
/div
>
<
div
>
{{
itemContent
&&
itemContent
.
description
||
'
-
'
}}
<
/div
>
<
/el-form-item
>
<
/el-form-item
>
<
el
-
form
-
item
label
=
"
商品图片/视频:
"
>
<
el
-
form
-
item
label
=
"
商品图片/视频:
"
>
<
div
v
-
if
=
"
itemContent && itemContent.imagelist && (typeof itemContent.imagelist === 'object')
"
class
=
"
image
"
>
<
div
v
-
if
=
"
itemContent && itemContent.imagelist && (typeof itemContent.imagelist === 'object')
"
class
=
"
image
"
>
...
...
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