nk-shop2.0/pages/supply_chains/supply_chains.vue

1060 lines
23 KiB
Vue
Raw Normal View History

2023-05-10 16:07:28 +08:00
<template>
2023-08-30 21:11:53 +08:00
<view class="Circle_friends">
<view class="circle_friends_wrapper">
2023-08-31 21:15:39 +08:00
2023-09-01 22:29:55 +08:00
<view v-if='ishshow'>
<view :class="['site-box ','flex_a_c_j_sb',isFshow?'sitbox':'']">
<view :class="['place_wrapper','flex_a_c',isFshow?'sitbox':'']" @click="selectLocation"
style="opacity: 0;">
2023-09-01 22:29:55 +08:00
<view class="iconfont icon-weizhi" style="margin-left: 20rpx;background-color: transparent;">
</view>
<view class="town_name">{{street}}</view>
2023-08-30 21:11:53 +08:00
</view>
<navigator url="/pages/chat/customer_list/index?type=0" hover-class="none"
style="opacity: 0; transition: opacity 1s ease-in;transition-delay: 1.5s;"
:class="[isFshow?'sitbox':'']">
<view class="iconfont icon-xiaoxi" style="color:#fff;"></view>
</navigator>
2023-08-30 21:11:53 +08:00
</view>
2023-09-01 22:29:55 +08:00
<!-- <view class="site-box ','flex_a_c_j_sb'" v-if="ishshow">
<view class="bg-img">
<img :src="bgColor" alt="">
</view>
2023-09-01 22:29:55 +08:00
</view> -->
2023-08-30 21:11:53 +08:00
</view>
<zbpSwiper :isSelectPlace="true" :location_Arr="locationArr" @kkchange='kkchange'></zbpSwiper>
<view class="list">
<view class="list-m">
<image src="@/static/images/f6.png" mode="aspectFill"></image>
<view class="list-title">
<view class="list-titlea">
<image src="@/static/images/p9.png" mode="aspectFill"></image>
<view class="titlea-con">
<view class="titlea">september</view>
<view class="titleb">
9
</view>
</view>
2023-08-30 21:11:53 +08:00
</view>
<view class="list-titleb">
<view class="titlea">
通滩镇
</view>
<view class="titleb">
综合供销云市场
</view>
2023-08-30 21:11:53 +08:00
</view>
</view>
2023-09-01 22:29:55 +08:00
<view class="list-title-info" style="color:#3A7331 ;">
<view class="">
点击查看
</view>
<text class="iconfont icon-xiangyou"></text>
</view>
</view>
<view class="list-m">
<image src="@/static/images/f1.png" mode=""></image>
<view class="list-title">
<view class="list-titlea">
<image src="@/static/images/p8.png" mode="aspectFill"></image>
</view>
<view class="list-titleb">
<view class="titlea">
里海云仓
</view>
<view class="titleb">
行业分类市场
</view>
</view>
</view>
<view class="list-title-info" style="color:#3A7331 ;">
2023-09-01 22:29:55 +08:00
<view class="">
点击查看
</view>
<text class="iconfont icon-xiangyou"></text>
</view>
</view>
2023-08-30 21:11:53 +08:00
</view>
<view class="list-con">
<view class="list-con-left">
<view class="list-con-title">
<view class="con-titlea">
名优特产
</view>
<view class="con-titleb">
精选当地特色特产
</view>
</view>
<image src="@/static/images/f5.png" mode=""></image>
</view>
<view class="list-con-right">
<view class="con-right" style="margin-bottom: 20rpx;">
<view class="list-con-title">
<view class="con-titlea">
当地美食
</view>
<view class="con-titleb">
美食线上一条街
</view>
</view>
<image src="@/static/images/f7.png" mode=""></image>
</view>
<view class="con-right">
<view class="list-con-title">
<view class="con-titlea">
特色文旅
</view>
<view class="con-titleb">
热门景区当地文化
2023-08-30 21:11:53 +08:00
</view>
</view>
<image src="@/static/images/f2.png" mode=""></image>
2023-08-30 21:11:53 +08:00
</view>
</view>
</view>
<view class="list-bon">
<image src="@/static/images/f4.png" mode=""></image>
</view>
<view class="goodslist">
2023-09-01 22:29:55 +08:00
<WaterfallsFlow :wfList='cateGoods' />
2023-08-30 21:11:53 +08:00
</view>
<view class="empty_wrapper" v-if="emptyShow">
<u-empty :show="emptyShow" mode="list" icon="http://cdn.uviewui.com/uview/empty/list.png"></u-empty>
</view>
</view>
<u-picker :defaultIndex="[0,0]" :show="showPicker" ref="uPicker" :columns="columnData" @confirm="confirm"
2023-09-01 16:15:43 +08:00
@cancel="showPicker = false" @change="changeHandler" keyName="name"></u-picker>
<u-loadmore :status="status" v-if="cateGoods.length>=where.limit" />
<view class="location" v-if='isshow'>
<view class="locationa">
位置权限使用说明
</view>
<view class="locationb">
用于向你推荐最近门店
</view>
</view>
2023-08-30 21:11:53 +08:00
</view>
2023-05-10 16:07:28 +08:00
</template>
<script>
import mTabbar from '@/components/m-tabbar/m-tabbar.vue'
2023-08-30 21:11:53 +08:00
import zbpSwiper from '@/components/zbpSwiper'
import easyLoadimage from '@/components/easy-loadimage/easy-loadimage.vue';
import WaterfallsFlow from '@/components/WaterfallsFlow/WaterfallsFlowo.vue'
import Cache from '@/utils/cache';
2023-08-31 21:15:39 +08:00
import {
getSlideAPI
} from '@/api/lihai.js'
2023-08-30 21:11:53 +08:00
import {
graphicLstApi,
getTopicList,
2023-08-30 21:11:53 +08:00
graphicStartApi
} from '@/api/community.js'
import {
getIndexData,
getDiy,
2023-08-30 21:11:53 +08:00
getArticleList,
getArticleCategoryLists
2023-08-30 21:11:53 +08:00
} from '@/api/api.js'
import {
getGeocoder,
merClassifly
} from '@/api/store.js';
import {
getArea,
getStreet
} from '@/api/article.js';
2023-08-30 21:11:53 +08:00
import {
Toast
} from '@/libs/uniApi'
export default {
components: {
mTabbar,
zbpSwiper,
easyLoadimage,
WaterfallsFlow
2023-08-30 21:11:53 +08:00
},
data() {
return {
activeStyle: {
color: '#333333',
fontWeight: 'bold',
transform: 'scale(1.04)'
},
isshow: false,
locationArr: ({}),
status: 'loadmore',
bgColor: '',
showPicker: false,
columnData: [],
show: false,
2023-08-30 21:11:53 +08:00
tabsData: {
list: [],
tabsActive: 0
},
tabsData1: {
list: [],
tabsActive: 0
},
where: {
category_id: 0,
page: 1,
limit: 6
},
currentItemId: 69, // 默认获取 社区的数据 0 表示推荐 || 69 社区
keyword: '',
location: '',
2023-08-30 21:11:53 +08:00
emptyShow: false,
street: '',
cateGoods: [],
2023-08-30 21:11:53 +08:00
recoList: [],
articleList: [],
streeta_id: '',
street: '',
2023-08-31 21:15:39 +08:00
bgColor: '',
2023-09-01 22:29:55 +08:00
ishshow: true,
2023-08-31 21:15:39 +08:00
isFshow: false,
2023-08-30 21:11:53 +08:00
}
},
watch: {
street: {
handler(newVal, oldVal) {
this.street = newVal
let arr = Cache.get('ADRESS_LOCATION')
console.log(arr, '1')
if (arr.length > 0) {
this.street = arr.split(',')[0]
}
},
}
},
onPullDownRefresh() {
this.getCateList()
this.cateGoods = []
this.getGoods()
2023-08-31 21:15:39 +08:00
this.Area()
uni.stopPullDownRefresh()
},
onLoad() {
this.getCateList()
2023-08-30 21:11:53 +08:00
this.getArticle()
this.getGoods()
this.selfLocation()
this.Area()
this.setPermissions()
// this.openTongZhi()
uni.$on('connectstatusChange', (connectstatus) => {
var connectstr = ''
if (connectstatus == true) {
connectstr = '已连接'
this.getRegistrationID()
} else {
connectstr = '未连接'
}
this.connectstatus = connectStr
2023-08-30 21:11:53 +08:00
})
},
onReachBottom() {
if (this.status == 'nomore') return;
this.status = 'loading';
this.where.limit = 2
this.where.page = ++this.where.page;
this.getGoods()
},
2023-08-31 21:15:39 +08:00
mounted() {
// #ifdef H5
// 监听页面滚动事件
window.addEventListener("scroll", this.scrolling);
// #endif
},
// #ifdef APP-PLUS
onPageScroll(e) {
// this.scrollTop = e.scrollTop;
2023-09-01 22:29:55 +08:00
// console.log(e.scrollTop)
2023-08-31 21:15:39 +08:00
if (e.scrollTop > 0) {
this.ishshow = true
2023-09-01 22:29:55 +08:00
this.isFshow = true
} else if (e.scrollTop == 0) {
this.ishshow = false
this.isFshow = false
2023-08-31 21:15:39 +08:00
} else {
2023-09-01 22:29:55 +08:00
this.ishshow = false
2023-08-31 21:15:39 +08:00
this.isFshow = false
}
2023-08-30 21:11:53 +08:00
2023-08-31 21:15:39 +08:00
},
// #endif
2023-08-30 21:11:53 +08:00
methods: {
scrolling() {
// 滚动条距文档顶部的距离
let scrollTop =
window.pageYOffset ||
document.documentElement.scrollTop ||
document.body.scrollTop;
// 滚动条滚动的距离
let scrollStep = scrollTop - this.oldScrollTop;
// console.log("header 滚动距离 ", scrollTop);
// 更新——滚动前,滚动条距文档顶部的距离
this.oldScrollTop = scrollTop;
//变量windowHeight是可视区的高度
let windowHeight =
document.documentElement.clientHeight || document.body.clientHeight;
//变量scrollHeight是滚动条的总高度
let scrollHeight =
document.documentElement.scrollHeight || document.body.scrollHeight;
//滚动条到底部的条件
if (scrollTop + windowHeight == scrollHeight) {
//你想做的事情
// console.log("header 你已经到底部了");
}
if (scrollStep < 0) {
this.isFshow = false
// console.log("header 滚动条向上滚动了!");
} else {
this.isFshow = true
// console.log("header 滚动条向下滚动了!");
}
// 判断是否到了最顶部
if (scrollTop <= 0) {
this.isFshow = false
// console.log("header 到了最顶部")
}
},
kkchange(e) {
this.bgColor = e
},
tabsChange1(item) {
this.getArticleList(item.article_category_id)
this.streeta_id = item.id
this.tabsData1.tabsActive = item.index
},
async getArticle() {
let list = []
const {
data
} = await getArticleCategoryLists()
data.map((item, index) => {
if (item.title !== '首页推荐') {
list.push(item)
} else {
getArticleList(item.article_category_id).then(res => {
this.recoList = res.data.list
})
}
})
this.tabsData1.list = list
this.getArticleList(list[0].article_category_id)
},
async getArticleList(id) {
let obj = {
is_home: 1
}
const {
data
} = await getArticleList(id)
this.articleList = data.list
},
article(item) {
uni.navigateTo({
url: '/pages/news_details/index?id=' + item.article_id
})
},
selectPlce(e) {
2023-09-01 16:15:43 +08:00
this.street_id = e.value[1].code
this.town = e.value[1].name
2023-09-01 16:15:43 +08:00
this.getCloudShopMerId(e.value[1].code)
},
getCloudShopMerId(id) {
get_cloud_shop(id).then(res => {
res.data.length > 0 ? this.isYunCang = 1 : this.isYunCang = 0
})
},
selectLocation() {
this.showPicker = true
},
confirm(e) {
this.street = e.value[1].name
2023-09-01 16:15:43 +08:00
Cache.set('ADRESS_LOCATION',
e.value[1].name + ',' + e.value[1].name + ',' +
e.value[1].code
2023-09-01 16:15:43 +08:00
)
this.showPicker = false
2023-08-31 21:15:39 +08:00
},
changeHandler(e) {
const {
columnIndex,
value,
values,
index,
picker = this.$refs.uPicker
} = e;
if (columnIndex === 0) {
getStreet({
area_code: value[0]['code']
}).then(res => {
this.$refs.uPicker.setColumnValues(1, res.data);
2023-08-31 21:15:39 +08:00
});
}
},
Area() {
getArea({
city_code: 510500
}).then(res => {
this.$refs.uPicker.setColumnValues(0, res.data);
this.Street(res.data[0]['code']);
});
},
Street(code) {
getStreet({
area_code: code
}).then(res => {
this.$refs.uPicker.setColumnValues(1, res.data);
});
},
gogogo(item) {
if (item.video_link.length > 0) {
uni.navigateTo({
// #ifdef MP || H5
url: `/pages/short_video/nvueSwiper/index?id=${item.community_id}`
// #endif
// #ifdef APP
url: `/pages/short_video/appSwiper/index?id=${item.community_id}`
// #endif
})
2023-08-31 21:15:39 +08:00
} else {
uni.navigateTo({
url: `/pages/plantGrass/plant_detail/index?id=${item.community_id}`
})
2023-08-31 21:15:39 +08:00
}
},
giveStart(item) {
let status = item.relevance_id ? 0 : 1
graphicStartApi(item.community_id, {
status: status
}).then(res => {
if (item.relevance_id) {
item.count_start--;
item.count_start = item.count_start == 0 ? 0 : item.count_start
item.relevance_id = false
} else {
item.count_start++;
item.relevance_id = true
}
})
},
getGoods: function(item) {
2023-08-31 21:15:39 +08:00
graphicLstApi(this.where).then(res => {
this.cateGoods.push(...res.data.list)
if (res.data.list.length < this.where.limit) this.status = 'nomore'
2023-08-31 21:15:39 +08:00
if (this.where.page == 1 && res.data.list.length <= 0) this.emptyShow = true
2023-08-31 21:15:39 +08:00
if (item) {
2023-08-31 21:15:39 +08:00
if (item.index == 1 && this.cateGoods[0]) {
uni.navigateTo({
// #ifdef MP || H5
url: `/pages/short_video/nvueSwiper/index?id=${this.cateGoods[0].community_id}`
// #endif
// #ifdef APP
url: `/pages/short_video/appSwiper/index?id=${this.cateGoods[0].community_id}`
// #endif
})
}
}
})
2023-08-31 21:15:39 +08:00
},
/*获取分类列表*/
async getCateList() {
const {
data
} = await getTopicList()
this.tabsData.list = [{
cate_name: "推荐",
category_id: 0
}, ...data]
2023-08-31 21:15:39 +08:00
},
tabsChange(item) {
this.cateGoods = []
this.where.category_id = item.category_id
this.emptyShow = false
this.where.page = 1
this.getGoods(item)
this.street_id = item.id
this.tabsData.tabsActive = item.index
2023-08-31 21:15:39 +08:00
},
selfLocation() {
if (uni.getStorageSync('loction') == true) {
this.isshow = false
} else {
this.isshow = true
uni.setStorageSync('loction', true);
}
2023-08-30 21:11:53 +08:00
uni.getLocation({
type: 'wgs84',
timeout: '10',
success: (res) => {
// console.log(res)
this.isshow = false
2023-08-30 21:11:53 +08:00
let latitude, longitude;
latitude = res.latitude.toString();
longitude = res.longitude.toString();
getGeocoder({
lat: latitude,
long: longitude
}).then(res => {
uni.setStorageSync('adress_location', res.data.address)
// that.$store.dispatch('setLocation', res.data)
2023-09-01 16:15:43 +08:00
this.street = res.data.address_component.street
Cache.set('ADRESS_LOCATION', this.street)
2023-08-30 21:11:53 +08:00
}).catch(err => {
uni.showToast({
title: err,
icon: 'none'
})
})
},
fail: (err) => {
this.isshow = false
2023-08-30 21:11:53 +08:00
uni.showToast({
title: "获取定位超时",
icon: 'none',
duration: 2000
});
}
});
},
2023-09-01 16:15:43 +08:00
/**
* 设置手机通知权限
*/
setPermissions() {
// #ifdef APP-PLUS
if (plus.os.name == 'Android') { // 判断是Android
var main = plus.android.runtimeMainActivity();
var pkName = main.getPackageName();
var uid = main.getApplicationInfo().plusGetAttribute("uid");
var NotificationManagerCompat = plus.android.importClass(
"android.support.v4.app.NotificationManagerCompat");
//android.support.v4升级为androidx
if (NotificationManagerCompat == null) {
NotificationManagerCompat = plus.android.importClass(
"androidx.core.app.NotificationManagerCompat");
2023-08-30 21:11:53 +08:00
}
var areNotificationsEnabled = NotificationManagerCompat.from(main).areNotificationsEnabled();
// 未开通‘允许通知’权限,则弹窗提醒开通,并点击确认后,跳转到系统设置页面进行设置
if (!areNotificationsEnabled) {
uni.showModal({
title: '通知权限开启提醒',
content: '您还没有开启通知权限,无法接受到消息通知,请前往设置!',
showCancel: false,
confirmText: '去设置',
success: function(res) {
if (res.confirm) {
var Intent = plus.android.importClass('android.content.Intent');
var Build = plus.android.importClass("android.os.Build");
//android 8.0引导
if (Build.VERSION.SDK_INT >= 26) {
var intent = new Intent('android.settings.APP_NOTIFICATION_SETTINGS');
intent.putExtra('android.provider.extra.APP_PACKAGE', pkName);
} else if (Build.VERSION.SDK_INT >= 21) { //android 5.0-7.0
var intent = new Intent('android.settings.APP_NOTIFICATION_SETTINGS');
intent.putExtra("app_package", pkName);
intent.putExtra("app_uid", uid);
} else { //(<21)其他--跳转到该应用管理的详情页
intent.setAction(Settings.ACTION_APPLICATION_DETAILS_SETTINGS);
var uri = Uri.fromParts("package", mainActivity.getPackageName(),
null);
intent.setData(uri);
}
// 跳转到该应用的系统通知设置页
main.startActivity(intent);
}
}
});
}
} else if (plus.os.name == 'iOS') { // 判断是ISO
var isOn = undefined;
var types = 0;
var app = plus.ios.invoke('UIApplication', 'sharedApplication');
var settings = plus.ios.invoke(app, 'currentUserNotificationSettings');
if (settings) {
types = settings.plusGetAttribute('types');
plus.ios.deleteObject(settings);
} else {
types = plus.ios.invoke(app, 'enabledRemoteNotificationTypes');
}
plus.ios.deleteObject(app);
isOn = (0 != types);
if (isOn == false) {
uni.showModal({
title: '通知权限开启提醒',
content: '您还没有开启通知权限,无法接受到消息通知,请前往设置!',
showCancel: false,
confirmText: '去设置',
success: function(res) {
if (res.confirm) {
var app = plus.ios.invoke('UIApplication', 'sharedApplication');
var setting = plus.ios.invoke('NSURL', 'URLWithString:', 'app-settings:');
plus.ios.invoke(app, 'openURL:', setting);
plus.ios.deleteObject(setting);
plus.ios.deleteObject(app);
}
}
});
}
}
// #endif
}
2023-08-30 21:11:53 +08:00
}
}
2023-05-10 16:07:28 +08:00
</script>
2023-09-01 22:29:55 +08:00
<style lang="scss" scoped>
/deep/.color-lump {
display: none;
}
page {
background-color: #F4F7FE;
// background: linear-gradient(180deg, #FFFFFF 0%, #F6F6F6 100%);
}
.location {
background-color: #F6F6F6;
width: 680rpx;
height: 150rpx;
position: absolute;
top: 0;
z-index: 9999;
border-radius: 20rpx;
left: 50%;
margin-left: -340rpx;
margin-top: 80rpx;
padding-left: 20rpx;
.locationa {
font-size: 28rpx;
color: #000;
font-weight: 500;
margin-top: 30rpx;
margin-bottom: 15rpx;
}
.locationb {
font-size: 20rpx;
color: #5a5a5a;
}
}
2023-08-30 21:11:53 +08:00
.Circle_friends {
position: relative;
padding: 0 0 87.72rpx 0;
2023-08-30 21:11:53 +08:00
background: linear-gradient(180deg, #FFFFFF 0%, #F6F6F6 100%);
}
.sitbox {
opacity: 1 !important;
2023-09-01 22:29:55 +08:00
// background: #F84221 !important;
background: linear-gradient(to bottom, #F84221, #F84221);
background-color: #F84221;
}
2023-09-01 22:29:55 +08:00
2023-08-31 21:15:39 +08:00
.site-box {
width: 100%;
/* #ifdef MP || APP-PLUS */
height: 160rpx;
/* #endif */
/* #ifdef H5 */
height: 120rpx;
2023-09-01 16:15:43 +08:00
/* #endif */
2023-08-31 21:15:39 +08:00
margin-bottom: 26.32rpx;
position: absolute;
top: 0rpx;
position: fixed;
z-index: 999;
/* #ifdef MP || APP-PLUS */
padding-top: 75rpx;
/* #endif */
/* #ifdef H5 */
padding-top: 25rpx;
/* #endif */
// background-color: #e5e5e5;
// opacity: 0;
/* 初始时设置元素不透明 */
2023-09-01 22:29:55 +08:00
backdrop-filter: blur(5px) opacity(0);
transition: opacity 0.2s ease-in-out;
transition-delay: 1.5s;
2023-09-01 22:29:55 +08:00
transition: background 0.2s ease-in-out;
2023-08-31 21:15:39 +08:00
padding-right: 20rpx;
// 位置
.place_wrapper {
color: #fff;
margin-right: 24.56rpx;
font-size: 30rpx;
opacity: 0;
2023-09-01 22:29:55 +08:00
transition: opacity 1s ease-in-out;
transition-delay: 1.5s;
2023-08-31 21:15:39 +08:00
.town_name {
margin-left: 21rpx;
}
}
.iconfont {
font-size: 30rpx;
2023-08-31 21:15:39 +08:00
font-size: 35.09rpx;
}
}
.circle_friends_wrapper {
position: relative;
2023-08-30 21:11:53 +08:00
z-index: 2;
}
2023-08-30 21:11:53 +08:00
/deep/.u-tabs__wrapper__nav__line {
width: 46rpx;
2023-08-30 21:11:53 +08:00
}
/deep/.u-tabs__wrapper__nav__item {
padding: 0 0px;
padding-right: 10rpx;
}
.search_wrapper {
2023-08-30 21:11:53 +08:00
width: 694.74rpx;
margin: 0 auto;
}
.tabs_wrapper {
width: 720rpx;
margin: 0 auto;
2023-08-30 21:11:53 +08:00
margin-bottom: 21.05rpx;
// margin-left: -20rpx;
2023-08-30 21:11:53 +08:00
}
2023-08-30 21:11:53 +08:00
.empty_wrapper {
display: flex;
align-items: center;
justify-content: center;
2023-08-30 21:11:53 +08:00
}
.article_box {
height: 100%;
width: 694.74rpx;
margin: 0 auto;
background-color: #fff;
border-radius: 16rpx;
padding: 0 24.56rpx;
box-sizing: border-box;
.title-box {
height: 87.72rpx;
text {
font-size: 28.07rpx;
}
}
.article-item {
display: flex;
// height: 175.44rpx;
justify-content: space-between;
border-bottom: 1px solid #f0f0f0;
padding: 21.05rpx 0;
.text {
flex: 1;
height: 122.81rpx;
margin-right: 17.54rpx;
font-size: 24rpx;
color: #999;
display: flex;
flex-direction: column;
justify-content: space-between;
.name {
font-size: 26.32rpx;
color: #282828;
}
}
.pictrue {
width: 175.44rpx;
height: 122.81rpx;
image {
width: 100%;
height: 100%;
border-radius: 8px;
}
}
}
}
.tabs_wrapper {
width: 723rpx;
margin: 0rpx auto;
margin-bottom: 21.05rpx;
2023-08-30 21:11:53 +08:00
.title {
font-size: 31.58rpx;
font-weight: bold;
2023-08-30 21:11:53 +08:00
&::before {
content: '';
display: inline-block;
width: 3px;
height: 31.58rpx;
background-color: #F84221;
margin-right: 7.02rpx;
2023-08-30 21:11:53 +08:00
}
}
}
2023-08-30 21:11:53 +08:00
.list {
display: flex;
padding: 12rpx;
justify-content: space-between;
.list-m {
width: 356rpx;
height: 235rpx;
position: relative;
2023-09-01 22:29:55 +08:00
background: linear-gradient(180deg, #3B7733 0%, rgba(59, 118, 50, 0.88) 60%, rgba(56, 113, 49, 0) 100%);
.list-title {
2023-08-30 21:11:53 +08:00
display: flex;
position: absolute;
top: 0;
.list-titlea {
margin-top: 10rpx;
margin-left: 14rpx;
width: 96rpx;
height: 117rpx;
margin-right: 11rpx;
position: relative;
.titlea-con {
position: absolute;
top: 20rpx;
color: #F4F7FE;
.titlea {
2023-09-01 22:29:55 +08:00
margin-top: 10rpx;
margin-left: 15rpx;
font-size: 12rpx;
font-family: PingFang SC-Semibold, PingFang SC;
}
2023-08-30 21:11:53 +08:00
.titleb {
2023-09-01 22:29:55 +08:00
margin-top: 18rpx;
font-size: 37rpx;
font-family: PingFang SC-Semibold, PingFang SC;
font-weight: 600;
color: #FFFFFF;
margin-left: 15rpx;
}
}
image {
width: 100%;
height: 100%;
}
2023-08-30 21:11:53 +08:00
}
.list-titleb {
.titlea {
font-size: 37rpx;
font-family: PingFang SC-Semibold, PingFang SC;
font-weight: 600;
color: #FFFFFF;
margin-top: 10rpx;
2023-08-30 21:11:53 +08:00
}
.titleb {
margin-top: 5rpx;
font-size: 33rpx;
font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500;
color: #FFFFFF;
2023-08-30 21:11:53 +08:00
}
}
}
2023-08-30 21:11:53 +08:00
.list-title-info {
2023-09-01 22:29:55 +08:00
padding: 2rpx 2rpx;
display: flex;
font-size: 10rpx;
background: #FFFFFF;
border-radius: 19rpx 19rpx 19rpx 19rpx;
position: absolute;
bottom: 14rpx;
2023-09-01 22:29:55 +08:00
left: 100rpx;
padding-left: 15rpx;
}
2023-08-30 21:11:53 +08:00
image {
width: 100%;
height: 100%;
}
}
}
2023-08-30 21:11:53 +08:00
.list-con {
display: flex;
justify-content: space-between;
margin-top: -10rpx;
padding: 12rpx;
2023-08-30 21:11:53 +08:00
.list-con-left {
width: 356rpx;
height: 482rpx;
position: relative;
2023-09-01 22:29:55 +08:00
background: linear-gradient(180deg, #3B7733 0%, rgba(59, 118, 50, 0.88) 60%, rgba(56, 113, 49, 0) 100%);
.list-con-title {
position: absolute;
top: 0;
z-index: 10;
padding-left: 14rpx;
.con-titlea {
font-size: 37rpx;
font-family: PingFang SC-Semibold, PingFang SC;
font-weight: 600;
color: #FFFFFF;
margin-top: 10rpx;
}
.con-titleb {
margin-top: 5rpx;
font-size: 33rpx;
font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500;
color: #FFFFFF;
}
}
image {
width: 100%;
height: 100%;
}
}
.list-con-right {
width: 356rpx;
.con-right {
width: 356rpx;
height: 235rpx;
position: relative;
2023-09-01 22:29:55 +08:00
background: linear-gradient(180deg, #3B7733 0%, rgba(59, 118, 50, 0.88) 60%, rgba(56, 113, 49, 0) 100%);
.list-con-title {
position: absolute;
top: 0;
z-index: 10;
padding-left: 14rpx;
.con-titlea {
font-size: 37rpx;
font-family: PingFang SC-Semibold, PingFang SC;
font-weight: 600;
color: #FFFFFF;
margin-top: 10rpx;
2023-08-30 21:11:53 +08:00
}
.con-titleb {
margin-top: 5rpx;
font-size: 33rpx;
font-family: PingFang SC-Medium, PingFang SC;
font-weight: 500;
color: #FFFFFF;
}
}
image {
width: 100%;
height: 100%;
2023-08-30 21:11:53 +08:00
}
}
}
}
2023-08-30 21:11:53 +08:00
.list-bon {
width: 724rpx;
height: 128rpx;
margin: 0 auto;
margin-bottom: 12rpx;
image {
width: 100%;
height: 100%;
2023-08-30 21:11:53 +08:00
}
}
.goodslist {
margin: 0 auto;
width: 725rpx;
}
2023-05-10 16:07:28 +08:00
</style>