Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
eduline
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
冷斌
eduline
Commits
847b89c1
Commit
847b89c1
authored
May 14, 2020
by
陈超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
T
parent
8b626f70
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
6 deletions
+15
-6
apps/home/Tpl/default/User/address_w3g.html
+15
-6
No files found.
apps/home/Tpl/default/User/address_w3g.html
View file @
847b89c1
...
@@ -15,11 +15,18 @@
...
@@ -15,11 +15,18 @@
input-align=
"right"
input-align=
"right"
placeholder=
"请输入详细地址"
placeholder=
"请输入详细地址"
></van-field>
></van-field>
<div
@
click=
"saveAddress"
class=
"confirm_button"
style=
"margin-top:
0
;"
>
<div
@
click=
"saveAddress"
class=
"confirm_button"
style=
"margin-top:
1rem
;"
>
<span>
保存
</span>
<span>
保存
</span>
</div>
</div>
</van-cell-group>
</van-cell-group>
</div>
</div>
<!-- <div class="header2">
<a <if condition="$_GET['param']"> href="{:U('mall/Goods/pay',['vst'=>$_GET['param']])}" <else/> href="{:U('home/User/index')}" </if>class="icon-back"></a>
<div>新增收货地址</div>
<if condition="($data['usedCounts'] lt 10) OR ($_GET['id'] gt 0)">
<a href="javascript:;" class="save" onclick="saveAddress()" >保存</a>
</if>
</div> -->
<div
class=
"covers"
></div>
<div
class=
"covers"
></div>
<if
condition=
"($data['usedCounts'] lt 10) OR ($_GET['id'] gt 0)"
>
<if
condition=
"($data['usedCounts'] lt 10) OR ($_GET['id'] gt 0)"
>
<form
class=
"addressbox"
id=
"addressbox"
method=
"POST"
action=
""
onsubmit=
"return false;"
>
<form
class=
"addressbox"
id=
"addressbox"
method=
"POST"
action=
""
onsubmit=
"return false;"
>
...
@@ -53,11 +60,9 @@
...
@@ -53,11 +60,9 @@
<dl
class=
"gender-box"
>
<dl
class=
"gender-box"
>
<dt><span
class=
"cancel"
>
取消
</span><span
class=
"confirm"
id=
"ConSelect"
>
确定
</span></dt>
<dt><span
class=
"cancel"
>
取消
</span><span
class=
"confirm"
id=
"ConSelect"
>
确定
</span></dt>
<dd>
<dd>
<!--menu01-->
<ul
class=
"menu01"
>
<ul
class=
"menu01"
>
<volist
name=
"area"
id=
"arc"
>
<volist
name=
"area"
id=
"arc"
>
<li><a
href=
"javascript:(0)"
onclick=
"choiceCity(this,{$arc['area_id']})"
value=
"{$arc['area_id']}"
>
{$arc.title}
</a>
<li><a
href=
"javascript:(0)"
onclick=
"choiceCity(this,{$arc['area_id']})"
value=
"{$arc['area_id']}"
>
{$arc.title}
</a>
<!--menu02-->
<ul
class=
"menu02"
id=
"city"
>
<ul
class=
"menu02"
id=
"city"
>
</ul>
</ul>
</li>
</li>
...
@@ -120,12 +125,16 @@
...
@@ -120,12 +125,16 @@
el
:
'#app'
,
el
:
'#app'
,
data
:
function
()
{
data
:
function
()
{
return
{
return
{
name
:
""
,
id
:
"{$address['id']}"
,
phone
:
""
,
name
:
"{$address['name']}"
,
area
:
"请选择收货地区"
,
phone
:
"{$address['phone']}"
,
area
:
"{$address.location}"
,
address
:
""
address
:
""
}
}
},
},
created
:
function
(){
document
.
title
=
"我的地址"
},
computed
:
{
computed
:
{
areaStyle
:
function
()
{
areaStyle
:
function
()
{
return
this
.
area
==
'请选择收货地区'
?
'area_value_style'
:
'area_value_style_normal'
return
this
.
area
==
'请选择收货地区'
?
'area_value_style'
:
'area_value_style_normal'
...
...
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