This commit is contained in:
DESKTOP-GMUNQ1B\k 2024-04-10 17:04:57 +08:00
parent 53d52b0621
commit 3063a637a2
2 changed files with 138 additions and 125 deletions

View File

@ -8,7 +8,8 @@
<view class="nav" v-if="showTab&&list.length>0">
<view class="nav-item" @click="navTo('/pages/cloud_warehouse/home/home')">
<view class="nav-item-up">
<image src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/c72bf202403191713119980.webp" mode=""></image>
<image src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/c72bf202403191713119980.webp" mode="">
</image>
</view>
<view class="nav-item-down">
<view class="nav-item-down-title">里海云仓</view>
@ -17,7 +18,8 @@
</view>
<view class="nav-item" @click="navTo('/pages/cloud_warehouse/market/market')">
<view class="nav-item-up">
<image src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/de539202403191713558109.webp" mode=""></image>
<image src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/de539202403191713558109.webp" mode="">
</image>
</view>
<view class="nav-item-down">
<view class="nav-item-down-title">供销云市场</view>
@ -26,7 +28,8 @@
</view>
<view class="nav-item" @click="navTo('/pages/cloud_warehouse/specialty/specialty')">
<view class="nav-item-up">
<image src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/81f8a202403191714238972.webp" mode=""></image>
<image src="https://lihai001.oss-cn-chengdu.aliyuncs.com/def/81f8a202403191714238972.webp" mode="">
</image>
</view>
<view class="nav-item-down">
<view class="nav-item-down-title">名优特产</view>
@ -36,13 +39,18 @@
</view>
<!-- 资讯 -->
<view v-if="showTab&&list.length>0" @click="navTo('/pages/news_list/index?type=20')" style="display: flex;justify-content: space-between;padding-bottom: 20rpx;font-size: 26rpx;color: #999999;height: 70rpx;align-items: center;">
<view style="font-size: 28rpx;background-color: #40ae36;color: #fff;padding: 4rpx 16rpx 6rpx 16rpx;border-radius: 90rpx;">里海新闻</view>
<view v-if="showTab&&list.length>0" @click="navTo('/pages/news_list/index?type=20')"
style="display: flex;justify-content: space-between;padding-bottom: 20rpx;font-size: 26rpx;color: #999999;height: 70rpx;align-items: center;">
<view
style="font-size: 28rpx;background-color: #40ae36;color: #fff;padding: 4rpx 16rpx 6rpx 16rpx;border-radius: 90rpx;">
里海新闻</view>
<view style="display: flex;">更多<u-icon name="arrow-right" size="12" color="#999"></u-icon></view>
</view>
<view class="information" v-if="showTab&&list.length>0">
<scroll-view scroll-x style="height: 230rpx;width: 700rpx;white-space: nowrap;">
<view class="nav-item" style="display: inline-block;margin-right: 16rpx;" @click="navTo(`/pages/news_details/index?id=${item.article_id}`)" v-for="(item, index) in list" :key="item.article_id">
<view class="nav-item" style="display: inline-block;margin-right: 16rpx;"
@click="navTo(`/pages/news_details/index?id=${item.article_id}`)" v-for="(item, index) in list"
:key="item.article_id">
<view class="nav-item-up" style="overflow: hidden;">
<image :src="item.image_input" mode="aspectFill"></image>
</view>
@ -66,7 +74,8 @@
</view>
<view class='recommendList' :class="indexP?'on':''">
<WaterfallsFlow v-if="hostProduct.length>0" :wfList='hostProduct' @itemTap="goDetail" :type="0" :sale_type="sale_type"/>
<WaterfallsFlow v-if="hostProduct.length>0" :wfList='hostProduct' @itemTap="goDetail" :type="0"
:sale_type="sale_type" />
<view class='pictrue' v-if="!loading&&hostProduct.length==0">
<image :src="`${domain}/static/images/noCart.png`"></image>
<view>暂无商品看点别的吧</view>
@ -95,7 +104,9 @@
import {
HTTP_REQUEST_URL
} from '@/config/app';
import { Toast } from "../../libs/uniApi";
import {
Toast
} from "../../libs/uniApi";
export default {
components: {
WaterfallsFlow
@ -145,7 +156,7 @@
desc: '商户汇聚',
val: 3
}, {
name: '名优特产',
name: '名优特产',
desc: '特色农副',
val: 4
}],
@ -371,11 +382,13 @@
}
}
}
.pictrue {
display: flex;
flex-direction: column;
align-items: center;
color: #999;
image {
width: 414rpx;
height: 305rpx;

View File

@ -504,7 +504,7 @@
name: '供销云市场批发',
val: 2
}, {
name: '名优特产批发',
name: '名优特产批发',
val: 3
}],
tabsCurr: 1,