Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
晓梦云飞
shopxo-uniapp
提交
09ee2450
S
shopxo-uniapp
项目概览
晓梦云飞
/
shopxo-uniapp
与 Fork 源项目一致
Fork自
纵之格 / shopxo-uniapp
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
S
shopxo-uniapp
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
前往新版Gitcode,体验更适合开发者的 AI 搜索 >>
提交
09ee2450
编写于
7月 30, 2022
作者:
G
gongfuxiang
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
适配头条导航
上级
955efcf0
变更
5
隐藏空白更改
内联
并排
Showing
5 changed file
with
18 addition
and
23 deletion
+18
-23
pages/goods-category/goods-category.css
pages/goods-category/goods-category.css
+2
-5
pages/goods-category/goods-category.vue
pages/goods-category/goods-category.vue
+3
-3
pages/index/index.css
pages/index/index.css
+6
-6
pages/index/index.vue
pages/index/index.vue
+6
-8
pages/plugins/realstore/detail/detail.css
pages/plugins/realstore/detail/detail.css
+1
-1
未找到文件。
pages/goods-category/goods-category.css
浏览文件 @
09ee2450
...
...
@@ -6,17 +6,14 @@
/* #ifdef MP-ALIPAY */
padding-right
:
255
rpx
;
/* #endif */
/* #ifdef H5 || APP */
padding-right
:
20
rpx
;
/* #endif */
/* #ifdef MP-TOUTIAO */
/* #ifdef H5 || MP-TOUTIAO || APP */
padding-right
:
20
rpx
;
/* #endif */
padding-bottom
:
10px
;
}
.category-content
{
height
:
calc
(
100vh
-
68px
);
/* #ifdef H5 || APP */
/* #ifdef H5 ||
MP-TOUTIAO ||
APP */
height
:
calc
(
100vh
-
98px
)
!important
;
/* #endif */
}
...
...
pages/goods-category/goods-category.vue
浏览文件 @
09ee2450
...
...
@@ -193,9 +193,9 @@
var
common_static_url
=
app
.
globalData
.
get_static_url
(
'
common
'
);
// 状态栏高度
var
bar_height
=
0
;
// #if
n
def MP-TOUTIAO
bar_height
=
parseInt
(
app
.
globalData
.
get_system_info
(
'
statusBarHeight
'
,
0
))
;
var
bar_height
=
parseInt
(
app
.
globalData
.
get_system_info
(
'
statusBarHeight
'
,
0
))
;
// #ifdef MP-TOUTIAO
bar_height
=
0
;
// #endif
export
default
{
...
...
pages/index/index.css
浏览文件 @
09ee2450
...
...
@@ -5,9 +5,9 @@
background-repeat
:
no-repeat
;
background-size
:
100%
auto
;
min-height
:
410
rpx
;
padding-top
:
8px
;
/* #ifndef MP-TOUTIAO */
padding-top
:
calc
(
var
(
--status-bar-height
)
+
8px
);
/* #ifndef MP-TOUTIAO */
padding-top
:
0
;
/* #endif */
}
.home-top-nav-title
{
...
...
@@ -16,7 +16,7 @@
padding
:
2px
250
rpx
0
20
rpx
;
height
:
37px
;
font-size
:
42
rpx
;
/* #ifdef H5 || APP */
/* #ifdef H5 ||
MP-TOUTIAO ||
APP */
font-size
:
24px
;
padding-top
:
0
;
/* #endif */
...
...
@@ -37,12 +37,12 @@
background-repeat
:
no-repeat
;
background-size
:
100%
auto
;
padding-top
:
25px
;
/* #ifdef H5 || APP */
/* #ifdef H5 ||
MP-TOUTIAO ||
APP */
padding-top
:
15
rpx
!important
;
padding-bottom
:
15
rpx
!important
;
/* #endif */
}
/* #ifdef H5 || APP */
/* #ifdef H5 ||
MP-TOUTIAO ||
APP */
.search-content-fixed
.nav-top-right-icon
{
top
:
9px
!important
;
}
...
...
@@ -51,7 +51,7 @@
/**
* 消息
*/
/* #ifdef H5 || APP */
/* #ifdef H5 ||
MP-TOUTIAO ||
APP */
.nav-top-right-icon
{
top
:
-34px
;
right
:
28
rpx
;
...
...
pages/index/index.vue
浏览文件 @
09ee2450
...
...
@@ -15,7 +15,7 @@
</view>
</view>
<!-- #ifdef H5 || APP -->
<!-- #ifdef H5 ||
MP-TOUTIAO ||
APP -->
<!-- 右上角icon列表 -->
<view
v-if=
"(right_icon_list || null) != null && right_icon_list.length > 0"
class=
"nav-top-right-icon pa"
>
<block
v-for=
"(item,index) in right_icon_list"
>
...
...
@@ -298,9 +298,9 @@
var
common_static_url
=
app
.
globalData
.
get_static_url
(
'
common
'
);
var
static_url
=
app
.
globalData
.
get_static_url
(
'
home
'
);
// 状态栏高度
var
bar_height
=
0
;
// #if
n
def MP-TOUTIAO
bar_height
=
parseInt
(
app
.
globalData
.
get_system_info
(
'
statusBarHeight
'
,
0
))
;
var
bar_height
=
parseInt
(
app
.
globalData
.
get_system_info
(
'
statusBarHeight
'
,
0
))
;
// #ifdef MP-TOUTIAO
bar_height
=
0
;
// #endif
export
default
{
...
...
@@ -500,7 +500,6 @@
// 页面滚动监听
onPageScroll
(
e
)
{
// #ifndef MP-TOUTIAO
if
(
this
.
common_app_is_header_nav_fixed
==
1
&&
this
.
common_app_is_enable_search
==
1
)
{
var
top
=
e
.
scrollTop
>
35
?
35
:
e
.
scrollTop
;
var
num
=
top
*
7
;
...
...
@@ -508,7 +507,7 @@
// #ifdef MP-ALIPAY
base
=
235
// #endif
// #ifdef H5 || APP
// #ifdef H5 ||
MP-TOUTIAO ||
APP
var
len
=
(
this
.
right_icon_list
||
[]).
length
;
base
=
(
len
<=
0
)
?
0
:
66
*
len
;
// #endif
...
...
@@ -520,8 +519,7 @@
search_is_fixed
:
(
top
>=
35
)
?
1
:
0
,
});
}
}
// #endif
}
},
// url事件
...
...
pages/plugins/realstore/detail/detail.css
浏览文件 @
09ee2450
...
...
@@ -34,7 +34,7 @@
}
.nav-search
{
width
:
calc
(
100%
-
90
rpx
);
/* #ifdef MP-ALIPAY || MP-TOUTIAO */
/* #ifdef MP-ALIPAY || MP-TOUTIAO
|| H5 || APP
*/
width
:
100%
;
/* #endif */
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录