提交 95e58dcb authored 作者: 刘旭's avatar 刘旭

优化

上级 00fa8c9c
......@@ -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>
......@@ -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 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论