Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
groupPurchase-miniapp
Project
Project
Details
Activity
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
彭佳妮(贵阳日报)
groupPurchase-miniapp
Commits
5973f5f6
Commit
5973f5f6
authored
Aug 15, 2024
by
蔡亮华(贵阳日报)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修复遮挡地图的bug
parent
857a8640
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
14 additions
and
3 deletions
+14
-3
addressEdit.vue
src/pages/address/addressEdit.vue
+14
-3
No files found.
src/pages/address/addressEdit.vue
View file @
5973f5f6
<
template
>
<view
class=
"container"
>
<Search
:showTitle=
"true"
:title=
"newAddressFlag ? '新增收货地址' : '编辑收货地址'"
backgroundBox=
"white"
></Search>
<template
v-if=
"showNavBar"
>
<Search
:showTitle=
"true"
:title=
"newAddressFlag ? '新增收货地址' : '编辑收货地址'"
backgroundBox=
"white"
></Search>
</
template
>
<view
class=
"content"
>
<wd-form
ref=
"reForm"
:model=
"forMData"
id=
"form"
>
<wd-cell-group>
...
...
@@ -79,6 +86,7 @@ const forMData = ref({
commonAddr
:
false
,
});
const
content
=
ref
([]);
const
showNavBar
=
ref
(
true
);
onLoad
((
options
)
=>
{
newAddressFlag
.
value
=
options
.
new
;
content
.
value
=
JSON
.
parse
(
options
.
content
);
...
...
@@ -117,7 +125,6 @@ const hdSubmit = async () => {
uni
.
navigateBack
();
},
});
}
catch
(
error
)
{
console
.
log
(
error
,
'error'
);
}
...
...
@@ -137,6 +144,7 @@ function handleSubmit() {
// 重新定位收货地址
async
function
changeLocation
()
{
showNavBar
.
value
=
false
;
uni
.
chooseLocation
({
success
:
function
(
res
)
{
// forMData.value.city = res.address;
...
...
@@ -159,6 +167,9 @@ async function changeLocation() {
},
});
},
complete
:
(
res
)
=>
{
showNavBar
.
value
=
true
;
},
});
}
</
script
>
...
...
@@ -176,7 +187,7 @@ page {
font-feature-settings
:
'kern'
on
;
.content
{
// padding-top: 88rpx;
// padding-top: 88rpx;
#form
{
width
:
710rpx
;
...
...
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