Skip to content
Toggle navigation
P
Projects
G
Groups
S
Snippets
Help
visualcloud
/
Vmatrix-client-taro
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Wiki
Members
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit
21be16cc
authored
Nov 25, 2019
by
hank
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
设备与模板市场ui调整
parent
f6dc1935
Hide whitespace changes
Inline
Side-by-side
Showing
13 changed files
with
52 additions
and
20 deletions
+52
-20
.prettierrc
+2
-1
.stylelintrc.js
+1
-0
src/assets/styles/var.scss
+10
-9
src/pages/home/device/film_list/index.scss
+1
-1
src/pages/home/device/index.scss
+5
-0
src/pages/home/device/index.tsx
+3
-0
src/pages/home/film/film_list/index.scss
+1
-1
src/pages/home/film/schedule_list/index.scss
+1
-1
src/pages/home/tempaltes/index.tsx
+13
-5
src/pages/home/tempaltes/scss/index.scss
+7
-1
src/pages/home/tempaltes/scss/temp-type.scss
+1
-0
src/pages/home/tempaltes/scss/type_detail.scss
+6
-0
src/pages/home/user/index.scss
+1
-1
No files found.
.prettierrc
View file @
21be16cc
...
...
@@ -2,5 +2,6 @@
"printWidth": 100,
"tabWidth": 2,
"singleQuote": true,
"semi": false
"semi": false,
"proseWarp": "preserve"
}
.stylelintrc.js
View file @
21be16cc
...
...
@@ -11,6 +11,7 @@ module.exports = {
'no-descending-specificity'
:
null
,
'selector-type-no-unknown'
:
null
,
'property-no-unknown'
:
null
,
'declaration-colon-newline-after'
:
'always-multi-line'
,
'font-family-no-missing-generic-family-keyword'
:
null
}
}
src/assets/styles/var.scss
View file @
21be16cc
@import
'./mixins.scss'
;
// @import './'
$bgColor
:
#f7f7f7
;
$bgColor2
:
#fff
;
$text-color
:
#323233
;
$input-color
:
#323233
;
$primary-color
:
#1989fa
;
...
...
@@ -19,23 +19,24 @@ $primary-text-color: #333;
border
:
0
$style
$color
;
@each
$d
in
$dir
{
#{
border-
#{
$d
}
-
width
}
:
$
width
;
#{
border-
#{
$d
}
-
width
}
:
$
width
;
}
}
@font-face
{
font-family
:
DINCondensed-Bold
;
src
:
url('../font/DINCondensed-Bold.ttf')
,
url('https://visual-clouds.bdideal.com/html/156394962402878b178ab4088494e9df36c49ec944add.ttf')
;
src
:
url('../font/DINCondensed-Bold.ttf')
,
url('https://visual-clouds.bdideal.com/html/156394962402878b178ab4088494e9df36c49ec944add.ttf')
;
}
@font-face
{
font-family
:
'DIN-Condensed'
;
src
:
url(https://visual-clouds.bdideal.com/html/156394962402878b178ab4088494e9df36c49ec944add.ttf)
format
(
'truetype'
)
,
url('DINCondensed-Bold.ttf')
format
(
'truetype'
);
src
:
url(https://visual-clouds.bdideal.com/html/156394962402878b178ab4088494e9df36c49ec944add.ttf)
format
(
'truetype'
)
,
url('DINCondensed-Bold.ttf')
format
(
'truetype'
);
font-weight
:
bold
;
font-style
:
normal
;
}
.hui
{
height
:
10px
;
background
:
$bgColor
;
}
src/pages/home/device/film_list/index.scss
View file @
21be16cc
...
...
@@ -3,7 +3,7 @@
.films
{
width
:
100%
;
height
:
100%
;
background-color
:
$bgColor
;
background-color
:
$bgColor
2
;
.scroll-view
{
height
:
100%
;
...
...
src/pages/home/device/index.scss
View file @
21be16cc
...
...
@@ -9,6 +9,11 @@
border-radius
:
3px
;
}
.hui
{
height
:
10px
;
background
:
#f7f7f7
;
}
.at-tabs__item--active
{
color
:
#ff9110
!
important
;
font-size
:
38px
!
important
;
...
...
src/pages/home/device/index.tsx
View file @
21be16cc
...
...
@@ -52,16 +52,19 @@ class Device extends Component {
<
AtTabs
current=
{
current
}
tabList=
{
tabList
}
onClick=
{
this
.
changePage
}
swipeable=
{
false
}
>
<
AtTabsPane
current=
{
current
}
index=
{
0
}
>
<
View
style=
{
{
height
:
`${windowHeight}px`
}
}
>
<
View
className=
"hui"
/>
<
DeviceList
height=
{
windowHeight
}
/>
</
View
>
</
AtTabsPane
>
<
AtTabsPane
className=
"at-tabs-page"
current=
{
current
}
index=
{
1
}
>
<
View
style=
{
{
height
:
`${windowHeight}px`
}
}
>
<
View
className=
"hui"
/>
<
DeviceGroup
height=
{
windowHeight
}
/>
</
View
>
</
AtTabsPane
>
<
AtTabsPane
className=
"at-tabs-page"
current=
{
current
}
index=
{
2
}
>
<
View
style=
{
{
height
:
`${windowHeight}px`
}
}
>
<
View
className=
"hui"
/>
<
ShopList
height=
{
windowHeight
}
/>
</
View
>
</
AtTabsPane
>
...
...
src/pages/home/film/film_list/index.scss
View file @
21be16cc
...
...
@@ -3,7 +3,7 @@
.films
{
width
:
100%
;
height
:
100%
;
background-color
:
$bgColor
;
background-color
:
$bgColor
2
;
.film-search-bar
{
// height: 120px;
...
...
src/pages/home/film/schedule_list/index.scss
View file @
21be16cc
...
...
@@ -5,7 +5,7 @@
.films
{
width
:
100%
;
height
:
100%
;
background-color
:
$bgColor
;
background-color
:
$bgColor
2
;
position
:
relative
;
.scroll-view
{
...
...
src/pages/home/tempaltes/index.tsx
View file @
21be16cc
...
...
@@ -74,14 +74,21 @@ class Tempaltes extends Component {
this
.
getData
()
}
getData
(
showTempalte2
?)
{
Taro
.
showLoading
()
const
{
page
,
showTempalte
}
=
this
.
state
// this.props.getTempListData(page)
Api
.
tempalte
.
getHomeList
(
showTempalte2
?
showTempalte2
:
showTempalte
).
then
(
res
=>
{
this
.
setState
({
list
:
res
.
list
Api
.
tempalte
.
getHomeList
(
showTempalte2
?
showTempalte2
:
showTempalte
)
.
then
(
res
=>
{
Taro
.
hideLoading
()
this
.
setState
({
list
:
res
.
list
})
console
.
log
(
res
,
'getHomeList'
)
})
.
catch
(()
=>
{
Taro
.
showLoading
()
})
console
.
log
(
res
,
'getHomeList'
)
})
}
goTypeList
()
{
...
...
@@ -137,6 +144,7 @@ class Tempaltes extends Component {
</
Text
>
</
View
>
</
View
>
<
View
className=
"hui"
/>
{
/* <View className="temp-search-bar">
<Input className="temp-search-bar-search" placeholder="请输入搜索关键词" />
</View> */
}
...
...
src/pages/home/tempaltes/scss/index.scss
View file @
21be16cc
...
...
@@ -7,9 +7,14 @@
flex-direction
:
column
;
background-color
:
#f7f7f7
;
.hui
{
height
:
10px
;
background
:
#f7f7f7
;
}
&
-search-bar
{
// height: 120px;
padding
:
20px
24px
;
padding
:
20px
24px
10px
;
background-color
:
white
;
position
:
relative
;
text-align
:
center
;
...
...
@@ -55,6 +60,7 @@
&
-content
{
flex
:
1
;
overflow
:
hidden
;
background
:
#fff
;
&
-scroll
{
width
:
100%
;
...
...
src/pages/home/tempaltes/scss/temp-type.scss
View file @
21be16cc
...
...
@@ -19,6 +19,7 @@
.type-item
{
padding
:
20px
;
// padding-right: 10px;
&
-title
{
padding-top
:
54px
;
...
...
src/pages/home/tempaltes/scss/type_detail.scss
View file @
21be16cc
...
...
@@ -16,6 +16,7 @@
flex-wrap
:
wrap
;
padding
:
44px
;
padding-left
:
44px
;
padding-right
:
10px
;
padding-bottom
:
0
;
.radio-list__label
{
...
...
@@ -72,6 +73,11 @@
font-weight
:
bold
;
position
:
relative
;
&
:first-child
{
margin-left
:
0
;
// padding-left: 0;
}
.border
{
transition
:
width
1s
;
width
:
0
;
...
...
src/pages/home/user/index.scss
View file @
21be16cc
...
...
@@ -3,7 +3,7 @@
.user
{
width
:
100%
;
height
:
100%
;
background-color
:
$bgColor
;
background-color
:
$bgColor
2
;
&
-top-info
{
display
:
flex
;
...
...
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