feat:167版本
This commit is contained in:
@@ -12,9 +12,8 @@
|
||||
<!-- Right side content -->
|
||||
<view class="seckill_card_right">
|
||||
<view>
|
||||
<!-- <view class="tags_row" v-if="Array.isArray(item.tags)"> -->
|
||||
<view class="tags_row">
|
||||
<image v-for="i in item.goodsTagList" :key="i.mchId" :src="i.icon" class="tag_image"
|
||||
<view class="tags_row" v-if="Array.isArray(item.goodsTagList)">
|
||||
<image v-for="i in item.goodsTagList" :key="i.icon" :src="i.icon" class="tag_image"
|
||||
mode="heightFix"></image>
|
||||
</view>
|
||||
|
||||
@@ -227,6 +226,7 @@ export default {
|
||||
.tag_image {
|
||||
height: 28rpx;
|
||||
display: block;
|
||||
flex-shrink: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
+1
-1
@@ -3,7 +3,7 @@
|
||||
"appid" : "__UNI__4910728",
|
||||
"description" : "信任桥优品是一款集线上商城、线下联盟商家的DAO聚合商城;通过“有趣”“有利”“有希望”的卖货玩法,吸引消费者、推广者、商家、投资人参与生态,共同打造共创共享的全球产业生态。",
|
||||
"versionName" : "1.0.3",
|
||||
"versionCode" : 165,
|
||||
"versionCode" : 167,
|
||||
"transformPx" : false,
|
||||
/* 5+App特有相关 */
|
||||
"app-plus" : {
|
||||
|
||||
+14
-12
@@ -4,7 +4,8 @@
|
||||
<view class="home_content_z_warp">
|
||||
<view class="home_header_warp" :style="mpHeaderWarpStyle">
|
||||
<view class="header_title_warp" :style="mpHeaderStyle">
|
||||
<view class="language_warp" :style="mpLanguageStyle" style="width: 100%; justify-content: flex-start;" @click="jumpSearch">
|
||||
<view class="language_warp" :style="mpLanguageStyle" style="flex: 1; justify-content: flex-start;"
|
||||
@click="jumpSearch">
|
||||
<view :style="isMP ? 'display: flex; align-items: center;' : 'margin-top: 10rpx;'">
|
||||
<up-image src="https://static.tbmall.xin/static/home/search_b.png" width="20" height="20"
|
||||
bgColor="#f1f6ff00"></up-image>
|
||||
@@ -62,8 +63,7 @@
|
||||
<!-- <up-loading-icon :show="productLoading"></up-loading-icon> -->
|
||||
<view class="yp_item" v-for="item in faddishProduct" :key="item.id" @click.stop="jumpInfo(item)">
|
||||
<view class="yp_item_image_wrapper">
|
||||
<image :src="item.url" mode="aspectFill" class="yp_item_image" shape="square"
|
||||
radius="15"></image>
|
||||
<image :src="item.url" mode="aspectFill" class="yp_item_image" shape="square" radius="15"></image>
|
||||
<!-- <up-image :src="item.url" width="100%" height="88" bgColor="#f1f6ff00" shape="square"
|
||||
radius="15"></up-image> -->
|
||||
</view>
|
||||
@@ -335,15 +335,15 @@ export default {
|
||||
const menuButton = uni.getMenuButtonBoundingClientRect();
|
||||
const systemInfo = uni.getSystemInfoSync();
|
||||
const statusBarHeight = systemInfo.statusBarHeight || 0;
|
||||
|
||||
|
||||
const menuButtonHeight = menuButton.height;
|
||||
const menuButtonTop = menuButton.top;
|
||||
const menuButtonLeft = menuButton.left;
|
||||
const windowWidth = systemInfo.windowWidth;
|
||||
|
||||
|
||||
// Calculate padding-right to avoid the capsule button (add extra margin of 10px)
|
||||
const paddingRight = windowWidth - menuButtonLeft + 10;
|
||||
|
||||
|
||||
// Dynamic styles for MP
|
||||
this.mpHeaderStyle = {
|
||||
paddingTop: `${menuButtonTop}px`,
|
||||
@@ -387,9 +387,9 @@ export default {
|
||||
url().then((res) => {
|
||||
console.log("获取秒杀", res);
|
||||
if (res.bizcode === 100) {
|
||||
this.seckillGoodsList = [];
|
||||
if(res.data?.activityId){
|
||||
this.onGetSeckillGoodsList(res.data.activityId, "seckillGoodsList");
|
||||
this.seckillGoodsList = [];
|
||||
if (res.data?.activityId) {
|
||||
this.onGetSeckillGoodsList(res.data.activityId, "seckillGoodsList");
|
||||
}
|
||||
}
|
||||
});
|
||||
@@ -397,7 +397,7 @@ export default {
|
||||
|
||||
// 获取秒杀商品
|
||||
onGetSeckillGoodsList(activityId, key) {
|
||||
|
||||
|
||||
getSeckillGoodsList({
|
||||
activityId: activityId,
|
||||
page: 1,
|
||||
@@ -718,7 +718,8 @@ export default {
|
||||
.home_warp {
|
||||
background: #f4f4f4;
|
||||
height: calc(100vh - env(safe-area-inset-bottom)); // 是底部的导航栏高度
|
||||
overflow: auto;
|
||||
overflow-y: auto;
|
||||
overflow-x: hidden;
|
||||
position: relative;
|
||||
|
||||
&.iosplatformType {
|
||||
@@ -748,6 +749,7 @@ export default {
|
||||
z-index: 999;
|
||||
background: linear-gradient(270deg, #af39c4 0%, #7732ff 100%);
|
||||
padding: calc(var(--status-bar-height) + 20rpx) 30rpx 20rpx;
|
||||
box-sizing: border-box;
|
||||
/* 解决部分机型下 fixed 定位底部出现 1px 渲染缝隙(白线)的问题 */
|
||||
border-bottom: 1px solid transparent;
|
||||
border-image: linear-gradient(270deg, #af39c4 0%, #7732ff 100%) 1;
|
||||
@@ -932,7 +934,7 @@ export default {
|
||||
display: flex;
|
||||
justify-content: center;
|
||||
|
||||
.yp_item_image{
|
||||
.yp_item_image {
|
||||
width: 100%;
|
||||
height: 176rpx;
|
||||
border-radius: 15rpx;
|
||||
|
||||
+1
-1
@@ -5,7 +5,7 @@
|
||||
|
||||
export const BASE_URL = "https://api.tbmall.xin"; //生产
|
||||
export const MILD_BASE_URL = "https://agent.tbmall.xin/"; //中台生产
|
||||
|
||||
|
||||
// export const BASE_URL ='https://api.o.tbmall.xin'; // 本地测试
|
||||
// export const MILD_BASE_URL = "https://agent.o.tbmall.xin/"; //中台测试
|
||||
// https://h.o.tbmall.xin/#/
|
||||
|
||||
Reference in New Issue
Block a user