Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Y
yongxinda-h5
Project
Project
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
Graph
比较
统计图
议题
0
议题
0
列表
看板
标记
Milestones
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
刘旭
yongxinda-h5
Commits
95e58dcb
提交
95e58dcb
authored
11月 29, 2022
作者:
刘旭
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
优化
上级
00fa8c9c
隐藏空白字符变更
内嵌
并排
正在显示
2 个修改的文件
包含
18 行增加
和
25 行删除
+18
-25
index.vue
src/pages/goods/index.vue
+12
-11
productLine.vue
src/pages/productLine/productLine.vue
+6
-14
没有找到文件。
src/pages/goods/index.vue
浏览文件 @
95e58dcb
...
...
@@ -56,13 +56,6 @@
@
click=
"clickGroup"
/>
<u-cell-item
icon=
""
title=
"属性"
:index=
"1"
@
tap=
"clickGroup"
/>
<!--
<u-cell-item
icon=
""
title=
"运费"
value=
"满88免邮费"
:arrow=
"false"
:border-bottom=
"false"
></u-cell-item>
-->
</u-cell-group>
<view
class=
"goods-intro"
>
...
...
@@ -81,6 +74,7 @@
show-with-animation
lazy-load
selectable
@imgtap="imgtap"
/>
<u-empty
v-else
text=
"暂无数据"
mode=
"data"
/>
</view>
...
...
@@ -189,6 +183,13 @@ let selectedGoods = computed(() => {
}
else
return
''
})
// #ifdef H5
const
imgtap
=
()
=>
{
}
// #endif
const
selected
=
(
data
:
any
)
=>
{
selectedGoodsItem
.
value
=
data
[
0
]
selectedGoodsSum
.
value
=
data
[
1
]
...
...
@@ -539,10 +540,6 @@ const initParts = (id: number) => {
margin-top
:
30rpx
;
margin-bottom
:
calc
(
100rpx
+
env
(
safe-area-inset-bottom
));
display
:
inline-block
;
uni-movable-view
{
z-index
:
99
;
}
}
}
...
...
@@ -591,4 +588,8 @@ const initParts = (id: number) => {
}
}
:depp
(
uni-movable-view
>
img
)
{
width
:
50%
;
z-index
:
99
;
}
</
style
>
src/pages/productLine/productLine.vue
浏览文件 @
95e58dcb
...
...
@@ -61,6 +61,7 @@
</view>
</view>
</view>
<!-- 导航 -->
<uni-goods-nav
class=
"goods-nav"
...
...
@@ -71,6 +72,7 @@
@
buttonClick=
"buttonClick"
/>
</view>
<!-- 选择弹出框 -->
<category-popup
ref=
"categoryRef"
...
...
@@ -430,14 +432,6 @@ let reload = () => {
<
style
lang=
"scss"
scoped
>
$nav-heigth
:
var
(
--
window-bottom
);
*
{
-webkit-touch-callout
:
none
;
/*系统默认菜单被禁用*/
-webkit-user-select
:
none
;
/*webkit浏览器*/
-khtml-user-select
:
none
;
/*早期浏览器*/
-moz-user-select
:
none
;
/*火狐*/
-ms-user-select
:
none
;
/*IE10*/
user-select
:
none
;
}
.add
{
position
:
absolute
;
width
:
180px
;
...
...
@@ -480,12 +474,10 @@ $nav-heigth: var(--window-bottom);
justify-content
:
space-between
;
}
.goods-nav
{
position
:
fixed
;
bottom
:
$nav-heigth
;
width
:
100%
;
// position: fixed;
// bottom: $nav-heigth;
position
:
absolute
;
bottom
:
0
;
overflow-y
:
scroll
;
-webkit-overflow-scrolling
:
touch
;
display
:
inline
;
transform
:
none
;
}
</
style
>
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论