Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
u011369184
ShopXO
提交
35bdcfe9
ShopXO
项目概览
u011369184
/
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,发现更多精彩内容 >>
提交
35bdcfe9
编写于
11月 26, 2020
作者:
D
Devil
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
快捷导航新增开关
上级
d1a9ce1f
变更
15
隐藏空白更改
内联
并排
Showing
15 changed file
with
60 addition
and
27 deletion
+60
-27
application/admin/view/default/site/siteset/extends.html
application/admin/view/default/site/siteset/extends.html
+8
-0
application/index/view/default/public/footer_nav.html
application/index/view/default/public/footer_nav.html
+3
-1
application/index/view/default/public/header_nav.html
application/index/view/default/public/header_nav.html
+10
-8
application/service/BaseService.php
application/service/BaseService.php
+1
-0
config/shopxo.sql
config/shopxo.sql
+8
-8
sourcecode/alipay/default/components/quick-nav/quick-nav.axml
...cecode/alipay/default/components/quick-nav/quick-nav.axml
+1
-1
sourcecode/alipay/default/components/quick-nav/quick-nav.js
sourcecode/alipay/default/components/quick-nav/quick-nav.js
+5
-1
sourcecode/baidu/default/components/quick-nav/quick-nav.js
sourcecode/baidu/default/components/quick-nav/quick-nav.js
+5
-1
sourcecode/baidu/default/components/quick-nav/quick-nav.swan
sourcecode/baidu/default/components/quick-nav/quick-nav.swan
+1
-1
sourcecode/qq/default/components/quick-nav/quick-nav.js
sourcecode/qq/default/components/quick-nav/quick-nav.js
+5
-1
sourcecode/qq/default/components/quick-nav/quick-nav.qml
sourcecode/qq/default/components/quick-nav/quick-nav.qml
+1
-1
sourcecode/toutiao/default/components/quick-nav/quick-nav.js
sourcecode/toutiao/default/components/quick-nav/quick-nav.js
+5
-1
sourcecode/toutiao/default/components/quick-nav/quick-nav.ttml
...ecode/toutiao/default/components/quick-nav/quick-nav.ttml
+1
-1
sourcecode/weixin/default/components/quick-nav/quick-nav.js
sourcecode/weixin/default/components/quick-nav/quick-nav.js
+5
-1
sourcecode/weixin/default/components/quick-nav/quick-nav.wxml
...cecode/weixin/default/components/quick-nav/quick-nav.wxml
+1
-1
未找到文件。
application/admin/view/default/site/siteset/extends.html
浏览文件 @
35bdcfe9
...
@@ -19,6 +19,14 @@
...
@@ -19,6 +19,14 @@
<h3
class=
"am-panel-title"
>
快捷导航
</h3>
<h3
class=
"am-panel-title"
>
快捷导航
</h3>
</div>
</div>
<div
class=
"am-panel-bd"
>
<div
class=
"am-panel-bd"
>
<div
class=
"am-form-group"
>
<label>
{{$data.home_navigation_main_quick_status.name}}
<span
class=
"am-form-group-label-tips"
>
{{$data.home_navigation_main_quick_status.describe}}
</span></label>
<select
name=
"{{$data.home_navigation_main_quick_status.only_tag}}"
class=
"am-radius chosen-select"
data-validation-message=
"{{$data.home_navigation_main_quick_status.error_tips}}"
required
>
{{foreach $site_site_state_list as $v}}
<option
value=
"{{$v.value}}"
{{
if
isset
($
data
['
home_navigation_main_quick_status
']['
value
'])
and
$
data
['
home_navigation_main_quick_status
']['
value
']
eq
$
v
['
value
']}}
selected
{{/
if
}}
>
{{$v.name}}
</option>
{{/foreach}}
</select>
</div>
<div
class=
"am-form-group"
>
<div
class=
"am-form-group"
>
<label>
{{$data.home_navigation_main_quick_name.name}}
<span
class=
"am-form-group-label-tips"
>
{{$data.home_navigation_main_quick_name.describe}}
</span></label>
<label>
{{$data.home_navigation_main_quick_name.name}}
<span
class=
"am-form-group-label-tips"
>
{{$data.home_navigation_main_quick_name.describe}}
</span></label>
<input
type=
"text"
maxlength=
"4"
name=
"{{$data.home_navigation_main_quick_name.only_tag}}"
placeholder=
"{{$data.home_navigation_main_quick_name.name}}"
data-validation-message=
"{{$data.home_navigation_main_quick_name.error_tips}}"
class=
"am-radius"
{{
if
!
empty
($
data
)}}
value=
"{{$data.home_navigation_main_quick_name.value}}"
{{/
if
}}
/>
<input
type=
"text"
maxlength=
"4"
name=
"{{$data.home_navigation_main_quick_name.only_tag}}"
placeholder=
"{{$data.home_navigation_main_quick_name.name}}"
data-validation-message=
"{{$data.home_navigation_main_quick_name.error_tips}}"
class=
"am-radius"
{{
if
!
empty
($
data
)}}
value=
"{{$data.home_navigation_main_quick_name.value}}"
{{/
if
}}
/>
...
...
application/index/view/default/public/footer_nav.html
浏览文件 @
35bdcfe9
...
@@ -121,4 +121,6 @@
...
@@ -121,4 +121,6 @@
{{/if}}
{{/if}}
<!-- 快捷导航 -->
<!-- 快捷导航 -->
{{include file="public/quick" /}}
{{if MyC('home_navigation_main_quick_status') eq 1}}
\ No newline at end of file
{{include file="public/quick" /}}
{{/if}}
\ No newline at end of file
application/index/view/default/public/header_nav.html
浏览文件 @
35bdcfe9
...
@@ -67,14 +67,16 @@
...
@@ -67,14 +67,16 @@
<!-- 右侧导航 -->
<!-- 右侧导航 -->
<div
class=
"am-topbar-right am-hide-sm-only"
>
<div
class=
"am-topbar-right am-hide-sm-only"
>
<!-- 快捷百宝箱 -->
<!-- 快捷百宝箱 -->
<div
class=
"navigation-main-quick"
>
{{if MyC('home_navigation_main_quick_status') eq 1}}
<a
href=
"javascript:;"
class=
"am-block"
data-am-modal=
"{target: '#left-main-quick-popup'}"
>
<div
class=
"navigation-main-quick"
>
<span
class=
"am-icon-sliders icon"
></span>
<a
href=
"javascript:;"
class=
"am-block"
data-am-modal=
"{target: '#left-main-quick-popup'}"
>
<b
class=
"am-block"
></b>
<span
class=
"am-icon-sliders icon"
></span>
<p
class=
"am-text-truncate name"
>
{{:MyC('home_navigation_main_quick_name', '百宝箱', true)}}
</p>
<b
class=
"am-block"
></b>
<i
class=
"am-icon-angle-down"
></i>
<p
class=
"am-text-truncate name"
>
{{:MyC('home_navigation_main_quick_name', '百宝箱', true)}}
</p>
</a>
<i
class=
"am-icon-angle-down"
></i>
</div>
</a>
</div>
{{/if}}
</div>
</div>
</div>
</div>
</div>
</div>
...
...
application/service/BaseService.php
浏览文件 @
35bdcfe9
...
@@ -50,6 +50,7 @@ class BaseService
...
@@ -50,6 +50,7 @@ class BaseService
'common_is_exhibition_mode_btn_text'
=>
MyC
(
'common_is_exhibition_mode_btn_text'
,
'立即咨询'
,
true
),
'common_is_exhibition_mode_btn_text'
=>
MyC
(
'common_is_exhibition_mode_btn_text'
,
'立即咨询'
,
true
),
'common_user_is_mandatory_bind_mobile'
=>
(
int
)
MyC
(
'common_user_is_mandatory_bind_mobile'
,
0
),
'common_user_is_mandatory_bind_mobile'
=>
(
int
)
MyC
(
'common_user_is_mandatory_bind_mobile'
,
0
),
'common_user_is_onekey_bind_mobile'
=>
(
int
)
MyC
(
'common_user_is_onekey_bind_mobile'
,
0
),
'common_user_is_onekey_bind_mobile'
=>
(
int
)
MyC
(
'common_user_is_onekey_bind_mobile'
,
0
),
'home_navigation_main_quick_status'
=>
(
int
)
MyC
(
'home_navigation_main_quick_status'
,
0
),
// 订单相关
// 订单相关
'home_is_enable_order_bulk_pay'
=>
(
int
)
MyC
(
'home_is_enable_order_bulk_pay'
,
0
),
'home_is_enable_order_bulk_pay'
=>
(
int
)
MyC
(
'home_is_enable_order_bulk_pay'
,
0
),
...
...
config/shopxo.sql
浏览文件 @
35bdcfe9
因为 它太大了无法显示 source diff 。你可以改为
查看blob
。
sourcecode/alipay/default/components/quick-nav/quick-nav.axml
浏览文件 @
35bdcfe9
<!-- 开启事件 -->
<!-- 开启事件 -->
<movable-area class="quick-nav-movable-container">
<movable-area
a:if="{{quick_status == 1}}"
class="quick-nav-movable-container">
<movable-view direction="all" x="{{x}}" y="{{y}}" animation="{{false}}" class="quick-nav-event-submit" onTap="quick_open_event">
<movable-view direction="all" x="{{x}}" y="{{y}}" animation="{{false}}" class="quick-nav-event-submit" onTap="quick_open_event">
<image src="/images/quick-submit-icon.png" mode="widthFix"></image>
<image src="/images/quick-submit-icon.png" mode="widthFix"></image>
</movable-view>
</movable-view>
...
...
sourcecode/alipay/default/components/quick-nav/quick-nav.js
浏览文件 @
35bdcfe9
...
@@ -2,6 +2,7 @@ const app = getApp();
...
@@ -2,6 +2,7 @@ const app = getApp();
Component
({
Component
({
data
:
{
data
:
{
popup_status
:
false
,
popup_status
:
false
,
quick_status
:
0
,
data_list
:
[],
data_list
:
[],
system
:
null
,
system
:
null
,
x
:
0
,
x
:
0
,
...
@@ -29,7 +30,10 @@ Component({
...
@@ -29,7 +30,10 @@ Component({
// 初始化配置
// 初始化配置
init_config
(
status
)
{
init_config
(
status
)
{
if
((
status
||
false
)
==
true
)
{
if
((
status
||
false
)
==
true
)
{
this
.
setData
({
data_list
:
app
.
get_config
(
'
quick_nav
'
)
||
[]
});
this
.
setData
({
data_list
:
app
.
get_config
(
'
quick_nav
'
)
||
[],
quick_status
:
app
.
get_config
(
'
config.home_navigation_main_quick_status
'
)
||
0
});
}
else
{
}
else
{
app
.
is_config
(
this
,
'
init_config
'
);
app
.
is_config
(
this
,
'
init_config
'
);
}
}
...
...
sourcecode/baidu/default/components/quick-nav/quick-nav.js
浏览文件 @
35bdcfe9
...
@@ -2,6 +2,7 @@ const app = getApp();
...
@@ -2,6 +2,7 @@ const app = getApp();
Component
({
Component
({
data
:
{
data
:
{
popup_status
:
false
,
popup_status
:
false
,
quick_status
:
0
,
data_list
:
[],
data_list
:
[],
system
:
null
,
system
:
null
,
x
:
0
,
x
:
0
,
...
@@ -32,7 +33,10 @@ Component({
...
@@ -32,7 +33,10 @@ Component({
// 初始化配置
// 初始化配置
init_config
(
status
)
{
init_config
(
status
)
{
if
((
status
||
false
)
==
true
)
{
if
((
status
||
false
)
==
true
)
{
this
.
setData
({
data_list
:
app
.
get_config
(
'
quick_nav
'
)
||
[]
});
this
.
setData
({
data_list
:
app
.
get_config
(
'
quick_nav
'
)
||
[],
quick_status
:
app
.
get_config
(
'
config.home_navigation_main_quick_status
'
)
||
0
});
}
else
{
}
else
{
app
.
is_config
(
this
,
'
init_config
'
);
app
.
is_config
(
this
,
'
init_config
'
);
}
}
...
...
sourcecode/baidu/default/components/quick-nav/quick-nav.swan
浏览文件 @
35bdcfe9
<!-- 开启事件 -->
<!-- 开启事件 -->
<movable-area class="quick-nav-movable-container">
<movable-area
s-if="{{quick_status == 1"
class="quick-nav-movable-container">
<movable-view direction="all" x="{{x}}" y="{{y}}" animation="{{false}}" class="quick-nav-event-submit" bindtap="quick_open_event">
<movable-view direction="all" x="{{x}}" y="{{y}}" animation="{{false}}" class="quick-nav-event-submit" bindtap="quick_open_event">
<image src="/images/quick-submit-icon.png" mode="widthFix"></image>
<image src="/images/quick-submit-icon.png" mode="widthFix"></image>
</movable-view>
</movable-view>
...
...
sourcecode/qq/default/components/quick-nav/quick-nav.js
浏览文件 @
35bdcfe9
...
@@ -2,6 +2,7 @@ const app = getApp();
...
@@ -2,6 +2,7 @@ const app = getApp();
Component
({
Component
({
data
:
{
data
:
{
popup_status
:
false
,
popup_status
:
false
,
quick_status
:
0
,
data_list
:
[],
data_list
:
[],
system
:
null
,
system
:
null
,
x
:
0
,
x
:
0
,
...
@@ -32,7 +33,10 @@ Component({
...
@@ -32,7 +33,10 @@ Component({
// 初始化配置
// 初始化配置
init_config
(
status
)
{
init_config
(
status
)
{
if
((
status
||
false
)
==
true
)
{
if
((
status
||
false
)
==
true
)
{
this
.
setData
({
data_list
:
app
.
get_config
(
'
quick_nav
'
)
||
[]
});
this
.
setData
({
data_list
:
app
.
get_config
(
'
quick_nav
'
)
||
[],
quick_status
:
app
.
get_config
(
'
config.home_navigation_main_quick_status
'
)
||
0
});
}
else
{
}
else
{
app
.
is_config
(
this
,
'
init_config
'
);
app
.
is_config
(
this
,
'
init_config
'
);
}
}
...
...
sourcecode/qq/default/components/quick-nav/quick-nav.qml
浏览文件 @
35bdcfe9
<!--
开启事件
-->
<!--
开启事件
-->
<
movable
-
area
class
=
"
quick-nav-movable-container
"
>
<
movable
-
area
qq
:
if
=
"
{{quick_status == 1}}
"
class
=
"
quick-nav-movable-container
"
>
<
movable
-
view
direction
=
"
all
"
x
=
"
{{x}}
"
y
=
"
{{y}}
"
animation
=
"
{{false}}
"
class
=
"
quick-nav-event-submit
"
bindtap
=
"
quick_open_event
"
>
<
movable
-
view
direction
=
"
all
"
x
=
"
{{x}}
"
y
=
"
{{y}}
"
animation
=
"
{{false}}
"
class
=
"
quick-nav-event-submit
"
bindtap
=
"
quick_open_event
"
>
<
image
src
=
"
/images/quick-submit-icon.png
"
mode
=
"
widthFix
"
><
/image
>
<
image
src
=
"
/images/quick-submit-icon.png
"
mode
=
"
widthFix
"
><
/image
>
<
/movable-view
>
<
/movable-view
>
...
...
sourcecode/toutiao/default/components/quick-nav/quick-nav.js
浏览文件 @
35bdcfe9
...
@@ -2,6 +2,7 @@ const app = getApp();
...
@@ -2,6 +2,7 @@ const app = getApp();
Component
({
Component
({
data
:
{
data
:
{
popup_status
:
false
,
popup_status
:
false
,
quick_status
:
0
,
data_list
:
[],
data_list
:
[],
system
:
null
,
system
:
null
,
x
:
0
,
x
:
0
,
...
@@ -32,7 +33,10 @@ Component({
...
@@ -32,7 +33,10 @@ Component({
// 初始化配置
// 初始化配置
init_config
(
status
)
{
init_config
(
status
)
{
if
((
status
||
false
)
==
true
)
{
if
((
status
||
false
)
==
true
)
{
this
.
setData
({
data_list
:
app
.
get_config
(
'
quick_nav
'
)
||
[]
});
this
.
setData
({
data_list
:
app
.
get_config
(
'
quick_nav
'
)
||
[],
quick_status
:
app
.
get_config
(
'
config.home_navigation_main_quick_status
'
)
||
0
});
}
else
{
}
else
{
app
.
is_config
(
this
,
'
init_config
'
);
app
.
is_config
(
this
,
'
init_config
'
);
}
}
...
...
sourcecode/toutiao/default/components/quick-nav/quick-nav.ttml
浏览文件 @
35bdcfe9
<!-- 开启事件 -->
<!-- 开启事件 -->
<movable-area class="quick-nav-movable-container">
<movable-area
tt:if="{{quick_status == 1}}"
class="quick-nav-movable-container">
<movable-view direction="all" x="{{x}}" y="{{y}}" animation="{{false}}" class="quick-nav-event-submit" bindtap="quick_open_event">
<movable-view direction="all" x="{{x}}" y="{{y}}" animation="{{false}}" class="quick-nav-event-submit" bindtap="quick_open_event">
<image src="/images/quick-submit-icon.png" mode="widthFix"></image>
<image src="/images/quick-submit-icon.png" mode="widthFix"></image>
</movable-view>
</movable-view>
...
...
sourcecode/weixin/default/components/quick-nav/quick-nav.js
浏览文件 @
35bdcfe9
...
@@ -2,6 +2,7 @@ const app = getApp();
...
@@ -2,6 +2,7 @@ const app = getApp();
Component
({
Component
({
data
:
{
data
:
{
popup_status
:
false
,
popup_status
:
false
,
quick_status
:
0
,
data_list
:
[],
data_list
:
[],
system
:
null
,
system
:
null
,
x
:
0
,
x
:
0
,
...
@@ -32,7 +33,10 @@ Component({
...
@@ -32,7 +33,10 @@ Component({
// 初始化配置
// 初始化配置
init_config
(
status
)
{
init_config
(
status
)
{
if
((
status
||
false
)
==
true
)
{
if
((
status
||
false
)
==
true
)
{
this
.
setData
({
data_list
:
app
.
get_config
(
'
quick_nav
'
)
||
[]
});
this
.
setData
({
data_list
:
app
.
get_config
(
'
quick_nav
'
)
||
[],
quick_status
:
app
.
get_config
(
'
config.home_navigation_main_quick_status
'
)
||
0
});
}
else
{
}
else
{
app
.
is_config
(
this
,
'
init_config
'
);
app
.
is_config
(
this
,
'
init_config
'
);
}
}
...
...
sourcecode/weixin/default/components/quick-nav/quick-nav.wxml
浏览文件 @
35bdcfe9
<!-- 开启事件 -->
<!-- 开启事件 -->
<movable-area class="quick-nav-movable-container">
<movable-area
wx:if="{{quick_status == 1}}"
class="quick-nav-movable-container">
<movable-view direction="all" x="{{x}}" y="{{y}}" animation="{{false}}" class="quick-nav-event-submit" bindtap="quick_open_event">
<movable-view direction="all" x="{{x}}" y="{{y}}" animation="{{false}}" class="quick-nav-event-submit" bindtap="quick_open_event">
<image src="/images/quick-submit-icon.png" mode="widthFix"></image>
<image src="/images/quick-submit-icon.png" mode="widthFix"></image>
</movable-view>
</movable-view>
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录