feat: 底部按钮

This commit is contained in:
2025-08-15 21:59:06 +08:00
parent 3b42587c8d
commit c6e2aa884b
7 changed files with 15 additions and 13 deletions
+1 -1
View File
@@ -52,7 +52,7 @@ export function getStatistics(params) {
export function getSupportPay(params) {
return request({
url: "/cart/getSupportPay",
method: "get",
method: "post",
data: params,
});
}
+1 -1
View File
@@ -66,7 +66,7 @@ export default {
display: flex;
justify-content: space-around;
align-items: center;
height: 140rpx;
//height: 140rpx;
/* 根据需要调整 */
background-color: #fff;
/* 背景颜色 */
+1 -1
View File
@@ -175,7 +175,7 @@
</view>
</view>
</up-modal>
<CustomTabBar :tabIndex="0" />
<!-- <CustomTabBar :tabIndex="0" /> -->
<up-action-sheet :actions="languageList" :show="languageShow" cancelText="取消"
@close="languageShow = false"></up-action-sheet>
<up-overlay :show="bannerShow">
+1 -1
View File
@@ -109,7 +109,7 @@
</view>
</view>
</view>
<CustomTabBar :tabIndex="4" />
<!-- <CustomTabBar :tabIndex="4" /> -->
<!-- 品牌入驻弹框 -->
<up-modal :show="brandShow" :showConfirmButton="false">
<view class="slot-content">
+1 -1
View File
@@ -97,7 +97,7 @@
<up-toast ref="uToastRef"></up-toast>
</view>
<CustomTabBar :tabIndex="3" />
<!-- <CustomTabBar :tabIndex="3" /> -->
</view>
</template>
+6 -4
View File
@@ -3,7 +3,8 @@
<view class="sort_header">
<!-- 分类切换 -->
<view class="sort_category_header">
<view :class="selCategory === 1 ? 'category_item category_item_sel' : 'category_item'" @click="checkCategory(1)">
<view :class="selCategory === 1 ? 'category_item category_item_sel' : 'category_item'"
@click="checkCategory(1)">
<view>分类</view>
<view v-if="selCategory === 1" class="category_item_sel_but"></view>
</view>
@@ -22,7 +23,8 @@
<!-- 左侧类别 -->
<scroll-view scroll-y scroll-with-animation class="u-tab-view menu-scroll-view" :scroll-top="scrollTop">
<view v-for="(item, index) in tabbarList" :key="index" class="u-tab-item"
:class="[current == index ? 'u-tab-item-active' : '']" :data-current="index" @tap.stop="swichMenu(item, index)">
:class="[current == index ? 'u-tab-item-active' : '']" :data-current="index"
@tap.stop="swichMenu(item, index)">
<text class="u-line-1">{{ item.name }}</text>
</view>
</scroll-view>
@@ -56,7 +58,7 @@
</view>
</scroll-view>
</view>
<CustomTabBar :tabIndex="1" />
<!-- <CustomTabBar :tabIndex="1" /> -->
</view>
</template>
@@ -134,7 +136,7 @@ export default {
})
},
jumpInfo(item){
jumpInfo(item) {
uni.navigateTo({
url: `/pages/other_package/productInfo/productInfo?id=${item.id}`,
})
+1 -1
View File
@@ -65,7 +65,7 @@
</scroll-view>
</view>
<!-- </view> -->
<CustomTabBar :tabIndex="2" />
<!-- <CustomTabBar :tabIndex="2" /> -->
</view>
</template>