Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
self-support
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
李俊赕
self-support
Commits
1274b33e
Commit
1274b33e
authored
May 10, 2021
by
刘用法
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
完工页面不显示金额的情况
parent
82e4515c
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
97 additions
and
47 deletions
+97
-47
mine.vue
src/pages/index/mine.vue
+92
-45
complete.vue
src/pages/order/complete.vue
+5
-2
No files found.
src/pages/index/mine.vue
View file @
1274b33e
...
@@ -4,14 +4,17 @@
...
@@ -4,14 +4,17 @@
<u-navbar
:is-back=
"false"
:background=
"
{ background: 'transparent' }" :border-bottom="false">
<u-navbar
:is-back=
"false"
:background=
"
{ background: 'transparent' }" :border-bottom="false">
<text
class=
"title-view"
>
我的
</text>
<text
class=
"title-view"
>
我的
</text>
</u-navbar>
</u-navbar>
<view
v-if=
"!takeStatus"
class=
"mine-content"
>
<view
class=
"mine-content"
>
<view
class=
"u-flex header-view"
>
<view
class=
"header-view"
>
<view
class=
"u-m-r-10"
>
<view
class=
"head-image"
>
<u-avatar
:src=
"pic"
size=
"140"
></u-avatar>
<u-avatar
:src=
"headImageUrl"
size=
"142"
mode=
"circle"
></u-avatar>
</view>
<view
class=
"header-content"
>
<view
class=
"name-view"
>
{{
name
}}
</view>
<view
:class=
"['tel-view',
{'active': info.tel}]">
<text>
{{
tel
}}
</text>
<icon
name=
"arrow-left-fill"
></icon>
</view>
</view>
<view
class=
"u-flex-1"
>
<view
class=
"u-font-18 u-p-b-20"
>
uView ui
</view>
<view
class=
"u-font-14 u-tips-color"
>
微信号:helang_uView
</view>
</view>
</view>
</view>
</view>
...
@@ -46,6 +49,7 @@
...
@@ -46,6 +49,7 @@
data
()
{
data
()
{
return
{
return
{
serviceTel
:
'0755-81773817'
,
serviceTel
:
'0755-81773817'
,
info
:
{},
pic
:
'https://uviewui.com/common/logo.png'
,
pic
:
'https://uviewui.com/common/logo.png'
,
show
:
true
,
show
:
true
,
takeStatus
:
false
,
takeStatus
:
false
,
...
@@ -109,17 +113,34 @@
...
@@ -109,17 +113,34 @@
}
}
]
]
},
},
imageUrl
(
name
)
{
name
()
{
return
this
.
info
.
name
||
'点击登录'
},
tel
()
{
return
this
.
info
.
tel
?
'已绑定手机号'
:
'绑定手机号'
},
imageUrl
()
{
return
process
.
uniEnv
.
qn_base_url
return
process
.
uniEnv
.
qn_base_url
},
},
pages
()
{
pages
()
{
return
[]
return
[
''
,
''
,
''
,
''
,
'address'
,
''
,
''
]
},
headImageUrl
()
{
return
this
.
info
.
headImage
||
this
.
placeholderImage
},
placeholderImage
()
{
return
this
.
imageUrl
+
'touxiang.png'
}
}
},
},
onLoad
()
{
onLoad
()
{
},
},
methods
:
{
methods
:
{
handleClick
(
index
)
{
uni
.
navigateTo
({
url
:
'pages/mine/'
+
this
.
pages
[
index
]
})
},
take
()
{
take
()
{
uni
.
hideTabBar
()
uni
.
hideTabBar
()
this
.
takeStatus
=
true
this
.
takeStatus
=
true
...
@@ -127,11 +148,6 @@
...
@@ -127,11 +148,6 @@
closeTake
(
img
)
{
closeTake
(
img
)
{
console
.
log
(
img
)
console
.
log
(
img
)
this
.
takeStatus
=
false
this
.
takeStatus
=
false
},
handleClick
(
index
)
{
uni
.
navigateTo
({
url
:
'pages/mine/'
+
this
.
pages
[
index
]
})
}
}
}
}
}
}
...
@@ -140,18 +156,49 @@
...
@@ -140,18 +156,49 @@
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.mine-view
{
.mine-view
{
position
:
relative
;
position
:
relative
;
.header-image
{
.header-image
{
position
:
absolute
;
position
:
absolute
;
width
:
100%
;
width
:
100%
;
}
}
.title-view
{
.title-view
{
color
:
#FFFFFF
;
color
:
#FFFFFF
;
font-weight
:
bold
;
font-weight
:
bold
;
font-size
:
40rpx
;
font-size
:
40rpx
;
padding-left
:
30rpx
;
}
}
.mine-content
{
.mine-content
{
background-color
:
#F4F5F7
;
background-color
:
#F4F5F7
;
.header-view
{}
.header-view
{
padding
:
30rpx
;
display
:
flex
;
.head-image
{
width
:
142rpx
;
height
:
142rpx
;
}
.header-content
{
color
:
#FFFFFF
;
z-index
:
0
;
.name-view
{
}
.tel-view
{
background-color
:
#FFFFFF
;
border-radius
:
26rpx
;
color
:
#2272FF
;
width
:
164rpx
;
height
:
52rpx
;
&
.active
{
color
:
#FFFFFF
;
border
:
1rpx
bold
#FFFFFF
;
}
}
}
}
.list-view
{
.list-view
{
background-color
:
#FFFFFF
;
background-color
:
#FFFFFF
;
...
...
src/pages/order/complete.vue
View file @
1274b33e
...
@@ -124,7 +124,6 @@
...
@@ -124,7 +124,6 @@
inGuaranteePeriod
:
''
,
inGuaranteePeriod
:
''
,
list
:
[],
list
:
[],
tabIndex
:
0
,
tabIndex
:
0
,
show200
:
true
,
// 基础信息显示金额输入框
scrollTop
:
0
,
//tab标题的滚动条位置
scrollTop
:
0
,
//tab标题的滚动条位置
oldScrollTop
:
0
,
oldScrollTop
:
0
,
current
:
0
,
// 预设当前项的值
current
:
0
,
// 预设当前项的值
...
@@ -239,6 +238,9 @@
...
@@ -239,6 +238,9 @@
'font-size'
:
'32rpx'
,
'font-size'
:
'32rpx'
,
}
}
},
},
show200
()
{
/// 基础信息显示金额输入框
return
this
.
form
.
paymentMethodsType
!=
'03'
}
},
},
methods
:
{
methods
:
{
getCompleteData
()
{
//获取工单配置的完工项目
getCompleteData
()
{
//获取工单配置的完工项目
...
@@ -391,11 +393,12 @@
...
@@ -391,11 +393,12 @@
if
(
innerItem
.
fieldsType
===
'multiInput'
){
if
(
innerItem
.
fieldsType
===
'multiInput'
){
// 多个输入框的值触发
// 多个输入框的值触发
let
key
=
Object
.
keys
(
data
.
value
)[
0
]
let
key
=
Object
.
keys
(
data
.
value
)[
0
]
debugger
this
.
form
[
key
]
=
data
.
value
[
key
]
this
.
form
[
key
]
=
data
.
value
[
key
]
}
else
{
}
else
{
this
.
$set
(
this
.
form
,
innerItem
.
fieldsName
,
data
.
value
)
this
.
$set
(
this
.
form
,
innerItem
.
fieldsName
,
data
.
value
)
}
}
this
.
show200
=
innerItem
.
fieldsId
!=
199
||
data
.
value
!=
'03'
console
.
log
(
this
.
form
)
console
.
log
(
this
.
form
)
},
},
nextStep
()
{
nextStep
()
{
...
...
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