Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
u011369184
ShopXO
提交
a5cb32fe
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,发现更多精彩内容 >>
提交
a5cb32fe
编写于
1月 11, 2021
作者:
D
Devil
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
品牌增强
上级
b21d8c11
变更
25
隐藏空白更改
内联
并排
Showing
25 changed file
with
275 addition
and
74 deletion
+275
-74
application/admin/view/default/brand/save_info.html
application/admin/view/default/brand/save_info.html
+1
-1
application/index/view/default/search/index.html
application/index/view/default/search/index.html
+12
-7
application/service/BrandService.php
application/service/BrandService.php
+1
-1
application/tags.php
application/tags.php
+43
-33
config/shopxo.php
config/shopxo.php
+1
-1
sourcecode/alipay/default/pages/goods-search/goods-search.js
sourcecode/alipay/default/pages/goods-search/goods-search.js
+1
-0
sourcecode/alipay/default/pages/plugins/points/index/index.acss
...code/alipay/default/pages/plugins/points/index/index.acss
+0
-3
sourcecode/alipay/default/pages/plugins/signin/index-detail/index-detail.acss
...fault/pages/plugins/signin/index-detail/index-detail.acss
+0
-3
sourcecode/baidu/default/pages/goods-search/goods-search.js
sourcecode/baidu/default/pages/goods-search/goods-search.js
+1
-0
sourcecode/baidu/default/pages/plugins/points/index/index.css
...cecode/baidu/default/pages/plugins/points/index/index.css
+0
-3
sourcecode/baidu/default/pages/plugins/signin/index-detail/index-detail.css
...efault/pages/plugins/signin/index-detail/index-detail.css
+0
-3
sourcecode/qq/default/pages/goods-search/goods-search.js
sourcecode/qq/default/pages/goods-search/goods-search.js
+1
-0
sourcecode/qq/default/pages/plugins/points/index/index.qss
sourcecode/qq/default/pages/plugins/points/index/index.qss
+0
-3
sourcecode/qq/default/pages/plugins/signin/index-detail/index-detail.qss
...efault/pages/plugins/signin/index-detail/index-detail.qss
+0
-3
sourcecode/toutiao/default/pages/goods-search/goods-search.js
...cecode/toutiao/default/pages/goods-search/goods-search.js
+1
-0
sourcecode/toutiao/default/pages/plugins/points/index/index.ttss
...ode/toutiao/default/pages/plugins/points/index/index.ttss
+0
-3
sourcecode/toutiao/default/pages/plugins/signin/index-detail/index-detail.ttss
...fault/pages/plugins/signin/index-detail/index-detail.ttss
+0
-3
sourcecode/weixin/default/app.json
sourcecode/weixin/default/app.json
+2
-1
sourcecode/weixin/default/pages/goods-search/goods-search.js
sourcecode/weixin/default/pages/goods-search/goods-search.js
+1
-0
sourcecode/weixin/default/pages/plugins/brand/index/index.js
sourcecode/weixin/default/pages/plugins/brand/index/index.js
+129
-0
sourcecode/weixin/default/pages/plugins/brand/index/index.json
...ecode/weixin/default/pages/plugins/brand/index/index.json
+4
-0
sourcecode/weixin/default/pages/plugins/brand/index/index.wxml
...ecode/weixin/default/pages/plugins/brand/index/index.wxml
+32
-0
sourcecode/weixin/default/pages/plugins/brand/index/index.wxss
...ecode/weixin/default/pages/plugins/brand/index/index.wxss
+45
-0
sourcecode/weixin/default/pages/plugins/points/index/index.wxss
...code/weixin/default/pages/plugins/points/index/index.wxss
+0
-3
sourcecode/weixin/default/pages/plugins/signin/index-detail/index-detail.wxss
...fault/pages/plugins/signin/index-detail/index-detail.wxss
+0
-3
未找到文件。
application/admin/view/default/brand/save_info.html
浏览文件 @
a5cb32fe
...
...
@@ -33,7 +33,7 @@
</div>
<div
class=
"am-form-group am-form-file"
>
<label
class=
"block"
>
LOGO
<span
class=
"am-form-group-label-tips"
>
建议1
60x62
像素
</span></label>
<label
class=
"block"
>
LOGO
<span
class=
"am-form-group-label-tips"
>
建议1
50x50
像素
</span></label>
<ul
class=
"plug-file-upload-view brand-logo-images-view"
data-form-name=
"logo"
data-max-number=
"1"
data-dialog-type=
"images"
>
{{if !empty($data['logo'])}}
<li>
...
...
application/index/view/default/search/index.html
浏览文件 @
a5cb32fe
...
...
@@ -136,14 +136,19 @@
<div
class=
"brand-info"
>
<div
class=
"map-left am-text-center am-fl"
>
品牌
</div>
<div
class=
"map-right map-images-text-items am-fr am-nbfc"
>
{{if empty($search_map_info['brand']['logo'])}}
<p
class=
"info-logo-empty am-fl am-text-center"
>
{{$search_map_info.brand.name}}
</p>
{{else /}}
<img
src=
"{{$search_map_info.brand.logo}}"
alt=
"{{$search_map_info.brand.name}}"
class=
"info-logo am-img-thumbnail am-fl"
/>
{{/if}}
<a
{{
if
empty
($
search_map_info
['
brand
']['
website_url
'])}}
href=
"javascript:;"
{{
else
/}}
href=
"{{$search_map_info.brand.website_url}}"
target=
"_blank"
{{/
if
}}
title=
"{{$search_map_info.brand.name}}"
>
{{if empty($search_map_info['brand']['logo'])}}
<p
class=
"info-logo-empty am-fl am-text-center"
>
{{$search_map_info.brand.name}}
</p>
{{else /}}
<img
src=
"{{$search_map_info.brand.logo}}"
alt=
"{{$search_map_info.brand.name}}"
class=
"info-logo am-img-thumbnail am-fl"
/>
{{/if}}
</a>
<div
class=
"am-fr info-right"
>
<p
class=
"info-name"
>
{{$search_map_info.brand.name}}
</p>
<p
class=
"info-desc am-margin-top-xs am-text-truncate-2"
>
{{$search_map_info.brand.describe}}
</p>
<!-- logo为空则不显示名称、无logo会使用名称当做logo展示 -->
{{if !empty($search_map_info['brand']['logo'])}}
<p
class=
"info-name am-margin-bottom-xs"
>
{{$search_map_info.brand.name}}
</p>
{{/if}}
<p
class=
"info-desc am-text-truncate-2"
>
{{$search_map_info.brand.describe}}
</p>
</div>
</div>
</div>
...
...
application/service/BrandService.php
浏览文件 @
a5cb32fe
...
...
@@ -79,7 +79,7 @@ class BrandService
// logo
if
(
isset
(
$v
[
'logo'
]))
{
$v
[
'logo'
]
=
ResourcesService
::
AttachmentPathViewHandle
(
$v
[
'logo'
]);
$v
[
'logo'
]
=
ResourcesService
::
AttachmentPathViewHandle
(
$v
[
'logo'
]);
}
// 品牌官方地址
...
...
application/tags.php
浏览文件 @
a5cb32fe
...
...
@@ -35,11 +35,12 @@ return array (
'plugins_css'
=>
array
(
0
=>
'app\\plugins\\points\\Hook'
,
1
=>
'app\\plugins\\coupon\\Hook'
,
2
=>
'app\\plugins\\share\\Hook'
,
3
=>
'app\\plugins\\membershiplevelvip\\Hook'
,
4
=>
'app\\plugins\\exchangerate\\Hook'
,
5
=>
'app\\plugins\\limitedtimediscount\\Hook'
,
1
=>
'app\\plugins\\brand\\Hook'
,
2
=>
'app\\plugins\\coupon\\Hook'
,
3
=>
'app\\plugins\\share\\Hook'
,
4
=>
'app\\plugins\\membershiplevelvip\\Hook'
,
5
=>
'app\\plugins\\exchangerate\\Hook'
,
6
=>
'app\\plugins\\limitedtimediscount\\Hook'
,
),
'plugins_js'
=>
array
(
...
...
@@ -52,58 +53,66 @@ return array (
'plugins_service_navigation_header_handle'
=>
array
(
0
=>
'app\\plugins\\points\\Hook'
,
1
=>
'app\\plugins\\coupon\\Hook'
,
2
=>
'app\\plugins\\membershiplevelvip\\Hook'
,
3
=>
'app\\plugins\\limitedtimediscount\\Hook'
,
1
=>
'app\\plugins\\brand\\Hook'
,
2
=>
'app\\plugins\\coupon\\Hook'
,
3
=>
'app\\plugins\\membershiplevelvip\\Hook'
,
4
=>
'app\\plugins\\limitedtimediscount\\Hook'
,
),
'plugins_service_quick_navigation_pc'
=>
array
(
0
=>
'app\\plugins\\points\\Hook'
,
1
=>
'app\\plugins\\invoice\\Hook'
,
2
=>
'app\\plugins\\signin\\Hook'
,
3
=>
'app\\plugins\\exchangerate\\Hook'
,
1
=>
'app\\plugins\\brand\\Hook'
,
2
=>
'app\\plugins\\invoice\\Hook'
,
3
=>
'app\\plugins\\signin\\Hook'
,
4
=>
'app\\plugins\\exchangerate\\Hook'
,
),
'plugins_service_quick_navigation_h5'
=>
array
(
0
=>
'app\\plugins\\points\\Hook'
,
1
=>
'app\\plugins\\invoice\\Hook'
,
2
=>
'app\\plugins\\signin\\Hook'
,
3
=>
'app\\plugins\\exchangerate\\Hook'
,
1
=>
'app\\plugins\\brand\\Hook'
,
2
=>
'app\\plugins\\invoice\\Hook'
,
3
=>
'app\\plugins\\signin\\Hook'
,
4
=>
'app\\plugins\\exchangerate\\Hook'
,
),
'plugins_service_quick_navigation_weixin'
=>
array
(
0
=>
'app\\plugins\\points\\Hook'
,
1
=>
'app\\plugins\\invoice\\Hook'
,
2
=>
'app\\plugins\\signin\\Hook'
,
3
=>
'app\\plugins\\exchangerate\\Hook'
,
1
=>
'app\\plugins\\brand\\Hook'
,
2
=>
'app\\plugins\\invoice\\Hook'
,
3
=>
'app\\plugins\\signin\\Hook'
,
4
=>
'app\\plugins\\exchangerate\\Hook'
,
),
'plugins_service_quick_navigation_alipay'
=>
array
(
0
=>
'app\\plugins\\points\\Hook'
,
1
=>
'app\\plugins\\invoice\\Hook'
,
2
=>
'app\\plugins\\signin\\Hook'
,
3
=>
'app\\plugins\\exchangerate\\Hook'
,
1
=>
'app\\plugins\\brand\\Hook'
,
2
=>
'app\\plugins\\invoice\\Hook'
,
3
=>
'app\\plugins\\signin\\Hook'
,
4
=>
'app\\plugins\\exchangerate\\Hook'
,
),
'plugins_service_quick_navigation_baidu'
=>
array
(
0
=>
'app\\plugins\\points\\Hook'
,
1
=>
'app\\plugins\\invoice\\Hook'
,
2
=>
'app\\plugins\\signin\\Hook'
,
3
=>
'app\\plugins\\exchangerate\\Hook'
,
1
=>
'app\\plugins\\brand\\Hook'
,
2
=>
'app\\plugins\\invoice\\Hook'
,
3
=>
'app\\plugins\\signin\\Hook'
,
4
=>
'app\\plugins\\exchangerate\\Hook'
,
),
'plugins_service_quick_navigation_qq'
=>
array
(
0
=>
'app\\plugins\\points\\Hook'
,
1
=>
'app\\plugins\\invoice\\Hook'
,
2
=>
'app\\plugins\\signin\\Hook'
,
3
=>
'app\\plugins\\exchangerate\\Hook'
,
1
=>
'app\\plugins\\brand\\Hook'
,
2
=>
'app\\plugins\\invoice\\Hook'
,
3
=>
'app\\plugins\\signin\\Hook'
,
4
=>
'app\\plugins\\exchangerate\\Hook'
,
),
'plugins_service_quick_navigation_toutiao'
=>
array
(
0
=>
'app\\plugins\\points\\Hook'
,
1
=>
'app\\plugins\\invoice\\Hook'
,
2
=>
'app\\plugins\\signin\\Hook'
,
3
=>
'app\\plugins\\exchangerate\\Hook'
,
1
=>
'app\\plugins\\brand\\Hook'
,
2
=>
'app\\plugins\\invoice\\Hook'
,
3
=>
'app\\plugins\\signin\\Hook'
,
4
=>
'app\\plugins\\exchangerate\\Hook'
,
),
'plugins_service_goods_handle_end'
=>
array
(
...
...
@@ -145,6 +154,11 @@ return array (
0
=>
'app\\plugins\\points\\Hook'
,
1
=>
'app\\plugins\\coupon\\Hook'
,
),
'plugins_view_goods_detail_panel_bottom'
=>
array
(
0
=>
'app\\plugins\\brand\\Hook'
,
1
=>
'app\\plugins\\coupon\\Hook'
,
),
'plugins_service_users_center_left_menu_handle'
=>
array
(
0
=>
'app\\plugins\\invoice\\Hook'
,
...
...
@@ -162,10 +176,6 @@ return array (
4
=>
'app\\plugins\\signin\\Hook'
,
5
=>
'app\\plugins\\exchangerate\\Hook'
,
),
'plugins_view_goods_detail_panel_bottom'
=>
array
(
0
=>
'app\\plugins\\coupon\\Hook'
,
),
'plugins_view_buy_group_goods_inside_bottom'
=>
array
(
0
=>
'app\\plugins\\coupon\\Hook'
,
...
...
config/shopxo.php
浏览文件 @
a5cb32fe
...
...
@@ -28,7 +28,7 @@ if(substr($cdn_public_host, -1) != DS)
// 配置信息
return
[
// 开发模式
'is_develop'
=>
fals
e
,
'is_develop'
=>
tru
e
,
// 默认编码
'default_charset'
=>
'utf-8'
,
...
...
sourcecode/alipay/default/pages/goods-search/goods-search.js
浏览文件 @
a5cb32fe
...
...
@@ -91,6 +91,7 @@ Page({
var
post_data
=
this
.
data
.
post_data
;
post_data
[
'
page
'
]
=
this
.
data
.
data_page
;
post_data
[
'
category_id
'
]
=
params
[
'
category_id
'
]
||
0
;
post_data
[
'
brand_id
'
]
=
params
[
'
brand_id
'
]
||
0
;
// 获取数据
my
.
request
({
...
...
sourcecode/alipay/default/pages/plugins/points/index/index.acss
浏览文件 @
a5cb32fe
...
...
@@ -66,9 +66,6 @@ button.login-submit {
/**
* 商品列表
*/
.scroll-box {
height: calc(100vh - 80rpx);
}
.data-list {
overflow: hidden;
}
...
...
sourcecode/alipay/default/pages/plugins/signin/index-detail/index-detail.acss
浏览文件 @
a5cb32fe
...
...
@@ -110,9 +110,6 @@
/**
* 商品列表
*/
.scroll-box {
height: calc(100vh - 80rpx);
}
.data-list {
overflow: hidden;
}
...
...
sourcecode/baidu/default/pages/goods-search/goods-search.js
浏览文件 @
a5cb32fe
...
...
@@ -91,6 +91,7 @@ Page({
var
post_data
=
this
.
data
.
post_data
;
post_data
[
'
page
'
]
=
this
.
data
.
data_page
;
post_data
[
'
category_id
'
]
=
params
[
'
category_id
'
]
||
0
;
post_data
[
'
brand_id
'
]
=
params
[
'
brand_id
'
]
||
0
;
// 获取数据
swan
.
request
({
...
...
sourcecode/baidu/default/pages/plugins/points/index/index.css
浏览文件 @
a5cb32fe
...
...
@@ -66,9 +66,6 @@ button.login-submit {
/**
* 商品列表
*/
.scroll-box
{
height
:
calc
(
100vh
-
80
rpx
);
}
.data-list
{
overflow
:
hidden
;
}
...
...
sourcecode/baidu/default/pages/plugins/signin/index-detail/index-detail.css
浏览文件 @
a5cb32fe
...
...
@@ -110,9 +110,6 @@
/**
* 商品列表
*/
.scroll-box
{
height
:
calc
(
100vh
-
80
rpx
);
}
.data-list
{
overflow
:
hidden
;
}
...
...
sourcecode/qq/default/pages/goods-search/goods-search.js
浏览文件 @
a5cb32fe
...
...
@@ -91,6 +91,7 @@ Page({
var
post_data
=
this
.
data
.
post_data
;
post_data
[
'
page
'
]
=
this
.
data
.
data_page
;
post_data
[
'
category_id
'
]
=
params
[
'
category_id
'
]
||
0
;
post_data
[
'
brand_id
'
]
=
params
[
'
brand_id
'
]
||
0
;
// 获取数据
qq
.
request
({
...
...
sourcecode/qq/default/pages/plugins/points/index/index.qss
浏览文件 @
a5cb32fe
...
...
@@ -66,9 +66,6 @@ button.login-submit {
/**
* 商品列表
*/
.scroll-box {
height: calc(100vh - 80rpx);
}
.data-list {
overflow: hidden;
}
...
...
sourcecode/qq/default/pages/plugins/signin/index-detail/index-detail.qss
浏览文件 @
a5cb32fe
...
...
@@ -110,9 +110,6 @@
/**
* 商品列表
*/
.scroll-box {
height: calc(100vh - 80rpx);
}
.data-list {
overflow: hidden;
}
...
...
sourcecode/toutiao/default/pages/goods-search/goods-search.js
浏览文件 @
a5cb32fe
...
...
@@ -91,6 +91,7 @@ Page({
var
post_data
=
this
.
data
.
post_data
;
post_data
[
'
page
'
]
=
this
.
data
.
data_page
;
post_data
[
'
category_id
'
]
=
params
[
'
category_id
'
]
||
0
;
post_data
[
'
brand_id
'
]
=
params
[
'
brand_id
'
]
||
0
;
// 获取数据
tt
.
request
({
...
...
sourcecode/toutiao/default/pages/plugins/points/index/index.ttss
浏览文件 @
a5cb32fe
...
...
@@ -66,9 +66,6 @@ button.login-submit {
/**
* 商品列表
*/
.scroll-box {
height: calc(100vh - 80rpx);
}
.data-list {
overflow: hidden;
}
...
...
sourcecode/toutiao/default/pages/plugins/signin/index-detail/index-detail.ttss
浏览文件 @
a5cb32fe
...
...
@@ -110,9 +110,6 @@
/**
* 商品列表
*/
.scroll-box {
height: calc(100vh - 80rpx);
}
.data-list {
overflow: hidden;
}
...
...
sourcecode/weixin/default/app.json
浏览文件 @
a5cb32fe
...
...
@@ -79,7 +79,8 @@
"pages/plugins/signin/user-qrcode-detail/user-qrcode-detail"
,
"pages/plugins/signin/user-qrcode-saveinfo/user-qrcode-saveinfo"
,
"pages/plugins/signin/user-coming-list/user-coming-list"
,
"pages/plugins/points/index/index"
"pages/plugins/points/index/index"
,
"pages/plugins/brand/index/index"
],
"permission"
:
{
"scope.userLocation"
:
{
...
...
sourcecode/weixin/default/pages/goods-search/goods-search.js
浏览文件 @
a5cb32fe
...
...
@@ -94,6 +94,7 @@ Page({
var
post_data
=
this
.
data
.
post_data
;
post_data
[
'
page
'
]
=
this
.
data
.
data_page
;
post_data
[
'
category_id
'
]
=
params
[
'
category_id
'
]
||
0
;
post_data
[
'
brand_id
'
]
=
params
[
'
brand_id
'
]
||
0
;
// 获取数据
wx
.
request
({
...
...
sourcecode/weixin/default/pages/plugins/brand/index/index.js
0 → 100644
浏览文件 @
a5cb32fe
const
app
=
getApp
();
Page
({
data
:
{
data_bottom_line_status
:
false
,
data_list_loding_status
:
1
,
data_list_loding_msg
:
''
,
params
:
null
,
data_base
:
null
,
brand_list
:
[],
brand_category_list
:
[],
nav_active_value
:
0
,
},
onLoad
(
params
)
{
this
.
setData
({
params
:
params
,
});
},
onShow
()
{
this
.
get_data
();
// 显示分享菜单
app
.
show_share_menu
();
},
// 获取数据
get_data
()
{
var
self
=
this
;
wx
.
request
({
url
:
app
.
get_request_url
(
"
index
"
,
"
index
"
,
"
brand
"
),
method
:
"
POST
"
,
data
:
{},
dataType
:
"
json
"
,
success
:
res
=>
{
wx
.
stopPullDownRefresh
();
if
(
res
.
data
.
code
==
0
)
{
var
data
=
res
.
data
.
data
;
self
.
setData
({
data_base
:
data
.
base
||
null
,
brand_list
:
data
.
brand_list
||
[],
brand_category_list
:
data
.
brand_category_list
||
[],
data_list_loding_msg
:
''
,
data_list_loding_status
:
((
data
.
brand_list
||
[]).
length
>
0
)
?
3
:
0
,
data_bottom_line_status
:
((
data
.
brand_list
||
[]).
length
>
0
),
});
// 选中处理
self
.
nav_active_handle
();
}
else
{
self
.
setData
({
data_bottom_line_status
:
false
,
data_list_loding_status
:
2
,
data_list_loding_msg
:
res
.
data
.
msg
,
});
}
},
fail
:
()
=>
{
wx
.
stopPullDownRefresh
();
self
.
setData
({
data_bottom_line_status
:
false
,
data_list_loding_status
:
2
,
data_list_loding_msg
:
'
服务器请求出错
'
,
});
app
.
showToast
(
"
服务器请求出错
"
);
}
});
},
// 下拉刷新
onPullDownRefresh
()
{
this
.
get_data
();
},
// 导航事件
nav_event
(
e
)
{
this
.
setData
({
nav_active_value
:
e
.
currentTarget
.
dataset
.
value
||
0
,
});
this
.
nav_active_handle
();
},
// 导航选中处理
nav_active_handle
()
{
var
value
=
this
.
data
.
nav_active_value
;
var
temp_brand_list
=
this
.
data
.
brand_list
;
var
count
=
0
;
for
(
var
i
in
temp_brand_list
)
{
if
(
value
==
0
)
{
temp_brand_list
[
i
][
'
is_not_show
'
]
=
0
;
count
++
;
}
else
{
var
is_not_show
=
(
temp_brand_list
[
i
][
'
brand_category_ids
'
].
indexOf
(
value
)
==
-
1
)
?
1
:
0
;
temp_brand_list
[
i
][
'
is_not_show
'
]
=
is_not_show
;
if
(
is_not_show
==
0
)
{
count
++
;
}
}
}
this
.
setData
({
brand_list
:
temp_brand_list
,
data_list_loding_status
:
(
count
>
0
)
?
3
:
0
,
data_bottom_line_status
:
(
count
>
0
),
});
},
// 自定义分享
onShareAppMessage
()
{
var
user_id
=
app
.
get_user_cache_info
(
'
id
'
,
0
)
||
0
;
return
{
title
:
this
.
data
.
data_base
.
seo_title
||
'
品牌 -
'
+
app
.
data
.
application_title
,
desc
:
this
.
data
.
data_base
.
seo_desc
||
app
.
data
.
application_describe
,
path
:
'
/pages/plugins/brand/index/index?referrer=
'
+
user_id
};
},
// 分享朋友圈
onShareTimeline
()
{
var
user_id
=
app
.
get_user_cache_info
(
'
id
'
,
0
)
||
0
;
return
{
title
:
this
.
data
.
data_base
.
seo_title
||
'
品牌 -
'
+
app
.
data
.
application_title
,
query
:
'
referrer=
'
+
user_id
,
imageUrl
:
this
.
data
.
data_base
.
right_images
||
''
};
},
});
\ No newline at end of file
sourcecode/weixin/default/pages/plugins/brand/index/index.json
0 → 100644
浏览文件 @
a5cb32fe
{
"enablePullDownRefresh"
:
true
,
"navigationBarTitleText"
:
"品牌"
}
\ No newline at end of file
sourcecode/weixin/default/pages/plugins/brand/index/index.wxml
0 → 100644
浏览文件 @
a5cb32fe
<view wx:if="{{(data_base || null) != null}}">
<!-- 分类 -->
<scroll-view wx:if="{{(brand_category_list || null) != null && brand_category_list.length > 0}}" class="nav-list bg-white tc oh" scroll-x="true">
<view class="item cr-888 {{nav_active_value == 0 ? 'active' : ''}}" bindtap="nav_event" data-value="0">全部</view>
<block wx:for="{{brand_category_list}}" wx:key="key">
<view class="item cr-888 {{nav_active_value == item.id ? 'active' : ''}}" bindtap="nav_event" data-value="{{item.id}}">{{item.name}}</view>
</block>
</scroll-view>
<!-- 品牌列表 -->
<view wx:if="{{(brand_list || null) != null && brand_list.length > 0}}" class="data-list oh spacing-mt">
<block wx:for="{{brand_list}}" wx:key="key">
<view wx:if="{{(item.is_not_show || 0) == 0}}" class="items bg-white">
<navigator url="/pages/goods-search/goods-search?brand_id={{item.id}}" hover-class="none">
<image src="{{item.logo}}" mode="aspectFit" />
<view class="base br-t-dashed">
<view class="single-text name tc">{{item.name}}</view>
<view class="multi-text desc">{{item.describe}}</view>
</view>
</navigator>
</view>
</block>
</view>
<!-- 结尾 -->
<import src="/pages/common/bottom_line.wxml" />
<template is="bottom_line" data="{{status: data_bottom_line_status}}"></template>
</view>
<view wx:if="{{data_list_loding_status != 3}}">
<import src="/pages/common/nodata.wxml" />
<template is="nodata" data="{{status: data_list_loding_status, msg: data_list_loding_msg}}"></template>
</view>
\ No newline at end of file
sourcecode/weixin/default/pages/plugins/brand/index/index.wxss
0 → 100644
浏览文件 @
a5cb32fe
/**
* 分类导航
*/
.nav-list {
width: 100%;
height: 80rpx;
white-space: nowrap;
box-sizing: border-box;
}
.nav-list .item {
padding: 20rpx 30rpx;
border-bottom: 3px solid #f0f0f0;
display: inline-block;
position: relative;
}
.nav-list .active {
border-bottom: 3px solid #d2364c;
color: #d2364c;
}
/**
* 数据列表
*/
.data-list .items {
width: calc(50% - 5rpx);
margin-bottom: 10rpx;
}
.data-list .items:nth-child(2n) {
float: right;
}
.data-list .items:nth-child(2n+1) {
float: left;
}
.data-list .items image {
width: 100%;
height: 160rpx !important;
}
.data-list .items .base {
padding-top: 20rpx;
margin: 20rpx;
}
.data-list .items .desc {
color: #999;
margin-top: 10rpx;
}
\ No newline at end of file
sourcecode/weixin/default/pages/plugins/points/index/index.wxss
浏览文件 @
a5cb32fe
...
...
@@ -66,9 +66,6 @@ button.login-submit {
/**
* 商品列表
*/
.scroll-box {
height: calc(100vh - 80rpx);
}
.data-list {
overflow: hidden;
}
...
...
sourcecode/weixin/default/pages/plugins/signin/index-detail/index-detail.wxss
浏览文件 @
a5cb32fe
...
...
@@ -110,9 +110,6 @@
/**
* 商品列表
*/
.scroll-box {
height: calc(100vh - 80rpx);
}
.data-list {
overflow: hidden;
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录