Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
jamesyang1999
ShopXO
提交
b30df80b
ShopXO
项目概览
jamesyang1999
/
ShopXO
与 Fork 源项目一致
Fork自
纵之格 / ShopXO
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
ShopXO
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
b30df80b
编写于
12月 05, 2019
作者:
D
Devil
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
小程序地址添加优化
上级
f63e1389
变更
10
隐藏空白更改
内联
并排
Showing
10 changed file
with
70 addition
and
10 deletion
+70
-10
public/appmini/old/alipay/pages/user-address-save/user-address-save.axml
...old/alipay/pages/user-address-save/user-address-save.axml
+4
-2
public/appmini/old/alipay/pages/user-address-save/user-address-save.js
...i/old/alipay/pages/user-address-save/user-address-save.js
+10
-0
public/appmini/old/baidu/pages/user-address-save/user-address-save.js
...ni/old/baidu/pages/user-address-save/user-address-save.js
+10
-0
public/appmini/old/baidu/pages/user-address-save/user-address-save.swan
.../old/baidu/pages/user-address-save/user-address-save.swan
+4
-2
public/appmini/old/qq/pages/user-address-save/user-address-save.js
...pmini/old/qq/pages/user-address-save/user-address-save.js
+10
-0
public/appmini/old/qq/pages/user-address-save/user-address-save.qml
...mini/old/qq/pages/user-address-save/user-address-save.qml
+4
-2
public/appmini/old/toutiao/pages/user-address-save/user-address-save.js
.../old/toutiao/pages/user-address-save/user-address-save.js
+10
-0
public/appmini/old/toutiao/pages/user-address-save/user-address-save.ttml
...ld/toutiao/pages/user-address-save/user-address-save.ttml
+4
-2
public/appmini/old/weixin/pages/user-address-save/user-address-save.js
...i/old/weixin/pages/user-address-save/user-address-save.js
+10
-0
public/appmini/old/weixin/pages/user-address-save/user-address-save.wxml
...old/weixin/pages/user-address-save/user-address-save.wxml
+4
-2
未找到文件。
public/appmini/old/alipay/pages/user-address-save/user-address-save.axml
浏览文件 @
b30df80b
...
...
@@ -13,14 +13,16 @@
</picker>
</view>
<view class="section fl br-r">
<picker name="city" onChange="select_city" value="{{city_value}}" range="{{city_list}}" range-key="name">
<picker
a:if="{{(province_id || null) != null}}"
name="city" onChange="select_city" value="{{city_value}}" range="{{city_list}}" range-key="name">
<view class="name {{(city_value == null) ? 'cr-888' : '' }}">{{city_list[city_value].name || default_city}}</view>
</picker>
<text a:else class="cr-888" onTap="region_select_error_event" data-value="请先选择省份">请先选择省份</text>
</view>
<view class="section fl">
<picker name="county" onChange="select_county" value="{{county_value}}" range="{{county_list}}" range-key="name">
<picker
a:if="{{(city_id || null) != null}}"
name="county" onChange="select_county" value="{{county_value}}" range="{{county_list}}" range-key="name">
<view class="name {{(county_value == null) ? 'cr-888' : '' }}">{{county_list[county_value].name || default_county}}</view>
</picker>
<text a:else class="cr-888" onTap="region_select_error_event" data-value="请先选择城市">请先选择城市</text>
</view>
</view>
<!-- end地区选择 -->
...
...
public/appmini/old/alipay/pages/user-address-save/user-address-save.js
浏览文件 @
b30df80b
...
...
@@ -270,6 +270,7 @@ Page({
return
value
;
},
// 数据提交
form_submit
(
e
)
{
var
self
=
this
,
data
=
self
.
data
;
...
...
@@ -323,5 +324,14 @@ Page({
}
});
}
},
// 省市区未按照顺序选择提示
region_select_error_event
(
e
)
{
var
value
=
e
.
currentTarget
.
dataset
.
value
||
null
;
if
(
value
!=
null
)
{
app
.
showToast
(
value
);
}
}
});
public/appmini/old/baidu/pages/user-address-save/user-address-save.js
浏览文件 @
b30df80b
...
...
@@ -261,6 +261,7 @@ Page({
return
value
;
},
// 数据提交
form_submit
(
e
)
{
var
self
=
this
,
data
=
self
.
data
;
...
...
@@ -307,5 +308,14 @@ Page({
}
});
}
},
// 省市区未按照顺序选择提示
region_select_error_event
(
e
)
{
var
value
=
e
.
currentTarget
.
dataset
.
value
||
null
;
if
(
value
!=
null
)
{
app
.
showToast
(
value
);
}
}
});
\ No newline at end of file
public/appmini/old/baidu/pages/user-address-save/user-address-save.swan
浏览文件 @
b30df80b
...
...
@@ -13,14 +13,16 @@
</picker>
</view>
<view class="section fl br-r">
<picker name="city" bindchange="select_city" value="{{city_value}}" range="{{city_list}}" range-key="name">
<picker
s-if="(province_id || null) != null"
name="city" bindchange="select_city" value="{{city_value}}" range="{{city_list}}" range-key="name">
<view class="name {{(city_value == null) ? 'cr-888' : '' }}">{{city_list[city_value].name || default_city}}</view>
</picker>
<text s-else class="cr-888" bindtap="region_select_error_event" data-value="请先选择省份">请先选择省份</text>
</view>
<view class="section fl">
<picker name="county" bindchange="select_county" value="{{county_value}}" range="{{county_list}}" range-key="name">
<picker
s-if="(city_id || null) != null"
name="county" bindchange="select_county" value="{{county_value}}" range="{{county_list}}" range-key="name">
<view class="name {{(county_value == null) ? 'cr-888' : '' }}">{{county_list[county_value].name || default_county}}</view>
</picker>
<text s-else class="cr-888" bindtap="region_select_error_event" data-value="请先选择城市">请先选择城市</text>
</view>
</view>
<!-- end地区选择 -->
...
...
public/appmini/old/qq/pages/user-address-save/user-address-save.js
浏览文件 @
b30df80b
...
...
@@ -262,6 +262,7 @@ Page({
return
value
;
},
// 数据提交
form_submit
(
e
)
{
var
self
=
this
,
data
=
self
.
data
;
...
...
@@ -315,5 +316,14 @@ Page({
}
});
}
},
// 省市区未按照顺序选择提示
region_select_error_event
(
e
)
{
var
value
=
e
.
currentTarget
.
dataset
.
value
||
null
;
if
(
value
!=
null
)
{
app
.
showToast
(
value
);
}
}
});
public/appmini/old/qq/pages/user-address-save/user-address-save.qml
浏览文件 @
b30df80b
...
...
@@ -13,14 +13,16 @@
<
/picker
>
<
/view
>
<
view
class
=
"
section fl br-r
"
>
<
picker
name
=
"
city
"
bindchange
=
"
select_city
"
value
=
"
{{city_value}}
"
range
=
"
{{city_list}}
"
range
-
key
=
"
name
"
>
<
picker
qq
:
if
=
"
{{(province_id || null) != null}}
"
name
=
"
city
"
bindchange
=
"
select_city
"
value
=
"
{{city_value}}
"
range
=
"
{{city_list}}
"
range
-
key
=
"
name
"
>
<
view
class
=
"
name {{(city_value == null) ? 'cr-888' : '' }}
"
>
{{
city_list
[
city_value
].
name
||
default_city
}}
<
/view
>
<
/picker
>
<
text
qq
:
else
class
=
"
cr-888
"
bindtap
=
"
region_select_error_event
"
data
-
value
=
"
请先选择省份
"
>
请先选择省份
<
/text
>
<
/view
>
<
view
class
=
"
section fl
"
>
<
picker
name
=
"
county
"
bindchange
=
"
select_county
"
value
=
"
{{county_value}}
"
range
=
"
{{county_list}}
"
range
-
key
=
"
name
"
>
<
picker
qq
:
if
=
"
{{(city_id || null) != null}}
"
name
=
"
county
"
bindchange
=
"
select_county
"
value
=
"
{{county_value}}
"
range
=
"
{{county_list}}
"
range
-
key
=
"
name
"
>
<
view
class
=
"
name {{(county_value == null) ? 'cr-888' : '' }}
"
>
{{
county_list
[
county_value
].
name
||
default_county
}}
<
/view
>
<
/picker
>
<
text
qq
:
else
class
=
"
cr-888
"
bindtap
=
"
region_select_error_event
"
data
-
value
=
"
请先选择城市
"
>
请先选择城市
<
/text
>
<
/view
>
<
/view
>
<!--
end地区选择
-->
...
...
public/appmini/old/toutiao/pages/user-address-save/user-address-save.js
浏览文件 @
b30df80b
...
...
@@ -262,6 +262,7 @@ Page({
return
value
;
},
// 数据提交
form_submit
(
e
)
{
var
self
=
this
,
data
=
self
.
data
;
...
...
@@ -315,5 +316,14 @@ Page({
}
});
}
},
// 省市区未按照顺序选择提示
region_select_error_event
(
e
)
{
var
value
=
e
.
currentTarget
.
dataset
.
value
||
null
;
if
(
value
!=
null
)
{
app
.
showToast
(
value
);
}
}
});
public/appmini/old/toutiao/pages/user-address-save/user-address-save.ttml
浏览文件 @
b30df80b
...
...
@@ -13,14 +13,16 @@
</picker>
</view>
<view class="section fl br-r">
<picker name="city" bindchange="select_city" value="{{city_value}}" range="{{city_list}}" range-key="name">
<picker
tt:if="{{(province_id || null) != null}}"
name="city" bindchange="select_city" value="{{city_value}}" range="{{city_list}}" range-key="name">
<view class="name {{(city_value == null) ? 'cr-888' : '' }}">{{city_list[city_value].name || default_city}}</view>
</picker>
<text tt:else class="cr-888" bindtap="region_select_error_event" data-value="请先选择省份">请先选择省份</text>
</view>
<view class="section fl">
<picker name="county" bindchange="select_county" value="{{county_value}}" range="{{county_list}}" range-key="name">
<picker
tt:if="{{(city_id || null) != null}}"
name="county" bindchange="select_county" value="{{county_value}}" range="{{county_list}}" range-key="name">
<view class="name {{(county_value == null) ? 'cr-888' : '' }}">{{county_list[county_value].name || default_county}}</view>
</picker>
<text tt:else class="cr-888" bindtap="region_select_error_event" data-value="请先选择城市">请先选择城市</text>
</view>
</view>
<!-- end地区选择 -->
...
...
public/appmini/old/weixin/pages/user-address-save/user-address-save.js
浏览文件 @
b30df80b
...
...
@@ -262,6 +262,7 @@ Page({
return
value
;
},
// 数据提交
form_submit
(
e
)
{
var
self
=
this
,
data
=
self
.
data
;
...
...
@@ -315,5 +316,14 @@ Page({
}
});
}
},
// 省市区未按照顺序选择提示
region_select_error_event
(
e
)
{
var
value
=
e
.
currentTarget
.
dataset
.
value
||
null
;
if
(
value
!=
null
)
{
app
.
showToast
(
value
);
}
}
});
public/appmini/old/weixin/pages/user-address-save/user-address-save.wxml
浏览文件 @
b30df80b
...
...
@@ -13,14 +13,16 @@
</picker>
</view>
<view class="section fl br-r">
<picker name="city" bindchange="select_city" value="{{city_value}}" range="{{city_list}}" range-key="name">
<picker
wx:if="{{(province_id || null) != null}}"
name="city" bindchange="select_city" value="{{city_value}}" range="{{city_list}}" range-key="name">
<view class="name {{(city_value == null) ? 'cr-888' : '' }}">{{city_list[city_value].name || default_city}}</view>
</picker>
<text wx:else class="cr-888" bindtap="region_select_error_event" data-value="请先选择省份">请先选择省份</text>
</view>
<view class="section fl">
<picker name="county" bindchange="select_county" value="{{county_value}}" range="{{county_list}}" range-key="name">
<picker
wx:if="{{(city_id || null) != null}}"
name="county" bindchange="select_county" value="{{county_value}}" range="{{county_list}}" range-key="name">
<view class="name {{(county_value == null) ? 'cr-888' : '' }}">{{county_list[county_value].name || default_county}}</view>
</picker>
<text wx:else class="cr-888" bindtap="region_select_error_event" data-value="请先选择城市">请先选择城市</text>
</view>
</view>
<!-- end地区选择 -->
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录