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
c3cb0523
Commit
c3cb0523
authored
Mar 19, 2021
by
zenglun
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
上传部分代码
parent
8e3809e9
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
244 additions
and
7 deletions
+244
-7
incrementalDataList.vue
...gs/components/incrementalDataList/incrementalDataList.vue
+0
-0
phoneLogin.vue
src/entry/gs/components/phoneLogin/phoneLogin.vue
+6
-2
productList.vue
src/entry/gs/components/productList/productList.vue
+0
-0
banner-phone.png
src/entry/gs/images/Home/banner-phone.png
+0
-0
home_logo.png
src/entry/gs/images/Home/home_logo.png
+0
-0
qr.png
src/entry/gs/images/Home/qr.png
+0
-0
logo.png
src/entry/gs/images/SigIn/logo.png
+0
-0
router.ts
src/entry/gs/router.ts
+1
-1
MainHeader.vue
src/entry/gs/views/MainHeader.vue
+2
-2
SignIn.vue
src/entry/gs/views/SignIn.vue
+2
-2
categoryManage.vue
src/entry/gs/views/categoryManage/categoryManage.vue
+233
-0
No files found.
src/entry/gs/components/incrementalDataList/incrementalDataList.vue
0 → 100644
View file @
c3cb0523
This diff is collapsed.
Click to expand it.
src/entry/gs/components/phoneLogin/phoneLogin.vue
View file @
c3cb0523
...
@@ -93,7 +93,7 @@ export default {
...
@@ -93,7 +93,7 @@ export default {
.sign-in-btn {
.sign-in-btn {
width: 441px;
width: 441px;
height: 44px;
height: 44px;
background:
rgba(63, 121, 254, 1)
;
background:
#0cc399
;
border-radius: 4px;
border-radius: 4px;
font-size: 14px;
font-size: 14px;
cursor: pointer;
cursor: pointer;
...
@@ -101,7 +101,7 @@ export default {
...
@@ -101,7 +101,7 @@ export default {
color: white;
color: white;
text-align: center;
text-align: center;
&:hover {
&:hover {
box-shadow: 0px 2px 6px 0px #
4a90e2
;
box-shadow: 0px 2px 6px 0px #
0cc399
;
}
}
}
}
.input-password {
.input-password {
...
@@ -120,6 +120,10 @@ export default {
...
@@ -120,6 +120,10 @@ export default {
margin-bottom: 16px;
margin-bottom: 16px;
/deep/ .el-input__inner {
/deep/ .el-input__inner {
height: 44px !important;
height: 44px !important;
&:focus {
border-color: #0cc399 !important;
outline: 0;
}
&::-webkit-input-placeholder {
&::-webkit-input-placeholder {
/* WebKit browsers */
/* WebKit browsers */
color: #797d84;
color: #797d84;
...
...
src/entry/gs/components/productList/productList.vue
0 → 100644
View file @
c3cb0523
This diff is collapsed.
Click to expand it.
src/entry/gs/images/Home/banner-phone.png
deleted
100644 → 0
View file @
8e3809e9
30.1 KB
src/entry/gs/images/Home/home_logo.png
deleted
100644 → 0
View file @
8e3809e9
2.45 KB
src/entry/gs/images/Home/qr.png
deleted
100644 → 0
View file @
8e3809e9
9.26 KB
src/entry/gs/images/SigIn/logo.png
View replaced file @
8e3809e9
View file @
c3cb0523
20.3 KB
|
W:
|
H:
18.6 KB
|
W:
|
H:
2-up
Swipe
Onion skin
src/entry/gs/router.ts
View file @
c3cb0523
...
@@ -25,7 +25,7 @@ let router = new Router({ // todo 移除旧页面
...
@@ -25,7 +25,7 @@ let router = new Router({ // todo 移除旧页面
{
{
path
:
'/categoryManage'
,
path
:
'/categoryManage'
,
name
:
'categoryManage'
,
name
:
'categoryManage'
,
component
:
()
=>
import
(
/* webpackChunkName: "categoryManage" */
'
@/components/category/Index
.vue'
),
component
:
()
=>
import
(
/* webpackChunkName: "categoryManage" */
'
./views/categoryManage/categoryManage
.vue'
),
},
},
// // 个人中心
// // 个人中心
// {
// {
...
...
src/entry/gs/views/MainHeader.vue
View file @
c3cb0523
...
@@ -56,8 +56,8 @@ export default class MainHeader extends Vue {
...
@@ -56,8 +56,8 @@ export default class MainHeader extends Vue {
}
}
.icon_logo {
.icon_logo {
margin-left: 27px;
margin-left: 27px;
margin-top:
12
px;
margin-top:
8
px;
height:
23
px;
height:
36
px;
}
}
.user_wrapper {
.user_wrapper {
...
...
src/entry/gs/views/SignIn.vue
View file @
c3cb0523
...
@@ -34,8 +34,8 @@ export default {
...
@@ -34,8 +34,8 @@ export default {
position: absolute;
position: absolute;
left: 26px;
left: 26px;
top: 14px;
top: 14px;
width:
100
px;
width:
98
px;
height: 3
0
px;
height: 3
6
px;
background: url("../images/SigIn/logo.png") no-repeat center;
background: url("../images/SigIn/logo.png") no-repeat center;
background-size: 100% 100%;
background-size: 100% 100%;
}
}
...
...
src/entry/gs/views/categoryManage/categoryManage.vue
0 → 100644
View file @
c3cb0523
<
template
>
<div
class=
"category"
>
<div
class=
"col_left"
>
<ul
class=
"navigation_box"
>
<li
@
click=
"checkOne"
>
<div
class=
"icon_box"
>
<i
class=
"iconfont iconxingzhuang1"
></i>
</div>
<span
class=
"title"
:class=
"
{ title__check: this.$store.state.selectedStatus === 1 }"
>存证记录
</span
>
<span
class=
"num"
>
{{
getGoods
}}
</span>
</li>
<li
@
click=
"checkTwo"
>
<div
class=
"icon_box icon_box__green"
>
<i
class=
"iconfont iconjilu-"
></i>
</div>
<span
class=
"title"
:class=
"
{ title__check: this.$store.state.selectedStatus === 2 }"
>模板管理
</span
>
<span
class=
"num"
>
{{
getTemplate
}}
</span>
</li>
<li
@
click=
"checkThree"
>
<div
class=
"icon_box icon_box__orange"
>
<i
class=
"iconfont iconshanchu2"
></i>
</div>
<span
class=
"title"
:class=
"
{ title__check: this.$store.state.selectedStatus === 3 }"
>已删除
</span
>
<span
class=
"num"
>
{{
deleteds
}}
</span>
</li>
</ul>
</div>
<!-- 左侧列 -->
<div
class=
"col_right"
:class=
"
{ 'col_right--show': this.$store.state.selectedStatus === 1 }"
>
<product-list
@
update=
"update"
></product-list>
</div>
<!-- 右侧列 -->
<div
class=
"col_right"
:class=
"
{ 'col_right--show': this.$store.state.selectedStatus === 2 }"
>
<!-- 模板 -->
<template-manage></template-manage>
</div>
<div
class=
"col_right"
:class=
"
{ 'col_right--show': this.$store.state.selectedStatus === 3 }"
>
<!-- 已删除 -->
<deleted
:ToUpdate=
"ToUpdate"
></deleted>
</div>
<!-- 引导页 -->
<common-dialog
showMask2
close
class=
"cdg-boot-page"
v-if=
"showbootPage"
>
<boot-page
@
close=
"showbootPage = false"
></boot-page>
</common-dialog>
</div>
</
template
>
<
script
lang=
"ts"
>
import
{
Component
,
Vue
,
Watch
}
from
"vue-property-decorator"
;
// 模板管理部分
import
TemplateManage
from
"@/components/category/TemplateManage.vue"
;
// 右侧存证部分
import
productList
from
"../../components/productList/productList.vue"
;
//删除页
import
deleted
from
"@/views/category/deleted.vue"
;
// 引导页
import
bootPage
from
"@/components/bootPage.vue"
;
import
CommonDialog
from
"@/components/CommonDialog.vue"
;
@
Component
({
components
:
{
productList
,
TemplateManage
,
deleted
,
bootPage
,
CommonDialog
,
},
})
export
default
class
Template
extends
Vue
{
[
x
:
string
]:
any
;
trigger
:
boolean
=
false
;
ToUpdate
:
boolean
=
false
;
showbootPage
:
Boolean
=
false
;
created
()
{
this
.
getGoods
;
this
.
getTemplate
;
this
.
SelectedStatus
;
}
mounted
()
{
if
(
localStorage
.
getItem
(
"bootPage"
)
===
"show"
)
{
this
.
showbootPage
=
true
;
}
}
update
()
{
this
.
ToUpdate
=
!
this
.
ToUpdate
;
}
// 获取选中状态
get
SelectedStatus
()
{
return
this
.
$store
.
state
.
selectedStatus
;
}
get
getGoods
()
{
return
this
.
$store
.
state
.
goodsNum
;
}
get
deleteds
()
{
return
this
.
$store
.
state
.
deletedNum
;
}
get
getTemplate
()
{
return
this
.
$store
.
state
.
templateNum
;
}
// 显示存证
checkOne
()
{
this
.
$store
.
commit
(
"setSelectedStatus"
,
1
);
this
.
trigger
=
!
this
.
trigger
;
}
// 显示模板管理
checkTwo
()
{
this
.
$store
.
commit
(
"setSelectedStatus"
,
2
);
}
// 已删除
checkThree
()
{
this
.
$store
.
commit
(
"setSelectedStatus"
,
3
);
}
}
</
script
>
<
style
scoped
lang=
"less"
>
.cdg-boot-page {
/deep/.dialog_content {
border-radius: 10px !important;
}
}
.category {
display: flex;
height: 100%;
//解决存证列表下方铺不满的问题
}
.col_left {
width: 237px;
background: #fff;
// 二期开发
.navigation_box {
margin: 0;
padding: 0;
padding-left: 18px;
margin-top: 20px;
li {
list-style: none;
height: 38px;
cursor: pointer;
line-height: 38px;
}
.title {
font-size: 12px;
font-family: PingFangSC-Regular;
font-weight: 400;
color: rgba(53, 53, 53, 1);
}
.title__check {
color: #4a90e2;
}
.num {
font-size: 12px;
font-family: PingFangSC-Regular;
font-weight: 400;
float: right;
margin-right: 21px;
color: rgba(53, 53, 53, 1);
}
.icon_box {
float: left;
width: 27px;
height: 27px;
// 做点改动
margin-left: 8px;
margin-top: 5.5px;
margin-right: 14px;
background: linear-gradient(
180deg,
rgba(0, 94, 212, 1) 0%,
rgba(82, 149, 227, 1) 100%
);
text-align: center;
line-height: 27px;
border-radius: 10px;
i {
color: white;
font-size: 14px;
}
}
.icon_box__green {
background: linear-gradient(
180deg,
rgba(3, 213, 161, 1) 0%,
rgba(6, 217, 164, 1) 100%
);
}
.icon_box__orange {
background: linear-gradient(
180deg,
rgba(255, 177, 91, 1) 0%,
rgba(255, 177, 91, 1) 100%
);
}
}
// end
.subject {
margin-top: 15px;
}
}
.col_right {
display: none;
flex: 1;
background: #f8f8f8;
}
.col_right--show {
display: block;
overflow-y: scroll;
}
</
style
>
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