Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
jcy2004x
ShopXO
提交
90b78135
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,体验更适合开发者的 AI 搜索 >>
提交
90b78135
编写于
2月 20, 2020
作者:
D
devil
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
小程序下单地址选择优化
上级
88f5786f
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
83 addition
and
63 deletion
+83
-63
config/app.php
config/app.php
+1
-1
sourcecode/alipay/pages/buy/buy.js
sourcecode/alipay/pages/buy/buy.js
+16
-12
sourcecode/baidu/pages/buy/buy.js
sourcecode/baidu/pages/buy/buy.js
+16
-12
sourcecode/qq/pages/buy/buy.js
sourcecode/qq/pages/buy/buy.js
+16
-12
sourcecode/toutiao/pages/buy/buy.js
sourcecode/toutiao/pages/buy/buy.js
+16
-12
sourcecode/weixin/pages/buy/buy.js
sourcecode/weixin/pages/buy/buy.js
+16
-12
sourcecode/weixin/pages/index/index.wxml
sourcecode/weixin/pages/index/index.wxml
+1
-1
sourcecode/weixin/pages/index/index.wxss
sourcecode/weixin/pages/index/index.wxss
+1
-1
未找到文件。
config/app.php
浏览文件 @
90b78135
...
...
@@ -19,7 +19,7 @@ return [
// 应用地址
'app_host'
=>
''
,
// 应用调试模式
'app_debug'
=>
fals
e
,
'app_debug'
=>
tru
e
,
// 应用Trace
'app_trace'
=>
false
,
// 是否支持多模块
...
...
sourcecode/alipay/pages/buy/buy.js
浏览文件 @
90b78135
...
...
@@ -78,7 +78,7 @@ Page({
{
this
.
setData
({
address
:
cache_address
.
data
,
address_id
:
cache_address
.
data
.
id
||
0
,
address_id
:
cache_address
.
id
,
});
}
}
...
...
@@ -303,17 +303,21 @@ Page({
// 销售+自提 模式选择事件
buy_header_nav_event
(
e
)
{
// 数据设置
this
.
setData
({
address
:
null
,
address_id
:
null
,
site_model
:
e
.
currentTarget
.
dataset
.
value
||
0
,
});
// 删除地址缓存
my
.
removeStorageSync
({
key
:
app
.
data
.
cache_buy_user_address_select_key
});
var
value
=
e
.
currentTarget
.
dataset
.
value
||
0
;
if
(
value
!=
this
.
data
.
site_model
)
{
// 数据设置
this
.
setData
({
address
:
null
,
address_id
:
null
,
site_model
:
value
,
});
// 数据初始化
this
.
init
();
// 删除地址缓存
my
.
removeStorageSync
({
key
:
app
.
data
.
cache_buy_user_address_select_key
});
// 数据初始化
this
.
init
();
}
},
});
sourcecode/baidu/pages/buy/buy.js
浏览文件 @
90b78135
...
...
@@ -63,7 +63,7 @@ Page({
if
((
cache_address
||
null
)
!=
null
)
{
this
.
setData
({
address
:
cache_address
,
address_id
:
cache_address
.
id
||
null
address_id
:
cache_address
.
id
,
});
}
}
...
...
@@ -280,17 +280,21 @@ Page({
// 销售+自提 模式选择事件
buy_header_nav_event
(
e
)
{
// 数据设置
this
.
setData
({
address
:
null
,
address_id
:
null
,
site_model
:
e
.
currentTarget
.
dataset
.
value
||
0
,
});
// 删除地址缓存
swan
.
removeStorageSync
(
app
.
data
.
cache_buy_user_address_select_key
);
var
value
=
e
.
currentTarget
.
dataset
.
value
||
0
;
if
(
value
!=
this
.
data
.
site_model
)
{
// 数据设置
this
.
setData
({
address
:
null
,
address_id
:
null
,
site_model
:
value
,
}
);
// 数据初始化
this
.
init
();
// 删除地址缓存
swan
.
removeStorageSync
(
app
.
data
.
cache_buy_user_address_select_key
);
// 数据初始化
this
.
init
();
}
},
});
\ No newline at end of file
sourcecode/qq/pages/buy/buy.js
浏览文件 @
90b78135
...
...
@@ -66,7 +66,7 @@ Page({
{
this
.
setData
({
address
:
cache_address
,
address_id
:
cache_address
.
id
||
null
,
address_id
:
cache_address
.
id
,
});
}
}
...
...
@@ -289,17 +289,21 @@ Page({
// 销售+自提 模式选择事件
buy_header_nav_event
(
e
)
{
// 数据设置
this
.
setData
({
address
:
null
,
address_id
:
null
,
site_model
:
e
.
currentTarget
.
dataset
.
value
||
0
,
});
// 删除地址缓存
qq
.
removeStorageSync
(
app
.
data
.
cache_buy_user_address_select_key
);
var
value
=
e
.
currentTarget
.
dataset
.
value
||
0
;
if
(
value
!=
this
.
data
.
site_model
)
{
// 数据设置
this
.
setData
({
address
:
null
,
address_id
:
null
,
site_model
:
value
,
}
);
// 数据初始化
this
.
init
();
// 删除地址缓存
qq
.
removeStorageSync
(
app
.
data
.
cache_buy_user_address_select_key
);
// 数据初始化
this
.
init
();
}
},
});
sourcecode/toutiao/pages/buy/buy.js
浏览文件 @
90b78135
...
...
@@ -66,7 +66,7 @@ Page({
{
this
.
setData
({
address
:
cache_address
,
address_id
:
cache_address
.
id
||
null
,
address_id
:
cache_address
.
id
,
});
}
}
...
...
@@ -289,17 +289,21 @@ Page({
// 销售+自提 模式选择事件
buy_header_nav_event
(
e
)
{
// 数据设置
this
.
setData
({
address
:
null
,
address_id
:
null
,
site_model
:
e
.
currentTarget
.
dataset
.
value
||
0
,
});
// 删除地址缓存
tt
.
removeStorageSync
(
app
.
data
.
cache_buy_user_address_select_key
);
var
value
=
e
.
currentTarget
.
dataset
.
value
||
0
;
if
(
value
!=
this
.
data
.
site_model
)
{
// 数据设置
this
.
setData
({
address
:
null
,
address_id
:
null
,
site_model
:
value
,
}
);
// 数据初始化
this
.
init
();
// 删除地址缓存
tt
.
removeStorageSync
(
app
.
data
.
cache_buy_user_address_select_key
);
// 数据初始化
this
.
init
();
}
},
});
sourcecode/weixin/pages/buy/buy.js
浏览文件 @
90b78135
...
...
@@ -66,7 +66,7 @@ Page({
{
this
.
setData
({
address
:
cache_address
,
address_id
:
cache_address
.
id
||
null
,
address_id
:
cache_address
.
id
,
});
}
}
...
...
@@ -289,17 +289,21 @@ Page({
// 销售+自提 模式选择事件
buy_header_nav_event
(
e
)
{
// 数据设置
this
.
setData
({
address
:
null
,
address_id
:
null
,
site_model
:
e
.
currentTarget
.
dataset
.
value
||
0
,
});
// 删除地址缓存
wx
.
removeStorageSync
(
app
.
data
.
cache_buy_user_address_select_key
);
var
value
=
e
.
currentTarget
.
dataset
.
value
||
0
;
if
(
value
!=
this
.
data
.
site_model
)
{
// 数据设置
this
.
setData
({
address
:
null
,
address_id
:
null
,
site_model
:
value
,
}
);
// 数据初始化
this
.
init
();
// 删除地址缓存
wx
.
removeStorageSync
(
app
.
data
.
cache_buy_user_address_select_key
);
// 数据初始化
this
.
init
();
}
},
});
sourcecode/weixin/pages/index/index.wxml
浏览文件 @
90b78135
...
...
@@ -2,7 +2,7 @@
<view wx:if="{{common_app_is_header_nav_fixed == 1}}" class="search-fixed-seat"></view>
<view wx:if="{{load_status == 1 && common_app_is_enable_search == 1}}" class="search wh-auto {{common_app_is_header_nav_fixed == 1 ? 'search-fixed' : ''}}">
<view class="search-content bg-white oh">
<icon type="search" size="
16
" />
<icon type="search" size="
32rpx
" />
<input type="text" confirm-type="search" placeholder="其实搜索很简单^_^!" class="wh-auto cr-888" bindconfirm="search_input_event" confirm-type="search" />
</view>
</view>
...
...
sourcecode/weixin/pages/index/index.wxss
浏览文件 @
90b78135
...
...
@@ -16,7 +16,7 @@
.search icon {
position: absolute;
left: 15rpx;
top:
15
rpx;
top:
20
rpx;
}
.search input {
font-size: 28rpx;
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录