Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
jcy2004x
ShopXO
提交
adb76269
ShopXO
项目概览
jcy2004x
/
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,发现更多精彩内容 >>
提交
adb76269
编写于
10月 31, 2019
作者:
D
devil_gong
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
qq小程序
上级
5fbc5eb1
变更
30
隐藏空白更改
内联
并排
Showing
30 changed file
with
244 addition
and
287 deletion
+244
-287
public/appmini/old/alipay/pages/user-address-save/user-address-save.axml
...old/alipay/pages/user-address-save/user-address-save.axml
+3
-3
public/appmini/old/alipay/pages/user-address-save/user-address-save.js
...i/old/alipay/pages/user-address-save/user-address-save.js
+39
-26
public/appmini/old/alipay/pages/user-orderaftersale-detail/user-orderaftersale-detail.axml
...ser-orderaftersale-detail/user-orderaftersale-detail.axml
+3
-3
public/appmini/old/alipay/pages/user-orderaftersale-detail/user-orderaftersale-detail.js
.../user-orderaftersale-detail/user-orderaftersale-detail.js
+3
-3
public/appmini/old/baidu/pages/user-address-save/user-address-save.css
...i/old/baidu/pages/user-address-save/user-address-save.css
+1
-4
public/appmini/old/baidu/pages/user-address-save/user-address-save.js
...ni/old/baidu/pages/user-address-save/user-address-save.js
+35
-26
public/appmini/old/baidu/pages/user-address-save/user-address-save.swan
.../old/baidu/pages/user-address-save/user-address-save.swan
+3
-3
public/appmini/old/baidu/pages/user-orderaftersale-detail/user-orderaftersale-detail.js
.../user-orderaftersale-detail/user-orderaftersale-detail.js
+3
-3
public/appmini/old/baidu/pages/user-orderaftersale-detail/user-orderaftersale-detail.swan
...ser-orderaftersale-detail/user-orderaftersale-detail.swan
+3
-3
public/appmini/old/qq/pages/goods-detail/goods-detail.js
public/appmini/old/qq/pages/goods-detail/goods-detail.js
+0
-33
public/appmini/old/qq/pages/goods-detail/goods-detail.qml
public/appmini/old/qq/pages/goods-detail/goods-detail.qml
+5
-32
public/appmini/old/qq/pages/goods-detail/goods-detail.qss
public/appmini/old/qq/pages/goods-detail/goods-detail.qss
+1
-0
public/appmini/old/qq/pages/user-address-save/user-address-save.js
...pmini/old/qq/pages/user-address-save/user-address-save.js
+38
-29
public/appmini/old/qq/pages/user-address-save/user-address-save.qml
...mini/old/qq/pages/user-address-save/user-address-save.qml
+3
-3
public/appmini/old/qq/pages/user-address-save/user-address-save.qss
...mini/old/qq/pages/user-address-save/user-address-save.qss
+0
-3
public/appmini/old/qq/pages/user-order/user-order.qss
public/appmini/old/qq/pages/user-order/user-order.qss
+1
-1
public/appmini/old/qq/pages/user-orderaftersale-detail/user-orderaftersale-detail.js
.../user-orderaftersale-detail/user-orderaftersale-detail.js
+3
-3
public/appmini/old/qq/pages/user-orderaftersale-detail/user-orderaftersale-detail.qml
...user-orderaftersale-detail/user-orderaftersale-detail.qml
+3
-3
public/appmini/old/qq/pages/user-orderaftersale/user-orderaftersale.qss
.../old/qq/pages/user-orderaftersale/user-orderaftersale.qss
+1
-1
public/appmini/old/toutiao/pages/goods-detail/goods-detail.js
...ic/appmini/old/toutiao/pages/goods-detail/goods-detail.js
+0
-21
public/appmini/old/toutiao/pages/user-address-save/user-address-save.js
.../old/toutiao/pages/user-address-save/user-address-save.js
+38
-29
public/appmini/old/toutiao/pages/user-address-save/user-address-save.ttml
...ld/toutiao/pages/user-address-save/user-address-save.ttml
+3
-3
public/appmini/old/toutiao/pages/user-address-save/user-address-save.ttss
...ld/toutiao/pages/user-address-save/user-address-save.ttss
+1
-4
public/appmini/old/toutiao/pages/user-orderaftersale-detail/user-orderaftersale-detail.js
.../user-orderaftersale-detail/user-orderaftersale-detail.js
+3
-3
public/appmini/old/toutiao/pages/user-orderaftersale-detail/user-orderaftersale-detail.ttml
...ser-orderaftersale-detail/user-orderaftersale-detail.ttml
+3
-3
public/appmini/old/weixin/pages/user-address-save/user-address-save.js
...i/old/weixin/pages/user-address-save/user-address-save.js
+38
-29
public/appmini/old/weixin/pages/user-address-save/user-address-save.wxml
...old/weixin/pages/user-address-save/user-address-save.wxml
+3
-3
public/appmini/old/weixin/pages/user-address-save/user-address-save.wxss
...old/weixin/pages/user-address-save/user-address-save.wxss
+1
-4
public/appmini/old/weixin/pages/user-orderaftersale-detail/user-orderaftersale-detail.js
.../user-orderaftersale-detail/user-orderaftersale-detail.js
+3
-3
public/appmini/old/weixin/pages/user-orderaftersale-detail/user-orderaftersale-detail.wxml
...ser-orderaftersale-detail/user-orderaftersale-detail.wxml
+3
-3
未找到文件。
public/appmini/old/alipay/pages/user-address-save/user-address-save.axml
浏览文件 @
adb76269
...
...
@@ -9,17 +9,17 @@
<view class="select-address br-b oh">
<view class="section fl br-r">
<picker name="province" onChange="select_province" value="{{province_value}}" range="{{province_list}}" range-key="name">
<view class="name">{{province_list[province_value].name || default_province}}</view>
<view class="name
{{(province_value == null) ? 'cr-888' : '' }}
">{{province_list[province_value].name || default_province}}</view>
</picker>
</view>
<view class="section fl br-r">
<picker name="city" onChange="select_city" value="{{city_value}}" range="{{city_list}}" range-key="name">
<view class="name">{{city_list[city_value].name || default_city}}</view>
<view class="name
{{(city_value == null) ? 'cr-888' : '' }}
">{{city_list[city_value].name || default_city}}</view>
</picker>
</view>
<view class="section fl">
<picker name="county" onChange="select_county" value="{{county_value}}" range="{{county_list}}" range-key="name">
<view class="name">{{county_list[county_value].name || default_county}}</view>
<view class="name
{{(county_value == null) ? 'cr-888' : '' }}
">{{county_list[county_value].name || default_county}}</view>
</picker>
</view>
</view>
...
...
public/appmini/old/alipay/pages/user-address-save/user-address-save.js
浏览文件 @
adb76269
...
...
@@ -17,6 +17,10 @@ Page({
default_city
:
"
请选择市
"
,
default_county
:
"
请选择区/县
"
,
province_value
:
null
,
city_value
:
null
,
county_value
:
null
,
params
:
null
,
},
...
...
@@ -197,38 +201,47 @@ Page({
},
select_province
(
e
)
{
var
value
=
e
.
detail
.
value
,
data
=
this
.
data
.
province_list
[
value
];
this
.
setData
({
province_value
:
value
,
province_id
:
data
.
id
,
city_value
:
null
,
county_value
:
null
,
city_id
:
null
,
county_id
:
null
});
this
.
get_city_list
();
if
(
e
.
detail
.
value
>=
0
)
{
var
value
=
e
.
detail
.
value
,
data
=
this
.
data
.
province_list
[
value
];
this
.
setData
({
province_value
:
value
,
province_id
:
data
.
id
,
city_value
:
null
,
county_value
:
null
,
city_id
:
null
,
county_id
:
null
});
this
.
get_city_list
();
}
},
select_city
(
e
)
{
var
value
=
e
.
detail
.
value
,
data
=
this
.
data
.
city_list
[
value
];
this
.
setData
({
city_value
:
value
,
city_id
:
data
.
id
,
county_value
:
null
,
county_id
:
null
});
this
.
get_county_list
();
if
(
e
.
detail
.
value
>=
0
)
{
var
value
=
e
.
detail
.
value
,
data
=
this
.
data
.
city_list
[
value
];
this
.
setData
({
city_value
:
value
,
city_id
:
data
.
id
,
county_value
:
null
,
county_id
:
null
});
this
.
get_county_list
();
}
},
select_county
(
e
)
{
var
value
=
e
.
detail
.
value
,
data
=
this
.
data
.
county_list
[
value
];
this
.
setData
({
county_value
:
value
,
county_id
:
data
.
id
});
if
(
e
.
detail
.
value
>=
0
)
{
var
value
=
e
.
detail
.
value
,
data
=
this
.
data
.
county_list
[
value
];
this
.
setData
({
county_value
:
value
,
county_id
:
data
.
id
});
}
},
init_value
()
{
...
...
public/appmini/old/alipay/pages/user-orderaftersale-detail/user-orderaftersale-detail.axml
浏览文件 @
adb76269
...
...
@@ -95,12 +95,12 @@
</view>
<!-- 表单 -->
<view a:if="{{form_type !=
-1
}}" class="form-container spacing-mb oh">
<view a:if="{{form_type !=
null
}}" class="form-container spacing-mb oh">
<view class="form-gorup bg-white">
<view class="form-gorup-title">退款原因<text class="form-group-tips-must">必选</text></view>
<picker onChange="form_reason_event" value="{{form_reason_index}}" range="{{reason_data_list}}">
<view class="picker {{form_reason_index ==
-1
? 'cr-ccc' : 'cr-666'}} arrow-right">
{{form_reason_index ==
-1
? '请选择原因' : reason_data_list[form_reason_index]}}
<view class="picker {{form_reason_index ==
null
? 'cr-ccc' : 'cr-666'}} arrow-right">
{{form_reason_index ==
null
? '请选择原因' : reason_data_list[form_reason_index]}}
</view>
</picker>
</view>
...
...
public/appmini/old/alipay/pages/user-orderaftersale-detail/user-orderaftersale-detail.js
浏览文件 @
adb76269
...
...
@@ -101,8 +101,8 @@ Page({
// 表单数据
form_button_disabled
:
false
,
form_type
:
-
1
,
form_reason_index
:
-
1
,
form_type
:
null
,
form_reason_index
:
null
,
form_price
:
''
,
form_msg
:
''
,
form_number
:
0
,
...
...
@@ -188,7 +188,7 @@ Page({
var
value
=
e
.
target
.
dataset
.
value
;
this
.
setData
({
form_type
:
value
,
form_reason_index
:
(
this
.
data
.
form_type
==
value
)
?
this
.
data
.
form_reason_index
:
-
1
,
form_reason_index
:
(
this
.
data
.
form_type
==
value
)
?
this
.
data
.
form_reason_index
:
null
,
reason_data_list
:
(
value
==
0
)
?
this
.
data
.
return_only_money_reason
:
this
.
data
.
return_money_goods_reason
,
form_number
:
(
value
==
0
)
?
0
:
this
.
data
.
returned_data
.
returned_quantity
,
});
...
...
public/appmini/old/baidu/pages/user-address-save/user-address-save.css
浏览文件 @
adb76269
...
...
@@ -38,7 +38,4 @@
.addressee-address
{
box-sizing
:
border-box
;
width
:
100%
;
}
.not-selected
{
color
:
#888
;
}
}
\ No newline at end of file
public/appmini/old/baidu/pages/user-address-save/user-address-save.js
浏览文件 @
adb76269
...
...
@@ -14,9 +14,9 @@ Page({
default_city
:
"
请选择市
"
,
default_county
:
"
请选择区/县
"
,
province_value
:
-
1
,
city_value
:
-
1
,
county_value
:
-
1
,
province_value
:
null
,
city_value
:
null
,
county_value
:
null
,
params
:
null
},
...
...
@@ -180,38 +180,47 @@ Page({
},
select_province
(
e
)
{
var
value
=
e
.
detail
.
value
,
if
(
e
.
detail
.
value
>=
0
)
{
var
value
=
e
.
detail
.
value
,
data
=
this
.
data
.
province_list
[
value
];
this
.
setData
({
province_value
:
value
,
province_id
:
data
.
id
,
city_value
:
null
,
county_value
:
null
,
city_id
:
null
,
county_id
:
null
});
this
.
get_city_list
();
this
.
setData
({
province_value
:
value
,
province_id
:
data
.
id
,
city_value
:
null
,
county_value
:
null
,
city_id
:
null
,
county_id
:
null
});
this
.
get_city_list
();
}
},
select_city
(
e
)
{
var
value
=
e
.
detail
.
value
,
if
(
e
.
detail
.
value
>=
0
)
{
var
value
=
e
.
detail
.
value
,
data
=
this
.
data
.
city_list
[
value
];
this
.
setData
({
city_value
:
value
,
city_id
:
data
.
id
,
county_value
:
null
,
county_id
:
null
});
this
.
get_county_list
();
this
.
setData
({
city_value
:
value
,
city_id
:
data
.
id
,
county_value
:
null
,
county_id
:
null
});
this
.
get_county_list
();
}
},
select_county
(
e
)
{
var
value
=
e
.
detail
.
value
,
if
(
e
.
detail
.
value
>=
0
)
{
var
value
=
e
.
detail
.
value
,
data
=
this
.
data
.
county_list
[
value
];
this
.
setData
({
county_value
:
value
,
county_id
:
data
.
id
});
this
.
setData
({
county_value
:
value
,
county_id
:
data
.
id
});
}
},
init_value
()
{
...
...
public/appmini/old/baidu/pages/user-address-save/user-address-save.swan
浏览文件 @
adb76269
...
...
@@ -9,17 +9,17 @@
<view class="select-address br-b oh">
<view class="section fl br-r">
<picker name="province" bindchange="select_province" value="{{province_value}}" range="{{province_list}}" range-key="name">
<view class="name {{(province_value ==
-1) ? 'not-selected
' : '' }}">{{province_list[province_value].name || default_province}}</view>
<view class="name {{(province_value ==
null) ? 'cr-888
' : '' }}">{{province_list[province_value].name || default_province}}</view>
</picker>
</view>
<view class="section fl br-r">
<picker name="city" bindchange="select_city" value="{{city_value}}" range="{{city_list}}" range-key="name">
<view class="name {{(city_value ==
-1) ? 'not-selected
' : '' }}">{{city_list[city_value].name || default_city}}</view>
<view class="name {{(city_value ==
null) ? 'cr-888
' : '' }}">{{city_list[city_value].name || default_city}}</view>
</picker>
</view>
<view class="section fl">
<picker name="county" bindchange="select_county" value="{{county_value}}" range="{{county_list}}" range-key="name">
<view class="name {{(county_value ==
-1) ? 'not-selected
' : '' }}">{{county_list[county_value].name || default_county}}</view>
<view class="name {{(county_value ==
null) ? 'cr-888
' : '' }}">{{county_list[county_value].name || default_county}}</view>
</picker>
</view>
</view>
...
...
public/appmini/old/baidu/pages/user-orderaftersale-detail/user-orderaftersale-detail.js
浏览文件 @
adb76269
...
...
@@ -81,8 +81,8 @@ Page({
// 表单数据
form_button_disabled
:
false
,
form_type
:
-
1
,
form_reason_index
:
-
1
,
form_type
:
null
,
form_reason_index
:
null
,
form_price
:
''
,
form_msg
:
''
,
form_number
:
0
,
...
...
@@ -168,7 +168,7 @@ Page({
var
value
=
e
.
currentTarget
.
dataset
.
value
;
this
.
setData
({
form_type
:
value
,
form_reason_index
:
this
.
data
.
form_type
==
value
?
this
.
data
.
form_reason_index
:
-
1
,
form_reason_index
:
this
.
data
.
form_type
==
value
?
this
.
data
.
form_reason_index
:
null
,
reason_data_list
:
value
==
0
?
this
.
data
.
return_only_money_reason
:
this
.
data
.
return_money_goods_reason
,
form_number
:
value
==
0
?
0
:
this
.
data
.
returned_data
.
returned_quantity
});
...
...
public/appmini/old/baidu/pages/user-orderaftersale-detail/user-orderaftersale-detail.swan
浏览文件 @
adb76269
...
...
@@ -95,12 +95,12 @@
</view>
<!-- 表单 -->
<view s-if="form_type !=
-1
" class="form-container spacing-mb oh">
<view s-if="form_type !=
null
" class="form-container spacing-mb oh">
<view class="form-gorup">
<view class="form-gorup-title">退款原因<text class="form-group-tips-must">必选</text></view>
<picker bindchange="form_reason_event" value="{{form_reason_index}}" range="{{reason_data_list}}">
<view class="picker {{form_reason_index ==
-1
? 'cr-ccc' : 'cr-666'}} arrow-right">
{{form_reason_index ==
-1
? '请选择原因' : reason_data_list[form_reason_index]}}
<view class="picker {{form_reason_index ==
null
? 'cr-ccc' : 'cr-666'}} arrow-right">
{{form_reason_index ==
null
? '请选择原因' : reason_data_list[form_reason_index]}}
</view>
</picker>
</view>
...
...
public/appmini/old/qq/pages/goods-detail/goods-detail.js
浏览文件 @
adb76269
...
...
@@ -34,7 +34,6 @@ Page({
goods_video_is_autoplay
:
false
,
common_app_is_use_mobile_detail
:
1
,
popup_share_status
:
false
,
common_app_is_online_service
:
0
,
// 限时秒杀插件
...
...
@@ -45,18 +44,6 @@ Page({
plugins_limitedtimediscount_timer
:
null
,
plugins_limitedtimediscount_timers
:
null
,
// 好物圈分享信息
common_app_is_good_thing
:
0
,
share_product
:
{
"
item_code
"
:
""
,
"
title
"
:
""
,
"
desc
"
:
""
,
"
category_list
"
:
[],
"
image_list
"
:
[],
"
src_mini_program_path
"
:
""
,
"
brand_info
"
:
{},
},
// 海报分享
common_app_is_poster_share
:
0
,
...
...
@@ -144,16 +131,6 @@ Page({
common_app_is_limitedtimediscount
:
data
.
common_app_is_limitedtimediscount
||
0
,
plugins_limitedtimediscount_data
:
data
.
plugins_limitedtimediscount_data
||
null
,
common_app_is_good_thing
:
data
.
common_app_is_good_thing
||
0
,
'
share_product.item_code
'
:
data
.
goods
.
id
.
toString
(),
'
share_product.title
'
:
data
.
goods
.
title
,
'
share_product.image_list
'
:
data
.
goods
.
photo
.
map
(
function
(
v
)
{
return
v
.
images
;}),
'
share_product.desc
'
:
data
.
goods
.
simple_desc
,
'
share_product.category_list
'
:
data
.
goods
.
category_names
||
[],
'
share_product.src_mini_program_path
'
:
'
/pages/goods-detail/goods-detail?goods_id=
'
+
data
.
goods
.
id
,
'
share_product.brand_info.name
'
:
data
.
goods
.
brand_name
,
common_app_is_poster_share
:
data
.
common_app_is_poster_share
||
0
,
plugins_coupon_data
:
data
.
plugins_coupon_data
||
null
,
quick_nav_cart_count
:
data
.
common_cart_total
||
0
,
});
...
...
@@ -669,16 +646,6 @@ Page({
this
.
setData
({
goods_video_is_autoplay
:
false
});
},
// 分享开启弹层
popup_share_event
(
e
)
{
this
.
setData
({
popup_share_status
:
true
});
},
// 分享弹层关闭
popup_share_close_event
(
e
)
{
this
.
setData
({
popup_share_status
:
false
});
},
// 显示秒杀插件-倒计时
plugins_limitedtimediscount_countdown
()
{
// 销毁之前的任务
...
...
public/appmini/old/qq/pages/goods-detail/goods-detail.qml
浏览文件 @
adb76269
...
...
@@ -38,9 +38,11 @@
<!--
基础息
-->
<
view
class
=
"
goods-base bg-white
"
>
<
view
class
=
"
goods-price single-text
"
>
<
view
class
=
"
goods-share tc
"
bindtap
=
"
popup_share_event
"
>
<
image
src
=
"
/images/goods-detail-share-icon.png
"
mode
=
"
scaleToFill
"
class
=
"
dis-block
"
/>
<
view
class
=
"
cr-888
"
>
分享
<
/view>
<
view
class
=
"
goods-share tc
"
>
<
button
type
=
"
default
"
size
=
"
mini
"
open
-
type
=
"
share
"
hover
-
class
=
"
none
"
>
<
image
src
=
"
/images/goods-detail-share-icon.png
"
mode
=
"
scaleToFill
"
class
=
"
dis-block
"
/>
<
view
class
=
"
cr-888
"
>
分享
<
/view
>
<
/button>
<
/view
>
<
text
qq
:
if
=
"
{{(show_field_price_text || null) != null}}
"
class
=
"
price-icon
"
>
{{
show_field_price_text
}}
<
/text
>
<
text
class
=
"
sales-price
"
>
¥
{{
goods
.
price
}}
<
/text
>
...
...
@@ -188,35 +190,6 @@
<
button
class
=
"
goods-popup-submit bg-main
"
type
=
"
default
"
catchtap
=
"
goods_buy_confirm_event
"
hover
-
class
=
"
none
"
>
确定
<
/button
>
<
/view
>
<
/component-popup
>
<!--
分享弹层
-->
<
component
-
popup
prop
-
show
=
"
{{popup_share_status}}
"
prop
-
position
=
"
bottom
"
bindonclose
=
"
popup_share_close_event
"
>
<
view
class
=
"
share-popup bg-white
"
>
<
view
class
=
"
close fr oh
"
>
<
view
class
=
"
fr
"
catchtap
=
"
popup_share_close_event
"
>
<
icon
type
=
"
clear
"
size
=
"
20
"
/>
<
/view
>
<
/view
>
<
view
class
=
"
share-popup-content
"
>
<
view
qq
:
if
=
"
{{common_app_is_good_thing == 1}}
"
class
=
"
share-items oh
"
>
<
share
-
button
product
=
"
{{share_product}}
"
type
=
"
3
"
class
=
"
dis-block oh
"
>
<
image
class
=
"
fl
"
src
=
"
/images/share-recomend-icon.png
"
mode
=
"
scaleToFill
"
/>
<
view
class
=
"
cr-888 single-text fl
"
>
好物推荐
、
和大家一起分享你发现的宝贝
<
/view
>
<
/share-button
>
<
/view
>
<
view
class
=
"
share-items oh
"
>
<
button
class
=
"
dis-block
"
type
=
"
default
"
size
=
"
mini
"
open
-
type
=
"
share
"
hover
-
class
=
"
none
"
>
<
image
src
=
"
/images/share-weixin-icon.png
"
mode
=
"
scaleToFill
"
/>
<
text
class
=
"
cr-888 single-text
"
>
一键分享给好友
、
群聊
<
/text
>
<
/button
>
<
/view
>
<
view
qq
:
if
=
"
{{common_app_is_poster_share == 1}}
"
class
=
"
share-items oh
"
bindtap
=
"
poster_event
"
>
<
image
src
=
"
/images/share-friend-icon.png
"
mode
=
"
scaleToFill
"
/>
<
text
class
=
"
cr-888 single-text
"
>
生成海报
,
分享到朋友圈
、
好友及群聊
<
/text
>
<
/view
>
<
/view
>
<
/view
>
<
/component-popup
>
<
/view
>
<
view
qq
:
if
=
"
{{goods == null}}
"
>
...
...
public/appmini/old/qq/pages/goods-detail/goods-detail.qss
浏览文件 @
adb76269
...
...
@@ -179,6 +179,7 @@
}
.goods-base button {
background: #fff;
padding: 0;
}
.goods-base .goods-share {
position: absolute;
...
...
public/appmini/old/qq/pages/user-address-save/user-address-save.js
浏览文件 @
adb76269
...
...
@@ -14,9 +14,9 @@ Page({
default_city
:
"
请选择市
"
,
default_county
:
"
请选择区/县
"
,
province_value
:
-
1
,
city_value
:
-
1
,
county_value
:
-
1
,
province_value
:
null
,
city_value
:
null
,
county_value
:
null
,
params
:
null
,
},
...
...
@@ -182,38 +182,47 @@ Page({
},
select_province
(
e
)
{
var
value
=
e
.
detail
.
value
,
data
=
this
.
data
.
province_list
[
value
];
this
.
setData
({
province_value
:
value
,
province_id
:
data
.
id
,
city_value
:
null
,
county_value
:
null
,
city_id
:
null
,
county_id
:
null
});
this
.
get_city_list
();
if
(
e
.
detail
.
value
>=
0
)
{
var
value
=
e
.
detail
.
value
,
data
=
this
.
data
.
province_list
[
value
];
this
.
setData
({
province_value
:
value
,
province_id
:
data
.
id
,
city_value
:
null
,
county_value
:
null
,
city_id
:
null
,
county_id
:
null
});
this
.
get_city_list
();
}
},
select_city
(
e
)
{
var
value
=
e
.
detail
.
value
,
data
=
this
.
data
.
city_list
[
value
];
this
.
setData
({
city_value
:
value
,
city_id
:
data
.
id
,
county_value
:
null
,
county_id
:
null
});
this
.
get_county_list
();
if
(
e
.
detail
.
value
>=
0
)
{
var
value
=
e
.
detail
.
value
,
data
=
this
.
data
.
city_list
[
value
];
this
.
setData
({
city_value
:
value
,
city_id
:
data
.
id
,
county_value
:
null
,
county_id
:
null
});
this
.
get_county_list
();
}
},
select_county
(
e
)
{
var
value
=
e
.
detail
.
value
,
data
=
this
.
data
.
county_list
[
value
];
this
.
setData
({
county_value
:
value
,
county_id
:
data
.
id
});
if
(
e
.
detail
.
value
>=
0
)
{
var
value
=
e
.
detail
.
value
,
data
=
this
.
data
.
county_list
[
value
];
this
.
setData
({
county_value
:
value
,
county_id
:
data
.
id
});
}
},
init_value
()
{
...
...
public/appmini/old/qq/pages/user-address-save/user-address-save.qml
浏览文件 @
adb76269
...
...
@@ -9,17 +9,17 @@
<
view
class
=
"
select-address br-b oh
"
>
<
view
class
=
"
section fl br-r
"
>
<
picker
name
=
"
province
"
bindchange
=
"
select_province
"
value
=
"
{{province_value}}
"
range
=
"
{{province_list}}
"
range
-
key
=
"
name
"
>
<
view
class
=
"
name {{(province_value ==
-1) ? 'not-selected
' : '' }}
"
>
{{
province_list
[
province_value
].
name
||
default_province
}}
<
/view
>
<
view
class
=
"
name {{(province_value ==
null) ? 'cr-888
' : '' }}
"
>
{{
province_list
[
province_value
].
name
||
default_province
}}
<
/view
>
<
/picker
>
<
/view
>
<
view
class
=
"
section fl br-r
"
>
<
picker
name
=
"
city
"
bindchange
=
"
select_city
"
value
=
"
{{city_value}}
"
range
=
"
{{city_list}}
"
range
-
key
=
"
name
"
>
<
view
class
=
"
name {{(city_value ==
-1) ? 'not-selected
' : '' }}
"
>
{{
city_list
[
city_value
].
name
||
default_city
}}
<
/view
>
<
view
class
=
"
name {{(city_value ==
null) ? 'cr-888
' : '' }}
"
>
{{
city_list
[
city_value
].
name
||
default_city
}}
<
/view
>
<
/picker
>
<
/view
>
<
view
class
=
"
section fl
"
>
<
picker
name
=
"
county
"
bindchange
=
"
select_county
"
value
=
"
{{county_value}}
"
range
=
"
{{county_list}}
"
range
-
key
=
"
name
"
>
<
view
class
=
"
name {{(county_value ==
-1) ? 'not-selected
' : '' }}
"
>
{{
county_list
[
county_value
].
name
||
default_county
}}
<
/view
>
<
view
class
=
"
name {{(county_value ==
null) ? 'cr-888
' : '' }}
"
>
{{
county_list
[
county_value
].
name
||
default_county
}}
<
/view
>
<
/picker
>
<
/view
>
<
/view
>
...
...
public/appmini/old/qq/pages/user-address-save/user-address-save.qss
浏览文件 @
adb76269
...
...
@@ -36,6 +36,3 @@
box-sizing: border-box;
width: 100%;
}
.not-selected {
color: #888;
}
public/appmini/old/qq/pages/user-order/user-order.qss
浏览文件 @
adb76269
...
...
@@ -58,7 +58,7 @@
margin-left: 20rpx;
}
.item-operation button {
padding:
0
35rpx;
padding:
15rpx
35rpx;
}
.orderaftersale-btn-text {
position: absolute;
...
...
public/appmini/old/qq/pages/user-orderaftersale-detail/user-orderaftersale-detail.js
浏览文件 @
adb76269
...
...
@@ -101,8 +101,8 @@ Page({
// 表单数据
form_button_disabled
:
false
,
form_type
:
-
1
,
form_reason_index
:
-
1
,
form_type
:
null
,
form_reason_index
:
null
,
form_price
:
''
,
form_msg
:
''
,
form_number
:
0
,
...
...
@@ -188,7 +188,7 @@ Page({
var
value
=
e
.
currentTarget
.
dataset
.
value
;
this
.
setData
({
form_type
:
value
,
form_reason_index
:
(
this
.
data
.
form_type
==
value
)
?
this
.
data
.
form_reason_index
:
-
1
,
form_reason_index
:
(
this
.
data
.
form_type
==
value
)
?
this
.
data
.
form_reason_index
:
null
,
reason_data_list
:
(
value
==
0
)
?
this
.
data
.
return_only_money_reason
:
this
.
data
.
return_money_goods_reason
,
form_number
:
(
value
==
0
)
?
0
:
this
.
data
.
returned_data
.
returned_quantity
,
});
...
...
public/appmini/old/qq/pages/user-orderaftersale-detail/user-orderaftersale-detail.qml
浏览文件 @
adb76269
...
...
@@ -95,12 +95,12 @@
<
/view
>
<!--
表单
-->
<
view
qq
:
if
=
"
{{form_type !=
-1
}}
"
class
=
"
form-container spacing-mb oh
"
>
<
view
qq
:
if
=
"
{{form_type !=
null
}}
"
class
=
"
form-container spacing-mb oh
"
>
<
view
class
=
"
form-gorup bg-white
"
>
<
view
class
=
"
form-gorup-title
"
>
退款原因
<
text
class
=
"
form-group-tips-must
"
>
必选
<
/text></
view
>
<
picker
bindchange
=
"
form_reason_event
"
value
=
"
{{form_reason_index}}
"
range
=
"
{{reason_data_list}}
"
>
<
view
class
=
"
picker {{form_reason_index ==
-1
? 'cr-ccc' : 'cr-666'}} arrow-right
"
>
{{
form_reason_index
==
-
1
?
'
请选择原因
'
:
reason_data_list
[
form_reason_index
]}}
<
view
class
=
"
picker {{form_reason_index ==
null
? 'cr-ccc' : 'cr-666'}} arrow-right
"
>
{{
form_reason_index
==
null
?
'
请选择原因
'
:
reason_data_list
[
form_reason_index
]}}
<
/view
>
<
/picker
>
<
/view
>
...
...
public/appmini/old/qq/pages/user-orderaftersale/user-orderaftersale.qss
浏览文件 @
adb76269
...
...
@@ -61,5 +61,5 @@
margin-left: 20rpx;
}
.item-operation button {
padding:
0
35rpx;
padding:
15rpx
35rpx;
}
\ No newline at end of file
public/appmini/old/toutiao/pages/goods-detail/goods-detail.js
浏览文件 @
adb76269
...
...
@@ -42,18 +42,6 @@ Page({
plugins_limitedtimediscount_timer
:
null
,
plugins_limitedtimediscount_timers
:
null
,
// 好物圈分享信息
common_app_is_good_thing
:
0
,
share_product
:
{
"
item_code
"
:
""
,
"
title
"
:
""
,
"
desc
"
:
""
,
"
category_list
"
:
[],
"
image_list
"
:
[],
"
src_mini_program_path
"
:
""
,
"
brand_info
"
:
{},
},
// 优惠劵
plugins_coupon_data
:
null
,
...
...
@@ -137,15 +125,6 @@ Page({
common_app_is_limitedtimediscount
:
data
.
common_app_is_limitedtimediscount
||
0
,
plugins_limitedtimediscount_data
:
data
.
plugins_limitedtimediscount_data
||
null
,
common_app_is_good_thing
:
data
.
common_app_is_good_thing
||
0
,
'
share_product.item_code
'
:
data
.
goods
.
id
.
toString
(),
'
share_product.title
'
:
data
.
goods
.
title
,
'
share_product.image_list
'
:
data
.
goods
.
photo
.
map
(
function
(
v
)
{
return
v
.
images
;}),
'
share_product.desc
'
:
data
.
goods
.
simple_desc
,
'
share_product.category_list
'
:
data
.
goods
.
category_names
||
[],
'
share_product.src_mini_program_path
'
:
'
/pages/goods-detail/goods-detail?goods_id=
'
+
data
.
goods
.
id
,
'
share_product.brand_info.name
'
:
data
.
goods
.
brand_name
,
plugins_coupon_data
:
data
.
plugins_coupon_data
||
null
,
quick_nav_cart_count
:
data
.
common_cart_total
||
0
,
});
...
...
public/appmini/old/toutiao/pages/user-address-save/user-address-save.js
浏览文件 @
adb76269
...
...
@@ -14,9 +14,9 @@ Page({
default_city
:
"
请选择市
"
,
default_county
:
"
请选择区/县
"
,
province_value
:
-
1
,
city_value
:
-
1
,
county_value
:
-
1
,
province_value
:
null
,
city_value
:
null
,
county_value
:
null
,
params
:
null
,
},
...
...
@@ -182,38 +182,47 @@ Page({
},
select_province
(
e
)
{
var
value
=
e
.
detail
.
value
,
data
=
this
.
data
.
province_list
[
value
];
this
.
setData
({
province_value
:
value
,
province_id
:
data
.
id
,
city_value
:
null
,
county_value
:
null
,
city_id
:
null
,
county_id
:
null
});
this
.
get_city_list
();
if
(
e
.
detail
.
value
>=
0
)
{
var
value
=
e
.
detail
.
value
,
data
=
this
.
data
.
province_list
[
value
];
this
.
setData
({
province_value
:
value
,
province_id
:
data
.
id
,
city_value
:
null
,
county_value
:
null
,
city_id
:
null
,
county_id
:
null
});
this
.
get_city_list
();
}
},
select_city
(
e
)
{
var
value
=
e
.
detail
.
value
,
data
=
this
.
data
.
city_list
[
value
];
this
.
setData
({
city_value
:
value
,
city_id
:
data
.
id
,
county_value
:
null
,
county_id
:
null
});
this
.
get_county_list
();
if
(
e
.
detail
.
value
>=
0
)
{
var
value
=
e
.
detail
.
value
,
data
=
this
.
data
.
city_list
[
value
];
this
.
setData
({
city_value
:
value
,
city_id
:
data
.
id
,
county_value
:
null
,
county_id
:
null
});
this
.
get_county_list
();
}
},
select_county
(
e
)
{
var
value
=
e
.
detail
.
value
,
data
=
this
.
data
.
county_list
[
value
];
this
.
setData
({
county_value
:
value
,
county_id
:
data
.
id
});
if
(
e
.
detail
.
value
>=
0
)
{
var
value
=
e
.
detail
.
value
,
data
=
this
.
data
.
county_list
[
value
];
this
.
setData
({
county_value
:
value
,
county_id
:
data
.
id
});
}
},
init_value
()
{
...
...
public/appmini/old/toutiao/pages/user-address-save/user-address-save.ttml
浏览文件 @
adb76269
...
...
@@ -9,17 +9,17 @@
<view class="select-address br-b oh">
<view class="section fl br-r">
<picker name="province" bindchange="select_province" value="{{province_value}}" range="{{province_list}}" range-key="name">
<view class="name {{(province_value ==
-1) ? 'not-selected
' : '' }}">{{province_list[province_value].name || default_province}}</view>
<view class="name {{(province_value ==
null) ? 'cr-888
' : '' }}">{{province_list[province_value].name || default_province}}</view>
</picker>
</view>
<view class="section fl br-r">
<picker name="city" bindchange="select_city" value="{{city_value}}" range="{{city_list}}" range-key="name">
<view class="name {{(city_value ==
-1) ? 'not-selected
' : '' }}">{{city_list[city_value].name || default_city}}</view>
<view class="name {{(city_value ==
null) ? 'cr-888
' : '' }}">{{city_list[city_value].name || default_city}}</view>
</picker>
</view>
<view class="section fl">
<picker name="county" bindchange="select_county" value="{{county_value}}" range="{{county_list}}" range-key="name">
<view class="name {{(county_value ==
-1) ? 'not-selected
' : '' }}">{{county_list[county_value].name || default_county}}</view>
<view class="name {{(county_value ==
null) ? 'cr-888
' : '' }}">{{county_list[county_value].name || default_county}}</view>
</picker>
</view>
</view>
...
...
public/appmini/old/toutiao/pages/user-address-save/user-address-save.ttss
浏览文件 @
adb76269
...
...
@@ -35,7 +35,4 @@
.addressee-address{
box-sizing: border-box;
width: 100%;
}
.not-selected {
color: #888;
}
}
\ No newline at end of file
public/appmini/old/toutiao/pages/user-orderaftersale-detail/user-orderaftersale-detail.js
浏览文件 @
adb76269
...
...
@@ -101,8 +101,8 @@ Page({
// 表单数据
form_button_disabled
:
false
,
form_type
:
-
1
,
form_reason_index
:
-
1
,
form_type
:
null
,
form_reason_index
:
null
,
form_price
:
''
,
form_msg
:
''
,
form_number
:
0
,
...
...
@@ -188,7 +188,7 @@ Page({
var
value
=
e
.
currentTarget
.
dataset
.
value
;
this
.
setData
({
form_type
:
value
,
form_reason_index
:
(
this
.
data
.
form_type
==
value
)
?
this
.
data
.
form_reason_index
:
-
1
,
form_reason_index
:
(
this
.
data
.
form_type
==
value
)
?
this
.
data
.
form_reason_index
:
null
,
reason_data_list
:
(
value
==
0
)
?
this
.
data
.
return_only_money_reason
:
this
.
data
.
return_money_goods_reason
,
form_number
:
(
value
==
0
)
?
0
:
this
.
data
.
returned_data
.
returned_quantity
,
});
...
...
public/appmini/old/toutiao/pages/user-orderaftersale-detail/user-orderaftersale-detail.ttml
浏览文件 @
adb76269
...
...
@@ -95,12 +95,12 @@
</view>
<!-- 表单 -->
<view tt:if="{{form_type !=
-1
}}" class="form-container spacing-mb oh">
<view tt:if="{{form_type !=
null
}}" class="form-container spacing-mb oh">
<view class="form-gorup bg-white">
<view class="form-gorup-title">退款原因<text class="form-group-tips-must">必选</text></view>
<picker bindchange="form_reason_event" value="{{form_reason_index}}" range="{{reason_data_list}}">
<view class="picker {{form_reason_index ==
-1
? 'cr-ccc' : 'cr-666'}} arrow-right">
{{form_reason_index ==
-1
? '请选择原因' : reason_data_list[form_reason_index]}}
<view class="picker {{form_reason_index ==
null
? 'cr-ccc' : 'cr-666'}} arrow-right">
{{form_reason_index ==
null
? '请选择原因' : reason_data_list[form_reason_index]}}
</view>
</picker>
</view>
...
...
public/appmini/old/weixin/pages/user-address-save/user-address-save.js
浏览文件 @
adb76269
...
...
@@ -14,9 +14,9 @@ Page({
default_city
:
"
请选择市
"
,
default_county
:
"
请选择区/县
"
,
province_value
:
-
1
,
city_value
:
-
1
,
county_value
:
-
1
,
province_value
:
null
,
city_value
:
null
,
county_value
:
null
,
params
:
null
,
},
...
...
@@ -182,38 +182,47 @@ Page({
},
select_province
(
e
)
{
var
value
=
e
.
detail
.
value
,
data
=
this
.
data
.
province_list
[
value
];
this
.
setData
({
province_value
:
value
,
province_id
:
data
.
id
,
city_value
:
null
,
county_value
:
null
,
city_id
:
null
,
county_id
:
null
});
this
.
get_city_list
();
if
(
e
.
detail
.
value
>=
0
)
{
var
value
=
e
.
detail
.
value
,
data
=
this
.
data
.
province_list
[
value
];
this
.
setData
({
province_value
:
value
,
province_id
:
data
.
id
,
city_value
:
null
,
county_value
:
null
,
city_id
:
null
,
county_id
:
null
});
this
.
get_city_list
();
}
},
select_city
(
e
)
{
var
value
=
e
.
detail
.
value
,
data
=
this
.
data
.
city_list
[
value
];
this
.
setData
({
city_value
:
value
,
city_id
:
data
.
id
,
county_value
:
null
,
county_id
:
null
});
this
.
get_county_list
();
if
(
e
.
detail
.
value
>=
0
)
{
var
value
=
e
.
detail
.
value
,
data
=
this
.
data
.
city_list
[
value
];
this
.
setData
({
city_value
:
value
,
city_id
:
data
.
id
,
county_value
:
null
,
county_id
:
null
});
this
.
get_county_list
();
}
},
select_county
(
e
)
{
var
value
=
e
.
detail
.
value
,
data
=
this
.
data
.
county_list
[
value
];
this
.
setData
({
county_value
:
value
,
county_id
:
data
.
id
});
if
(
e
.
detail
.
value
>=
0
)
{
var
value
=
e
.
detail
.
value
,
data
=
this
.
data
.
county_list
[
value
];
this
.
setData
({
county_value
:
value
,
county_id
:
data
.
id
});
}
},
init_value
()
{
...
...
public/appmini/old/weixin/pages/user-address-save/user-address-save.wxml
浏览文件 @
adb76269
...
...
@@ -9,17 +9,17 @@
<view class="select-address br-b oh">
<view class="section fl br-r">
<picker name="province" bindchange="select_province" value="{{province_value}}" range="{{province_list}}" range-key="name">
<view class="name {{(province_value ==
-1) ? 'not-selected
' : '' }}">{{province_list[province_value].name || default_province}}</view>
<view class="name {{(province_value ==
null) ? 'cr-888
' : '' }}">{{province_list[province_value].name || default_province}}</view>
</picker>
</view>
<view class="section fl br-r">
<picker name="city" bindchange="select_city" value="{{city_value}}" range="{{city_list}}" range-key="name">
<view class="name {{(city_value ==
-1) ? 'not-selected
' : '' }}">{{city_list[city_value].name || default_city}}</view>
<view class="name {{(city_value ==
null) ? 'cr-888
' : '' }}">{{city_list[city_value].name || default_city}}</view>
</picker>
</view>
<view class="section fl">
<picker name="county" bindchange="select_county" value="{{county_value}}" range="{{county_list}}" range-key="name">
<view class="name {{(county_value ==
-1) ? 'not-selected
' : '' }}">{{county_list[county_value].name || default_county}}</view>
<view class="name {{(county_value ==
null) ? 'cr-888
' : '' }}">{{county_list[county_value].name || default_county}}</view>
</picker>
</view>
</view>
...
...
public/appmini/old/weixin/pages/user-address-save/user-address-save.wxss
浏览文件 @
adb76269
...
...
@@ -35,7 +35,4 @@
.addressee-address{
box-sizing: border-box;
width: 100%;
}
.not-selected {
color: #888;
}
}
\ No newline at end of file
public/appmini/old/weixin/pages/user-orderaftersale-detail/user-orderaftersale-detail.js
浏览文件 @
adb76269
...
...
@@ -101,8 +101,8 @@ Page({
// 表单数据
form_button_disabled
:
false
,
form_type
:
-
1
,
form_reason_index
:
-
1
,
form_type
:
null
,
form_reason_index
:
null
,
form_price
:
''
,
form_msg
:
''
,
form_number
:
0
,
...
...
@@ -188,7 +188,7 @@ Page({
var
value
=
e
.
currentTarget
.
dataset
.
value
;
this
.
setData
({
form_type
:
value
,
form_reason_index
:
(
this
.
data
.
form_type
==
value
)
?
this
.
data
.
form_reason_index
:
-
1
,
form_reason_index
:
(
this
.
data
.
form_type
==
value
)
?
this
.
data
.
form_reason_index
:
null
,
reason_data_list
:
(
value
==
0
)
?
this
.
data
.
return_only_money_reason
:
this
.
data
.
return_money_goods_reason
,
form_number
:
(
value
==
0
)
?
0
:
this
.
data
.
returned_data
.
returned_quantity
,
});
...
...
public/appmini/old/weixin/pages/user-orderaftersale-detail/user-orderaftersale-detail.wxml
浏览文件 @
adb76269
...
...
@@ -95,12 +95,12 @@
</view>
<!-- 表单 -->
<view wx:if="{{form_type !=
-1
}}" class="form-container spacing-mb oh">
<view wx:if="{{form_type !=
null
}}" class="form-container spacing-mb oh">
<view class="form-gorup bg-white">
<view class="form-gorup-title">退款原因<text class="form-group-tips-must">必选</text></view>
<picker bindchange="form_reason_event" value="{{form_reason_index}}" range="{{reason_data_list}}">
<view class="picker {{form_reason_index ==
-1
? 'cr-ccc' : 'cr-666'}} arrow-right">
{{form_reason_index ==
-1
? '请选择原因' : reason_data_list[form_reason_index]}}
<view class="picker {{form_reason_index ==
null
? 'cr-ccc' : 'cr-666'}} arrow-right">
{{form_reason_index ==
null
? '请选择原因' : reason_data_list[form_reason_index]}}
</view>
</picker>
</view>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录