Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
source-trace-manage-go
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tracing
source-trace-manage-go
Commits
171d8fdc
Commit
171d8fdc
authored
Oct 14, 2020
by
zL
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
去除无用css
parent
399e2f85
Hide whitespace changes
Inline
Side-by-side
Showing
18 changed files
with
55 additions
and
62 deletions
+55
-62
index.html
public/sy/index.html
+1
-1
SearchBar.vue
src/components/TemplateManage/SearchBar.vue
+0
-1
bootPage.vue
src/components/bootPage.vue
+1
-1
AddChildDialog.vue
src/components/editTemplate/AddChildDialog.vue
+2
-12
AddRootDialog.vue
src/components/editTemplate/AddRootDialog.vue
+0
-7
SetBar.vue
src/components/editTemplate/SetBar.vue
+0
-2
SetSelectItem.vue
src/components/editTemplate/SetSelectItem.vue
+0
-1
AudioForm.vue
src/components/editTemplate/form/AudioForm.vue
+11
-0
BaseForm.vue
src/components/editTemplate/form/BaseForm.vue
+0
-1
PDFForms.vue
src/components/editTemplate/form/PDFForms.vue
+39
-28
SelectForm.vue
src/components/editTemplate/form/SelectForm.vue
+1
-1
App.vue
src/entry/cs/App.vue
+0
-1
newProductList.vue
src/entry/cs/views/category/newProductList.vue
+0
-1
editTemplate.vue
src/entry/cs/views/template/editTemplate.vue
+0
-1
App.vue
src/entry/sy/App.vue
+0
-1
newProductList.vue
src/entry/sy/views/category/newProductList.vue
+0
-1
deleted.vue
src/views/category/deleted.vue
+0
-1
editTemplate.vue
src/views/template/editTemplate.vue
+0
-1
No files found.
public/sy/index.html
View file @
171d8fdc
...
@@ -7,7 +7,7 @@
...
@@ -7,7 +7,7 @@
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<meta
name=
"viewport"
content=
"width=device-width,initial-scale=1.0"
>
<link
rel=
"icon"
href=
"./sy/favicon.ico"
>
<link
rel=
"icon"
href=
"./sy/favicon.ico"
>
<title>
商品溯源
</title>
<title>
商品溯源
</title>
<link
rel=
"stylesheet"
href=
"//at.alicdn.com/t/font_1321935_
4cl2lgcwc3l
.css"
>
<link
rel=
"stylesheet"
href=
"//at.alicdn.com/t/font_1321935_
fwj9csfa5yd
.css"
>
<script
src=
"https://cdn.bootcss.com/tinymce/4.7.4/tinymce.min.js"
></script>
<script
src=
"https://cdn.bootcss.com/tinymce/4.7.4/tinymce.min.js"
></script>
</head>
</head>
...
...
src/components/TemplateManage/SearchBar.vue
View file @
171d8fdc
...
@@ -48,7 +48,6 @@ export default class SearchBar extends Vue {
...
@@ -48,7 +48,6 @@ export default class SearchBar extends Vue {
border
:
none
;
border
:
none
;
font-size
:
14px
;
font-size
:
14px
;
outline
:
none
;
outline
:
none
;
color
:
var
(
--base-color
);
}
}
.input_search
::placeholder
{
.input_search
::placeholder
{
...
...
src/components/bootPage.vue
View file @
171d8fdc
...
@@ -69,7 +69,7 @@ export default {
...
@@ -69,7 +69,7 @@ export default {
},
},
};
};
</
script
>
</
script
>
<
style
lang=
"less"
>
<
style
lang=
"less"
scoped
>
* {
* {
margin: 0;
margin: 0;
padding: 0;
padding: 0;
...
...
src/components/editTemplate/AddChildDialog.vue
View file @
171d8fdc
...
@@ -173,14 +173,14 @@ export default class AddChildDialog extends Vue {
...
@@ -173,14 +173,14 @@ export default class AddChildDialog extends Vue {
width: 500px;
width: 500px;
height: 44px;
height: 44px;
border: 1px solid #e2e2e2;
border: 1px solid #e2e2e2;
color: var(--base-color);
font-weight: 400;
font-weight: 400;
font-size: 18px;
font-size: 18px;
background: transparent;
background: transparent;
outline: none;
outline: none;
&::placeholder {
&::placeholder {
color: var(--base-color);
}
}
}
}
...
@@ -297,13 +297,3 @@ export default class AddChildDialog extends Vue {
...
@@ -297,13 +297,3 @@ export default class AddChildDialog extends Vue {
width: 16px;
width: 16px;
}
}
</
style
>
</
style
>
<
style
lang=
'less'
>
#add_child_dialog {
& .t-input {
& .input {
color: var(--base-color);
}
}
}
</
style
>
src/components/editTemplate/AddRootDialog.vue
View file @
171d8fdc
...
@@ -54,13 +54,6 @@ export default class AddRootDialog extends Vue {
...
@@ -54,13 +54,6 @@ export default class AddRootDialog extends Vue {
.l-input {
.l-input {
margin: 42px 0 47px 0;
margin: 42px 0 47px 0;
}
}
#add_root_dialog {
& .t-input {
& .input {
color: var(--base-color);
}
}
}
/* 添加模板公用样式 */
/* 添加模板公用样式 */
.c-dialog {
.c-dialog {
width: 500px;
width: 500px;
...
...
src/components/editTemplate/SetBar.vue
View file @
171d8fdc
...
@@ -251,7 +251,6 @@ export default class SetBar extends Vue {
...
@@ -251,7 +251,6 @@ export default class SetBar extends Vue {
margin: 0;
margin: 0;
padding-left: 19px;
padding-left: 19px;
padding-top: 10px;
padding-top: 10px;
color: var(--base-color);
font-size: 14px;
font-size: 14px;
font-weight: 400;
font-weight: 400;
line-height: 44px;
line-height: 44px;
...
@@ -292,7 +291,6 @@ export default class SetBar extends Vue {
...
@@ -292,7 +291,6 @@ export default class SetBar extends Vue {
display: inline-block;
display: inline-block;
width: 56px;
width: 56px;
margin-left: 9px;
margin-left: 9px;
color: var(--base-color);
font-size: 14px;
font-size: 14px;
}
}
...
...
src/components/editTemplate/SetSelectItem.vue
View file @
171d8fdc
...
@@ -60,7 +60,6 @@ export default class SetSelectItem extends Vue {
...
@@ -60,7 +60,6 @@ export default class SetSelectItem extends Vue {
display
:
inline-block
;
display
:
inline-block
;
width
:
56px
;
width
:
56px
;
margin-left
:
9px
;
margin-left
:
9px
;
color
:
var
(
--base-color
);
font-size
:
12px
;
font-size
:
12px
;
}
}
...
...
src/components/editTemplate/form/AudioForm.vue
0 → 100644
View file @
171d8fdc
<
template
>
<div
class=
""
></div>
</
template
>
<
script
>
export
default
{};
</
script
>
<
style
>
</
style
>
\ No newline at end of file
src/components/editTemplate/form/BaseForm.vue
View file @
171d8fdc
...
@@ -112,7 +112,6 @@ export default class BaseForm extends Vue {
...
@@ -112,7 +112,6 @@ export default class BaseForm extends Vue {
padding-left: 24px;
padding-left: 24px;
font-size: 14px;
font-size: 14px;
font-weight: 300;
font-weight: 300;
color: var(--base-color);
&::-webkit-input-placeholder {
&::-webkit-input-placeholder {
color: #bababa;
color: #bababa;
}
}
...
...
src/components/editTemplate/form/PDFForms.vue
View file @
171d8fdc
...
@@ -3,18 +3,21 @@
...
@@ -3,18 +3,21 @@
<div
class=
"base_form"
>
<div
class=
"base_form"
>
<div
class=
"label"
>
<div
class=
"label"
>
<img
class=
"pre-tag"
src=
"../../../assets/images/template/pre-tag.png"
/>
<img
class=
"pre-tag"
src=
"../../../assets/images/template/pre-tag.png"
/>
<div
class=
"label-text"
:title=
"label"
>
{{
label
}}
</div>
<div
class=
"label-text"
:title=
"label"
>
{{
label
}}
</div>
</div>
</div>
<!-- 显示区域 -->
<!-- 显示区域 -->
<div
v-if=
"pdfSHOW"
>
<div
v-if=
"pdfSHOW"
>
<div
class=
"up"
@
click=
"upFile"
>
<div
class=
"up"
@
click=
"upFile"
>
<i
class=
"iconfont iconpdf"
></i>
<i
class=
"iconfont iconpdf
1
"
></i>
上传PDF
上传PDF
</div>
</div>
<div
class=
"show"
v-for=
"(item,index) in localObjects"
:key=
"index"
>
<div
class=
"show"
v-for=
"(item, index) in localObjects"
:key=
"index"
>
<i
class=
"iconfont iconpdf-"
></i>
<i
class=
"iconfont iconPDF"
></i>
<p
@
click=
"openPDF(item)"
>
{{
item
.
name
}}
</p>
<p
@
click=
"openPDF(item)"
>
{{
item
.
name
}}
</p>
<i
class=
"iconfont iconshanchu2"
@
click=
"deletePDF(index)"
></i>
<div
class=
"show-rigth"
>
<i
class=
"iconfont iconxingzhuang2"
></i>
上传成功
<i
class=
"iconfont iconshanchu1"
@
click=
"deletePDF(index)"
></i>
</div>
</div>
</div>
</div>
</div>
<!-- 上传区域 -->
<!-- 上传区域 -->
...
@@ -23,7 +26,13 @@
...
@@ -23,7 +26,13 @@
<p>
上传PDF
</p>
<p>
上传PDF
</p>
<p>
大小不大于10M
</p>
<p>
大小不大于10M
</p>
</div>
</div>
<input
type=
"file"
hidden
ref=
"inputDom"
accept=
"application/pdf"
@
change=
"fileChange"
/>
<input
type=
"file"
hidden
ref=
"inputDom"
accept=
"application/pdf"
@
change=
"fileChange"
/>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -45,17 +54,15 @@ export default {
...
@@ -45,17 +54,15 @@ export default {
// 数据回显
// 数据回显
if
(
this
.
property
.
value
.
length
>
0
)
{
if
(
this
.
property
.
value
.
length
>
0
)
{
this
.
pdfSHOW
=
true
;
this
.
pdfSHOW
=
true
;
let
hashes
=
[];
let
hashes
=
[];
for
(
let
index
=
0
;
index
<
this
.
property
.
value
.
length
;
index
++
)
{
for
(
let
index
=
0
;
index
<
this
.
property
.
value
.
length
;
index
++
)
{
const
element
=
this
.
property
.
value
[
index
];
const
element
=
this
.
property
.
value
[
index
];
hashes
.
push
(
element
.
value
);
hashes
.
push
(
element
.
value
);
}
}
if
(
hashes
.
length
===
this
.
property
.
value
.
length
)
{
if
(
hashes
.
length
===
this
.
property
.
value
.
length
)
{
this
.
getPDF
(
hashes
);
this
.
getPDF
(
hashes
);
}
}
}
}
},
},
watch
:
{
watch
:
{
...
@@ -218,30 +225,32 @@ export default {
...
@@ -218,30 +225,32 @@ export default {
cursor: pointer;
cursor: pointer;
padding-top: 20px;
padding-top: 20px;
padding-bottom: 4px;
padding-bottom: 4px;
&:hover {
width: 800px;
.iconshanchu2 {
display: inline-block;
}
}
.icon {
font-size: 16px;
}
p {
p {
font-size: 1
2
px;
font-size: 1
4
px;
margin: 0;
margin: 0;
display: inline-block;
display: inline-block;
padding: 0;
padding: 0;
padding-left: 4px;
font-weight: 400;
font-weight: 400;
color:
rgba(63, 121, 254, 1)
;
color:
#353535
;
}
}
.iconshanchu2 {
.iconPDF {
display: none;
color: #fe572f;
font-size: 16px;
margin-right: 6px;
}
}
i {
.show-rigth {
color: rgba(63, 121, 254, 1);
float: right;
padding-left: 10px;
font-size: 14px;
font-size: 12px;
.iconshanchu1 {
color: #b6b5ba;
font-size: 12px;
margin-left: 10px;
}
.iconxingzhuang2 {
margin-right: 2px;
color: #33c724;
}
}
}
}
}
.up {
.up {
...
@@ -249,12 +258,14 @@ export default {
...
@@ -249,12 +258,14 @@ export default {
height: 36px;
height: 36px;
cursor: pointer;
cursor: pointer;
border-radius: 4px;
border-radius: 4px;
border: 1px dashed rgba(229, 229, 229, 1);
font-size: 12px;
font-size: 12px;
font-weight: 400;
font-weight: 400;
text-align: center;
text-align: center;
line-height: 36px;
line-height: 36px;
color: rgba(121, 125, 132, 1);
color: rgba(121, 125, 132, 1);
background: #f6f6f7;
border: 1px solid #f0f1f5;
.icon {
.icon {
font-size: 14px;
font-size: 14px;
padding-right: 6px;
padding-right: 6px;
...
...
src/components/editTemplate/form/SelectForm.vue
View file @
171d8fdc
...
@@ -121,7 +121,7 @@ export default class SelectForm extends Vue {
...
@@ -121,7 +121,7 @@ export default class SelectForm extends Vue {
background: transparent;
background: transparent;
line-height: 46px;
line-height: 46px;
font-size: 13px;
font-size: 13px;
color: var(--base-color); /* todo ui未给出输入后效果 */
outline: none;
outline: none;
&::placeholder {
&::placeholder {
...
...
src/entry/cs/App.vue
View file @
171d8fdc
...
@@ -36,7 +36,6 @@ body {
...
@@ -36,7 +36,6 @@ body {
height
:
100%
;
height
:
100%
;
margin
:
0
;
margin
:
0
;
font-size
:
14px
;
font-size
:
14px
;
color
:
var
(
--base-color
);
}
}
input
::-webkit-search-cancel-button
{
input
::-webkit-search-cancel-button
{
...
...
src/entry/cs/views/category/newProductList.vue
View file @
171d8fdc
...
@@ -562,7 +562,6 @@ export default {
...
@@ -562,7 +562,6 @@ export default {
width: 100%;
width: 100%;
border-collapse: separate;
border-collapse: separate;
border-spacing: 0 5px;
border-spacing: 0 5px;
color: var(--base-color);
padding: 0 13px;
padding: 0 13px;
.table-head {
.table-head {
color: #9b9b9b;
color: #9b9b9b;
...
...
src/entry/cs/views/template/editTemplate.vue
View file @
171d8fdc
...
@@ -1002,7 +1002,6 @@ export default class editTemplate extends Vue {
...
@@ -1002,7 +1002,6 @@ export default class editTemplate extends Vue {
vertical-align: middle;
vertical-align: middle;
margin-left: 5px;
margin-left: 5px;
font-size: 14px;
font-size: 14px;
color: var(--base-color);
}
}
.header-title {
.header-title {
...
...
src/entry/sy/App.vue
View file @
171d8fdc
...
@@ -36,7 +36,6 @@ body {
...
@@ -36,7 +36,6 @@ body {
height
:
100%
;
height
:
100%
;
margin
:
0
;
margin
:
0
;
font-size
:
14px
;
font-size
:
14px
;
color
:
var
(
--base-color
);
}
}
input
::-webkit-search-cancel-button
{
input
::-webkit-search-cancel-button
{
...
...
src/entry/sy/views/category/newProductList.vue
View file @
171d8fdc
...
@@ -585,7 +585,6 @@ export default {
...
@@ -585,7 +585,6 @@ export default {
width: 100%;
width: 100%;
border-collapse: separate;
border-collapse: separate;
border-spacing: 0 5px;
border-spacing: 0 5px;
color: var(--base-color);
padding: 0 13px;
padding: 0 13px;
.table-head {
.table-head {
color: #9b9b9b;
color: #9b9b9b;
...
...
src/views/category/deleted.vue
View file @
171d8fdc
...
@@ -262,7 +262,6 @@ export default {
...
@@ -262,7 +262,6 @@ export default {
width: 100%;
width: 100%;
border-collapse: separate;
border-collapse: separate;
border-spacing: 0 6px;
border-spacing: 0 6px;
color: var(--base-color);
padding: 0 13px;
padding: 0 13px;
.table-head {
.table-head {
color: #9b9b9b;
color: #9b9b9b;
...
...
src/views/template/editTemplate.vue
View file @
171d8fdc
...
@@ -1355,7 +1355,6 @@ export default class editTemplate extends Vue {
...
@@ -1355,7 +1355,6 @@ export default class editTemplate extends Vue {
vertical-align: middle;
vertical-align: middle;
margin-left: 5px;
margin-left: 5px;
font-size: 14px;
font-size: 14px;
color: var(--base-color);
}
}
.header-title {
.header-title {
...
...
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