Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mallapp
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
viitto
mallapp
Commits
5a0b338c
Commit
5a0b338c
authored
Mar 30, 2021
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
f2ec7078
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
3 deletions
+23
-3
editData.vue
pages/blindDate/editData.vue
+23
-3
No files found.
pages/blindDate/editData.vue
View file @
5a0b338c
...
...
@@ -76,7 +76,12 @@
<picker
:mode =
"item1.mode"
class=
"subpicker"
:range=
"item1.array"
@
change=
"changPicker($event,item1.field,item1.mode,item1.array)"
>
<input
class=
"subInput"
disabled
type=
"text"
:placeholder=
"item1.placehloder"
v-model=
"data[item1.field]"
/>
</picker>
<u-icon
style=
"flex-grow: 4;"
name=
"arrow-right"
></u-icon>
<!--
<u-icon
style=
"flex-grow: 4;"
name=
"arrow-right"
></u-icon>
-->
</view>
<view
class=
"subpicker"
v-if=
"item1.subType==3"
@
click=
"showabc"
>
<!-- @click="addressShow = true" -->
<Text
:style=
"
{'color':address!=''? '#303133':'#9D9C9B'}">
{{
address
!=
''
?
address
:
'请选择'
}}
</Text>
<pickerAddress
v-model=
"addressShow"
@
confirm=
"addresspick"
/>
</view>
</view>
...
...
@@ -96,6 +101,8 @@
</
template
>
<
script
>
import
pickerAddress
from
'../address/liudx-pickerAddress/index.vue'
import
AddressParse
from
'../address/zh-address-parse.min.js'
export
default
{
data
(){
return
{
...
...
@@ -188,7 +195,7 @@
name
:
"籍贯"
,
field
:
"nativePlace"
,
placehloder
:
"请选择籍贯"
,
subType
:
2
,
subType
:
3
,
array
:[],
mode
:
"region"
},{
...
...
@@ -329,7 +336,9 @@
img6
:
false
,
img7
:
false
,
img8
:
false
,
}
},
addressShow
:
false
,
address
:
''
}
},
methods
:{
...
...
@@ -343,6 +352,12 @@
this
.
data
.
addCode
=
JSON
.
parse
(
JSON
.
stringify
(
arg
.
detail
.
code
))
this
.
$forceUpdate
()
}
},
addresspick
(
obj
)
{
console
.
log
(
obj
)
},
chooseImg
(
index
,
key
)
{
let
that
=
this
...
...
@@ -537,6 +552,11 @@
}
);
},
showabc
(){
this
.
addressShow
=
true
console
.
log
(
1111
,
this
.
addressShow
)
},
//获取个人资料
getInfo
(){
this
.
request2
(
...
...
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