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
04d05585
Commit
04d05585
authored
May 14, 2020
by
陈超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
T
parent
f1646d0e
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
1 deletions
+34
-1
addons/theme/stv1/_static_w3g/css/common.css
+20
-0
apps/home/Tpl/default/User/address_w3g.html
+14
-1
No files found.
addons/theme/stv1/_static_w3g/css/common.css
View file @
04d05585
...
@@ -417,6 +417,26 @@ div::-webkit-scrollbar {
...
@@ -417,6 +417,26 @@ div::-webkit-scrollbar {
margin
:
0.625rem
;
margin
:
0.625rem
;
}
}
.area_title_style
{
width
:
5.625rem
;
flex-grow
:
0
;
flex-basis
:
auto
;
}
.area_value_style
{
flex
:
1
;
display
:
flex
;
flex-direction
:
row
;
color
:
#969799
;
}
.area_value_style_normal
{
flex
:
1
;
display
:
flex
;
flex-direction
:
row
;
color
:
#323233
;
}
/*
/*
* Home
* Home
*/
*/
...
...
apps/home/Tpl/default/User/address_w3g.html
View file @
04d05585
...
@@ -2,7 +2,11 @@
...
@@ -2,7 +2,11 @@
<link
rel=
"stylesheet"
href=
"__APP__/css/address_w3g.css"
>
<link
rel=
"stylesheet"
href=
"__APP__/css/address_w3g.css"
>
<div
id=
"app"
class=
"body"
>
<div
id=
"app"
class=
"body"
>
<div
class=
"layout_v"
>
<div
class=
"layout_v"
>
<van-cell-group>
<van-field
v-model=
"name"
label=
"收货人"
placeholder=
"收货人"
input-align=
"right"
></van-field>
<van-field
v-model=
"name"
label=
"收货人"
placeholder=
"收货人"
input-align=
"right"
></van-field>
<van-field
v-model=
"phone"
label=
"联系方式"
type=
"digit"
placeholder=
"请输入联系电话"
></van-field>
<van-cell
@
click=
"onArea"
title-class=
"area_title_style"
:value-class=
"areaStyle"
title=
"所在地区"
is-link
:value=
"area"
></van-cell>
</van-cell-group>
</div>
</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)"
>
...
@@ -111,12 +115,21 @@
...
@@ -111,12 +115,21 @@
el
:
'#app'
,
el
:
'#app'
,
data
:
function
()
{
data
:
function
()
{
return
{
return
{
name
:
""
name
:
""
,
phone
:
""
,
area
:
""
}
},
computed
:
{
areaStyle
:
function
()
{
return
this
.
area
==
'请选择收货地区'
?
'area_value_style'
:
'area_value_style_normal'
}
}
},
},
methods
:
{
methods
:
{
onArea
:
function
()
{
}
}
}
})
})
$
(
function
(){
$
(
function
(){
...
...
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