Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
dj-scrm-wx-work-attachment-psd
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 1a86bc88
authored
Mar 23, 2022
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
修改样式
1 parent
28a8492f
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
38 additions
and
11 deletions
src/components/Nothing.vue
src/components/Psd.vue
src/components/SearchBox.vue
src/config/env.development.js
src/views/psd/index.vue
src/views/psd/list.vue
src/components/Nothing.vue
View file @
1a86bc8
<
template
>
<
template
>
<div
class=
"nothing
text-center
"
>
<div
class=
"nothing"
>
<img
<img
:src=
"image"
:src=
"image"
class=
"image"
class=
"image"
...
@@ -11,8 +11,8 @@
...
@@ -11,8 +11,8 @@
<
script
type=
'text/ecmascript-6'
>
<
script
type=
'text/ecmascript-6'
>
export
default
{
export
default
{
name
:
'Nothing'
,
name
:
'Nothing'
,
props
:{
props
:
{
image
:
String
image
:
String
},
},
data
()
{
data
()
{
return
{
return
{
...
@@ -27,10 +27,14 @@ export default {
...
@@ -27,10 +27,14 @@ export default {
<
style
scoped
lang=
'scss'
>
<
style
scoped
lang=
'scss'
>
.nothing
{
.nothing
{
display
:
flex
;
padding-top
:
103px
;
padding-top
:
103px
;
flex-direction
:
column
;
flex-direction
:
column
;
font-size
:
12px
;
font-size
:
12px
;
color
:
#666666
;
color
:
#666666
;
align-items
:
center
;
box-sizing
:
border-box
;
background-color
:
#fff
;
.image
{
.image
{
width
:
266px
;
width
:
266px
;
height
:
133px
;
height
:
133px
;
...
...
src/components/Psd.vue
View file @
1a86bc8
...
@@ -82,8 +82,11 @@ export default {
...
@@ -82,8 +82,11 @@ export default {
font-size
:
12px
;
font-size
:
12px
;
color
:
#999999
;
color
:
#999999
;
.hide{
.hide{
height
:
120px
;
max-height
:
150px
;
overflow
:
hidden
;
overflow-y
:
scroll
;
/deep/img{
height
:
auto
;
}
}
}
}
}
.bottom
{
.bottom
{
...
...
src/components/SearchBox.vue
View file @
1a86bc8
...
@@ -113,4 +113,7 @@ export default {
...
@@ -113,4 +113,7 @@ export default {
width
:
100%
;
width
:
100%
;
}
}
}
}
.van-icon-search
:before
{
color
:
#cdd1d4
;
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/config/env.development.js
View file @
1a86bc8
...
@@ -10,7 +10,7 @@
...
@@ -10,7 +10,7 @@
module
.
exports
=
{
module
.
exports
=
{
envVersion
:
'trial'
,
envVersion
:
'trial'
,
request
:
{
request
:
{
baseURL
:
'http://scrm.
test
.glsx.com.cn'
,
// 本地测试项目地址,
baseURL
:
'http://scrm.
dev
.glsx.com.cn'
,
// 本地测试项目地址,
// 设置超时时间
// 设置超时时间
timeout
:
180000
,
timeout
:
180000
,
// 携带凭证
// 携带凭证
...
...
src/views/psd/index.vue
View file @
1a86bc8
...
@@ -28,7 +28,7 @@
...
@@ -28,7 +28,7 @@
<
template
v-if=
"flag"
>
<
template
v-if=
"flag"
>
<template
v-if=
"list.length"
>
<template
v-if=
"list.length"
>
<scroll-view
<scroll-view
:class=
"['list-box']
"
class=
"list-box
"
@
ReachBottom=
"onReachBottom"
@
ReachBottom=
"onReachBottom"
ref=
"scrollView"
ref=
"scrollView"
>
>
...
@@ -49,7 +49,10 @@
...
@@ -49,7 +49,10 @@
</scroll-view>
</scroll-view>
</template>
</template>
<
template
v-else
>
<
template
v-else
>
<nothing
image=
"https://img01.glsx.com.cn/weapp/resource/scrm-mobile/psd/list-nothing.png"
>
暂无可用素材
</nothing>
<nothing
class=
"nothing-box"
image=
"https://img01.glsx.com.cn/weapp/resource/scrm-mobile/psd/list-nothing.png"
>
暂无可用素材
</nothing>
</
template
>
</
template
>
</template>
</template>
</div>
</div>
...
@@ -80,6 +83,8 @@ export default {
...
@@ -80,6 +83,8 @@ export default {
position
:
absolute
;
position
:
absolute
;
right
:
0
;
right
:
0
;
top
:
3px
;
top
:
3px
;
background-color
:
#fff
;
padding-right
:
5px
;
}
}
}
}
.list-box
{
.list-box
{
...
@@ -90,4 +95,10 @@ export default {
...
@@ -90,4 +95,10 @@ export default {
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
}
}
.nothing-box
{
height
:
calc
(
100vh
-
100px
);
}
/
deep
/
.van-search
{
padding
:
4.5px
16px
;
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
src/views/psd/list.vue
View file @
1a86bc8
...
@@ -45,7 +45,7 @@
...
@@ -45,7 +45,7 @@
<
template
v-if=
"flag"
>
<
template
v-if=
"flag"
>
<template
v-if=
"list.length"
>
<template
v-if=
"list.length"
>
<scroll-view
<scroll-view
:class=
"['list-box']
"
class=
"list-box
"
@
ReachBottom=
"onReachBottom"
@
ReachBottom=
"onReachBottom"
ref=
"scrollView"
ref=
"scrollView"
>
>
...
@@ -66,13 +66,16 @@
...
@@ -66,13 +66,16 @@
</scroll-view>
</scroll-view>
</template>
</template>
<
template
v-else
>
<
template
v-else
>
<nothing
image=
"https://img01.glsx.com.cn/weapp/resource/scrm-mobile/psd/list-nothing.png"
>
暂无可用素材
</nothing>
<nothing
class=
"nothing-box"
image=
"https://img01.glsx.com.cn/weapp/resource/scrm-mobile/psd/list-nothing.png"
>
暂无可用素材
</nothing>
</
template
>
</
template
>
</template>
</template>
</div>
</div>
</template>
</template>
<
script
type=
'text/ecmascript-6'
>
<
script
type=
'text/ecmascript-6'
>
import
{
psdMixin
,
businessMixin
,
pageMixin
,
shareMixin
}
from
'@/mixins'
import
{
psdMixin
,
businessMixin
,
pageMixin
,
shareMixin
}
from
'@/mixins'
export
default
{
export
default
{
name
:
''
,
name
:
''
,
mixins
:
[
psdMixin
,
businessMixin
,
pageMixin
,
shareMixin
],
mixins
:
[
psdMixin
,
businessMixin
,
pageMixin
,
shareMixin
],
...
@@ -109,4 +112,7 @@ export default {
...
@@ -109,4 +112,7 @@ export default {
margin-bottom
:
10px
;
margin-bottom
:
10px
;
}
}
}
}
.nothing-box
{
height
:
calc
(
100vh
-
99px
);
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
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