update
This commit is contained in:
parent
faeb1c18c1
commit
e6d2ba84d6
@ -7,7 +7,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div> -->
|
</div> -->
|
||||||
|
|
||||||
<div class="contentList">
|
<div class="contentList" :style="{ height: `calc(100vh - ${safeHeight}px)` }">
|
||||||
<!-- <div class="contentItem" v-for="(item, index) in messageList" :key="index" @click="handleGoDetail(item)"> -->
|
<!-- <div class="contentItem" v-for="(item, index) in messageList" :key="index" @click="handleGoDetail(item)"> -->
|
||||||
<div class="contentItem" v-for="(item, index) in messageList" :key="index" @click="handleGoDetail(item)">
|
<div class="contentItem" v-for="(item, index) in messageList" :key="index" @click="handleGoDetail(item)">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
@ -30,8 +30,8 @@
|
|||||||
" />
|
" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div v-if="!(messageList && messageList.length > 0)"> -->
|
<div v-if="!(messageList && messageList.length > 0)">
|
||||||
<div v-if="!(allMessageList[selectTab] && allMessageList[selectTab].length > 0)">
|
<!-- <div v-if="!(allMessageList[selectTab] && allMessageList[selectTab].length > 0)"> -->
|
||||||
<no-data text="暂无内容" />
|
<no-data text="暂无内容" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -44,6 +44,7 @@ import NoData from "../../components/noData.vue";
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
safeHeight: {},
|
||||||
tabList: [],
|
tabList: [],
|
||||||
selectTab: 0,
|
selectTab: 0,
|
||||||
messageList: [], // 当前显示的数据
|
messageList: [], // 当前显示的数据
|
||||||
@ -59,6 +60,11 @@ export default {
|
|||||||
}),
|
}),
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
|
let systemInfo = uni.getSystemInfoSync();
|
||||||
|
let height = systemInfo.safeAreaInsets.bottom;
|
||||||
|
this.safeHeight = Number(height);
|
||||||
|
|
||||||
|
|
||||||
// 拿到tab的数据
|
// 拿到tab的数据
|
||||||
// this.handleGetTabList();
|
// this.handleGetTabList();
|
||||||
// this.handleGetHighwayHeadlines()
|
// this.handleGetHighwayHeadlines()
|
||||||
@ -370,7 +376,6 @@ export default {
|
|||||||
|
|
||||||
.contentList {
|
.contentList {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: calc(100vh - 50px);
|
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
|
|
||||||
.contentItem {
|
.contentItem {
|
||||||
|
|||||||
@ -1,5 +1,5 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="main">
|
<div class="main" :style="{ paddingBottom: `${safeHeight}px` }">
|
||||||
<div v-if="showType === 1">
|
<div v-if="showType === 1">
|
||||||
<div class="pageTitle">{{ detailObj.NOTICEINFO_TITLE || "" }}</div>
|
<div class="pageTitle">{{ detailObj.NOTICEINFO_TITLE || "" }}</div>
|
||||||
<div class="time">{{ detailObj.START_DATE || "-" }}</div>
|
<div class="time">{{ detailObj.START_DATE || "-" }}</div>
|
||||||
@ -35,6 +35,7 @@
|
|||||||
export default {
|
export default {
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
safeHeight: "",
|
||||||
detailObj: {
|
detailObj: {
|
||||||
// NOTICEINFO_TITLE: "",
|
// NOTICEINFO_TITLE: "",
|
||||||
// START_DATE: "",
|
// START_DATE: "",
|
||||||
@ -45,7 +46,10 @@ export default {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
onLoad(query) {
|
onLoad(query) {
|
||||||
console.log("query", query);
|
let systemInfo = uni.getSystemInfoSync();
|
||||||
|
let height = systemInfo.safeAreaInsets.bottom;
|
||||||
|
this.safeHeight = Number(height);
|
||||||
|
|
||||||
if (query.id) {
|
if (query.id) {
|
||||||
this.id = query.id
|
this.id = query.id
|
||||||
if (query.type === 'true') {
|
if (query.type === 'true') {
|
||||||
|
|||||||
@ -7,8 +7,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="contentList">
|
<scroll-view :scroll-y="true" class="contentList">
|
||||||
<!-- <div class="contentItem" v-for="(item, index) in messageList" :key="index" @click="handleGoDetail(item)"> -->
|
|
||||||
<div class="contentItem" v-for="(item, index) in allMessageList[selectTab]" :key="index"
|
<div class="contentItem" v-for="(item, index) in allMessageList[selectTab]" :key="index"
|
||||||
@click="handleGoDetail(item)">
|
@click="handleGoDetail(item)">
|
||||||
<div class="left">
|
<div class="left">
|
||||||
@ -22,7 +21,8 @@
|
|||||||
</div>
|
</div>
|
||||||
<div class="right">
|
<div class="right">
|
||||||
|
|
||||||
<image class="leftIcon" v-if="item.ImageList && item.ImageList.length > 0" :src="item.ImageList[0].ImageUrl" />
|
<image class="leftIcon" v-if="item.ImageList && item.ImageList.length > 0"
|
||||||
|
:src="item.ImageList[0].ImageUrl" />
|
||||||
|
|
||||||
<image v-else class="leftIcon" :src="item.coverImg
|
<image v-else class="leftIcon" :src="item.coverImg
|
||||||
? item.coverImg
|
? item.coverImg
|
||||||
@ -30,11 +30,10 @@
|
|||||||
" />
|
" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- <div v-if="!(messageList && messageList.length > 0)"> -->
|
|
||||||
<div v-if="!(allMessageList[selectTab] && allMessageList[selectTab].length > 0)">
|
<div v-if="!(allMessageList[selectTab] && allMessageList[selectTab].length > 0)">
|
||||||
<no-data text="暂无内容" />
|
<no-data text="暂无内容" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</scroll-view>
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@ -367,8 +366,7 @@ export default {
|
|||||||
|
|
||||||
.contentList {
|
.contentList {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: calc(100vh - 50px);
|
height: calc(100vh - 70px);
|
||||||
overflow-y: auto;
|
|
||||||
|
|
||||||
.contentItem {
|
.contentItem {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@ -32,7 +32,8 @@
|
|||||||
<view class="navList" id="navItem">
|
<view class="navList" id="navItem">
|
||||||
<swiper class="swiper" circular :indicator-dots="true" :autoplay="true" indicator-color="rgba(255,255,255,0.6)"
|
<swiper class="swiper" circular :indicator-dots="true" :autoplay="true" indicator-color="rgba(255,255,255,0.6)"
|
||||||
indicator-active-color="#ffffff">
|
indicator-active-color="#ffffff">
|
||||||
<swiper-item v-for="(item, index) in swiperList" :key="index" @click="handleFunClick({ value: 17 })">
|
<swiper-item v-for="(item, index) in swiperList" :key="index"
|
||||||
|
@click="handleFunClick({ value: 17, index: index })">
|
||||||
<!-- @click="handleShowPreview(item)" -->
|
<!-- @click="handleShowPreview(item)" -->
|
||||||
<view class="swiper-item uni-bg-red">
|
<view class="swiper-item uni-bg-red">
|
||||||
<image class="img" :src="item" />
|
<image class="img" :src="item" />
|
||||||
@ -455,13 +456,15 @@ export default {
|
|||||||
},
|
},
|
||||||
pageType: "", // spring 春节模式
|
pageType: "", // spring 春节模式
|
||||||
swiperList: [
|
swiperList: [
|
||||||
"https://ahyd.eshangtech.com/UploadImageDir/minprogram/正大泰国榴莲.jpg",
|
// "https://ahyd.eshangtech.com/UploadImageDir/minprogram/正大泰国榴莲.jpg",
|
||||||
|
"http://saas.eshangtech.com/minTestImg/正大泰国榴莲.jpg",
|
||||||
"https://ahyd.eshangtech.com/UploadImageDir/minprogram/招商信息_1.jpg",
|
"https://ahyd.eshangtech.com/UploadImageDir/minprogram/招商信息_1.jpg",
|
||||||
"https://ahyd.eshangtech.com/UploadImageDir/minprogram/龙江大桥_1.jpg",
|
"https://ahyd.eshangtech.com/UploadImageDir/minprogram/龙江大桥_1.jpg",
|
||||||
"https://ahyd.eshangtech.com/UploadImageDir/minprogram/小沙坝服务区_1.jpg",
|
"https://ahyd.eshangtech.com/UploadImageDir/minprogram/小沙坝服务区_1.jpg",
|
||||||
],
|
],
|
||||||
previewImageList: [
|
previewImageList: [
|
||||||
"https://ahyd.eshangtech.com/UploadImageDir/minprogram/正大泰国榴莲.jpg",
|
// "https://ahyd.eshangtech.com/UploadImageDir/minprogram/正大泰国榴莲.jpg",
|
||||||
|
"http://saas.eshangtech.com/minTestImg/正大泰国榴莲.jpg",
|
||||||
"https://ahyd.eshangtech.com/UploadImageDir/minprogram/正太泰国榴莲.jpg",
|
"https://ahyd.eshangtech.com/UploadImageDir/minprogram/正太泰国榴莲.jpg",
|
||||||
"https://ahyd.eshangtech.com/UploadImageDir/minprogram/招商信息_1.jpg",
|
"https://ahyd.eshangtech.com/UploadImageDir/minprogram/招商信息_1.jpg",
|
||||||
"https://ahyd.eshangtech.com/UploadImageDir/minprogram/龙江大桥.jpg",
|
"https://ahyd.eshangtech.com/UploadImageDir/minprogram/龙江大桥.jpg",
|
||||||
@ -496,7 +499,7 @@ export default {
|
|||||||
let _this = this
|
let _this = this
|
||||||
setTimeout(() => {
|
setTimeout(() => {
|
||||||
_this.$refs.noticeRef.close();
|
_this.$refs.noticeRef.close();
|
||||||
}, 5000)
|
}, 8000)
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
this.showPoster = false;
|
this.showPoster = false;
|
||||||
@ -1039,9 +1042,16 @@ export default {
|
|||||||
this.handleGoShop();
|
this.handleGoShop();
|
||||||
}
|
}
|
||||||
} else if (obj.value === 17) {
|
} else if (obj.value === 17) {
|
||||||
uni.navigateTo({
|
if (obj.index === 0) {
|
||||||
url: `/pages/highwayHeadlines/attractInvestment`,
|
uni.navigateTo({
|
||||||
});
|
url: `/pages/shopMallPage/shopType/index`,
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: `/pages/highwayHeadlines/attractInvestment`,
|
||||||
|
});
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 跳转到商城
|
// 跳转到商城
|
||||||
|
|||||||
@ -192,7 +192,7 @@
|
|||||||
<div class="advertisement" :style="{
|
<div class="advertisement" :style="{
|
||||||
background: pageType !== 'UnionMall' ? '#fff' : 'transparent',
|
background: pageType !== 'UnionMall' ? '#fff' : 'transparent',
|
||||||
}">
|
}">
|
||||||
<div class="advertisementContentBox" v-if="pageType !== 'UnionMall'" @click="handleGoShopList(4597)">
|
<div class="advertisementContentBox" v-if="pageType !== 'UnionMall'" @click="handleGoShopList(4597, 0)">
|
||||||
<div class="advertisementTop">
|
<div class="advertisementTop">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
每周特惠
|
每周特惠
|
||||||
@ -233,13 +233,15 @@
|
|||||||
<div class="advertisement" :style="{
|
<div class="advertisement" :style="{
|
||||||
background: pageType !== 'UnionMall' ? '#fff' : 'transparent',
|
background: pageType !== 'UnionMall' ? '#fff' : 'transparent',
|
||||||
}">
|
}">
|
||||||
<div class="advertisementContentBox" v-if="pageType !== 'UnionMall'" @click="handleGoShopList(5030)">
|
<div class="advertisementContentBox" v-if="pageType !== 'UnionMall'" @click="handleGoShopList(3186, 1)">
|
||||||
<div class="advertisementTop">
|
<div class="advertisementTop">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<image class="titleImg" src="https://eshangtech.com/ShopICO/ahyd-mall/wechatesAH/title1st.png" />
|
绿色云品
|
||||||
|
<!-- <image class="titleImg" src="https://eshangtech.com/ShopICO/ahyd-mall/wechatesAH/title1st.png" /> -->
|
||||||
</div>
|
</div>
|
||||||
<div class="moreBox">
|
<div class="moreBox">
|
||||||
<text class="moreText">低价爆品天天有</text>
|
<!-- <text class="moreText">低价爆品天天有</text> -->
|
||||||
|
<text class="moreText">更多</text>
|
||||||
<image class="rightIcon" src="https://eshangtech.com/ShopICO/ahyd-mall/wechatesAH/rightArrow.png" />
|
<image class="rightIcon" src="https://eshangtech.com/ShopICO/ahyd-mall/wechatesAH/rightArrow.png" />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@ -348,11 +350,12 @@
|
|||||||
|
|
||||||
<!-- 今日推荐 -->
|
<!-- 今日推荐 -->
|
||||||
<div class="advertisementSecond">
|
<div class="advertisementSecond">
|
||||||
<div class="advertisementItem" @click="handleGoShopList(5050)" v-if="pageType !== 'UnionMall'">
|
<div class="advertisementItem" @click="handleGoShopList(3175, 2)" v-if="pageType !== 'UnionMall'">
|
||||||
<div class="advertisementItemContent">
|
<div class="advertisementItemContent">
|
||||||
<div class="contentTop">
|
<div class="contentTop">
|
||||||
<div class="title">
|
<div class="title">
|
||||||
<image class="titleImg" src="https://eshangtech.com/ShopICO/ahyd-mall/wechatesAH/today3st.png" />
|
自有品牌
|
||||||
|
<!-- <image class="titleImg" src="https://eshangtech.com/ShopICO/ahyd-mall/wechatesAH/today3st.png" /> -->
|
||||||
</div>
|
</div>
|
||||||
<div class="moreBox">
|
<div class="moreBox">
|
||||||
<text class="moreText">更多</text>
|
<text class="moreText">更多</text>
|
||||||
@ -360,7 +363,7 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="shopDesc">精品优选</div>
|
<!-- <div class="shopDesc">精品优选</div> -->
|
||||||
|
|
||||||
<scroll-view class="shopItemList" scroll-x>
|
<scroll-view class="shopItemList" scroll-x>
|
||||||
<div :style="{
|
<div :style="{
|
||||||
@ -408,20 +411,18 @@
|
|||||||
<!-- 甄选商品 -->
|
<!-- 甄选商品 -->
|
||||||
<div class="allShopList">
|
<div class="allShopList">
|
||||||
<template v-if="pageType !== 'UnionMall'">
|
<template v-if="pageType !== 'UnionMall'">
|
||||||
<scroll-view class="allTypeBox" scroll-x="true">
|
<view class="allShopTitle">积分商城</view>
|
||||||
<!-- <div :class="selectProducts === item.USERDEFINEDTYPE_ID
|
<view class="jfDescBox">
|
||||||
? 'typeItem selectTypeItem'
|
<image mode="widthFix" class="descImg" src="https://eshangtech.com/ShopICO/ahyd-mall/descImg.png" />
|
||||||
: 'typeItem'
|
</view>
|
||||||
" v-for="(item, index) in productsList" :key="index" @click="handleChangeShopMallType(item)">
|
<!-- <scroll-view class="allTypeBox" scroll-x="true">
|
||||||
{{ item.USERDEFINEDTYPE_NAME }}
|
|
||||||
</div> -->
|
|
||||||
<div :class="selectProducts === item.UserdefinedType_Id
|
<div :class="selectProducts === item.UserdefinedType_Id
|
||||||
? 'typeItem selectTypeItem'
|
? 'typeItem selectTypeItem'
|
||||||
: 'typeItem'
|
: 'typeItem'
|
||||||
" v-for="(item, index) in shopTypeList" :key="index" @click="handleChangeShopMallType(item)">
|
" v-for="(item, index) in shopTypeList" :key="index" @click="handleChangeShopMallType(item)">
|
||||||
{{ item.UserdefinedType_Name }}
|
{{ item.UserdefinedType_Name }}
|
||||||
</div>
|
</div>
|
||||||
</scroll-view>
|
</scroll-view> -->
|
||||||
|
|
||||||
<!-- <scroll-view class="allShopListContent" scroll-y="true" @scrolltolower="handleToBottomproductsList">
|
<!-- <scroll-view class="allShopListContent" scroll-y="true" @scrolltolower="handleToBottomproductsList">
|
||||||
<view class="buyShopItem" v-for="(item, index) in productsList" :key="index"
|
<view class="buyShopItem" v-for="(item, index) in productsList" :key="index"
|
||||||
@ -888,9 +889,9 @@ export default {
|
|||||||
// const data3 = await this.$api.getCoop(req3);
|
// const data3 = await this.$api.getCoop(req3);
|
||||||
|
|
||||||
|
|
||||||
const data1 = await this.$api.$javaGet('/third-party/getExcludeWeChatGetMallGoodsInfo', req1)
|
const data1 = await this.$api.$javaGet('/third-party/getWeChatGetMallGoodsInfo', req1)
|
||||||
const data2 = await this.$api.$javaGet('/third-party/getExcludeWeChatGetMallGoodsInfo', req2)
|
const data2 = await this.$api.$javaGet('/third-party/getWeChatGetMallGoodsInfo', req2)
|
||||||
const data3 = await this.$api.$javaGet('/third-party/getExcludeWeChatGetMallGoodsInfo', req3)
|
const data3 = await this.$api.$javaGet('/third-party/getWeChatGetMallGoodsInfo', req3)
|
||||||
|
|
||||||
let list1 = this.handleChangeShopList(data1.Data.List);
|
let list1 = this.handleChangeShopList(data1.Data.List);
|
||||||
let list2 = this.handleChangeShopList(data2.Data.List);
|
let list2 = this.handleChangeShopList(data2.Data.List);
|
||||||
@ -1143,9 +1144,11 @@ export default {
|
|||||||
// justCommodity: 1,
|
// justCommodity: 1,
|
||||||
// });
|
// });
|
||||||
|
|
||||||
|
// let url = this.pageType === "UnionMall" ? '/third-party/getWeChatGetMallGoodsInfo' : '/third-party/getWeChatGetMallGoodsInfoExclude'
|
||||||
|
|
||||||
const data = await this.$api.$javaGet(
|
const data = await this.$api.$javaGet(
|
||||||
'/third-party/getExcludeWeChatGetMallGoodsInfo',
|
'/third-party/getWeChatGetMallGoodsInfoExclude',
|
||||||
|
// url,
|
||||||
{
|
{
|
||||||
ownerUnitId: 911,
|
ownerUnitId: 911,
|
||||||
userdefinedTypeId: 1355,
|
userdefinedTypeId: 1355,
|
||||||
@ -1154,9 +1157,6 @@ export default {
|
|||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
console.log("handleGetActivityList", data);
|
console.log("handleGetActivityList", data);
|
||||||
let list = data.Data.List;
|
let list = data.Data.List;
|
||||||
let res = [];
|
let res = [];
|
||||||
@ -1192,11 +1192,17 @@ export default {
|
|||||||
// justCommodity: 1,
|
// justCommodity: 1,
|
||||||
// });
|
// });
|
||||||
|
|
||||||
|
let url = this.pageType === "UnionMall" ? '/third-party/getWeChatGetMallGoodsInfo' : '/third-party/getWeChatGetMallGoodsInfoExclude'
|
||||||
|
|
||||||
const data = await this.$api.$javaGet(
|
const data = await this.$api.$javaGet(
|
||||||
'/third-party/getExcludeWeChatGetMallGoodsInfo',
|
// '/third-party/getExcludeWeChatGetMallGoodsInfo',
|
||||||
|
url,
|
||||||
{
|
{
|
||||||
ownerUnitId: 911,
|
ownerUnitId: 911,
|
||||||
COMMODITYNATURE: 5030,
|
// COMMODITYNATURE: 5030,//特价优惠
|
||||||
|
COMMODITYNATURE: 5021,// 绿色云品
|
||||||
|
userdefinedTypeId: 3186,// 绿色云品
|
||||||
|
userdefinedtypeId: 3186,// 绿色云品
|
||||||
excludeNature: 5070,
|
excludeNature: 5070,
|
||||||
justCommodity: 1,
|
justCommodity: 1,
|
||||||
}
|
}
|
||||||
@ -1205,33 +1211,39 @@ export default {
|
|||||||
console.log("handleGetSpecialOffers", data);
|
console.log("handleGetSpecialOffers", data);
|
||||||
let list = data.Data && data.Data.List ? data.Data.List : [];
|
let list = data.Data && data.Data.List ? data.Data.List : [];
|
||||||
let shopList = [];
|
let shopList = [];
|
||||||
|
let shopIdList = []
|
||||||
if (list && list.length > 0) {
|
if (list && list.length > 0) {
|
||||||
list.forEach((item) => {
|
list.forEach((item) => {
|
||||||
if (item.COMMODITYLIST && item.COMMODITYLIST.length > 0) {
|
if (item.COMMODITYLIST && item.COMMODITYLIST.length > 0) {
|
||||||
item.COMMODITYLIST.forEach((subItem) => {
|
item.COMMODITYLIST.forEach((subItem) => {
|
||||||
if (
|
if (shopIdList.indexOf(subItem.COMMODITY_ID) === -1) {
|
||||||
subItem.COMMODITY_MEMBERPRICE &&
|
shopIdList.push(subItem.COMMODITY_ID)
|
||||||
subItem.COMMODITY_MEMBERPRICE.toString().indexOf(".") !== -1
|
|
||||||
) {
|
if (
|
||||||
subItem.bigNumber =
|
subItem.COMMODITY_MEMBERPRICE &&
|
||||||
subItem.COMMODITY_MEMBERPRICE.toString().split(".")[0];
|
subItem.COMMODITY_MEMBERPRICE.toString().indexOf(".") !== -1
|
||||||
subItem.smallNumber =
|
) {
|
||||||
subItem.COMMODITY_MEMBERPRICE.toString().split(".")[1];
|
subItem.bigNumber =
|
||||||
} else {
|
subItem.COMMODITY_MEMBERPRICE.toString().split(".")[0];
|
||||||
subItem.bigNumber = subItem.COMMODITY_MEMBERPRICE;
|
subItem.smallNumber =
|
||||||
|
subItem.COMMODITY_MEMBERPRICE.toString().split(".")[1];
|
||||||
|
} else {
|
||||||
|
subItem.bigNumber = subItem.COMMODITY_MEMBERPRICE;
|
||||||
|
}
|
||||||
|
if (
|
||||||
|
subItem.COMMODITY_RETAILPRICE &&
|
||||||
|
subItem.COMMODITY_RETAILPRICE.toString().indexOf(".") !== -1
|
||||||
|
) {
|
||||||
|
subItem.RETbigNumber =
|
||||||
|
subItem.COMMODITY_RETAILPRICE.toString().split(".")[0];
|
||||||
|
subItem.RETsmallNumber =
|
||||||
|
subItem.COMMODITY_RETAILPRICE.toString().split(".")[1];
|
||||||
|
} else {
|
||||||
|
subItem.RETbigNumber = subItem.COMMODITY_RETAILPRICE;
|
||||||
|
}
|
||||||
|
shopList.push(subItem);
|
||||||
}
|
}
|
||||||
if (
|
|
||||||
subItem.COMMODITY_RETAILPRICE &&
|
|
||||||
subItem.COMMODITY_RETAILPRICE.toString().indexOf(".") !== -1
|
|
||||||
) {
|
|
||||||
subItem.RETbigNumber =
|
|
||||||
subItem.COMMODITY_RETAILPRICE.toString().split(".")[0];
|
|
||||||
subItem.RETsmallNumber =
|
|
||||||
subItem.COMMODITY_RETAILPRICE.toString().split(".")[1];
|
|
||||||
} else {
|
|
||||||
subItem.RETbigNumber = subItem.COMMODITY_RETAILPRICE;
|
|
||||||
}
|
|
||||||
shopList.push(subItem);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -1308,11 +1320,18 @@ export default {
|
|||||||
// justCommodity: 1,
|
// justCommodity: 1,
|
||||||
// });
|
// });
|
||||||
|
|
||||||
|
|
||||||
|
// let url = this.pageType === "UnionMall" ? '/third-party/getWeChatGetMallGoodsInfo' : '/third-party/getWeChatGetMallGoodsInfoExclude'
|
||||||
|
|
||||||
const data = await this.$api.$javaGet(
|
const data = await this.$api.$javaGet(
|
||||||
'/third-party/getExcludeWeChatGetMallGoodsInfo',
|
'/third-party/getWeChatGetMallGoodsInfoExclude',
|
||||||
|
// url,
|
||||||
{
|
{
|
||||||
ownerUnitId: 911,
|
ownerUnitId: 911,
|
||||||
COMMODITYNATURE: 4598,
|
// COMMODITYNATURE: 4598,// 原今日推荐
|
||||||
|
COMMODITYNATURE: 5022,//自有品牌
|
||||||
|
userdefinedtypeId: 3175, // 商品分类
|
||||||
|
userdefinedTypeId: 3175, // 商品分类
|
||||||
excludeNature: 5070,
|
excludeNature: 5070,
|
||||||
justCommodity: 1,
|
justCommodity: 1,
|
||||||
}
|
}
|
||||||
@ -1321,33 +1340,40 @@ export default {
|
|||||||
console.log("今日推荐", data);
|
console.log("今日推荐", data);
|
||||||
let list = data.Data.List;
|
let list = data.Data.List;
|
||||||
let shopList = [];
|
let shopList = [];
|
||||||
|
let shopIdList = []
|
||||||
if (list && list.length > 0) {
|
if (list && list.length > 0) {
|
||||||
list.forEach((item) => {
|
list.forEach((item) => {
|
||||||
if (item.COMMODITYLIST && item.COMMODITYLIST.length > 0) {
|
if (item.COMMODITYLIST && item.COMMODITYLIST.length > 0) {
|
||||||
item.COMMODITYLIST.forEach((subItem) => {
|
item.COMMODITYLIST.forEach((subItem) => {
|
||||||
if (
|
if (shopIdList.indexOf(subItem.COMMODITY_ID) === -1) {
|
||||||
subItem.COMMODITY_MEMBERPRICE &&
|
shopIdList.push(subItem.COMMODITY_ID)
|
||||||
subItem.COMMODITY_MEMBERPRICE.toString().indexOf(".") !== -1
|
if (
|
||||||
) {
|
subItem.COMMODITY_MEMBERPRICE &&
|
||||||
subItem.bigNumber =
|
subItem.COMMODITY_MEMBERPRICE.toString().indexOf(".") !== -1
|
||||||
subItem.COMMODITY_MEMBERPRICE.toString().split(".")[0];
|
) {
|
||||||
subItem.smallNumber =
|
subItem.bigNumber =
|
||||||
subItem.COMMODITY_MEMBERPRICE.toString().split(".")[1];
|
subItem.COMMODITY_MEMBERPRICE.toString().split(".")[0];
|
||||||
} else {
|
subItem.smallNumber =
|
||||||
subItem.bigNumber = subItem.COMMODITY_MEMBERPRICE;
|
subItem.COMMODITY_MEMBERPRICE.toString().split(".")[1];
|
||||||
|
} else {
|
||||||
|
subItem.bigNumber = subItem.COMMODITY_MEMBERPRICE;
|
||||||
|
}
|
||||||
|
if (
|
||||||
|
subItem.COMMODITY_RETAILPRICE &&
|
||||||
|
subItem.COMMODITY_RETAILPRICE.toString().indexOf(".") !== -1
|
||||||
|
) {
|
||||||
|
subItem.RETbigNumber =
|
||||||
|
subItem.COMMODITY_RETAILPRICE.toString().split(".")[0];
|
||||||
|
subItem.RETsmallNumber =
|
||||||
|
subItem.COMMODITY_RETAILPRICE.toString().split(".")[1];
|
||||||
|
} else {
|
||||||
|
subItem.RETbigNumber = subItem.COMMODITY_RETAILPRICE;
|
||||||
|
}
|
||||||
|
shopList.push(subItem);
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
if (
|
|
||||||
subItem.COMMODITY_RETAILPRICE &&
|
|
||||||
subItem.COMMODITY_RETAILPRICE.toString().indexOf(".") !== -1
|
|
||||||
) {
|
|
||||||
subItem.RETbigNumber =
|
|
||||||
subItem.COMMODITY_RETAILPRICE.toString().split(".")[0];
|
|
||||||
subItem.RETsmallNumber =
|
|
||||||
subItem.COMMODITY_RETAILPRICE.toString().split(".")[1];
|
|
||||||
} else {
|
|
||||||
subItem.RETbigNumber = subItem.COMMODITY_RETAILPRICE;
|
|
||||||
}
|
|
||||||
shopList.push(subItem);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
@ -1404,20 +1430,40 @@ export default {
|
|||||||
// // excludeNature: 5070,
|
// // excludeNature: 5070,
|
||||||
// });
|
// });
|
||||||
|
|
||||||
|
// 原本下面商城的内容
|
||||||
|
|
||||||
|
// const data = await this.$api.$javaGet(
|
||||||
|
// '/third-party/getWeChatGetMallGoodsInfo',
|
||||||
|
// {
|
||||||
|
// ownerUnitId: 911,
|
||||||
|
// COMMODITYNATURE: this.selectProducts === 4597 ? '' : 3000,
|
||||||
|
// userdefinedTypeId: this.selectProducts || "",
|
||||||
|
// Page_Size: this.shopMsg.pageSize,
|
||||||
|
// Page_Index: this.shopMsg.pageIndex,
|
||||||
|
// justCommodity: 1,
|
||||||
|
// }
|
||||||
|
// )
|
||||||
|
|
||||||
|
//
|
||||||
|
|
||||||
const data = await this.$api.$javaGet(
|
const data = await this.$api.$javaGet(
|
||||||
'/third-party/getExcludeWeChatGetMallGoodsInfo',
|
'/third-party/getWeChatGetMallGoodsInfo',
|
||||||
{
|
{
|
||||||
ownerUnitId: 911,
|
ownerUnitId: 911,
|
||||||
COMMODITYNATURE: this.selectProducts === 4597 ? '' : 3000,
|
|
||||||
userdefinedTypeId: this.selectProducts || "",
|
|
||||||
Page_Size: this.shopMsg.pageSize,
|
|
||||||
Page_Index: this.shopMsg.pageIndex,
|
|
||||||
justCommodity: 1,
|
justCommodity: 1,
|
||||||
|
payMethod: "2000,3000",
|
||||||
|
COMMODITYNATURE: 6000
|
||||||
|
// COMMODITYNATURE: this.selectProducts === 4597 ? '' : 3000,
|
||||||
|
// userdefinedTypeId: this.selectProducts || "",
|
||||||
|
// Page_Size: this.shopMsg.pageSize,
|
||||||
|
// Page_Index: this.shopMsg.pageIndex,
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
||||||
let list = data.Data.List;
|
let list = data.Data.List;
|
||||||
|
console.log('积分商城', list);
|
||||||
|
|
||||||
let resList = [];
|
let resList = [];
|
||||||
let thisResList = [];
|
let thisResList = [];
|
||||||
if (this.shopMsg.pageIndex > 1) {
|
if (this.shopMsg.pageIndex > 1) {
|
||||||
@ -1461,7 +1507,7 @@ export default {
|
|||||||
}
|
}
|
||||||
// this.productsList = list;
|
// this.productsList = list;
|
||||||
this.productsList = resList.concat(thisResList);
|
this.productsList = resList.concat(thisResList);
|
||||||
console.log("甄选商品", list);
|
console.log("甄选商品", this.productsList);
|
||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
|
|
||||||
// let shopList = []
|
// let shopList = []
|
||||||
@ -1494,10 +1540,13 @@ export default {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 跳转商品列表接口
|
// 跳转商品列表接口
|
||||||
handleGoShopList(type) {
|
handleGoShopList(value, index) {
|
||||||
uni.navigateTo({
|
// uni.navigateTo({
|
||||||
url: `/pages/shopPages/shopList/index?type=${type}&pageType=${this.pageType || ""
|
// url: `/pages/shopPages/shopList/index?type=${type}&pageType=${this.pageType || ""
|
||||||
}`,
|
// }`,
|
||||||
|
// });
|
||||||
|
uni.redirectTo({
|
||||||
|
url: `/pages/shopMallPage/shopType/index?leftId=${value}&pageType=${this.pageType}&selectIndex=${index}`,
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 跳转商品详情
|
// 跳转商品详情
|
||||||
@ -2266,6 +2315,10 @@ export default {
|
|||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
|
|
||||||
.title {
|
.title {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: #181716;
|
||||||
|
|
||||||
.titleImg {
|
.titleImg {
|
||||||
width: 112rpx;
|
width: 112rpx;
|
||||||
height: 36rpx;
|
height: 36rpx;
|
||||||
@ -2444,6 +2497,22 @@ export default {
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
margin-top: 40rpx;
|
margin-top: 40rpx;
|
||||||
|
|
||||||
|
.allShopTitle {
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: #181716;
|
||||||
|
}
|
||||||
|
|
||||||
|
.jfDescBox {
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 24rpx;
|
||||||
|
|
||||||
|
.descImg {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.allTypeBox {
|
.allTypeBox {
|
||||||
width: calc(100vw - 48rpx);
|
width: calc(100vw - 48rpx);
|
||||||
height: 60rpx;
|
height: 60rpx;
|
||||||
|
|||||||
@ -629,7 +629,7 @@ export default {
|
|||||||
// // justCommodity: 1,
|
// // justCommodity: 1,
|
||||||
// });
|
// });
|
||||||
|
|
||||||
let url = this.pageType === "UnionMall" ? '/third-party/getExcludeWeChatGetMallGoodsInfo' : '/third-party/getWeChatGetMallGoodsInfoExclude'
|
let url = this.pageType === "UnionMall" ? '/third-party/getWeChatGetMallGoodsInfo' : '/third-party/getWeChatGetMallGoodsInfoExclude'
|
||||||
|
|
||||||
const data = await this.$api.$javaGet(
|
const data = await this.$api.$javaGet(
|
||||||
// '/third-party/getExcludeWeChatGetMallGoodsInfo',
|
// '/third-party/getExcludeWeChatGetMallGoodsInfo',
|
||||||
@ -638,8 +638,8 @@ export default {
|
|||||||
ownerUnitId: 911,
|
ownerUnitId: 911,
|
||||||
appId: "wxee018fb96955552a",
|
appId: "wxee018fb96955552a",
|
||||||
commodityName: this.searchText,
|
commodityName: this.searchText,
|
||||||
excludeNature: this.pageType === "UnionMall" ? null : 5070,
|
excludeNature: this.pageType === "UnionMall" ? "" : 5070,
|
||||||
commodityNature: this.pageType === "UnionMall" ? 5070 : null,
|
commodityNature: this.pageType === "UnionMall" ? 5070 : "",
|
||||||
payMethod: "1000,3000",
|
payMethod: "1000,3000",
|
||||||
// justCommodity: 1,
|
// justCommodity: 1,
|
||||||
}
|
}
|
||||||
@ -791,8 +791,10 @@ export default {
|
|||||||
// // justCommodity: 1,
|
// // justCommodity: 1,
|
||||||
// });
|
// });
|
||||||
|
|
||||||
|
let url = this.pageType === "UnionMall" ? '/third-party/getWeChatGetMallGoodsInfo' : '/third-party/getWeChatGetMallGoodsInfoExclude'
|
||||||
const data = await this.$api.$javaGet(
|
const data = await this.$api.$javaGet(
|
||||||
'/third-party/getExcludeWeChatGetMallGoodsInfo',
|
// '/third-party/getExcludeWeChatGetMallGoodsInfo',
|
||||||
|
url,
|
||||||
{
|
{
|
||||||
ownerUnitId: 911,
|
ownerUnitId: 911,
|
||||||
userdefinedTypeId: this.searchText ? "" : id,
|
userdefinedTypeId: this.searchText ? "" : id,
|
||||||
|
|||||||
@ -1,46 +1,51 @@
|
|||||||
<template>
|
<template>
|
||||||
<scroll-view class="page-body" scroll-y="true" @scroll="handlePageScroll" :scroll-into-view="scrollView">
|
<div>
|
||||||
<div class="product-image" :style="{
|
<scroll-view class="page-body" scroll-y="true" @scroll="handlePageScroll" :scroll-into-view="scrollView" :style="{
|
||||||
marginTop: menu.top - 4 + 'px',
|
paddingBottom: `${134 + (isCountdown || panicBuying ? 64 : 0)}rpx`
|
||||||
width: '100vw',
|
|
||||||
height: '100vw',
|
|
||||||
}">
|
}">
|
||||||
<view class="header" :style="{
|
<div class="product-image" :style="{
|
||||||
height: menu.bottom + 'px',
|
marginTop: menu.top - 4 + 'px',
|
||||||
background: showTopFixed ? '#fff' : '',
|
width: '100vw',
|
||||||
|
height: '100vw',
|
||||||
}">
|
}">
|
||||||
<view class="headerBottom" :style="{ bottom: 0, height: menu.height + 'px' }">
|
<view class="header" :style="{
|
||||||
<view class="backArrowBox">
|
height: menu.bottom + 'px',
|
||||||
<image class="img" @click="handleBackIndex" src="/static/images/home/backArrowblack.svg" />
|
background: showTopFixed ? '#fff' : '',
|
||||||
<view class="line"></view>
|
}">
|
||||||
<image class="img" src="/static/images/home/export.svg" @click="handleShowExportBox" />
|
<view class="headerBottom" :style="{ bottom: 0, height: menu.height + 'px' }">
|
||||||
</view>
|
<view class="backArrowBox">
|
||||||
|
<image class="img" @click="handleBackIndex" src="/static/images/home/backArrowblack.svg" />
|
||||||
|
<view class="line"></view>
|
||||||
|
<image class="img" src="/static/images/home/export.svg" @click="handleShowExportBox" />
|
||||||
|
</view>
|
||||||
|
|
||||||
<view class="tabBox" v-if="showTopFixed">
|
<view class="tabBox" v-if="showTopFixed">
|
||||||
<view @click="handleChangePageTab(1)" :class="pageTab === 1 ? 'tabItem selectTabItem' : 'tabItem'">商品</view>
|
<view @click="handleChangePageTab(1)" :class="pageTab === 1 ? 'tabItem selectTabItem' : 'tabItem'">商品
|
||||||
<view @click="handleChangePageTab(2)" :class="pageTab === 2 ? 'tabItem selectTabItem' : 'tabItem'">详情</view>
|
</view>
|
||||||
</view>
|
<view @click="handleChangePageTab(2)" :class="pageTab === 2 ? 'tabItem selectTabItem' : 'tabItem'">详情
|
||||||
<view class="rightContent"></view>
|
</view>
|
||||||
|
</view>
|
||||||
|
<view class="rightContent"></view>
|
||||||
|
|
||||||
<view class="moreFunBox" :style="{ top: menu.top + 'px' }" v-if="showExportFun">
|
<view class="moreFunBox" :style="{ top: menu.top + 'px' }" v-if="showExportFun">
|
||||||
<view class="triangle"></view>
|
<view class="triangle"></view>
|
||||||
<view class="funList">
|
<view class="funList">
|
||||||
<view class="funItem" v-for="(item, index) in funList" :key="index" @click="handleExpentGo(item)">
|
<view class="funItem" v-for="(item, index) in funList" :key="index" @click="handleExpentGo(item)">
|
||||||
<image class="funItemIcon" :src="item.src" />
|
<image class="funItemIcon" :src="item.src" />
|
||||||
<text class="funItemText" :style="{
|
<text class="funItemText" :style="{
|
||||||
border: index + 1 === funList.length ? 'none' : '',
|
border: index + 1 === funList.length ? 'none' : '',
|
||||||
}">{{ item.label }}</text>
|
}">{{ item.label }}</text>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
|
||||||
|
|
||||||
<block v-if="good.List">
|
<block v-if="good.List">
|
||||||
<swiper scroll-x="true" circular="true" class="banner" indicator-dots="true" indicator-active-color="#ff6d00"
|
<swiper scroll-x="true" circular="true" class="banner" indicator-dots="true" indicator-active-color="#ff6d00"
|
||||||
autoplay id="banner" interval="3000" @change="swiperChange" :current="pageMsg.current">
|
autoplay id="banner" interval="3000" @change="swiperChange" :current="pageMsg.current">
|
||||||
<swiper-item v-for="(img, i) in good.List" :key="i">
|
<swiper-item v-for="(img, i) in good.List" :key="i">
|
||||||
<!-- <view
|
<!-- <view
|
||||||
:style="{
|
:style="{
|
||||||
width: '100%',
|
width: '100%',
|
||||||
height: '100%',
|
height: '100%',
|
||||||
@ -48,164 +53,165 @@
|
|||||||
backgroundSize: '100% 100%',
|
backgroundSize: '100% 100%',
|
||||||
}"
|
}"
|
||||||
></view> -->
|
></view> -->
|
||||||
<image mode="aspectFill" lazy-load="true" :src="img.IMAGE_URL" @click="handlePreviewSwiper(img, i)"></image>
|
<image mode="aspectFill" lazy-load="true" :src="img.IMAGE_URL" @click="handlePreviewSwiper(img, i)">
|
||||||
</swiper-item>
|
</image>
|
||||||
</swiper>
|
</swiper-item>
|
||||||
<!-- <div class="swiper-dots" v-if="pageMsg.imgeCount > 0">
|
</swiper>
|
||||||
|
<!-- <div class="swiper-dots" v-if="pageMsg.imgeCount > 0">
|
||||||
<div class="dot">
|
<div class="dot">
|
||||||
{{ pageMsg.current + 1 }}/{{ pageMsg.imgeCount }}
|
{{ pageMsg.current + 1 }}/{{ pageMsg.imgeCount }}
|
||||||
</div>
|
</div>
|
||||||
</div> -->
|
</div> -->
|
||||||
</block>
|
</block>
|
||||||
<block v-else>
|
<block v-else>
|
||||||
<image mode="aspectFill" lazy-load="true" :src="good.DEFAULT_IMG"></image>
|
<image mode="aspectFill" lazy-load="true" :src="good.DEFAULT_IMG"></image>
|
||||||
</block>
|
</block>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<hr />
|
<hr />
|
||||||
<div class="product-info">
|
<div class="product-info">
|
||||||
<div style="
|
<div style="
|
||||||
display: flex;
|
display: flex;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding: 16rpx 0 16rpx 32rpx;
|
padding: 16rpx 0 16rpx 32rpx;
|
||||||
">
|
">
|
||||||
<div class="price-box">
|
<div class="price-box">
|
||||||
<div class="vip-price">
|
<div class="vip-price">
|
||||||
<span class="unit">¥</span>
|
<span class="unit">¥</span>
|
||||||
<span style="font-weight: bold">
|
<span style="font-weight: bold">
|
||||||
{{ good.bigNumber || "" }}.{{ good.smallNumber || "00" }}
|
{{ good.bigNumber || "" }}.{{ good.smallNumber || "00" }}
|
||||||
<!-- {{ good.COMMODITY_MEMBERPRICE || "-" }} -->
|
<!-- {{ good.COMMODITY_MEMBERPRICE || "-" }} -->
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="originalPrice" v-if="pageType === 'UnionMall'">
|
<div class="originalPrice" v-if="pageType === 'UnionMall'">
|
||||||
<span class="unit">¥</span>
|
<span class="unit">¥</span>
|
||||||
<span class="oldPrice">
|
<span class="oldPrice">
|
||||||
{{ good.RETbigNumber || "" }}.{{ good.RETsmallNumber || "00" }}
|
{{ good.RETbigNumber || "" }}.{{ good.RETsmallNumber || "00" }}
|
||||||
</span>
|
</span>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div>
|
||||||
<div>
|
<!-- <span class="sale-count">
|
||||||
<!-- <span class="sale-count">
|
|
||||||
{{
|
{{
|
||||||
good.COMMODITY_STOCK > 0 ? "库存 " + good.COMMODITY_STOCK : "售罄"
|
good.COMMODITY_STOCK > 0 ? "库存 " + good.COMMODITY_STOCK : "售罄"
|
||||||
}}</span
|
}}</span
|
||||||
>
|
>
|
||||||
<span class="sale-count">已售 {{ good.SALE_COUNT }}</span> -->
|
<span class="sale-count">已售 {{ good.SALE_COUNT }}</span> -->
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
<div class="product-title">
|
||||||
<div class="product-title">
|
{{ good.COMMODITY_NAME || "-" }}
|
||||||
{{ good.COMMODITY_NAME || "-" }}
|
</div>
|
||||||
</div>
|
<div class="product-brand" style="align-items: flex-end">
|
||||||
<div class="product-brand" style="align-items: flex-end">
|
<!-- <view class="oldPrice"
|
||||||
<!-- <view class="oldPrice"
|
|
||||||
>原价:¥ {{ good.RETbigNumber || "" }}.{{
|
>原价:¥ {{ good.RETbigNumber || "" }}.{{
|
||||||
good.RETsmallNumber || "00"
|
good.RETsmallNumber || "00"
|
||||||
}}</view
|
}}</view
|
||||||
> -->
|
> -->
|
||||||
<view class="inventory">库存:{{ good.COMMODITY_STOCK || "0" }}</view>
|
<view class="inventory">库存:{{ good.COMMODITY_STOCK || "0" }}</view>
|
||||||
<view class="inventory">销量:{{ good.COMMODITY_EN || "0" }}</view>
|
<view class="inventory">销量:{{ good.COMMODITY_EN || "0" }}</view>
|
||||||
|
|
||||||
<button class="share-btn" @tap="handleShowPopup">
|
<button class="share-btn" @tap="handleShowPopup">
|
||||||
<!-- <van-icon name="share" color="#ea3323" size="20px" /> -->
|
<!-- <van-icon name="share" color="#ea3323" size="20px" /> -->
|
||||||
<div style="width: 16px; height: 16px">
|
<div style="width: 16px; height: 16px">
|
||||||
<image style="width: 16px; height: 16px" src="/static/images/home/share.svg" />
|
<image style="width: 16px; height: 16px" src="/static/images/home/share.svg" />
|
||||||
</div>
|
</div>
|
||||||
<div>分享</div>
|
<div>分享</div>
|
||||||
</button>
|
</button>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="product-brand" v-if="good.REMINDER_DAY">
|
||||||
|
<view class="inventory">{{ `平均${good.REMINDER_DAY}天内发货` }}</view>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<div class="product-brand" v-if="good.REMINDER_DAY">
|
<div class="product-detail" style="background: #fff; padding: 16rpx 0" v-if="
|
||||||
<view class="inventory">{{ `平均${good.REMINDER_DAY}天内发货` }}</view>
|
new Date(good.UPPER_DATE).getTime() > new Date().getTime() ||
|
||||||
</div>
|
good.SEND_MODE > 0 ||
|
||||||
</div>
|
good.DELIVER_AREA ||
|
||||||
|
good.LIMIT_TOTALCOUNT > 0
|
||||||
<div class="product-detail" style="background: #fff; padding: 16rpx 0" v-if="
|
">
|
||||||
new Date(good.UPPER_DATE).getTime() > new Date().getTime() ||
|
<view class="detail-right" style="width: 100%; box-sizing: border-box; padding: 0 32rpx">
|
||||||
good.SEND_MODE > 0 ||
|
<view v-if="new Date(good.UPPER_DATE).getTime() > new Date().getTime()">预售时间:{{
|
||||||
good.DELIVER_AREA ||
|
good.UPPER_DATE && good.OFF_DATE
|
||||||
good.LIMIT_TOTALCOUNT > 0
|
? `${good.UPPER_DATE || "-"}-${good.OFF_DATE || "-"}`
|
||||||
">
|
: good.UPPER_DATE && !good.OFF_DATE
|
||||||
<view class="detail-right" style="width: 100%; box-sizing: border-box; padding: 0 32rpx">
|
? `${good.UPPER_DATE || "-"}起`
|
||||||
<view v-if="new Date(good.UPPER_DATE).getTime() > new Date().getTime()">预售时间:{{
|
: ""
|
||||||
good.UPPER_DATE && good.OFF_DATE
|
}}</view>
|
||||||
? `${good.UPPER_DATE || "-"}-${good.OFF_DATE || "-"}`
|
<!-- 预售时间:{{ good.UPPER_DATE || "-" }}-{{
|
||||||
: good.UPPER_DATE && !good.OFF_DATE
|
|
||||||
? `${good.UPPER_DATE || "-"}起`
|
|
||||||
: ""
|
|
||||||
}}</view>
|
|
||||||
<!-- 预售时间:{{ good.UPPER_DATE || "-" }}-{{
|
|
||||||
good.OFF_DATE || "-"
|
good.OFF_DATE || "-"
|
||||||
}} -->
|
}} -->
|
||||||
<view>{{
|
<view>{{
|
||||||
good.SEND_MODE === 1000
|
good.SEND_MODE === 1000
|
||||||
? "发货模式:自提"
|
? "发货模式:自提"
|
||||||
: good.SEND_MODE === 2000
|
: good.SEND_MODE === 2000
|
||||||
? "发货模式:邮寄"
|
? "发货模式:邮寄"
|
||||||
: good.SEND_MODE === 3000
|
: good.SEND_MODE === 3000
|
||||||
? "发货模式:免发货"
|
? "发货模式:免发货"
|
||||||
: ""
|
|
||||||
}}</view>
|
|
||||||
|
|
||||||
<view>{{
|
|
||||||
good.DELIVER_AREA
|
|
||||||
? `配送区域:${good.DELIVER_AREA || "仅限云南省即江浙沪包邮区购买"}`
|
|
||||||
: ""
|
|
||||||
}}</view>
|
|
||||||
<view>{{
|
|
||||||
good.LIMIT_TOTALCOUNT
|
|
||||||
? `限购数量:每人限购${good.LIMIT_TOTALCOUNT}件`
|
|
||||||
: ""
|
|
||||||
}}</view>
|
|
||||||
<view>{{
|
|
||||||
good.LIMIT_TOTALCOUNT
|
|
||||||
? `每日限购:每人每日限购${good.LIMIT_TOTALCOUNT}件`
|
|
||||||
: ""
|
|
||||||
}}</view>
|
|
||||||
</view>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="product-detail" style="background: #fff; padding: 16rpx 0" v-if="good.AFTERSALE_NATRUE">
|
|
||||||
<view class="detail-right" style="width: 100%; box-sizing: border-box; padding: 0 32rpx">
|
|
||||||
<view>{{
|
|
||||||
good.AFTERSALE_NATRUE
|
|
||||||
? `${good.AFTERSALE_NATRUE === 1000
|
|
||||||
? "仅支持退货"
|
|
||||||
: good.AFTERSALE_NATRUE === 2000
|
|
||||||
? "仅支持换货"
|
|
||||||
: good.AFTERSALE_NATRUE === 3000
|
|
||||||
? "支持退货和换货"
|
|
||||||
: ""
|
: ""
|
||||||
}`
|
}}</view>
|
||||||
: ""
|
|
||||||
}}</view>
|
|
||||||
</view>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="product-detail" style="padding-bottom: 16rpx" v-if="good.COMMODITY_DESC">
|
<view>{{
|
||||||
<div class="detail-unit" style="flex-direction: column" id="detail">
|
good.DELIVER_AREA
|
||||||
<div class="detail-title desc-ico" style="margin-bottom: 32rpx; box-sizing: border-box; padding: 0 32rpx">
|
? `配送区域:${good.DELIVER_AREA || "仅限云南省即江浙沪包邮区购买"}`
|
||||||
商品备注
|
: ""
|
||||||
</div>
|
}}</view>
|
||||||
<div class="detail-right" style="width: 100%; box-sizing: border-box; padding: 0 32rpx">
|
<view>{{
|
||||||
{{ good.COMMODITY_DESC || "暂无" }}
|
good.LIMIT_TOTALCOUNT
|
||||||
|
? `限购数量:每人限购${good.LIMIT_TOTALCOUNT}件`
|
||||||
|
: ""
|
||||||
|
}}</view>
|
||||||
|
<view>{{
|
||||||
|
good.LIMIT_TOTALCOUNT
|
||||||
|
? `每日限购:每人每日限购${good.LIMIT_TOTALCOUNT}件`
|
||||||
|
: ""
|
||||||
|
}}</view>
|
||||||
|
</view>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="product-detail" style="background: #fff; padding: 16rpx 0" v-if="good.AFTERSALE_NATRUE">
|
||||||
|
<view class="detail-right" style="width: 100%; box-sizing: border-box; padding: 0 32rpx">
|
||||||
|
<view>{{
|
||||||
|
good.AFTERSALE_NATRUE
|
||||||
|
? `${good.AFTERSALE_NATRUE === 1000
|
||||||
|
? "仅支持退货"
|
||||||
|
: good.AFTERSALE_NATRUE === 2000
|
||||||
|
? "仅支持换货"
|
||||||
|
: good.AFTERSALE_NATRUE === 3000
|
||||||
|
? "支持退货和换货"
|
||||||
|
: ""
|
||||||
|
}`
|
||||||
|
: ""
|
||||||
|
}}</view>
|
||||||
|
</view>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="product-detail" style="padding-bottom: 16rpx" v-if="good.COMMODITY_DESC">
|
||||||
|
<div class="detail-unit" style="flex-direction: column" id="detail">
|
||||||
|
<div class="detail-title desc-ico" style="margin-bottom: 32rpx; box-sizing: border-box; padding: 0 32rpx">
|
||||||
|
商品备注
|
||||||
|
</div>
|
||||||
|
<div class="detail-right" style="width: 100%; box-sizing: border-box; padding: 0 32rpx">
|
||||||
|
{{ good.COMMODITY_DESC || "暂无" }}
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="product-detail" v-if="!(good.ContentImgList && good.ContentImgList.length > 0)">
|
<div class="product-detail" v-if="!(good.ContentImgList && good.ContentImgList.length > 0)">
|
||||||
<div class="detail-unit" style="flex-direction: column" id="detail">
|
<div class="detail-unit" style="flex-direction: column" id="detail">
|
||||||
<div class="detail-title desc-ico" style="margin-bottom: 32rpx; box-sizing: border-box; padding: 0 32rpx">
|
<div class="detail-title desc-ico" style="margin-bottom: 32rpx; box-sizing: border-box; padding: 0 32rpx">
|
||||||
商品简介
|
商品简介
|
||||||
|
</div>
|
||||||
|
<div class="detail-right">
|
||||||
|
<rich-text :nodes="good.COMMODITY_INTRO"></rich-text>
|
||||||
|
<!-- {{ good.COMMODITY_DESC || "暂无" }} -->
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="detail-right">
|
<!-- <div class="">
|
||||||
<rich-text :nodes="good.COMMODITY_INTRO"></rich-text>
|
|
||||||
<!-- {{ good.COMMODITY_DESC || "暂无" }} -->
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<!-- <div class="">
|
|
||||||
<div class="detail-unit rate-title">
|
<div class="detail-unit rate-title">
|
||||||
<div class="detail-title desc-ico">
|
<div class="detail-title desc-ico">
|
||||||
评价
|
评价
|
||||||
@ -222,26 +228,135 @@
|
|||||||
</div>
|
</div>
|
||||||
</div> -->
|
</div> -->
|
||||||
|
|
||||||
</div>
|
|
||||||
<block v-if="good.ContentImgList && good.ContentImgList.length > 0" id="detail">
|
|
||||||
<!-- ContentImgList -->
|
|
||||||
<div class="detail-unit">
|
|
||||||
<span class="detail-title desc-ico">产品介绍</span>
|
|
||||||
</div>
|
</div>
|
||||||
<div class="detail-image-box">
|
<block v-if="good.ContentImgList && good.ContentImgList.length > 0" id="detail">
|
||||||
<block v-for="(img, i) in good.ContentImgList" :key="i" v-show="detailImgList[i]">
|
<!-- ContentImgList -->
|
||||||
<image mode="widthFix" class="img" lazy-load="true" :src="img.IMAGE_URL" @load="loadDetailImg($event, i)"
|
<div class="detail-unit">
|
||||||
@click="handlePreviewDetailImg(img, good.ContentImgList)"></image>
|
<span class="detail-title desc-ico">产品介绍</span>
|
||||||
<!-- :style="
|
</div>
|
||||||
|
<div class="detail-image-box">
|
||||||
|
<block v-for="(img, i) in good.ContentImgList" :key="i" v-show="detailImgList[i]">
|
||||||
|
<image mode="widthFix" class="img" lazy-load="true" :src="img.IMAGE_URL" @load="loadDetailImg($event, i)"
|
||||||
|
@click="handlePreviewDetailImg(img, good.ContentImgList)"></image>
|
||||||
|
<!-- :style="
|
||||||
'width:' +
|
'width:' +
|
||||||
detailImgList[i].width +
|
detailImgList[i].width +
|
||||||
'rpx; height:' +
|
'rpx; height:' +
|
||||||
detailImgList[i].height +
|
detailImgList[i].height +
|
||||||
'rpx;'
|
'rpx;'
|
||||||
" -->
|
" -->
|
||||||
</block>
|
</block>
|
||||||
</div>
|
</div>
|
||||||
</block>
|
</block>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
<uni-popup :show="showShareBox" position="bottom" overlay="false" @close="handleClosePopup" ref="popup"
|
||||||
|
:safe-area="false">
|
||||||
|
<view class="share-popup" style="background-color: #fff">
|
||||||
|
<view class="share-divider">
|
||||||
|
<text>分享</text>
|
||||||
|
</view>
|
||||||
|
<!-- <van-divider contentPosition="center">分享</van-divider> -->
|
||||||
|
<view class="share-pop-btn">
|
||||||
|
<button open-type="share" @tap="handleClosePopup">
|
||||||
|
<image src="https://eshangtech.com/ShopICO/icos/fxhy.png" act></image>
|
||||||
|
<text>分享给好友</text>
|
||||||
|
</button>
|
||||||
|
<!-- <button @tap="creatPageQR">
|
||||||
|
<image src="https://eshangtech.com/ShopICO/icos/fxpyq.png"></image>
|
||||||
|
<text>生成分享海报</text>
|
||||||
|
</button> -->
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</uni-popup>
|
||||||
|
|
||||||
|
<uni-popup ref="shopPopup" :safe-area="false">
|
||||||
|
<view class="shopPopupBox">
|
||||||
|
<view class="shopPopupContent">
|
||||||
|
<div class="detailTop">
|
||||||
|
<image class="detailImg" :src="good.DEFAULT_IMG || '/static/images/home/defultImg.png'" />
|
||||||
|
<div class="box">
|
||||||
|
<div class="nameTop">
|
||||||
|
<text class="name">{{ good.COMMODITY_NAME }}</text>
|
||||||
|
<image class="closeIcon" @click="handleClosePop"
|
||||||
|
src="https://eshangtech.com/ShopICO/ahyd-BID/examine/close.svg" />
|
||||||
|
</div>
|
||||||
|
<div class="priceBox">
|
||||||
|
<text class="priceIcon">¥</text>
|
||||||
|
<text class="price">{{ good.COMMODITY_MEMBERPRICE }}</text>
|
||||||
|
<text class="unit">/{{ good.COMMODITY_UNIT }}</text>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<scroll-view :scroll-y="true" class="scrollDetailBox">
|
||||||
|
<div class="detailMessage">
|
||||||
|
<p class="detailTitle">详细信息</p>
|
||||||
|
<text class="detailText"></text>
|
||||||
|
</div>
|
||||||
|
<div class="orderDetail">
|
||||||
|
<p class="orderTitle">下单信息</p>
|
||||||
|
<div class="numBox">
|
||||||
|
<text class="numTitle">购买数量</text>
|
||||||
|
<div class="cartcontrol">
|
||||||
|
<div class="subtract" @click="handleDetailSubtract($event, good)">
|
||||||
|
<image class="img" src="/static/images/home/subtract.svg"></image>
|
||||||
|
</div>
|
||||||
|
<input class="cart-count" confirm-type="done" type="digit" :maxlength="7"
|
||||||
|
style="background: #fff; text-align: center; width: 100px" placeholder="0"
|
||||||
|
@blur="haveFocus($event, good)" @focus="haveFocus($event, good)" v-model="good.count" />
|
||||||
|
<!-- @input="handleNumber" -->
|
||||||
|
|
||||||
|
<div class="subtract" @click="handleDetailAdd($event, good)">
|
||||||
|
<image class="img" src="/static/images/home/addIcon.svg"></image>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<div class="sizeBox">
|
||||||
|
<div class="sizeTitle">规格</div>
|
||||||
|
<scroll-view :scroll-x="true" :scroll-y="true" class="sizeScrollBox">
|
||||||
|
<div class="sizeList">
|
||||||
|
<div :class="good.RTCOMMODITY_MULTI_ID === item.RTCOMMODITY_MULTI_ID
|
||||||
|
? 'sizeItem selectSizeItem'
|
||||||
|
: 'sizeItem'
|
||||||
|
" :style="{
|
||||||
|
background: item.COMMODITY_STOCK > 0 ? good.RTCOMMODITY_MULTI_ID === item.RTCOMMODITY_MULTI_ID ? '#e7f3ff' : '#dbdad6' : '#9c9c9a0',
|
||||||
|
color: item.COMMODITY_STOCK > 0 ? good.RTCOMMODITY_MULTI_ID === item.RTCOMMODITY_MULTI_ID ? '#1890ff' : '#000' : '#a4a4a4'
|
||||||
|
}" v-for="(item, index) in good.SKULIST" :key="index"
|
||||||
|
@click="handleChangeSelectSKULIST(item.RTCOMMODITY_MULTI_ID, item)">
|
||||||
|
{{ item.COMMODITY_NAME }}
|
||||||
|
</div>
|
||||||
|
<!-- <div class="sizeItem">{{ good.COMMODITY_UNIT }}</div> -->
|
||||||
|
</div>
|
||||||
|
</scroll-view>
|
||||||
|
</div>
|
||||||
|
<!-- <div class="sizeBox">
|
||||||
|
<text class="sizeTitle">规格</text>
|
||||||
|
<div class="sizeList">
|
||||||
|
<div :class="good.COMMODITY_RULE === item.COMMODITY_MULTI_ID
|
||||||
|
? 'sizeItem selectSizeItem'
|
||||||
|
: 'sizeItem'
|
||||||
|
" v-for="(item, index) in good.SKULIST" :key="index"
|
||||||
|
@click="handleChangeSelectSKULIST(item.COMMODITY_MULTI_ID)">
|
||||||
|
{{ item.COMMODITY_NAME }}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div> -->
|
||||||
|
<div class="descBox">
|
||||||
|
<input class="desc" :value="good.SALEDETAIL_DESC" placeholder="请填写商品备注"
|
||||||
|
@input="handleDesc($event, good)" />
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</scroll-view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="bottomBtn">
|
||||||
|
<view class="shopCarBtn" v-if="bottomBtnType === 1" @click="handleAddShopCar">加入购物车</view>
|
||||||
|
<view class="makeOrderBtn" v-if="bottomBtnType === 2" @click="handleMakeOrder">立即购买</view>
|
||||||
|
</view>
|
||||||
|
</view>
|
||||||
|
</uni-popup>
|
||||||
|
</scroll-view>
|
||||||
|
|
||||||
<div class="product-btn-box">
|
<div class="product-btn-box">
|
||||||
<view class="leftBtn">
|
<view class="leftBtn">
|
||||||
@ -274,7 +389,7 @@
|
|||||||
已售罄
|
已售罄
|
||||||
</div>
|
</div>
|
||||||
<div class="sellOut" @click="handleShowShopPopup(3)"
|
<div class="sellOut" @click="handleShowShopPopup(3)"
|
||||||
v-if="new Date().getTime() > new Date(good.OFF_DATE).getTime()">
|
v-if="new Date().getTime() > new Date(good.OFF_DATE).getTime() && !(good.OFF_DATE && !isCountdown)">
|
||||||
已结束
|
已结束
|
||||||
</div>
|
</div>
|
||||||
</view>
|
</view>
|
||||||
@ -305,95 +420,7 @@
|
|||||||
<div class="countdown" v-if="isCountdown || panicBuying">
|
<div class="countdown" v-if="isCountdown || panicBuying">
|
||||||
此商品为{{ panicBuying ? '热销' : '预售' }}商品,{{ panicBuying ? '抢购' : '起售' }}倒计时 {{ countdown || "" }}
|
此商品为{{ panicBuying ? '热销' : '预售' }}商品,{{ panicBuying ? '抢购' : '起售' }}倒计时 {{ countdown || "" }}
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
<uni-popup :show="showShareBox" position="bottom" overlay="false" @close="handleClosePopup" ref="popup"
|
|
||||||
:safe-area="false">
|
|
||||||
<view class="share-popup" style="background-color: #fff">
|
|
||||||
<view class="share-divider">
|
|
||||||
<text>分享</text>
|
|
||||||
</view>
|
|
||||||
<!-- <van-divider contentPosition="center">分享</van-divider> -->
|
|
||||||
<view class="share-pop-btn">
|
|
||||||
<button open-type="share" @tap="handleClosePopup">
|
|
||||||
<image src="https://eshangtech.com/ShopICO/icos/fxhy.png" act></image>
|
|
||||||
<text>分享给好友</text>
|
|
||||||
</button>
|
|
||||||
<!-- <button @tap="creatPageQR">
|
|
||||||
<image src="https://eshangtech.com/ShopICO/icos/fxpyq.png"></image>
|
|
||||||
<text>生成分享海报</text>
|
|
||||||
</button> -->
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</uni-popup>
|
|
||||||
|
|
||||||
<uni-popup ref="shopPopup" :safe-area="false">
|
|
||||||
<view class="shopPopupBox">
|
|
||||||
<view class="shopPopupContent">
|
|
||||||
<div class="detailTop">
|
|
||||||
<image class="detailImg" :src="good.DEFAULT_IMG || '/static/images/home/defultImg.png'" />
|
|
||||||
<div class="box">
|
|
||||||
<div class="nameTop">
|
|
||||||
<text class="name">{{ good.COMMODITY_NAME }}</text>
|
|
||||||
<image class="closeIcon" @click="handleClosePop"
|
|
||||||
src="https://eshangtech.com/ShopICO/ahyd-BID/examine/close.svg" />
|
|
||||||
</div>
|
|
||||||
<div class="priceBox">
|
|
||||||
<text class="priceIcon">¥</text>
|
|
||||||
<text class="price">{{ good.COMMODITY_MEMBERPRICE }}</text>
|
|
||||||
<text class="unit">/{{ good.COMMODITY_UNIT }}</text>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="detailMessage">
|
|
||||||
<p class="detailTitle">详细信息</p>
|
|
||||||
<text class="detailText"></text>
|
|
||||||
</div>
|
|
||||||
<div class="orderDetail">
|
|
||||||
<p class="orderTitle">下单信息</p>
|
|
||||||
<div class="numBox">
|
|
||||||
<text class="numTitle">购买数量</text>
|
|
||||||
<div class="cartcontrol">
|
|
||||||
<div class="subtract" @click="handleDetailSubtract($event, good)">
|
|
||||||
<image class="img" src="/static/images/home/subtract.svg"></image>
|
|
||||||
</div>
|
|
||||||
<input class="cart-count" confirm-type="done" type="digit" :maxlength="7"
|
|
||||||
style="background: #fff; text-align: center; width: 100px" placeholder="0"
|
|
||||||
@blur="haveFocus($event, good)" @focus="haveFocus($event, good)" v-model="good.count" />
|
|
||||||
<!-- @input="handleNumber" -->
|
|
||||||
|
|
||||||
<div class="subtract" @click="handleDetailAdd($event, good)">
|
|
||||||
<image class="img" src="/static/images/home/addIcon.svg"></image>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="sizeBox">
|
|
||||||
<text class="sizeTitle">规格</text>
|
|
||||||
<div class="sizeList">
|
|
||||||
<div :class="good.COMMODITY_RULE === item.COMMODITY_MULTI_ID
|
|
||||||
? 'sizeItem selectSizeItem'
|
|
||||||
: 'sizeItem'
|
|
||||||
" v-for="(item, index) in good.SKULIST" :key="index"
|
|
||||||
@click="handleChangeSelectSKULIST(item.COMMODITY_MULTI_ID)">
|
|
||||||
{{ item.COMMODITY_NAME }}
|
|
||||||
</div>
|
|
||||||
<!-- <div class="sizeItem">{{ good.COMMODITY_UNIT }}</div> -->
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
<div class="descBox">
|
|
||||||
<input class="desc" :value="good.SALEDETAIL_DESC" placeholder="请填写商品备注"
|
|
||||||
@input="handleDesc($event, good)" />
|
|
||||||
</div>
|
|
||||||
</div>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
<view class="bottomBtn">
|
|
||||||
<view class="shopCarBtn" v-if="bottomBtnType === 1" @click="handleAddShopCar">加入购物车</view>
|
|
||||||
<view class="makeOrderBtn" v-if="bottomBtnType === 2" @click="handleMakeOrder">立即购买</view>
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
</uni-popup>
|
|
||||||
</scroll-view>
|
|
||||||
</template>
|
</template>
|
||||||
<script>
|
<script>
|
||||||
// import rateItem from "../../rate/components/rateItem";
|
// import rateItem from "../../rate/components/rateItem";
|
||||||
@ -402,6 +429,7 @@ export default {
|
|||||||
data() {
|
data() {
|
||||||
const windows = uni.getSystemInfoSync();
|
const windows = uni.getSystemInfoSync();
|
||||||
return {
|
return {
|
||||||
|
safeHeight: 0,
|
||||||
pageMsg: {
|
pageMsg: {
|
||||||
current: 0,
|
current: 0,
|
||||||
imgeCount: 0,
|
imgeCount: 0,
|
||||||
@ -1385,6 +1413,9 @@ export default {
|
|||||||
clearInterval(this.timer);
|
clearInterval(this.timer);
|
||||||
},
|
},
|
||||||
onLoad(option) {
|
onLoad(option) {
|
||||||
|
let systemInfo = uni.getSystemInfoSync();
|
||||||
|
let height = systemInfo.safeAreaInsets.bottom;
|
||||||
|
this.safeHeight = Number(height);
|
||||||
this.menu = uni.getMenuButtonBoundingClientRect();
|
this.menu = uni.getMenuButtonBoundingClientRect();
|
||||||
console.log("option", option);
|
console.log("option", option);
|
||||||
if (option.pageType) {
|
if (option.pageType) {
|
||||||
@ -1876,7 +1907,7 @@ button:after {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
z-index: 1;
|
z-index: 2;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding-bottom: 24rpx;
|
padding-bottom: 24rpx;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
@ -2038,6 +2069,7 @@ button:after {
|
|||||||
height: 64rpx;
|
height: 64rpx;
|
||||||
background: #fff2e7;
|
background: #fff2e7;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
z-index: 2;
|
||||||
left: 0;
|
left: 0;
|
||||||
bottom: 124rpx;
|
bottom: 124rpx;
|
||||||
font-family: PingFangSC, PingFang SC;
|
font-family: PingFangSC, PingFang SC;
|
||||||
@ -2059,7 +2091,7 @@ button:after {
|
|||||||
|
|
||||||
.shopPopupBox {
|
.shopPopupBox {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 70vh;
|
height: 80vh;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border-radius: 16rpx 16rpx 0 0;
|
border-radius: 16rpx 16rpx 0 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
@ -2067,7 +2099,7 @@ button:after {
|
|||||||
|
|
||||||
.shopPopupContent {
|
.shopPopupContent {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: calc(70vh - 92rpx - 64rpx);
|
height: calc(80vh - 80px - 32px + 12rpx);
|
||||||
margin-bottom: 12rpx;
|
margin-bottom: 12rpx;
|
||||||
|
|
||||||
.detailTop {
|
.detailTop {
|
||||||
@ -2141,157 +2173,177 @@ button:after {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.detailMessage {
|
.scrollDetailBox {
|
||||||
margin-top: 16px;
|
width: 100%;
|
||||||
border-bottom: 1px solid #f2f4f5;
|
height: calc(80vh - 80px - 32px + 12rpx - 80px);
|
||||||
padding-bottom: 16px;
|
|
||||||
|
|
||||||
.detailTitle {
|
.detailMessage {
|
||||||
font-size: 14px;
|
margin-top: 16px;
|
||||||
font-family: PingFangSC-Semibold, PingFang SC;
|
border-bottom: 1px solid #f2f4f5;
|
||||||
font-weight: 600;
|
padding-bottom: 16px;
|
||||||
color: #020e1a;
|
|
||||||
line-height: 20px;
|
|
||||||
margin-bottom: 8px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.detailText {
|
.detailTitle {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-family: PingFangSC-Regular, PingFang SC;
|
font-family: PingFangSC-Semibold, PingFang SC;
|
||||||
font-weight: 400;
|
font-weight: 600;
|
||||||
color: #6c737a;
|
color: #020e1a;
|
||||||
line-height: 18px;
|
line-height: 20px;
|
||||||
}
|
margin-bottom: 8px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.orderDetail {
|
.detailText {
|
||||||
margin-top: 16px;
|
|
||||||
|
|
||||||
.orderTitle {
|
|
||||||
font-size: 14px;
|
|
||||||
font-family: PingFangSC-Semibold, PingFang SC;
|
|
||||||
font-weight: 600;
|
|
||||||
color: #020e1a;
|
|
||||||
line-height: 20px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.numBox {
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
|
||||||
margin-top: 12px;
|
|
||||||
|
|
||||||
.numTitle {
|
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-family: PingFangSC-Regular, PingFang SC;
|
font-family: PingFangSC-Regular, PingFang SC;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
|
color: #6c737a;
|
||||||
|
line-height: 18px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.orderDetail {
|
||||||
|
margin-top: 16px;
|
||||||
|
|
||||||
|
.orderTitle {
|
||||||
|
font-size: 14px;
|
||||||
|
font-family: PingFangSC-Semibold, PingFang SC;
|
||||||
|
font-weight: 600;
|
||||||
color: #020e1a;
|
color: #020e1a;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.cartcontrol {
|
.numBox {
|
||||||
width: 150px;
|
|
||||||
height: 30px;
|
|
||||||
line-height: 24px;
|
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: flex-start;
|
justify-content: space-between;
|
||||||
border: 1px solid rgba(2, 14, 26, 0.06);
|
align-items: center;
|
||||||
border-radius: 2px;
|
margin-top: 12px;
|
||||||
|
|
||||||
.subtract {
|
.numTitle {
|
||||||
width: 30px;
|
font-size: 14px;
|
||||||
|
font-family: PingFangSC-Regular, PingFang SC;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #020e1a;
|
||||||
|
line-height: 20px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.cartcontrol {
|
||||||
|
width: 150px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
background: #f2f4f5;
|
line-height: 24px;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: center;
|
justify-content: flex-start;
|
||||||
align-items: center;
|
border: 1px solid rgba(2, 14, 26, 0.06);
|
||||||
border-radius: 2px 0 0 2px;
|
border-radius: 2px;
|
||||||
font-size: 8px;
|
|
||||||
color: #9fa3a8;
|
|
||||||
|
|
||||||
.img {
|
.subtract {
|
||||||
width: 16px;
|
width: 30px;
|
||||||
height: 16px;
|
height: 30px;
|
||||||
|
background: #f2f4f5;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
border-radius: 2px 0 0 2px;
|
||||||
|
font-size: 8px;
|
||||||
|
color: #9fa3a8;
|
||||||
|
|
||||||
|
.img {
|
||||||
|
width: 16px;
|
||||||
|
height: 16px;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
.cart-count {
|
||||||
|
height: 30px !important;
|
||||||
|
font-size: 16px;
|
||||||
|
line-height: 30px;
|
||||||
|
flex: 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.cart-count {
|
|
||||||
height: 30px !important;
|
|
||||||
font-size: 16px;
|
|
||||||
line-height: 30px;
|
|
||||||
flex: 1;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
.sizeBox {
|
|
||||||
display: flex;
|
|
||||||
justify-content: space-between;
|
|
||||||
align-items: center;
|
|
||||||
margin-top: 12px;
|
|
||||||
|
|
||||||
.sizeTitle {
|
|
||||||
font-size: 14px;
|
|
||||||
font-family: PingFangSC-Regular, PingFang SC;
|
|
||||||
font-weight: 400;
|
|
||||||
color: #020e1a;
|
|
||||||
line-height: 20px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.sizeList {
|
.sizeBox {
|
||||||
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
|
justify-content: space-between;
|
||||||
|
align-items: center;
|
||||||
|
margin-top: 12px;
|
||||||
|
|
||||||
.sizeItem {
|
.sizeTitle {
|
||||||
font-size: 12px;
|
display: inline-block;
|
||||||
|
font-size: 14px;
|
||||||
font-family: PingFangSC-Regular, PingFang SC;
|
font-family: PingFangSC-Regular, PingFang SC;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #000;
|
color: #020e1a;
|
||||||
line-height: 18px;
|
line-height: 20px;
|
||||||
padding: 4px 16px;
|
width: 100rpx;
|
||||||
background: #dbdad6;
|
|
||||||
border-radius: 4px;
|
|
||||||
margin-left: 8px;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.selectSizeItem {
|
.sizeScrollBox {
|
||||||
font-size: 12px;
|
width: calc(100% - 112rpx);
|
||||||
font-family: PingFangSC-Regular, PingFang SC;
|
flex: 1;
|
||||||
font-weight: 400;
|
|
||||||
color: #1890ff;
|
.sizeList {
|
||||||
line-height: 18px;
|
// display: flex;
|
||||||
padding: 4px 16px;
|
width: 100%;
|
||||||
background: #e7f3ff;
|
|
||||||
border-radius: 4px;
|
.sizeItem {
|
||||||
margin-left: 8px;
|
font-size: 12px;
|
||||||
|
font-family: PingFangSC-Regular, PingFang SC;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #000;
|
||||||
|
line-height: 18px;
|
||||||
|
padding: 4px 16px;
|
||||||
|
background: #dbdad6;
|
||||||
|
border-radius: 4px;
|
||||||
|
margin-left: 8px;
|
||||||
|
display: inline-block;
|
||||||
|
margin-bottom: 16rpx;
|
||||||
|
}
|
||||||
|
|
||||||
|
.selectSizeItem {
|
||||||
|
display: inline-block;
|
||||||
|
font-size: 12px;
|
||||||
|
font-family: PingFangSC-Regular, PingFang SC;
|
||||||
|
font-weight: 400;
|
||||||
|
color: #1890ff;
|
||||||
|
line-height: 18px;
|
||||||
|
padding: 4px 16px;
|
||||||
|
background: #e7f3ff;
|
||||||
|
border-radius: 4px;
|
||||||
|
margin-left: 8px;
|
||||||
|
margin-bottom: 16rpx;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.descBox {
|
||||||
|
width: 100%;
|
||||||
|
height: 76px;
|
||||||
|
background: #f2f4f5;
|
||||||
|
border-radius: 4px;
|
||||||
|
box-sizing: border-box;
|
||||||
|
padding: 8px 12px;
|
||||||
|
margin-top: 19px;
|
||||||
|
}
|
||||||
|
|
||||||
|
.submitBtn {
|
||||||
|
font-size: 16px;
|
||||||
|
font-family: PingFangSC-Medium, PingFang SC;
|
||||||
|
font-weight: 500;
|
||||||
|
color: #ffffff;
|
||||||
|
line-height: 22px;
|
||||||
|
width: 100%;
|
||||||
|
height: 40px;
|
||||||
|
display: flex;
|
||||||
|
justify-content: center;
|
||||||
|
align-items: center;
|
||||||
|
background: #1890ff;
|
||||||
|
border-radius: 4px;
|
||||||
|
margin-top: 24px;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.descBox {
|
|
||||||
width: 100%;
|
|
||||||
height: 76px;
|
|
||||||
background: #f2f4f5;
|
|
||||||
border-radius: 4px;
|
|
||||||
box-sizing: border-box;
|
|
||||||
padding: 8px 12px;
|
|
||||||
margin-top: 19px;
|
|
||||||
}
|
|
||||||
|
|
||||||
.submitBtn {
|
|
||||||
font-size: 16px;
|
|
||||||
font-family: PingFangSC-Medium, PingFang SC;
|
|
||||||
font-weight: 500;
|
|
||||||
color: #ffffff;
|
|
||||||
line-height: 22px;
|
|
||||||
width: 100%;
|
|
||||||
height: 40px;
|
|
||||||
display: flex;
|
|
||||||
justify-content: center;
|
|
||||||
align-items: center;
|
|
||||||
background: #1890ff;
|
|
||||||
border-radius: 4px;
|
|
||||||
margin-top: 24px;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -202,6 +202,7 @@ var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/r
|
|||||||
var _default = {
|
var _default = {
|
||||||
data: function data() {
|
data: function data() {
|
||||||
return {
|
return {
|
||||||
|
safeHeight: "",
|
||||||
detailObj: {
|
detailObj: {
|
||||||
// NOTICEINFO_TITLE: "",
|
// NOTICEINFO_TITLE: "",
|
||||||
// START_DATE: "",
|
// START_DATE: "",
|
||||||
@ -213,7 +214,9 @@ var _default = {
|
|||||||
};
|
};
|
||||||
},
|
},
|
||||||
onLoad: function onLoad(query) {
|
onLoad: function onLoad(query) {
|
||||||
console.log("query", query);
|
var systemInfo = uni.getSystemInfoSync();
|
||||||
|
var height = systemInfo.safeAreaInsets.bottom;
|
||||||
|
this.safeHeight = Number(height);
|
||||||
if (query.id) {
|
if (query.id) {
|
||||||
this.id = query.id;
|
this.id = query.id;
|
||||||
if (query.type === 'true') {
|
if (query.type === 'true') {
|
||||||
|
|||||||
@ -1 +1 @@
|
|||||||
<view class="main _div data-v-24542bf6"><block wx:if="{{showType===1}}"><view class="_div data-v-24542bf6"><view class="pageTitle _div data-v-24542bf6">{{detailObj.NOTICEINFO_TITLE||""}}</view><view class="time _div data-v-24542bf6">{{detailObj.START_DATE||"-"}}</view><block wx:if="{{$root.g0}}"><view class="navList _div data-v-24542bf6"><block wx:if="{{$root.g1}}"><swiper class="swiper data-v-24542bf6" circular="{{true}}" indicator-dots="{{$root.g2?true:false}}" autoplay="{{true}}" indicator-color="rgba(255,255,255,0.6)" indicator-active-color="#ffffff"><block wx:for="{{detailObj.ImageList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item data-event-opts="{{[['tap',[['handleShowPreview',['$0'],['detailObj.ImageList.__$n0.ImageUrl']]]]]}}" bindtap="__e" class="data-v-24542bf6"><view class="swiper-item data-v-24542bf6" style="{{'background-image:'+('url('+item.ImageUrl+')')+';'}}"></view></swiper-item></block></swiper></block></view></block><text class="content data-v-24542bf6">{{detailObj.NOTICEINFO_CONTENT||""}}</text></view></block><block wx:if="{{detailObj.content&&showType===2}}"><view class="newContent _div data-v-24542bf6"><rich-text nodes="{{detailObj.content}}"></rich-text></view></block></view>
|
<view class="main _div data-v-24542bf6" style="{{'padding-bottom:'+(safeHeight+'px')+';'}}"><block wx:if="{{showType===1}}"><view class="_div data-v-24542bf6"><view class="pageTitle _div data-v-24542bf6">{{detailObj.NOTICEINFO_TITLE||""}}</view><view class="time _div data-v-24542bf6">{{detailObj.START_DATE||"-"}}</view><block wx:if="{{$root.g0}}"><view class="navList _div data-v-24542bf6"><block wx:if="{{$root.g1}}"><swiper class="swiper data-v-24542bf6" circular="{{true}}" indicator-dots="{{$root.g2?true:false}}" autoplay="{{true}}" indicator-color="rgba(255,255,255,0.6)" indicator-active-color="#ffffff"><block wx:for="{{detailObj.ImageList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><swiper-item data-event-opts="{{[['tap',[['handleShowPreview',['$0'],['detailObj.ImageList.__$n0.ImageUrl']]]]]}}" bindtap="__e" class="data-v-24542bf6"><view class="swiper-item data-v-24542bf6" style="{{'background-image:'+('url('+item.ImageUrl+')')+';'}}"></view></swiper-item></block></swiper></block></view></block><text class="content data-v-24542bf6">{{detailObj.NOTICEINFO_CONTENT||""}}</text></view></block><block wx:if="{{detailObj.content&&showType===2}}"><view class="newContent _div data-v-24542bf6"><rich-text nodes="{{detailObj.content}}"></rich-text></view></block></view>
|
||||||
@ -1 +1 @@
|
|||||||
<view class="main _div data-v-765f0f4e"><view class="tabBox _div data-v-765f0f4e"><block wx:for="{{tabList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['handleChangeTab',['$0'],[[['tabList','',index,'value']]]]]]]}}" class="{{['_div','data-v-765f0f4e',selectTab===item.value?'tabItem selectTabItem':'tabItem']}}" bindtap="__e">{{''+item.label+''}}</view></block></view><view class="contentList _div data-v-765f0f4e"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['handleGoDetail',['$0'],[[['allMessageList.'+selectTab+'','',index]]]]]]]}}" class="contentItem _div data-v-765f0f4e" bindtap="__e"><view class="left _div data-v-765f0f4e"><view class="title _div data-v-765f0f4e">{{item.$orig.title||item.$orig.NOTICEINFO_TITLE||""}}</view><view class="content _div data-v-765f0f4e">{{item.$orig.NOTICEINFO_CONTENT||""}}</view><view class="descBox _div data-v-765f0f4e"><label class="name _span data-v-765f0f4e">{{item.$orig.author||item.$orig.STAFF_NAME||"-"}}</label><label class="time _span data-v-765f0f4e">{{item.$orig.publishTime||item.$orig.START_DATE||"-"}}</label></view></view><view class="right _div data-v-765f0f4e"><block wx:if="{{item.g0}}"><image class="leftIcon data-v-765f0f4e" src="{{item.$orig.ImageList[0].ImageUrl}}"></image></block><block wx:else><image class="leftIcon data-v-765f0f4e" src="{{item.$orig.coverImg?item.$orig.coverImg:'https://eshangtech.com/ShopICO/no-picture.png'}}"></image></block></view></view></block><block wx:if="{{!$root.g1}}"><view class="_div data-v-765f0f4e"><no-data vue-id="55835b78-1" text="暂无内容" class="data-v-765f0f4e" bind:__l="__l"></no-data></view></block></view></view>
|
<view class="main _div data-v-765f0f4e"><view class="tabBox _div data-v-765f0f4e"><block wx:for="{{tabList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['handleChangeTab',['$0'],[[['tabList','',index,'value']]]]]]]}}" class="{{['_div','data-v-765f0f4e',selectTab===item.value?'tabItem selectTabItem':'tabItem']}}" bindtap="__e">{{''+item.label+''}}</view></block></view><scroll-view class="contentList data-v-765f0f4e" scroll-y="{{true}}"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['handleGoDetail',['$0'],[[['allMessageList.'+selectTab+'','',index]]]]]]]}}" class="contentItem _div data-v-765f0f4e" bindtap="__e"><view class="left _div data-v-765f0f4e"><view class="title _div data-v-765f0f4e">{{item.$orig.title||item.$orig.NOTICEINFO_TITLE||""}}</view><view class="content _div data-v-765f0f4e">{{item.$orig.NOTICEINFO_CONTENT||""}}</view><view class="descBox _div data-v-765f0f4e"><label class="name _span data-v-765f0f4e">{{item.$orig.author||item.$orig.STAFF_NAME||"-"}}</label><label class="time _span data-v-765f0f4e">{{item.$orig.publishTime||item.$orig.START_DATE||"-"}}</label></view></view><view class="right _div data-v-765f0f4e"><block wx:if="{{item.g0}}"><image class="leftIcon data-v-765f0f4e" src="{{item.$orig.ImageList[0].ImageUrl}}"></image></block><block wx:else><image class="leftIcon data-v-765f0f4e" src="{{item.$orig.coverImg?item.$orig.coverImg:'https://eshangtech.com/ShopICO/no-picture.png'}}"></image></block></view></view></block><block wx:if="{{!$root.g1}}"><view class="_div data-v-765f0f4e"><no-data vue-id="55835b78-1" text="暂无内容" class="data-v-765f0f4e" bind:__l="__l"></no-data></view></block></scroll-view></view>
|
||||||
@ -46,8 +46,7 @@
|
|||||||
}
|
}
|
||||||
.main .contentList.data-v-765f0f4e {
|
.main .contentList.data-v-765f0f4e {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: calc(100vh - 50px);
|
height: calc(100vh - 70px);
|
||||||
overflow-y: auto;
|
|
||||||
}
|
}
|
||||||
.main .contentList .contentItem.data-v-765f0f4e {
|
.main .contentList .contentItem.data-v-765f0f4e {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
|
|||||||
@ -317,8 +317,12 @@ var _default = {
|
|||||||
},
|
},
|
||||||
pageType: "",
|
pageType: "",
|
||||||
// spring 春节模式
|
// spring 春节模式
|
||||||
swiperList: ["https://ahyd.eshangtech.com/UploadImageDir/minprogram/正大泰国榴莲.jpg", "https://ahyd.eshangtech.com/UploadImageDir/minprogram/招商信息_1.jpg", "https://ahyd.eshangtech.com/UploadImageDir/minprogram/龙江大桥_1.jpg", "https://ahyd.eshangtech.com/UploadImageDir/minprogram/小沙坝服务区_1.jpg"],
|
swiperList: [
|
||||||
previewImageList: ["https://ahyd.eshangtech.com/UploadImageDir/minprogram/正大泰国榴莲.jpg", "https://ahyd.eshangtech.com/UploadImageDir/minprogram/正太泰国榴莲.jpg", "https://ahyd.eshangtech.com/UploadImageDir/minprogram/招商信息_1.jpg", "https://ahyd.eshangtech.com/UploadImageDir/minprogram/龙江大桥.jpg", "https://ahyd.eshangtech.com/UploadImageDir/minprogram/小沙坝服务区.jpg"],
|
// "https://ahyd.eshangtech.com/UploadImageDir/minprogram/正大泰国榴莲.jpg",
|
||||||
|
"http://saas.eshangtech.com/minTestImg/正大泰国榴莲.jpg", "https://ahyd.eshangtech.com/UploadImageDir/minprogram/招商信息_1.jpg", "https://ahyd.eshangtech.com/UploadImageDir/minprogram/龙江大桥_1.jpg", "https://ahyd.eshangtech.com/UploadImageDir/minprogram/小沙坝服务区_1.jpg"],
|
||||||
|
previewImageList: [
|
||||||
|
// "https://ahyd.eshangtech.com/UploadImageDir/minprogram/正大泰国榴莲.jpg",
|
||||||
|
"http://saas.eshangtech.com/minTestImg/正大泰国榴莲.jpg", "https://ahyd.eshangtech.com/UploadImageDir/minprogram/正太泰国榴莲.jpg", "https://ahyd.eshangtech.com/UploadImageDir/minprogram/招商信息_1.jpg", "https://ahyd.eshangtech.com/UploadImageDir/minprogram/龙江大桥.jpg", "https://ahyd.eshangtech.com/UploadImageDir/minprogram/小沙坝服务区.jpg"],
|
||||||
// 预览图数组
|
// 预览图数组
|
||||||
roadStatusList: [],
|
roadStatusList: [],
|
||||||
// 路况播报
|
// 路况播报
|
||||||
@ -367,7 +371,7 @@ var _default = {
|
|||||||
_this = _this2;
|
_this = _this2;
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
_this.$refs.noticeRef.close();
|
_this.$refs.noticeRef.close();
|
||||||
}, 5000);
|
}, 8000);
|
||||||
} else {
|
} else {
|
||||||
_this2.showPoster = false;
|
_this2.showPoster = false;
|
||||||
}
|
}
|
||||||
@ -969,9 +973,15 @@ var _default = {
|
|||||||
this.handleGoShop();
|
this.handleGoShop();
|
||||||
}
|
}
|
||||||
} else if (obj.value === 17) {
|
} else if (obj.value === 17) {
|
||||||
uni.navigateTo({
|
if (obj.index === 0) {
|
||||||
url: "/pages/highwayHeadlines/attractInvestment"
|
uni.navigateTo({
|
||||||
});
|
url: "/pages/shopMallPage/shopType/index"
|
||||||
|
});
|
||||||
|
} else {
|
||||||
|
uni.navigateTo({
|
||||||
|
url: "/pages/highwayHeadlines/attractInvestment"
|
||||||
|
});
|
||||||
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
// 跳转到商城
|
// 跳转到商城
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -572,15 +572,15 @@ var _default = {
|
|||||||
// const data2 = await this.$api.getCoop(req2);
|
// const data2 = await this.$api.getCoop(req2);
|
||||||
// const data3 = await this.$api.getCoop(req3);
|
// const data3 = await this.$api.getCoop(req3);
|
||||||
_context2.next = 5;
|
_context2.next = 5;
|
||||||
return _this3.$api.$javaGet('/third-party/getExcludeWeChatGetMallGoodsInfo', req1);
|
return _this3.$api.$javaGet('/third-party/getWeChatGetMallGoodsInfo', req1);
|
||||||
case 5:
|
case 5:
|
||||||
data1 = _context2.sent;
|
data1 = _context2.sent;
|
||||||
_context2.next = 8;
|
_context2.next = 8;
|
||||||
return _this3.$api.$javaGet('/third-party/getExcludeWeChatGetMallGoodsInfo', req2);
|
return _this3.$api.$javaGet('/third-party/getWeChatGetMallGoodsInfo', req2);
|
||||||
case 8:
|
case 8:
|
||||||
data2 = _context2.sent;
|
data2 = _context2.sent;
|
||||||
_context2.next = 11;
|
_context2.next = 11;
|
||||||
return _this3.$api.$javaGet('/third-party/getExcludeWeChatGetMallGoodsInfo', req3);
|
return _this3.$api.$javaGet('/third-party/getWeChatGetMallGoodsInfo', req3);
|
||||||
case 11:
|
case 11:
|
||||||
data3 = _context2.sent;
|
data3 = _context2.sent;
|
||||||
list1 = _this3.handleChangeShopList(data1.Data.List);
|
list1 = _this3.handleChangeShopList(data1.Data.List);
|
||||||
@ -876,7 +876,9 @@ var _default = {
|
|||||||
switch (_context7.prev = _context7.next) {
|
switch (_context7.prev = _context7.next) {
|
||||||
case 0:
|
case 0:
|
||||||
_context7.next = 2;
|
_context7.next = 2;
|
||||||
return _this8.$api.$javaGet('/third-party/getExcludeWeChatGetMallGoodsInfo', {
|
return _this8.$api.$javaGet('/third-party/getWeChatGetMallGoodsInfoExclude',
|
||||||
|
// url,
|
||||||
|
{
|
||||||
ownerUnitId: 911,
|
ownerUnitId: 911,
|
||||||
userdefinedTypeId: 1355,
|
userdefinedTypeId: 1355,
|
||||||
excludeNature: 5070,
|
excludeNature: 5070,
|
||||||
@ -916,47 +918,67 @@ var _default = {
|
|||||||
handleGetSpecialOffers: function handleGetSpecialOffers() {
|
handleGetSpecialOffers: function handleGetSpecialOffers() {
|
||||||
var _this9 = this;
|
var _this9 = this;
|
||||||
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee8() {
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee8() {
|
||||||
var data, list, shopList;
|
var url, data, list, shopList, shopIdList;
|
||||||
return _regenerator.default.wrap(function _callee8$(_context8) {
|
return _regenerator.default.wrap(function _callee8$(_context8) {
|
||||||
while (1) {
|
while (1) {
|
||||||
switch (_context8.prev = _context8.next) {
|
switch (_context8.prev = _context8.next) {
|
||||||
case 0:
|
case 0:
|
||||||
_context8.next = 2;
|
// const data = await this.$api.getCoop({
|
||||||
return _this9.$api.$javaGet('/third-party/getExcludeWeChatGetMallGoodsInfo', {
|
// action_type: "WeChat_GetMallGoodsInfo",
|
||||||
|
// ownerUnitId: 911,
|
||||||
|
// COMMODITYNATURE: 5030,
|
||||||
|
// excludeNature: 5070,
|
||||||
|
// justCommodity: 1,
|
||||||
|
// });
|
||||||
|
url = _this9.pageType === "UnionMall" ? '/third-party/getWeChatGetMallGoodsInfo' : '/third-party/getWeChatGetMallGoodsInfoExclude';
|
||||||
|
_context8.next = 3;
|
||||||
|
return _this9.$api.$javaGet(
|
||||||
|
// '/third-party/getExcludeWeChatGetMallGoodsInfo',
|
||||||
|
url, {
|
||||||
ownerUnitId: 911,
|
ownerUnitId: 911,
|
||||||
COMMODITYNATURE: 5030,
|
// COMMODITYNATURE: 5030,//特价优惠
|
||||||
|
COMMODITYNATURE: 5021,
|
||||||
|
// 绿色云品
|
||||||
|
userdefinedTypeId: 3186,
|
||||||
|
// 绿色云品
|
||||||
|
userdefinedtypeId: 3186,
|
||||||
|
// 绿色云品
|
||||||
excludeNature: 5070,
|
excludeNature: 5070,
|
||||||
justCommodity: 1
|
justCommodity: 1
|
||||||
});
|
});
|
||||||
case 2:
|
case 3:
|
||||||
data = _context8.sent;
|
data = _context8.sent;
|
||||||
console.log("handleGetSpecialOffers", data);
|
console.log("handleGetSpecialOffers", data);
|
||||||
list = data.Data && data.Data.List ? data.Data.List : [];
|
list = data.Data && data.Data.List ? data.Data.List : [];
|
||||||
shopList = [];
|
shopList = [];
|
||||||
|
shopIdList = [];
|
||||||
if (list && list.length > 0) {
|
if (list && list.length > 0) {
|
||||||
list.forEach(function (item) {
|
list.forEach(function (item) {
|
||||||
if (item.COMMODITYLIST && item.COMMODITYLIST.length > 0) {
|
if (item.COMMODITYLIST && item.COMMODITYLIST.length > 0) {
|
||||||
item.COMMODITYLIST.forEach(function (subItem) {
|
item.COMMODITYLIST.forEach(function (subItem) {
|
||||||
if (subItem.COMMODITY_MEMBERPRICE && subItem.COMMODITY_MEMBERPRICE.toString().indexOf(".") !== -1) {
|
if (shopIdList.indexOf(subItem.COMMODITY_ID) === -1) {
|
||||||
subItem.bigNumber = subItem.COMMODITY_MEMBERPRICE.toString().split(".")[0];
|
shopIdList.push(subItem.COMMODITY_ID);
|
||||||
subItem.smallNumber = subItem.COMMODITY_MEMBERPRICE.toString().split(".")[1];
|
if (subItem.COMMODITY_MEMBERPRICE && subItem.COMMODITY_MEMBERPRICE.toString().indexOf(".") !== -1) {
|
||||||
} else {
|
subItem.bigNumber = subItem.COMMODITY_MEMBERPRICE.toString().split(".")[0];
|
||||||
subItem.bigNumber = subItem.COMMODITY_MEMBERPRICE;
|
subItem.smallNumber = subItem.COMMODITY_MEMBERPRICE.toString().split(".")[1];
|
||||||
|
} else {
|
||||||
|
subItem.bigNumber = subItem.COMMODITY_MEMBERPRICE;
|
||||||
|
}
|
||||||
|
if (subItem.COMMODITY_RETAILPRICE && subItem.COMMODITY_RETAILPRICE.toString().indexOf(".") !== -1) {
|
||||||
|
subItem.RETbigNumber = subItem.COMMODITY_RETAILPRICE.toString().split(".")[0];
|
||||||
|
subItem.RETsmallNumber = subItem.COMMODITY_RETAILPRICE.toString().split(".")[1];
|
||||||
|
} else {
|
||||||
|
subItem.RETbigNumber = subItem.COMMODITY_RETAILPRICE;
|
||||||
|
}
|
||||||
|
shopList.push(subItem);
|
||||||
}
|
}
|
||||||
if (subItem.COMMODITY_RETAILPRICE && subItem.COMMODITY_RETAILPRICE.toString().indexOf(".") !== -1) {
|
|
||||||
subItem.RETbigNumber = subItem.COMMODITY_RETAILPRICE.toString().split(".")[0];
|
|
||||||
subItem.RETsmallNumber = subItem.COMMODITY_RETAILPRICE.toString().split(".")[1];
|
|
||||||
} else {
|
|
||||||
subItem.RETbigNumber = subItem.COMMODITY_RETAILPRICE;
|
|
||||||
}
|
|
||||||
shopList.push(subItem);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
console.log("特价优惠", shopList);
|
console.log("特价优惠", shopList);
|
||||||
_this9.specialOffersList = shopList;
|
_this9.specialOffersList = shopList;
|
||||||
case 9:
|
case 11:
|
||||||
case "end":
|
case "end":
|
||||||
return _context8.stop();
|
return _context8.stop();
|
||||||
}
|
}
|
||||||
@ -1019,15 +1041,23 @@ var _default = {
|
|||||||
handleGetTodayOffers: function handleGetTodayOffers() {
|
handleGetTodayOffers: function handleGetTodayOffers() {
|
||||||
var _this11 = this;
|
var _this11 = this;
|
||||||
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee10() {
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee10() {
|
||||||
var data, list, shopList, obj, _shopList;
|
var data, list, shopList, shopIdList, obj, _shopList;
|
||||||
return _regenerator.default.wrap(function _callee10$(_context10) {
|
return _regenerator.default.wrap(function _callee10$(_context10) {
|
||||||
while (1) {
|
while (1) {
|
||||||
switch (_context10.prev = _context10.next) {
|
switch (_context10.prev = _context10.next) {
|
||||||
case 0:
|
case 0:
|
||||||
_context10.next = 2;
|
_context10.next = 2;
|
||||||
return _this11.$api.$javaGet('/third-party/getExcludeWeChatGetMallGoodsInfo', {
|
return _this11.$api.$javaGet('/third-party/getWeChatGetMallGoodsInfoExclude',
|
||||||
|
// url,
|
||||||
|
{
|
||||||
ownerUnitId: 911,
|
ownerUnitId: 911,
|
||||||
COMMODITYNATURE: 4598,
|
// COMMODITYNATURE: 4598,// 原今日推荐
|
||||||
|
COMMODITYNATURE: 5022,
|
||||||
|
//自有品牌
|
||||||
|
userdefinedtypeId: 3175,
|
||||||
|
// 商品分类
|
||||||
|
userdefinedTypeId: 3175,
|
||||||
|
// 商品分类
|
||||||
excludeNature: 5070,
|
excludeNature: 5070,
|
||||||
justCommodity: 1
|
justCommodity: 1
|
||||||
});
|
});
|
||||||
@ -1036,30 +1066,34 @@ var _default = {
|
|||||||
console.log("今日推荐", data);
|
console.log("今日推荐", data);
|
||||||
list = data.Data.List;
|
list = data.Data.List;
|
||||||
shopList = [];
|
shopList = [];
|
||||||
|
shopIdList = [];
|
||||||
if (list && list.length > 0) {
|
if (list && list.length > 0) {
|
||||||
list.forEach(function (item) {
|
list.forEach(function (item) {
|
||||||
if (item.COMMODITYLIST && item.COMMODITYLIST.length > 0) {
|
if (item.COMMODITYLIST && item.COMMODITYLIST.length > 0) {
|
||||||
item.COMMODITYLIST.forEach(function (subItem) {
|
item.COMMODITYLIST.forEach(function (subItem) {
|
||||||
if (subItem.COMMODITY_MEMBERPRICE && subItem.COMMODITY_MEMBERPRICE.toString().indexOf(".") !== -1) {
|
if (shopIdList.indexOf(subItem.COMMODITY_ID) === -1) {
|
||||||
subItem.bigNumber = subItem.COMMODITY_MEMBERPRICE.toString().split(".")[0];
|
shopIdList.push(subItem.COMMODITY_ID);
|
||||||
subItem.smallNumber = subItem.COMMODITY_MEMBERPRICE.toString().split(".")[1];
|
if (subItem.COMMODITY_MEMBERPRICE && subItem.COMMODITY_MEMBERPRICE.toString().indexOf(".") !== -1) {
|
||||||
} else {
|
subItem.bigNumber = subItem.COMMODITY_MEMBERPRICE.toString().split(".")[0];
|
||||||
subItem.bigNumber = subItem.COMMODITY_MEMBERPRICE;
|
subItem.smallNumber = subItem.COMMODITY_MEMBERPRICE.toString().split(".")[1];
|
||||||
|
} else {
|
||||||
|
subItem.bigNumber = subItem.COMMODITY_MEMBERPRICE;
|
||||||
|
}
|
||||||
|
if (subItem.COMMODITY_RETAILPRICE && subItem.COMMODITY_RETAILPRICE.toString().indexOf(".") !== -1) {
|
||||||
|
subItem.RETbigNumber = subItem.COMMODITY_RETAILPRICE.toString().split(".")[0];
|
||||||
|
subItem.RETsmallNumber = subItem.COMMODITY_RETAILPRICE.toString().split(".")[1];
|
||||||
|
} else {
|
||||||
|
subItem.RETbigNumber = subItem.COMMODITY_RETAILPRICE;
|
||||||
|
}
|
||||||
|
shopList.push(subItem);
|
||||||
}
|
}
|
||||||
if (subItem.COMMODITY_RETAILPRICE && subItem.COMMODITY_RETAILPRICE.toString().indexOf(".") !== -1) {
|
|
||||||
subItem.RETbigNumber = subItem.COMMODITY_RETAILPRICE.toString().split(".")[0];
|
|
||||||
subItem.RETsmallNumber = subItem.COMMODITY_RETAILPRICE.toString().split(".")[1];
|
|
||||||
} else {
|
|
||||||
subItem.RETbigNumber = subItem.COMMODITY_RETAILPRICE;
|
|
||||||
}
|
|
||||||
shopList.push(subItem);
|
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
_this11.todayOffersList = shopList;
|
_this11.todayOffersList = shopList;
|
||||||
return _context10.abrupt("return");
|
return _context10.abrupt("return");
|
||||||
case 11:
|
case 12:
|
||||||
case "end":
|
case "end":
|
||||||
return _context10.stop();
|
return _context10.stop();
|
||||||
}
|
}
|
||||||
@ -1099,18 +1133,37 @@ var _default = {
|
|||||||
// justCommodity: 1,
|
// justCommodity: 1,
|
||||||
// // excludeNature: 5070,
|
// // excludeNature: 5070,
|
||||||
// });
|
// });
|
||||||
|
|
||||||
|
// 原本下面商城的内容
|
||||||
|
|
||||||
|
// const data = await this.$api.$javaGet(
|
||||||
|
// '/third-party/getWeChatGetMallGoodsInfo',
|
||||||
|
// {
|
||||||
|
// ownerUnitId: 911,
|
||||||
|
// COMMODITYNATURE: this.selectProducts === 4597 ? '' : 3000,
|
||||||
|
// userdefinedTypeId: this.selectProducts || "",
|
||||||
|
// Page_Size: this.shopMsg.pageSize,
|
||||||
|
// Page_Index: this.shopMsg.pageIndex,
|
||||||
|
// justCommodity: 1,
|
||||||
|
// }
|
||||||
|
// )
|
||||||
|
|
||||||
|
//
|
||||||
_context11.next = 3;
|
_context11.next = 3;
|
||||||
return _this12.$api.$javaGet('/third-party/getExcludeWeChatGetMallGoodsInfo', {
|
return _this12.$api.$javaGet('/third-party/getWeChatGetMallGoodsInfo', {
|
||||||
ownerUnitId: 911,
|
ownerUnitId: 911,
|
||||||
COMMODITYNATURE: _this12.selectProducts === 4597 ? '' : 3000,
|
justCommodity: 1,
|
||||||
userdefinedTypeId: _this12.selectProducts || "",
|
payMethod: "2000,3000",
|
||||||
Page_Size: _this12.shopMsg.pageSize,
|
COMMODITYNATURE: 6000
|
||||||
Page_Index: _this12.shopMsg.pageIndex,
|
// COMMODITYNATURE: this.selectProducts === 4597 ? '' : 3000,
|
||||||
justCommodity: 1
|
// userdefinedTypeId: this.selectProducts || "",
|
||||||
|
// Page_Size: this.shopMsg.pageSize,
|
||||||
|
// Page_Index: this.shopMsg.pageIndex,
|
||||||
});
|
});
|
||||||
case 3:
|
case 3:
|
||||||
data = _context11.sent;
|
data = _context11.sent;
|
||||||
list = data.Data.List;
|
list = data.Data.List;
|
||||||
|
console.log('积分商城', list);
|
||||||
resList = [];
|
resList = [];
|
||||||
thisResList = [];
|
thisResList = [];
|
||||||
if (_this12.shopMsg.pageIndex > 1) {
|
if (_this12.shopMsg.pageIndex > 1) {
|
||||||
@ -1143,7 +1196,7 @@ var _default = {
|
|||||||
}
|
}
|
||||||
// this.productsList = list;
|
// this.productsList = list;
|
||||||
_this12.productsList = resList.concat(thisResList);
|
_this12.productsList = resList.concat(thisResList);
|
||||||
console.log("甄选商品", list);
|
console.log("甄选商品", _this12.productsList);
|
||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
|
|
||||||
// let shopList = []
|
// let shopList = []
|
||||||
@ -1156,7 +1209,7 @@ var _default = {
|
|||||||
// }
|
// }
|
||||||
// })
|
// })
|
||||||
// }
|
// }
|
||||||
case 13:
|
case 14:
|
||||||
case "end":
|
case "end":
|
||||||
return _context11.stop();
|
return _context11.stop();
|
||||||
}
|
}
|
||||||
@ -1183,9 +1236,13 @@ var _default = {
|
|||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 跳转商品列表接口
|
// 跳转商品列表接口
|
||||||
handleGoShopList: function handleGoShopList(type) {
|
handleGoShopList: function handleGoShopList(value, index) {
|
||||||
uni.navigateTo({
|
// uni.navigateTo({
|
||||||
url: "/pages/shopPages/shopList/index?type=".concat(type, "&pageType=").concat(this.pageType || "")
|
// url: `/pages/shopPages/shopList/index?type=${type}&pageType=${this.pageType || ""
|
||||||
|
// }`,
|
||||||
|
// });
|
||||||
|
uni.redirectTo({
|
||||||
|
url: "/pages/shopMallPage/shopType/index?leftId=".concat(value, "&pageType=").concat(this.pageType, "&selectIndex=").concat(index)
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
// 跳转商品详情
|
// 跳转商品详情
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -597,6 +597,11 @@
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
}
|
}
|
||||||
|
.main .pageContent .advertisementSecond .advertisementItem .advertisementItemContent .contentTop .title.data-v-79c11018 {
|
||||||
|
font-size: 14px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: #181716;
|
||||||
|
}
|
||||||
.main .pageContent .advertisementSecond .advertisementItem .advertisementItemContent .contentTop .title .titleImg.data-v-79c11018 {
|
.main .pageContent .advertisementSecond .advertisementItem .advertisementItemContent .contentTop .title .titleImg.data-v-79c11018 {
|
||||||
width: 112rpx;
|
width: 112rpx;
|
||||||
height: 36rpx;
|
height: 36rpx;
|
||||||
@ -744,6 +749,18 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
margin-top: 40rpx;
|
margin-top: 40rpx;
|
||||||
}
|
}
|
||||||
|
.main .pageContent .allShopList .allShopTitle.data-v-79c11018 {
|
||||||
|
font-size: 16px;
|
||||||
|
font-weight: 600;
|
||||||
|
color: #181716;
|
||||||
|
}
|
||||||
|
.main .pageContent .allShopList .jfDescBox.data-v-79c11018 {
|
||||||
|
width: 100%;
|
||||||
|
margin-top: 24rpx;
|
||||||
|
}
|
||||||
|
.main .pageContent .allShopList .jfDescBox .descImg.data-v-79c11018 {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
.main .pageContent .allShopList .allTypeBox.data-v-79c11018 {
|
.main .pageContent .allShopList .allTypeBox.data-v-79c11018 {
|
||||||
width: calc(100vw - 48rpx);
|
width: calc(100vw - 48rpx);
|
||||||
height: 60rpx;
|
height: 60rpx;
|
||||||
|
|||||||
@ -614,7 +614,7 @@ var _default = {
|
|||||||
// payMethod: "1000,3000",
|
// payMethod: "1000,3000",
|
||||||
// // justCommodity: 1,
|
// // justCommodity: 1,
|
||||||
// });
|
// });
|
||||||
url = _this3.pageType === "UnionMall" ? '/third-party/getExcludeWeChatGetMallGoodsInfo' : '/third-party/getWeChatGetMallGoodsInfoExclude';
|
url = _this3.pageType === "UnionMall" ? '/third-party/getWeChatGetMallGoodsInfo' : '/third-party/getWeChatGetMallGoodsInfoExclude';
|
||||||
_context2.next = 5;
|
_context2.next = 5;
|
||||||
return _this3.$api.$javaGet(
|
return _this3.$api.$javaGet(
|
||||||
// '/third-party/getExcludeWeChatGetMallGoodsInfo',
|
// '/third-party/getExcludeWeChatGetMallGoodsInfo',
|
||||||
@ -622,8 +622,8 @@ var _default = {
|
|||||||
ownerUnitId: 911,
|
ownerUnitId: 911,
|
||||||
appId: "wxee018fb96955552a",
|
appId: "wxee018fb96955552a",
|
||||||
commodityName: _this3.searchText,
|
commodityName: _this3.searchText,
|
||||||
excludeNature: _this3.pageType === "UnionMall" ? null : 5070,
|
excludeNature: _this3.pageType === "UnionMall" ? "" : 5070,
|
||||||
commodityNature: _this3.pageType === "UnionMall" ? 5070 : null,
|
commodityNature: _this3.pageType === "UnionMall" ? 5070 : "",
|
||||||
payMethod: "1000,3000"
|
payMethod: "1000,3000"
|
||||||
// justCommodity: 1,
|
// justCommodity: 1,
|
||||||
});
|
});
|
||||||
@ -767,7 +767,7 @@ var _default = {
|
|||||||
handleGetAllShopItem: function handleGetAllShopItem(id) {
|
handleGetAllShopItem: function handleGetAllShopItem(id) {
|
||||||
var _this5 = this;
|
var _this5 = this;
|
||||||
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
|
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee4() {
|
||||||
var data, list, thisAllType, haveAll, leftIndex, shopList, thisTypeAllShop, allShopID, obj, newList, allShopList, allShopID2;
|
var url, data, list, thisAllType, haveAll, leftIndex, shopList, thisTypeAllShop, allShopID, obj, newList, allShopList, allShopID2;
|
||||||
return _regenerator.default.wrap(function _callee4$(_context4) {
|
return _regenerator.default.wrap(function _callee4$(_context4) {
|
||||||
while (1) {
|
while (1) {
|
||||||
switch (_context4.prev = _context4.next) {
|
switch (_context4.prev = _context4.next) {
|
||||||
@ -785,8 +785,11 @@ var _default = {
|
|||||||
// commodityNature: this.pageType === "UnionMall" ? 5070 : "",
|
// commodityNature: this.pageType === "UnionMall" ? 5070 : "",
|
||||||
// // justCommodity: 1,
|
// // justCommodity: 1,
|
||||||
// });
|
// });
|
||||||
_context4.next = 4;
|
url = _this5.pageType === "UnionMall" ? '/third-party/getWeChatGetMallGoodsInfo' : '/third-party/getWeChatGetMallGoodsInfoExclude';
|
||||||
return _this5.$api.$javaGet('/third-party/getExcludeWeChatGetMallGoodsInfo', {
|
_context4.next = 5;
|
||||||
|
return _this5.$api.$javaGet(
|
||||||
|
// '/third-party/getExcludeWeChatGetMallGoodsInfo',
|
||||||
|
url, {
|
||||||
ownerUnitId: 911,
|
ownerUnitId: 911,
|
||||||
userdefinedTypeId: _this5.searchText ? "" : id,
|
userdefinedTypeId: _this5.searchText ? "" : id,
|
||||||
userdefinedtypeId: _this5.searchText ? "" : id,
|
userdefinedtypeId: _this5.searchText ? "" : id,
|
||||||
@ -795,7 +798,7 @@ var _default = {
|
|||||||
commodityNature: _this5.pageType === "UnionMall" ? 5070 : ""
|
commodityNature: _this5.pageType === "UnionMall" ? 5070 : ""
|
||||||
// justCommodity: 1,
|
// justCommodity: 1,
|
||||||
});
|
});
|
||||||
case 4:
|
case 5:
|
||||||
data = _context4.sent;
|
data = _context4.sent;
|
||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
list = data.Data.List;
|
list = data.Data.List;
|
||||||
@ -984,7 +987,7 @@ var _default = {
|
|||||||
}
|
}
|
||||||
console.log("现在的小类", _this5.leftTypeList);
|
console.log("现在的小类", _this5.leftTypeList);
|
||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
case 29:
|
case 30:
|
||||||
case "end":
|
case "end":
|
||||||
return _context4.stop();
|
return _context4.stop();
|
||||||
}
|
}
|
||||||
|
|||||||
@ -149,8 +149,9 @@ var render = function () {
|
|||||||
_vm.good.OFF_DATE && !_vm.isCountdown
|
_vm.good.OFF_DATE && !_vm.isCountdown
|
||||||
? new Date(_vm.good.OFF_DATE).getTime()
|
? new Date(_vm.good.OFF_DATE).getTime()
|
||||||
: null
|
: null
|
||||||
var g8 = new Date().getTime()
|
var g8 =
|
||||||
var g9 = new Date(_vm.good.OFF_DATE).getTime()
|
new Date().getTime() > new Date(_vm.good.OFF_DATE).getTime() &&
|
||||||
|
!(_vm.good.OFF_DATE && !_vm.isCountdown)
|
||||||
_vm.$mp.data = Object.assign(
|
_vm.$mp.data = Object.assign(
|
||||||
{},
|
{},
|
||||||
{
|
{
|
||||||
@ -164,7 +165,6 @@ var render = function () {
|
|||||||
g6: g6,
|
g6: g6,
|
||||||
g7: g7,
|
g7: g7,
|
||||||
g8: g8,
|
g8: g8,
|
||||||
g9: g9,
|
|
||||||
},
|
},
|
||||||
}
|
}
|
||||||
)
|
)
|
||||||
@ -219,6 +219,7 @@ var _default = {
|
|||||||
data: function data() {
|
data: function data() {
|
||||||
var windows = uni.getSystemInfoSync();
|
var windows = uni.getSystemInfoSync();
|
||||||
return {
|
return {
|
||||||
|
safeHeight: 0,
|
||||||
pageMsg: {
|
pageMsg: {
|
||||||
current: 0,
|
current: 0,
|
||||||
imgeCount: 0,
|
imgeCount: 0,
|
||||||
@ -1154,6 +1155,9 @@ var _default = {
|
|||||||
clearInterval(this.timer);
|
clearInterval(this.timer);
|
||||||
},
|
},
|
||||||
onLoad: function onLoad(option) {
|
onLoad: function onLoad(option) {
|
||||||
|
var systemInfo = uni.getSystemInfoSync();
|
||||||
|
var height = systemInfo.safeAreaInsets.bottom;
|
||||||
|
this.safeHeight = Number(height);
|
||||||
this.menu = uni.getMenuButtonBoundingClientRect();
|
this.menu = uni.getMenuButtonBoundingClientRect();
|
||||||
console.log("option", option);
|
console.log("option", option);
|
||||||
if (option.pageType) {
|
if (option.pageType) {
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@ -361,7 +361,7 @@ button.data-v-0dc4ca38:after {
|
|||||||
align-items: center;
|
align-items: center;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
z-index: 1;
|
z-index: 2;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
padding-bottom: 24rpx;
|
padding-bottom: 24rpx;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
@ -484,6 +484,7 @@ button.data-v-0dc4ca38:after {
|
|||||||
height: 64rpx;
|
height: 64rpx;
|
||||||
background: #fff2e7;
|
background: #fff2e7;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
|
z-index: 2;
|
||||||
left: 0;
|
left: 0;
|
||||||
bottom: 124rpx;
|
bottom: 124rpx;
|
||||||
font-family: PingFangSC, PingFang SC;
|
font-family: PingFangSC, PingFang SC;
|
||||||
@ -503,7 +504,7 @@ button.data-v-0dc4ca38:after {
|
|||||||
}
|
}
|
||||||
.shopPopupBox.data-v-0dc4ca38 {
|
.shopPopupBox.data-v-0dc4ca38 {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 70vh;
|
height: 80vh;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
border-radius: 16rpx 16rpx 0 0;
|
border-radius: 16rpx 16rpx 0 0;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
@ -511,7 +512,7 @@ button.data-v-0dc4ca38:after {
|
|||||||
}
|
}
|
||||||
.shopPopupBox .shopPopupContent.data-v-0dc4ca38 {
|
.shopPopupBox .shopPopupContent.data-v-0dc4ca38 {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: calc(70vh - 92rpx - 64rpx);
|
height: calc(80vh - 80px - 32px + 12rpx);
|
||||||
margin-bottom: 12rpx;
|
margin-bottom: 12rpx;
|
||||||
}
|
}
|
||||||
.shopPopupBox .shopPopupContent .detailTop.data-v-0dc4ca38 {
|
.shopPopupBox .shopPopupContent .detailTop.data-v-0dc4ca38 {
|
||||||
@ -575,12 +576,16 @@ button.data-v-0dc4ca38:after {
|
|||||||
color: #9fa3a8;
|
color: #9fa3a8;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
}
|
}
|
||||||
.shopPopupBox .shopPopupContent .detailMessage.data-v-0dc4ca38 {
|
.shopPopupBox .shopPopupContent .scrollDetailBox.data-v-0dc4ca38 {
|
||||||
|
width: 100%;
|
||||||
|
height: calc(80vh - 80px - 32px + 12rpx - 80px);
|
||||||
|
}
|
||||||
|
.shopPopupBox .shopPopupContent .scrollDetailBox .detailMessage.data-v-0dc4ca38 {
|
||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
border-bottom: 1px solid #f2f4f5;
|
border-bottom: 1px solid #f2f4f5;
|
||||||
padding-bottom: 16px;
|
padding-bottom: 16px;
|
||||||
}
|
}
|
||||||
.shopPopupBox .shopPopupContent .detailMessage .detailTitle.data-v-0dc4ca38 {
|
.shopPopupBox .shopPopupContent .scrollDetailBox .detailMessage .detailTitle.data-v-0dc4ca38 {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-family: PingFangSC-Semibold, PingFang SC;
|
font-family: PingFangSC-Semibold, PingFang SC;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
@ -588,37 +593,37 @@ button.data-v-0dc4ca38:after {
|
|||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
margin-bottom: 8px;
|
margin-bottom: 8px;
|
||||||
}
|
}
|
||||||
.shopPopupBox .shopPopupContent .detailMessage .detailText.data-v-0dc4ca38 {
|
.shopPopupBox .shopPopupContent .scrollDetailBox .detailMessage .detailText.data-v-0dc4ca38 {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-family: PingFangSC-Regular, PingFang SC;
|
font-family: PingFangSC-Regular, PingFang SC;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #6c737a;
|
color: #6c737a;
|
||||||
line-height: 18px;
|
line-height: 18px;
|
||||||
}
|
}
|
||||||
.shopPopupBox .shopPopupContent .orderDetail.data-v-0dc4ca38 {
|
.shopPopupBox .shopPopupContent .scrollDetailBox .orderDetail.data-v-0dc4ca38 {
|
||||||
margin-top: 16px;
|
margin-top: 16px;
|
||||||
}
|
}
|
||||||
.shopPopupBox .shopPopupContent .orderDetail .orderTitle.data-v-0dc4ca38 {
|
.shopPopupBox .shopPopupContent .scrollDetailBox .orderDetail .orderTitle.data-v-0dc4ca38 {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-family: PingFangSC-Semibold, PingFang SC;
|
font-family: PingFangSC-Semibold, PingFang SC;
|
||||||
font-weight: 600;
|
font-weight: 600;
|
||||||
color: #020e1a;
|
color: #020e1a;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
}
|
}
|
||||||
.shopPopupBox .shopPopupContent .orderDetail .numBox.data-v-0dc4ca38 {
|
.shopPopupBox .shopPopupContent .scrollDetailBox .orderDetail .numBox.data-v-0dc4ca38 {
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-top: 12px;
|
margin-top: 12px;
|
||||||
}
|
}
|
||||||
.shopPopupBox .shopPopupContent .orderDetail .numBox .numTitle.data-v-0dc4ca38 {
|
.shopPopupBox .shopPopupContent .scrollDetailBox .orderDetail .numBox .numTitle.data-v-0dc4ca38 {
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-family: PingFangSC-Regular, PingFang SC;
|
font-family: PingFangSC-Regular, PingFang SC;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #020e1a;
|
color: #020e1a;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
}
|
}
|
||||||
.shopPopupBox .shopPopupContent .orderDetail .numBox .cartcontrol.data-v-0dc4ca38 {
|
.shopPopupBox .shopPopupContent .scrollDetailBox .orderDetail .numBox .cartcontrol.data-v-0dc4ca38 {
|
||||||
width: 150px;
|
width: 150px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
line-height: 24px;
|
line-height: 24px;
|
||||||
@ -627,7 +632,7 @@ button.data-v-0dc4ca38:after {
|
|||||||
border: 1px solid rgba(2, 14, 26, 0.06);
|
border: 1px solid rgba(2, 14, 26, 0.06);
|
||||||
border-radius: 2px;
|
border-radius: 2px;
|
||||||
}
|
}
|
||||||
.shopPopupBox .shopPopupContent .orderDetail .numBox .cartcontrol .subtract.data-v-0dc4ca38 {
|
.shopPopupBox .shopPopupContent .scrollDetailBox .orderDetail .numBox .cartcontrol .subtract.data-v-0dc4ca38 {
|
||||||
width: 30px;
|
width: 30px;
|
||||||
height: 30px;
|
height: 30px;
|
||||||
background: #f2f4f5;
|
background: #f2f4f5;
|
||||||
@ -638,33 +643,40 @@ button.data-v-0dc4ca38:after {
|
|||||||
font-size: 8px;
|
font-size: 8px;
|
||||||
color: #9fa3a8;
|
color: #9fa3a8;
|
||||||
}
|
}
|
||||||
.shopPopupBox .shopPopupContent .orderDetail .numBox .cartcontrol .subtract .img.data-v-0dc4ca38 {
|
.shopPopupBox .shopPopupContent .scrollDetailBox .orderDetail .numBox .cartcontrol .subtract .img.data-v-0dc4ca38 {
|
||||||
width: 16px;
|
width: 16px;
|
||||||
height: 16px;
|
height: 16px;
|
||||||
}
|
}
|
||||||
.shopPopupBox .shopPopupContent .orderDetail .numBox .cartcontrol .cart-count.data-v-0dc4ca38 {
|
.shopPopupBox .shopPopupContent .scrollDetailBox .orderDetail .numBox .cartcontrol .cart-count.data-v-0dc4ca38 {
|
||||||
height: 30px !important;
|
height: 30px !important;
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
line-height: 30px;
|
line-height: 30px;
|
||||||
flex: 1;
|
flex: 1;
|
||||||
}
|
}
|
||||||
.shopPopupBox .shopPopupContent .orderDetail .sizeBox.data-v-0dc4ca38 {
|
.shopPopupBox .shopPopupContent .scrollDetailBox .orderDetail .sizeBox.data-v-0dc4ca38 {
|
||||||
|
width: 100%;
|
||||||
display: flex;
|
display: flex;
|
||||||
justify-content: space-between;
|
justify-content: space-between;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
margin-top: 12px;
|
margin-top: 12px;
|
||||||
}
|
}
|
||||||
.shopPopupBox .shopPopupContent .orderDetail .sizeBox .sizeTitle.data-v-0dc4ca38 {
|
.shopPopupBox .shopPopupContent .scrollDetailBox .orderDetail .sizeBox .sizeTitle.data-v-0dc4ca38 {
|
||||||
|
display: inline-block;
|
||||||
font-size: 14px;
|
font-size: 14px;
|
||||||
font-family: PingFangSC-Regular, PingFang SC;
|
font-family: PingFangSC-Regular, PingFang SC;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
color: #020e1a;
|
color: #020e1a;
|
||||||
line-height: 20px;
|
line-height: 20px;
|
||||||
|
width: 100rpx;
|
||||||
}
|
}
|
||||||
.shopPopupBox .shopPopupContent .orderDetail .sizeBox .sizeList.data-v-0dc4ca38 {
|
.shopPopupBox .shopPopupContent .scrollDetailBox .orderDetail .sizeBox .sizeScrollBox.data-v-0dc4ca38 {
|
||||||
display: flex;
|
width: calc(100% - 112rpx);
|
||||||
|
flex: 1;
|
||||||
}
|
}
|
||||||
.shopPopupBox .shopPopupContent .orderDetail .sizeBox .sizeList .sizeItem.data-v-0dc4ca38 {
|
.shopPopupBox .shopPopupContent .scrollDetailBox .orderDetail .sizeBox .sizeScrollBox .sizeList.data-v-0dc4ca38 {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
.shopPopupBox .shopPopupContent .scrollDetailBox .orderDetail .sizeBox .sizeScrollBox .sizeList .sizeItem.data-v-0dc4ca38 {
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-family: PingFangSC-Regular, PingFang SC;
|
font-family: PingFangSC-Regular, PingFang SC;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
@ -674,8 +686,11 @@ button.data-v-0dc4ca38:after {
|
|||||||
background: #dbdad6;
|
background: #dbdad6;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
margin-left: 8px;
|
margin-left: 8px;
|
||||||
|
display: inline-block;
|
||||||
|
margin-bottom: 16rpx;
|
||||||
}
|
}
|
||||||
.shopPopupBox .shopPopupContent .orderDetail .sizeBox .sizeList .selectSizeItem.data-v-0dc4ca38 {
|
.shopPopupBox .shopPopupContent .scrollDetailBox .orderDetail .sizeBox .sizeScrollBox .sizeList .selectSizeItem.data-v-0dc4ca38 {
|
||||||
|
display: inline-block;
|
||||||
font-size: 12px;
|
font-size: 12px;
|
||||||
font-family: PingFangSC-Regular, PingFang SC;
|
font-family: PingFangSC-Regular, PingFang SC;
|
||||||
font-weight: 400;
|
font-weight: 400;
|
||||||
@ -685,8 +700,9 @@ button.data-v-0dc4ca38:after {
|
|||||||
background: #e7f3ff;
|
background: #e7f3ff;
|
||||||
border-radius: 4px;
|
border-radius: 4px;
|
||||||
margin-left: 8px;
|
margin-left: 8px;
|
||||||
|
margin-bottom: 16rpx;
|
||||||
}
|
}
|
||||||
.shopPopupBox .shopPopupContent .orderDetail .descBox.data-v-0dc4ca38 {
|
.shopPopupBox .shopPopupContent .scrollDetailBox .orderDetail .descBox.data-v-0dc4ca38 {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 76px;
|
height: 76px;
|
||||||
background: #f2f4f5;
|
background: #f2f4f5;
|
||||||
@ -695,7 +711,7 @@ button.data-v-0dc4ca38:after {
|
|||||||
padding: 8px 12px;
|
padding: 8px 12px;
|
||||||
margin-top: 19px;
|
margin-top: 19px;
|
||||||
}
|
}
|
||||||
.shopPopupBox .shopPopupContent .orderDetail .submitBtn.data-v-0dc4ca38 {
|
.shopPopupBox .shopPopupContent .scrollDetailBox .orderDetail .submitBtn.data-v-0dc4ca38 {
|
||||||
font-size: 16px;
|
font-size: 16px;
|
||||||
font-family: PingFangSC-Medium, PingFang SC;
|
font-family: PingFangSC-Medium, PingFang SC;
|
||||||
font-weight: 500;
|
font-weight: 500;
|
||||||
|
|||||||
@ -7,6 +7,13 @@
|
|||||||
"condition": {
|
"condition": {
|
||||||
"miniprogram": {
|
"miniprogram": {
|
||||||
"list": [
|
"list": [
|
||||||
|
{
|
||||||
|
"name": "pages/shopPages/shopDetail/index",
|
||||||
|
"pathName": "pages/shopPages/shopDetail/index",
|
||||||
|
"query": "id=154761&pageType=",
|
||||||
|
"launchMode": "default",
|
||||||
|
"scene": null
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"name": "pages/shopPages/shopDetail/index",
|
"name": "pages/shopPages/shopDetail/index",
|
||||||
"pathName": "pages/shopPages/shopDetail/index",
|
"pathName": "pages/shopPages/shopDetail/index",
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user