Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
eMall_miniapp
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
高宇
eMall_miniapp
Commits
df6b4214
Commit
df6b4214
authored
Jul 13, 2023
by
高宇
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
添加子页面
parent
e46eede3
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
78 additions
and
57 deletions
+78
-57
index.vue
moreFunction/deliveryAddress/addWxAddress/index.vue
+3
-55
index.vue
moreFunction/deliveryAddress/useWxAddress/index.vue
+75
-2
No files found.
moreFunction/deliveryAddress/addWxAddress/index.vue
View file @
df6b4214
<
template
>
<
template
>
<view
class=
"content"
>
<view
class=
"content"
>
<view
style=
"height: 100vh; background-color: #fff;"
>
<view
v-for=
"(item,index) in list"
:key=
"index"
>
<view
class=
"listArea"
>
<view
class=
"top"
>
<view>
{{
item
.
name
}}
</view>
<view>
,
</view>
<view
style=
"margin-left: 10rpx;"
>
{{
item
.
phone
}}
</view>
</view>
<view
class=
"bottom"
>
<view>
{{
item
.
district
}}
</view>
</view>
</view>
、
<view
style=
"height: 1rpx; width: 100%; background-color: #eee;"
></view>
</view>
<view
class=
"loginout"
>
<view
class=
"loginout-button"
@
click=
"loginout"
>
添加新地址
</view>
</view>
</view>
</view>
</view>
</
template
>
</
template
>
...
@@ -25,13 +8,7 @@
...
@@ -25,13 +8,7 @@
export
default
{
export
default
{
data
(){
data
(){
return
{
return
{
list
:
[
{
name
:
'张三'
,
phone
:
'13820629672'
,
district
:
'天津市天津市西青区中北镇无'
}
]
}
}
},
},
onShow
()
{
onShow
()
{
...
@@ -44,35 +21,6 @@
...
@@ -44,35 +21,6 @@
<
style
lang=
"scss"
scoped
>
<
style
lang=
"scss"
scoped
>
.content
{
.content
{
min-height
:
100vh
;
background-color
:
#eee
;
.listArea
{
margin-top
:
40rpx
;
margin-left
:
30rpx
;
width
:
100%
;
height
:
4vh
;
display
:
block
;
.top
{
display
:
flex
;
}
.bottom
{
}
}
.loginout
{
padding
:
40rpx
;
.loginout-button
{
height
:
88rpx
;
background
:
#BD1A2D
;
border-radius
:
22px
22px
22px
22px
;
font-size
:
34rpx
;
font-family
:
Source
Han
Sans
CN-Regular
,
Source
Han
Sans
CN
;
font-weight
:
400
;
color
:
#FFFFFF
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
}
}
}
}
</
style
>
</
style
>
\ No newline at end of file
moreFunction/deliveryAddress/useWxAddress/index.vue
View file @
df6b4214
<
template
>
<
template
>
<view>
使用微信地址
</view>
<view
class=
"addressList"
>
<view
style=
"height: 100vh; background-color: #fff;"
>
<view
v-for=
"(item,index) in list"
:key=
"index"
>
<view
class=
"listArea"
>
<view
class=
"top"
>
<view>
{{
item
.
name
}}
</view>
<view>
,
</view>
<view
style=
"margin-left: 10rpx;"
>
{{
item
.
phone
}}
</view>
</view>
<view
class=
"bottom"
>
<view>
{{
item
.
district
}}
</view>
</view>
</view>
、
<view
style=
"height: 1rpx; width: 100%; background-color: #eee;"
></view>
</view>
<view
class=
"loginout"
>
<view
class=
"loginout-button"
@
click=
"addNewAddress"
>
添加新地址
</view>
</view>
</view>
</view>
</
template
>
</
template
>
<
script
>
<
script
>
export
default
{
data
(){
return
{
list
:
[
{
name
:
'张三'
,
phone
:
'13820629672'
,
district
:
'天津市天津市西青区中北镇无'
}
]
}
},
onShow
()
{
},
methods
:{
addNewAddress
(){
uni
.
navigateTo
({
url
:
'/moreFunction/deliveryAddress/addWxAddress/index'
})
}
}
}
</
script
>
</
script
>
<
style
>
<
style
lang=
"scss"
scoped
>
.addressList
{
min-height
:
100vh
;
background-color
:
#eee
;
.listArea
{
margin-top
:
40rpx
;
margin-left
:
30rpx
;
width
:
100%
;
height
:
4vh
;
display
:
block
;
.top
{
display
:
flex
;
}
.bottom
{
}
}
.loginout
{
padding
:
40rpx
;
.loginout-button
{
height
:
88rpx
;
background
:
#BD1A2D
;
border-radius
:
22px
22px
22px
22px
;
font-size
:
34rpx
;
font-family
:
Source
Han
Sans
CN-Regular
,
Source
Han
Sans
CN
;
font-weight
:
400
;
color
:
#FFFFFF
;
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
}
}
}
</
style
>
</
style
>
\ No newline at end of file
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