feat: 底部按钮
This commit is contained in:
+1
-1
@@ -52,7 +52,7 @@ export function getStatistics(params) {
|
|||||||
export function getSupportPay(params) {
|
export function getSupportPay(params) {
|
||||||
return request({
|
return request({
|
||||||
url: "/cart/getSupportPay",
|
url: "/cart/getSupportPay",
|
||||||
method: "get",
|
method: "post",
|
||||||
data: params,
|
data: params,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -66,7 +66,7 @@ export default {
|
|||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-around;
|
justify-content: space-around;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
height: 140rpx;
|
//height: 140rpx;
|
||||||
/* 根据需要调整 */
|
/* 根据需要调整 */
|
||||||
background-color: #fff;
|
background-color: #fff;
|
||||||
/* 背景颜色 */
|
/* 背景颜色 */
|
||||||
|
|||||||
+1
-1
@@ -175,7 +175,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</up-modal>
|
</up-modal>
|
||||||
<CustomTabBar :tabIndex="0" />
|
<!-- <CustomTabBar :tabIndex="0" /> -->
|
||||||
<up-action-sheet :actions="languageList" :show="languageShow" cancelText="取消"
|
<up-action-sheet :actions="languageList" :show="languageShow" cancelText="取消"
|
||||||
@close="languageShow = false"></up-action-sheet>
|
@close="languageShow = false"></up-action-sheet>
|
||||||
<up-overlay :show="bannerShow">
|
<up-overlay :show="bannerShow">
|
||||||
|
|||||||
+1
-1
@@ -109,7 +109,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<CustomTabBar :tabIndex="4" />
|
<!-- <CustomTabBar :tabIndex="4" /> -->
|
||||||
<!-- 品牌入驻弹框 -->
|
<!-- 品牌入驻弹框 -->
|
||||||
<up-modal :show="brandShow" :showConfirmButton="false">
|
<up-modal :show="brandShow" :showConfirmButton="false">
|
||||||
<view class="slot-content">
|
<view class="slot-content">
|
||||||
|
|||||||
@@ -97,7 +97,7 @@
|
|||||||
|
|
||||||
<up-toast ref="uToastRef"></up-toast>
|
<up-toast ref="uToastRef"></up-toast>
|
||||||
</view>
|
</view>
|
||||||
<CustomTabBar :tabIndex="3" />
|
<!-- <CustomTabBar :tabIndex="3" /> -->
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
+9
-7
@@ -3,7 +3,8 @@
|
|||||||
<view class="sort_header">
|
<view class="sort_header">
|
||||||
<!-- 分类切换 -->
|
<!-- 分类切换 -->
|
||||||
<view class="sort_category_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>分类</view>
|
||||||
<view v-if="selCategory === 1" class="category_item_sel_but"></view>
|
<view v-if="selCategory === 1" class="category_item_sel_but"></view>
|
||||||
</view>
|
</view>
|
||||||
@@ -22,7 +23,8 @@
|
|||||||
<!-- 左侧类别 -->
|
<!-- 左侧类别 -->
|
||||||
<scroll-view scroll-y scroll-with-animation class="u-tab-view menu-scroll-view" :scroll-top="scrollTop">
|
<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"
|
<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>
|
<text class="u-line-1">{{ item.name }}</text>
|
||||||
</view>
|
</view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
@@ -56,7 +58,7 @@
|
|||||||
</view>
|
</view>
|
||||||
</scroll-view>
|
</scroll-view>
|
||||||
</view>
|
</view>
|
||||||
<CustomTabBar :tabIndex="1" />
|
<!-- <CustomTabBar :tabIndex="1" /> -->
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -128,15 +130,15 @@ export default {
|
|||||||
}
|
}
|
||||||
},
|
},
|
||||||
jumpSearch(item) {
|
jumpSearch(item) {
|
||||||
|
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: '/pages/shop/search',
|
url: '/pages/shop/search',
|
||||||
})
|
})
|
||||||
|
|
||||||
},
|
},
|
||||||
jumpInfo(item){
|
jumpInfo(item) {
|
||||||
uni.navigateTo({
|
uni.navigateTo({
|
||||||
url: `/pages/other_package/productInfo/productInfo?id=${item.id}`,
|
url: `/pages/other_package/productInfo/productInfo?id=${item.id}`,
|
||||||
})
|
})
|
||||||
},
|
},
|
||||||
// 查询分类
|
// 查询分类
|
||||||
|
|||||||
@@ -65,7 +65,7 @@
|
|||||||
</scroll-view>
|
</scroll-view>
|
||||||
</view>
|
</view>
|
||||||
<!-- </view> -->
|
<!-- </view> -->
|
||||||
<CustomTabBar :tabIndex="2" />
|
<!-- <CustomTabBar :tabIndex="2" /> -->
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user