Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
T
take_order
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
和慭琛
take_order
Commits
8dffc547
Commit
8dffc547
authored
Mar 31, 2021
by
李俊赕
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev-photo-v2' of
https://git.banshouhui.com/heyinchen/take_order
into dev-photo-v2
parents
97c7a265
61e9bd92
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
232 additions
and
224 deletions
+232
-224
index.vue
take-order/pages/photo/index.vue
+232
-224
No files found.
take-order/pages/photo/index.vue
View file @
8dffc547
...
@@ -12,8 +12,8 @@
...
@@ -12,8 +12,8 @@
</view>
</view>
</
template
>
</
template
>
</view>
</view>
<
button
class=
"ph-pr-button"
type=
"primary"
@
click=
"handleClick"
:disabled=
"!selectedAll"
<
u-button
class=
"ph-pr-button"
type=
"primary"
shape=
"circle"
@
click=
"handleClick"
:
style=
"buttonStyle"
>
下一步
</button>
:
hover-class=
"selectedAll ? '' : 'none'"
:custom-style=
"buttonStyle"
>
下一步
</u-button>
</view>
</view>
</template>
</template>
...
@@ -53,8 +53,17 @@
...
@@ -53,8 +53,17 @@
]
]
},
},
buttonStyle
()
{
buttonStyle
()
{
return
this
.
selectedAll
?
'color: #FFFFFF;background-color: #2272FF;'
:
return
this
.
selectedAll
?
{
'color: #FFFFFF;background-color: #D1D4D4;'
'color'
:
'#FFFFFF'
,
'background-color'
:
'#2272FF;'
,
'width'
:
'600rpx'
,
'height'
:
'104rpx'
}
:
{
'color'
:
'#FFFFFF'
,
'background-color'
:
'#D1D4D4;'
,
'width'
:
'600rpx'
,
'height'
:
'104rpx'
}
}
}
},
},
onLoad
(
e
)
{
onLoad
(
e
)
{
...
@@ -120,10 +129,13 @@
...
@@ -120,10 +129,13 @@
// 点击下一步
// 点击下一步
handleClick
()
{
handleClick
()
{
// 点击下一步设置全局拍照品牌品类
// 点击下一步设置全局拍照品牌品类
if
(
!
this
.
selectedAll
)
{
return
}
const
globalData
=
getApp
().
globalData
const
globalData
=
getApp
().
globalData
if
(
!
globalData
.
token
)
{
if
(
!
globalData
.
token
)
{
uni
.
navigateTo
({
uni
.
navigateTo
({
url
:
'/pages/login/wxlogin'
url
:
'/pages/login/wxlogin'
})
})
return
return
}
}
...
@@ -216,10 +228,6 @@
...
@@ -216,10 +228,6 @@
.ph-pr-button
{
.ph-pr-button
{
position
:
absolute
;
position
:
absolute
;
bottom
:
76
rpx
;
bottom
:
76
rpx
;
border-radius
:
52
rpx
;
height
:
104
rpx
;
font-size
:
32
rpx
;
font-size
:
32
rpx
;
width
:
600
rpx
;
line-height
:
104
rpx
;
}
}
</
style
>
</
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