update
This commit is contained in:
parent
4893ccc764
commit
a648ae46a1
13
.gitignore
vendored
Normal file
13
.gitignore
vendored
Normal file
@ -0,0 +1,13 @@
|
||||
.DS_Store
|
||||
node_modules/
|
||||
unpackage/
|
||||
npm-debug.log*
|
||||
yarn-debug.log*
|
||||
yarn-error.log*
|
||||
|
||||
# Editor directories and files
|
||||
.idea
|
||||
*.suo
|
||||
*.ntvs*
|
||||
*.njsproj
|
||||
*.sln
|
||||
@ -1,18 +1,27 @@
|
||||
<template>
|
||||
<view class="main" :style="{
|
||||
backgroundImage:
|
||||
pageType === 'spring'
|
||||
? `url(https://eshangtech.com/minTestImg/springPageBg.png)`
|
||||
: `url(https://eshangtech.com/minTestImg/pageBg.png)`,
|
||||
}">
|
||||
<view class="topBox" :style="{
|
||||
height: menu.bottom + 14 + 'px',
|
||||
<view
|
||||
class="main"
|
||||
:style="{
|
||||
backgroundImage:
|
||||
pageType === 'spring'
|
||||
? `url(https://eshangtech.com/minTestImg/springPageBg.png)`
|
||||
: `url(https://eshangtech.com/minTestImg/pageBg.png)`,
|
||||
}">
|
||||
<view class="topContent" :style="{ paddingTop: menu.top + 'px', height: menu.height + 'px' }">
|
||||
}"
|
||||
>
|
||||
<view
|
||||
class="topBox"
|
||||
:style="{
|
||||
height: menu.bottom + 14 + 'px',
|
||||
backgroundImage:
|
||||
pageType === 'spring'
|
||||
? `url(https://eshangtech.com/minTestImg/springPageBg.png)`
|
||||
: `url(https://eshangtech.com/minTestImg/pageBg.png)`,
|
||||
}"
|
||||
>
|
||||
<view
|
||||
class="topContent"
|
||||
:style="{ paddingTop: menu.top + 'px', height: menu.height + 'px' }"
|
||||
>
|
||||
<view class="topLeft">
|
||||
<image class="YDIcon" src="/static/images/home/yunnanLogo.svg" />
|
||||
</view>
|
||||
@ -23,15 +32,28 @@
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="content" :style="{
|
||||
paddingTop: menu.bottom + 22 + 'px',
|
||||
height: `calc(100vh - ${menu.bottom}px )`,
|
||||
}">
|
||||
<view
|
||||
class="content"
|
||||
:style="{
|
||||
paddingTop: menu.bottom + 22 + 'px',
|
||||
height: `calc(100vh - ${menu.bottom}px )`,
|
||||
}"
|
||||
>
|
||||
<!-- 轮播框 -->
|
||||
<view class="navList">
|
||||
<swiper class="swiper" circular :indicator-dots="true" :autoplay="true" indicator-color="rgba(255,255,255,0.6)"
|
||||
indicator-active-color="#ffffff">
|
||||
<swiper-item v-for="(item, index) in swiperList" :key="index" @click="handleShowPreview(item)">
|
||||
<swiper
|
||||
class="swiper"
|
||||
circular
|
||||
:indicator-dots="true"
|
||||
:autoplay="true"
|
||||
indicator-color="rgba(255,255,255,0.6)"
|
||||
indicator-active-color="#ffffff"
|
||||
>
|
||||
<swiper-item
|
||||
v-for="(item, index) in swiperList"
|
||||
:key="index"
|
||||
@click="handleShowPreview(item)"
|
||||
>
|
||||
<view class="swiper-item uni-bg-red">
|
||||
<image class="img" :src="item" />
|
||||
</view>
|
||||
@ -41,14 +63,26 @@
|
||||
|
||||
<!-- 功能列表模块 -->
|
||||
<view class="funItemList">
|
||||
<view class="funItem" v-for="(item, index) in funList.slice(0, 9)" :key="index" :style="{
|
||||
marginBottom: index < 5 ? '32rpx' : '',
|
||||
}" @click="handleFunClick(item)">
|
||||
<image class="funItemIcon" :src="pageType === 'spring' ? item.springSrc : item.src" />
|
||||
<view
|
||||
class="funItem"
|
||||
v-for="(item, index) in funList.slice(0, 9)"
|
||||
:key="index"
|
||||
:style="{
|
||||
marginBottom: index < 5 ? '32rpx' : '',
|
||||
}"
|
||||
@click="handleFunClick(item)"
|
||||
>
|
||||
<image
|
||||
class="funItemIcon"
|
||||
:src="pageType === 'spring' ? item.springSrc : item.src"
|
||||
/>
|
||||
<text class="funItemText">{{ item.label }}</text>
|
||||
</view>
|
||||
<view class="funItem" @click="handleGoAllFun">
|
||||
<image class="funItemIcon" :src="pageType === 'spring' ? allFun.springSrc : allFun.src" />
|
||||
<image
|
||||
class="funItemIcon"
|
||||
:src="pageType === 'spring' ? allFun.springSrc : allFun.src"
|
||||
/>
|
||||
<text class="funItemText">{{ allFun.label }}</text>
|
||||
</view>
|
||||
</view>
|
||||
@ -57,10 +91,18 @@
|
||||
<view class="serviceDetail" @click="handleGoDetail">
|
||||
<view class="detailTop">
|
||||
<view class="detailImg">
|
||||
<image v-if="
|
||||
serviceDetail.ImageLits && serviceDetail.ImageLits.length > 0
|
||||
" class="img" :src="serviceDetail.ImageLits[0]" />
|
||||
<image class="img" v-else src="/static/images/home/defaultIcon.png" />
|
||||
<image
|
||||
v-if="
|
||||
serviceDetail.ImageLits && serviceDetail.ImageLits.length > 0
|
||||
"
|
||||
class="img"
|
||||
:src="serviceDetail.ImageLits[0]"
|
||||
/>
|
||||
<image
|
||||
class="img"
|
||||
v-else
|
||||
src="/static/images/home/defaultIcon.png"
|
||||
/>
|
||||
</view>
|
||||
<view class="detailRight">
|
||||
<view class="detailTop">
|
||||
@ -73,66 +115,96 @@
|
||||
</view>
|
||||
|
||||
<view class="detailBottom">
|
||||
<span class="distance">{{ serviceDetail.SERVERPART_DISTANCE || "-" }}km</span>
|
||||
<span class="distance"
|
||||
>{{ serviceDetail.SERVERPART_DISTANCE || "-" }}km</span
|
||||
>
|
||||
<span class="addressText">{{
|
||||
serviceDetail.SERVERPART_ADDRESS || "-"
|
||||
}}</span>
|
||||
</view>
|
||||
</view>
|
||||
<image @click.stop="handleGoMap" class="navigation" src="/static/images/home/navigationIcon.svg" />
|
||||
<image
|
||||
@click.stop="handleGoMap"
|
||||
class="navigation"
|
||||
src="/static/images/home/navigationIcon.svg"
|
||||
/>
|
||||
</view>
|
||||
|
||||
<view class="detailBottom">
|
||||
<view class="detailBottomItem">
|
||||
<!-- serviceDetail.sumDetail.haveREFUELINGGUN -->
|
||||
|
||||
<image class="detailIcon" :src="true
|
||||
? '/static/images/home/serviceGasoline.svg'
|
||||
: '/static/images/home/noServiceGasoline.svg'
|
||||
" />
|
||||
<image
|
||||
class="detailIcon"
|
||||
:src="
|
||||
true
|
||||
? '/static/images/home/serviceGasoline.svg'
|
||||
: '/static/images/home/noServiceGasoline.svg'
|
||||
"
|
||||
/>
|
||||
<!-- /static/images/home/noServiceGasoline.svg -->
|
||||
<span class="detailText">加油站</span>
|
||||
</view>
|
||||
<view class="detailBottomItem">
|
||||
<image class="detailIcon" :src="serviceDetail.HASCHARGE
|
||||
? '/static/images/home/serviceCharge.svg'
|
||||
: '/static/images/home/noServiceCharge.svg'
|
||||
" />
|
||||
<image
|
||||
class="detailIcon"
|
||||
:src="
|
||||
serviceDetail.HASCHARGE
|
||||
? '/static/images/home/serviceCharge.svg'
|
||||
: '/static/images/home/noServiceCharge.svg'
|
||||
"
|
||||
/>
|
||||
<!-- /static/images/home/noServiceCharge.svg -->
|
||||
<span class="detailText">充电桩</span>
|
||||
</view>
|
||||
<view class="detailBottomItem">
|
||||
<!-- serviceDetail.sumDetail.havePARKING -->
|
||||
<image class="detailIcon" :src="true
|
||||
? '/static/images/home/carStop.svg'
|
||||
: '/static/images/home/noCarStop.svg'
|
||||
" />
|
||||
<image
|
||||
class="detailIcon"
|
||||
:src="
|
||||
true
|
||||
? '/static/images/home/carStop.svg'
|
||||
: '/static/images/home/noCarStop.svg'
|
||||
"
|
||||
/>
|
||||
<!-- /static/images/home/noCarStop.svg -->
|
||||
<span class="detailText">停车场</span>
|
||||
</view>
|
||||
<view class="detailBottomItem">
|
||||
<!-- serviceDetail.sumDetail.haveWC -->
|
||||
<image class="detailIcon" :src="true
|
||||
? '/static/images/home/toilet.svg'
|
||||
: '/static/images/home/noToilet.svg'
|
||||
" />
|
||||
<image
|
||||
class="detailIcon"
|
||||
:src="
|
||||
true
|
||||
? '/static/images/home/toilet.svg'
|
||||
: '/static/images/home/noToilet.svg'
|
||||
"
|
||||
/>
|
||||
<!-- src="/static/images/home/noToilet.svg" -->
|
||||
<span class="detailText">卫生间</span>
|
||||
</view>
|
||||
<view class="detailBottomItem">
|
||||
<!-- serviceDetail.HASMOTHER -->
|
||||
<image class="detailIcon" :src="true
|
||||
? ' /static/images/home/badyHome.svg'
|
||||
: '/static/images/home/noBadyHome.svg'
|
||||
" />
|
||||
<image
|
||||
class="detailIcon"
|
||||
:src="
|
||||
true
|
||||
? ' /static/images/home/badyHome.svg'
|
||||
: '/static/images/home/noBadyHome.svg'
|
||||
"
|
||||
/>
|
||||
<!-- src="/static/images/home/noBadyHome.svg" -->
|
||||
<span class="detailText">母婴室</span>
|
||||
</view>
|
||||
<view class="detailBottomItem">
|
||||
<image class="detailIcon" :src="serviceDetail.HASPILOTLOUNGE
|
||||
? '/static/images/home/serviceDriverHome.svg'
|
||||
: '/static/images/home/noServiceDriverHome.svg'
|
||||
" />
|
||||
<image
|
||||
class="detailIcon"
|
||||
:src="
|
||||
serviceDetail.HASPILOTLOUNGE
|
||||
? '/static/images/home/serviceDriverHome.svg'
|
||||
: '/static/images/home/noServiceDriverHome.svg'
|
||||
"
|
||||
/>
|
||||
<!-- src="/static/images/home/noServiceDriverHome.svg" -->
|
||||
<span class="detailText">司机之家</span>
|
||||
</view>
|
||||
@ -147,8 +219,12 @@
|
||||
<view class="rightGrid">
|
||||
<text class="other">空</text>
|
||||
<text class="have">{{ chargingObj.use || "0" }}</text>
|
||||
<text class="all" v-if="chargingObj.have > 0">/{{ chargingObj.have || "0" }}</text>
|
||||
<text class="all" v-else>/{{ serviceDetail.sumDetail.STATEGRIDCHARGE || "0" }}</text>
|
||||
<text class="all" v-if="chargingObj.have > 0"
|
||||
>/{{ chargingObj.have || "0" }}</text
|
||||
>
|
||||
<text class="all" v-else
|
||||
>/{{ serviceDetail.sumDetail.STATEGRIDCHARGE || "0" }}</text
|
||||
>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@ -157,7 +233,10 @@
|
||||
<view class="roadStatus" @click="handleGoHighWay">
|
||||
<view class="roadTop">
|
||||
<view class="roadTopLeft">
|
||||
<image class="roadIcon" src="/static/images/home/broadcastIcon.svg" />
|
||||
<image
|
||||
class="roadIcon"
|
||||
src="/static/images/home/broadcastIcon.svg"
|
||||
/>
|
||||
<text class="roadTitle">高速路况播报</text>
|
||||
</view>
|
||||
<view class="roadTopRight">
|
||||
@ -166,12 +245,19 @@
|
||||
</view>
|
||||
|
||||
<div class="messageListBox">
|
||||
<div :class="roadStatusList.length > 2
|
||||
? 'messageList scrolling'
|
||||
: 'messageList'
|
||||
">
|
||||
<div
|
||||
:class="
|
||||
roadStatusList.length > 2
|
||||
? 'messageList scrolling'
|
||||
: 'messageList'
|
||||
"
|
||||
>
|
||||
<!-- 为了实现无缝滚动,克隆一份列表 -->
|
||||
<div class="messageItem" v-for="(item, index) in roadStatusList.concat(roadStatusList)" :key="index">
|
||||
<div
|
||||
class="messageItem"
|
||||
v-for="(item, index) in roadStatusList.concat(roadStatusList)"
|
||||
:key="index"
|
||||
>
|
||||
<div class="icon"></div>
|
||||
<div class="contentMessage">
|
||||
{{ item.NOTICEINFO_TITLE || "-" }}
|
||||
@ -185,7 +271,10 @@
|
||||
<view class="shoppingMall">
|
||||
<view class="mallTop" @click="handleGoShop">
|
||||
<view class="mallTopLeft">
|
||||
<image class="mallIcon" src="/static/images/home/broadcastIcon.svg" />
|
||||
<image
|
||||
class="mallIcon"
|
||||
src="/static/images/home/broadcastIcon.svg"
|
||||
/>
|
||||
<text class="roadTitle">驿购商城</text>
|
||||
</view>
|
||||
<view class="mallTopRight">
|
||||
@ -201,11 +290,19 @@
|
||||
<text class="normal">单品</text>
|
||||
</view>
|
||||
<view class="topOther">超多优惠等你来</view>
|
||||
<image class="mallBg" src="/static/images/home/leftShopBg.png" />
|
||||
<image
|
||||
class="mallBg"
|
||||
src="/static/images/home/leftShopBg.png"
|
||||
/>
|
||||
</view>
|
||||
<view class="advertisementItemBottom">
|
||||
<image class="advertisementImg" v-for="(item, index) in specialOffersList" :key="index"
|
||||
:src="item.IMAGE_PATH" @click.stop="handleGoShopDetail(item)" />
|
||||
<image
|
||||
class="advertisementImg"
|
||||
v-for="(item, index) in specialOffersList"
|
||||
:key="index"
|
||||
:src="item.IMAGE_PATH"
|
||||
@click.stop="handleGoShopDetail(item)"
|
||||
/>
|
||||
<!-- <image class="advertisementImg" /> -->
|
||||
</view>
|
||||
</view>
|
||||
@ -216,20 +313,36 @@
|
||||
<text class="normal">商品</text>
|
||||
</view>
|
||||
<view class="topOther">超多优惠等你来</view>
|
||||
<image class="mallBg" src="/static/images/home/rightShopBg.png" />
|
||||
<image
|
||||
class="mallBg"
|
||||
src="/static/images/home/rightShopBg.png"
|
||||
/>
|
||||
</view>
|
||||
<view class="advertisementItemBottom">
|
||||
<image class="advertisementImg" v-for="(item, index) in productsList" :key="index"
|
||||
:src="item.IMAGE_PATH" @click.stop="handleGoShopDetail(item)" />
|
||||
<image
|
||||
class="advertisementImg"
|
||||
v-for="(item, index) in productsList"
|
||||
:key="index"
|
||||
:src="item.IMAGE_PATH"
|
||||
@click.stop="handleGoShopDetail(item)"
|
||||
/>
|
||||
<!-- <image class="advertisementImg" /> -->
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<view class="mallList">
|
||||
<view class="mallItem" v-for="(item, index) in shoppingMall" :key="index" @click="handleGoShopDetail(item)">
|
||||
<view
|
||||
class="mallItem"
|
||||
v-for="(item, index) in shoppingMall"
|
||||
:key="index"
|
||||
@click="handleGoShopDetail(item)"
|
||||
>
|
||||
<view class="mallTop">
|
||||
<image class="mallImg" :src="item.IMAGE_PATH ? item.IMAGE_PATH : ''" />
|
||||
<image
|
||||
class="mallImg"
|
||||
:src="item.IMAGE_PATH ? item.IMAGE_PATH : ''"
|
||||
/>
|
||||
</view>
|
||||
<view class="mallBottom">
|
||||
<text class="priceTop">
|
||||
@ -238,18 +351,22 @@
|
||||
<!-- <view class="sumText">436付款</view> -->
|
||||
</text>
|
||||
|
||||
<view class="retailPrice">¥{{ item.RETbigNumber || "" }}.{{
|
||||
item.RETsmallNumber || "00"
|
||||
}}</view>
|
||||
<view class="retailPrice"
|
||||
>¥{{ item.RETbigNumber || "" }}.{{
|
||||
item.RETsmallNumber || "00"
|
||||
}}</view
|
||||
>
|
||||
<view class="priceBox">
|
||||
<view class="leftPrice">
|
||||
<span class="unit">¥</span>
|
||||
<!-- <span class="price">{{
|
||||
item.COMMODITY_MEMBERPRICE || ""
|
||||
}}</span> -->
|
||||
<span class="price">{{ item.bigNumber || "" }}.{{
|
||||
item.smallNumber || "00"
|
||||
}}</span>
|
||||
<span class="price"
|
||||
>{{ item.bigNumber || "" }}.{{
|
||||
item.smallNumber || "00"
|
||||
}}</span
|
||||
>
|
||||
</view>
|
||||
<view class="rightPrice">
|
||||
<!-- <image
|
||||
@ -319,11 +436,11 @@ export default {
|
||||
springSrc: "/static/images/home/springFood.svg",
|
||||
},
|
||||
{
|
||||
label: "保险",
|
||||
value: 8,
|
||||
label: "租车",
|
||||
value: 7,
|
||||
index: 7,
|
||||
src: "/static/images/home/insuranceIcon.svg",
|
||||
springSrc: "/static/images/home/springInsurance.svg",
|
||||
src: "/static/images/home/carRental.svg",
|
||||
springSrc: "/static/images/home/springCarRental.svg",
|
||||
},
|
||||
{
|
||||
label: "司机之家",
|
||||
@ -340,11 +457,11 @@ export default {
|
||||
springSrc: "/static/images/home/springSuggestion.svg",
|
||||
},
|
||||
{
|
||||
label: "租车",
|
||||
value: 7,
|
||||
label: "保险",
|
||||
value: 8,
|
||||
index: 10,
|
||||
src: "/static/images/home/carRental.svg",
|
||||
springSrc: "/static/images/home/springCarRental.svg",
|
||||
src: "/static/images/home/insuranceIcon.svg",
|
||||
springSrc: "/static/images/home/springInsurance.svg",
|
||||
},
|
||||
{
|
||||
label: "金融",
|
||||
@ -622,8 +739,19 @@ export default {
|
||||
});
|
||||
} else if (obj.value === 7) {
|
||||
// 租车
|
||||
uni.navigateTo({
|
||||
url: `/pages/noDataPage/index`,
|
||||
// uni.navigateTo({
|
||||
// url: `/pages/noDataPage/index`,
|
||||
// });
|
||||
uni.navigateToMiniProgram({
|
||||
appId: "wxe4bc565cbbf5e289",
|
||||
path: `pages/isd/indexNew/index?landingto=home&apptype=ISD_C_WX&st=ser&fromurl=common&channelid=242572`,
|
||||
// extraData: {
|
||||
// landingto: "home",
|
||||
// apptype: "ISD_C_WX",
|
||||
// st: "ser",
|
||||
// fromurl: "common",
|
||||
// channelid: 242572,
|
||||
// },
|
||||
});
|
||||
} else if (obj.value === 8) {
|
||||
// 保险
|
||||
|
||||
@ -320,6 +320,13 @@ export default {
|
||||
},
|
||||
postRate() {
|
||||
let _this = this;
|
||||
|
||||
if (_this.saveMsg.commentContent.length <= 2) {
|
||||
uni.showToast({
|
||||
title: "评价的文字不小于3个字",
|
||||
icon: "none",
|
||||
});
|
||||
}
|
||||
if (_this.saveMsg.commentContent.length > 2 && _this.noPost) {
|
||||
_this.noPost = false;
|
||||
_this.postIt();
|
||||
|
||||
@ -136,8 +136,22 @@ export default {
|
||||
showCancel: true, // 显示取消按钮
|
||||
};
|
||||
},
|
||||
|
||||
computed: {
|
||||
...mapGetters({
|
||||
canIuse: "canIuse",
|
||||
user: "user",
|
||||
InviteCode: "InviteCode",
|
||||
}),
|
||||
},
|
||||
onLoad() {
|
||||
if (
|
||||
!this.user.MEMBERSHIP_ID ||
|
||||
(this.user.MEMBERSHIP_ID && !this.user.MEMBERSHIP_MOBILEPHONE)
|
||||
) {
|
||||
} else {
|
||||
this.showCancel = false;
|
||||
}
|
||||
|
||||
let systemInfo = uni.getStorageSync("systemInfo");
|
||||
this.height =
|
||||
systemInfo.windowHeight + (94 / 750) * systemInfo.windowWidth + "px";
|
||||
@ -153,13 +167,6 @@ export default {
|
||||
},
|
||||
});
|
||||
},
|
||||
computed: {
|
||||
...mapGetters({
|
||||
canIuse: "canIuse",
|
||||
user: "user",
|
||||
InviteCode: "InviteCode",
|
||||
}),
|
||||
},
|
||||
methods: {
|
||||
...mapMutations({
|
||||
setUser: "setUser",
|
||||
@ -283,7 +290,7 @@ export default {
|
||||
.main {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: #f7f8f8;
|
||||
background-color: #f0f0f0;
|
||||
box-sizing: border-box;
|
||||
padding: 24rpx 32rpx;
|
||||
.content {
|
||||
@ -293,6 +300,8 @@ export default {
|
||||
border-radius: 16rpx;
|
||||
box-sizing: border-box;
|
||||
padding: 56rpx 64rpx;
|
||||
background: url("https://eshangtech.com/minTestImg/caiyunyiRegister.svg")
|
||||
no-repeat;
|
||||
.contentTitle {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 600;
|
||||
|
||||
@ -600,7 +600,6 @@ export default {
|
||||
"COMMODITYTYPE_CODE",
|
||||
"COMMODITY_BARCODE",
|
||||
"COMMODITY_ID",
|
||||
"COMMODITY_STOCK",
|
||||
"COMMODITY_EN",
|
||||
],
|
||||
};
|
||||
@ -689,7 +688,12 @@ export default {
|
||||
},
|
||||
onShow() {
|
||||
// 判断当前的购物车里面是否有东西
|
||||
let shopCarList = this.$store.state.myShopCar;
|
||||
let shopCarList = [];
|
||||
if (this.pageType === "UnionMall") {
|
||||
shopCarList = this.$store.state.unionMyShopCar;
|
||||
} else {
|
||||
shopCarList = this.$store.state.myShopCar;
|
||||
}
|
||||
console.log("shopCarList", shopCarList);
|
||||
let count = 0;
|
||||
if (shopCarList && shopCarList.length > 0) {
|
||||
@ -827,7 +831,7 @@ export default {
|
||||
}`,
|
||||
});
|
||||
console.log("handleGetSpecialOffers", data);
|
||||
let list = data.Data.List;
|
||||
let list = data.Data && data.Data.List ? data.Data.List : [];
|
||||
let shopList = [];
|
||||
if (this.shopMsg.pageIndex > 1) {
|
||||
shopList = this.showShopList;
|
||||
@ -967,7 +971,7 @@ export default {
|
||||
justCommodity: 1,
|
||||
});
|
||||
console.log("handleGetSpecialOffers", data);
|
||||
let list = data.Data.List;
|
||||
let list = data.Data && data.Data.List ? data.Data.List : [];
|
||||
let shopList = [];
|
||||
if (list && list.length > 0) {
|
||||
list.forEach((item) => {
|
||||
@ -1171,14 +1175,14 @@ export default {
|
||||
// 跳转商品列表接口
|
||||
handleGoShopList(type) {
|
||||
uni.navigateTo({
|
||||
url: `/pages/shopPages/shopList/index?type=${type}`,
|
||||
url: `/pages/shopPages/shopList/index?type=${type}&pageType=${this.pageType}`,
|
||||
});
|
||||
},
|
||||
// 跳转商品详情
|
||||
handleGoShopDetail(obj) {
|
||||
console.log("obj", obj);
|
||||
uni.navigateTo({
|
||||
url: `/pages/shopPages/shopDetail/index?id=${obj.COMMODITY_ID}`,
|
||||
url: `/pages/shopPages/shopDetail/index?id=${obj.COMMODITY_ID}&pageType=${this.pageType}`,
|
||||
});
|
||||
},
|
||||
// 跳转到商品分类页面
|
||||
|
||||
@ -7,7 +7,9 @@
|
||||
src="/static/images/home/backArrowblack.svg"
|
||||
@click="handleBackHome"
|
||||
/>
|
||||
<view class="pageName">购物车</view>
|
||||
<view class="pageName">{{
|
||||
bigPageType === "UnionMall" ? "工会商城购物车" : "购物车"
|
||||
}}</view>
|
||||
<view class="backArrow"></view>
|
||||
</view>
|
||||
|
||||
@ -198,6 +200,7 @@
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import { mapGetters } from "vuex";
|
||||
import shopTabbar from "../../../components/shopTabbar.vue";
|
||||
export default {
|
||||
components: { shopTabbar },
|
||||
@ -239,7 +242,14 @@ export default {
|
||||
deep: true,
|
||||
},
|
||||
},
|
||||
computed: {
|
||||
...mapGetters({
|
||||
user: "user",
|
||||
}),
|
||||
},
|
||||
onLoad(query) {
|
||||
console.log("query", query);
|
||||
|
||||
let systemInfo = uni.getSystemInfoSync();
|
||||
this.menu = uni.getMenuButtonBoundingClientRect();
|
||||
this.systemInfo = systemInfo;
|
||||
@ -254,7 +264,12 @@ export default {
|
||||
},
|
||||
onShow() {
|
||||
// 判断当前的购物车里面是否有东西
|
||||
let shopCarList = this.$store.state.myShopCar;
|
||||
let shopCarList = [];
|
||||
if (this.bigPageType === "UnionMall") {
|
||||
shopCarList = this.$store.state.unionMyShopCar;
|
||||
} else {
|
||||
shopCarList = this.$store.state.myShopCar;
|
||||
}
|
||||
console.log("shopCarList", shopCarList);
|
||||
let count = 0;
|
||||
if (shopCarList && shopCarList.length > 0) {
|
||||
@ -267,7 +282,12 @@ export default {
|
||||
methods: {
|
||||
// 判断当前购物车是否有内容 有内容的话 处理
|
||||
handleGetNowShopCarList() {
|
||||
let shopCarList = this.$store.state.myShopCar;
|
||||
let shopCarList = [];
|
||||
if (this.bigPageType === "UnionMall") {
|
||||
shopCarList = this.$store.state.unionMyShopCar;
|
||||
} else {
|
||||
shopCarList = this.$store.state.myShopCar;
|
||||
}
|
||||
console.log("shopCarList", shopCarList);
|
||||
if (shopCarList && shopCarList.length > 0) {
|
||||
shopCarList.forEach((item) => {
|
||||
@ -387,7 +407,11 @@ export default {
|
||||
this.shopList = list;
|
||||
}
|
||||
this.handleSum();
|
||||
this.$store.commit("myShopCar", this.shopList);
|
||||
if (this.bigPageType === "UnionMall") {
|
||||
this.$store.commit("unionMyShopCar", this.shopList);
|
||||
} else {
|
||||
this.$store.commit("myShopCar", this.shopList);
|
||||
}
|
||||
this.$forceUpdate();
|
||||
},
|
||||
// 输入框里面的数量
|
||||
@ -403,7 +427,11 @@ export default {
|
||||
this.shopList = list;
|
||||
}
|
||||
console.log("this.dataList1111", this.shopList);
|
||||
this.$store.commit("myShopCar", this.shopList);
|
||||
if (this.bigPageType === "UnionMall") {
|
||||
this.$store.commit("unionMyShopCar", this.shopList);
|
||||
} else {
|
||||
this.$store.commit("myShopCar", this.shopList);
|
||||
}
|
||||
this.handleSum();
|
||||
this.$forceUpdate();
|
||||
},
|
||||
@ -430,7 +458,11 @@ export default {
|
||||
touchOnGoods(e, item) {
|
||||
item.count += 1;
|
||||
this.handleSum();
|
||||
this.$store.commit("myShopCar", this.dataList);
|
||||
if (this.bigPageType === "UnionMall") {
|
||||
this.$store.commit("unionMyShopCar", this.dataList);
|
||||
} else {
|
||||
this.$store.commit("myShopCar", this.dataList);
|
||||
}
|
||||
},
|
||||
// 左滑出现的删除
|
||||
handleDeleteItem(obj) {
|
||||
@ -441,7 +473,11 @@ export default {
|
||||
}
|
||||
});
|
||||
this.shopList = list;
|
||||
this.$store.commit("myShopCar", this.shopList);
|
||||
if (this.bigPageType === "UnionMall") {
|
||||
this.$store.commit("unionMyShopCar", this.shopList);
|
||||
} else {
|
||||
this.$store.commit("myShopCar", this.shopList);
|
||||
}
|
||||
this.selectStyle = "";
|
||||
this.handleSum();
|
||||
},
|
||||
@ -483,12 +519,26 @@ export default {
|
||||
});
|
||||
this.shopList = list;
|
||||
this.handleSum();
|
||||
this.$store.commit("myShopCar", this.shopList);
|
||||
if (this.bigPageType === "UnionMall") {
|
||||
this.$store.commit("unionMyShopCar", this.shopList);
|
||||
} else {
|
||||
this.$store.commit("myShopCar", this.shopList);
|
||||
}
|
||||
this.pageType = "normal";
|
||||
this.$forceUpdate();
|
||||
},
|
||||
// 立即下单
|
||||
goPayFn() {
|
||||
// 判断是不是在工会商城下单 下单的话 就要查询用户余额 余额有的 才能下单
|
||||
if (this.bigPageType === "UnionMall") {
|
||||
if (!(this.user.ACCOUNT_BALANCE > 0)) {
|
||||
uni.showToast({
|
||||
title: "工会商城余额不足,无法下单!",
|
||||
icon: "none",
|
||||
});
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (this.shopList.length > 0) {
|
||||
this.pageOut = true;
|
||||
let orderList = [];
|
||||
|
||||
@ -415,8 +415,15 @@ export default {
|
||||
},
|
||||
onShow() {
|
||||
// 判断当前的购物车里面是否有东西
|
||||
let shopCarList = this.$store.state.myShopCar;
|
||||
let shopCarList = [];
|
||||
if (this.pageType === "UnionMall") {
|
||||
shopCarList = this.$store.state.unionMyShopCar;
|
||||
} else {
|
||||
shopCarList = this.$store.state.myShopCar;
|
||||
}
|
||||
|
||||
console.log("shopCarList", shopCarList);
|
||||
|
||||
if (shopCarList && shopCarList.length > 0) {
|
||||
this.shopCarList = shopCarList;
|
||||
}
|
||||
@ -441,9 +448,17 @@ export default {
|
||||
});
|
||||
console.log("list", list);
|
||||
// list
|
||||
this.$store.commit("myShopCar", list);
|
||||
if (this.pageType === "UnionMall") {
|
||||
this.$store.commit("unionMyShopCar", list);
|
||||
} else {
|
||||
this.$store.commit("myShopCar", list);
|
||||
}
|
||||
} else {
|
||||
this.$store.commit("myShopCar", []);
|
||||
if (this.pageType === "UnionMall") {
|
||||
this.$store.commit("unionMyShopCar", []);
|
||||
} else {
|
||||
this.$store.commit("myShopCar", []);
|
||||
}
|
||||
}
|
||||
// this.searchText = "";
|
||||
},
|
||||
@ -456,9 +471,17 @@ export default {
|
||||
});
|
||||
console.log("list", list);
|
||||
// list
|
||||
this.$store.commit("myShopCar", list);
|
||||
if (this.pageType === "UnionMall") {
|
||||
this.$store.commit("unionMyShopCar", list);
|
||||
} else {
|
||||
this.$store.commit("myShopCar", list);
|
||||
}
|
||||
} else {
|
||||
this.$store.commit("myShopCar", []);
|
||||
if (this.pageType === "UnionMall") {
|
||||
this.$store.commit("unionMyShopCar", []);
|
||||
} else {
|
||||
this.$store.commit("myShopCar", []);
|
||||
}
|
||||
}
|
||||
this.searchText = "";
|
||||
},
|
||||
@ -753,6 +776,8 @@ export default {
|
||||
leftIndex = this.leftSelectIndex;
|
||||
}
|
||||
|
||||
console.log("this.leftSelectIndex", this.leftSelectIndex);
|
||||
|
||||
let shopList = [];
|
||||
if (list && list.length > 0) {
|
||||
shopList = list[leftIndex].COMMODITYLIST;
|
||||
@ -941,6 +966,7 @@ export default {
|
||||
// 改变商品大类
|
||||
handleToggleTab(index) {
|
||||
this.activeTabs = index;
|
||||
this.leftSelectIndex = 0;
|
||||
this.handleGetAllShopItem(this.shopTypeList[index].UserdefinedType_Id);
|
||||
},
|
||||
// 改变商品小类
|
||||
|
||||
@ -159,7 +159,14 @@ export default {
|
||||
// 请求用户的信息和订单信息
|
||||
this.getMember();
|
||||
// 判断当前的购物车里面是否有东西
|
||||
let shopCarList = this.$store.state.myShopCar;
|
||||
let shopCarList = [];
|
||||
|
||||
if (this.pageType === "UnionMall") {
|
||||
shopCarList = this.$store.state.unionMyShopCar;
|
||||
} else {
|
||||
shopCarList = this.$store.state.myShopCar;
|
||||
}
|
||||
|
||||
console.log("shopCarList", shopCarList);
|
||||
let count = 0;
|
||||
if (shopCarList && shopCarList.length > 0) {
|
||||
|
||||
@ -1,5 +1,5 @@
|
||||
<template>
|
||||
<div>
|
||||
<div class="evaluationPage">
|
||||
<div class="topEvaluation">
|
||||
<div class="evaluationMark">
|
||||
{{ storeMsg.MERCHANTS_SCORE || "" }}
|
||||
@ -45,11 +45,11 @@
|
||||
<div class="userDetailBox">
|
||||
<div class="userTitle">
|
||||
{{ item.ISANONYMOUS == 0 ? item.MEMBERSHIP_NAME : "匿名用户" }}
|
||||
<span
|
||||
<!-- <span
|
||||
v-if="item.ISANONYMOUS == 0 && item.MEMBERSHIP_LEVEL > 100"
|
||||
class="vip-level"
|
||||
>{{ item.MEMBERSHIP_LEVEL_TEXT }}</span
|
||||
>
|
||||
> -->
|
||||
</div>
|
||||
<div class="timeText">{{ item.CREATE_DATE || "" }}</div>
|
||||
</div>
|
||||
@ -76,7 +76,7 @@
|
||||
v-if="item.IMAGELIST && item.IMAGELIST.length > 0"
|
||||
>
|
||||
<div
|
||||
class="evaluationItem"
|
||||
class="evaluationItemImg"
|
||||
v-for="(subItem, subIndex) in item.IMAGELIST"
|
||||
:key="subIndex"
|
||||
>
|
||||
@ -376,195 +376,339 @@ export default {
|
||||
},
|
||||
};
|
||||
</script>
|
||||
<style lang="stylus" scoped>
|
||||
.topEvaluation {
|
||||
<style lang="less" scoped>
|
||||
.evaluationPage {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 16rpx 32rpx;
|
||||
|
||||
.evaluationMark {
|
||||
font-family: DINAlternate, DINAlternate;
|
||||
font-weight: bold;
|
||||
font-size: 72rpx;
|
||||
color: #BA922F;
|
||||
line-height: 84rpx;
|
||||
text-align: justify;
|
||||
font-style: normal;
|
||||
margin-right: 8rpx;
|
||||
}
|
||||
|
||||
.evaluationRight {
|
||||
.markTitle {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #716F69;
|
||||
line-height: 36rpx;
|
||||
.topEvaluation {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.evaluationMark {
|
||||
font-family: DINAlternate, DINAlternate;
|
||||
font-weight: bold;
|
||||
font-size: 72rpx;
|
||||
color: #ba922f;
|
||||
line-height: 84rpx;
|
||||
text-align: justify;
|
||||
font-style: normal;
|
||||
margin-right: 8rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.evaluationList {
|
||||
margin-top: 8rpx;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 0 32rpx 120rpx;
|
||||
|
||||
.evaluationTitle {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: #130F05;
|
||||
line-height: 40rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
margin-bottom: 24rpx;
|
||||
|
||||
.sumText {
|
||||
margin-left: 8rpx;
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: #716F69;
|
||||
line-height: 40rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
|
||||
.evaluationItem {
|
||||
width: 100%;
|
||||
margin-bottom: 48rpx;
|
||||
|
||||
.itemTop {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
margin-bottom: 16rpx;
|
||||
|
||||
.headImgBox {
|
||||
width: 72rpx;
|
||||
height: 72rpx;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
|
||||
.headImg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
.userDetailBox {
|
||||
margin-left: 16rpx;
|
||||
|
||||
.userTitle {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: #130F05;
|
||||
line-height: 40rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.vip-level {
|
||||
font-size: 20rpx;
|
||||
background: #333;
|
||||
color: #EEDCB6;
|
||||
padding: 4rpx 6rpx;
|
||||
margin-left: 16rpx;
|
||||
border-radius: 4rpx;
|
||||
display: flex;
|
||||
align-items: ceneter;
|
||||
position: relative;
|
||||
|
||||
// padding-left 24rpx
|
||||
.vip-level:before {
|
||||
content: '';
|
||||
width: 20rpx;
|
||||
height: 20rpx;
|
||||
background: url('https://eshangtech.com/ShopICO/vip-ico.png') no-repeat center; // eshangtech.com/ShopICO/vip-ico.png) no-repeat center
|
||||
background-size: contain;
|
||||
position: absolute;
|
||||
left: 4rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.timeText {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #716F69;
|
||||
line-height: 36rpx;
|
||||
text-align: justify;
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.itemRate {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
.rateText {
|
||||
.evaluationRight {
|
||||
.markTitle {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #716F69;
|
||||
color: #716f69;
|
||||
line-height: 36rpx;
|
||||
text-align: justify;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
margin-left: 4rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.evaluationContent {
|
||||
.evaluationList {
|
||||
width: 100%;
|
||||
margin-top: 24rpx;
|
||||
.evaluationTitle {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: #130F05;
|
||||
color: #130f05;
|
||||
line-height: 40rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
width: 100%;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 5; /* 限制在5行内 */
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
margin-right: 8rpx;
|
||||
margin-bottom: 26rpx;
|
||||
.sumText {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: #716f69;
|
||||
line-height: 40rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
|
||||
.evaluationList {
|
||||
margin-top: 24rpx;
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
.evaluationItem {
|
||||
width: 100%;
|
||||
margin-top: 48rpx;
|
||||
.itemTop {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
.headImgBox {
|
||||
width: 72rpx;
|
||||
height: 72rpx;
|
||||
margin-right: 16rpx;
|
||||
.headImg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 50%;
|
||||
}
|
||||
}
|
||||
|
||||
.evaluationItem {
|
||||
width: 160rpx;
|
||||
height: 160rpx;
|
||||
border-radius: 12rpx;
|
||||
.userDetailBox {
|
||||
.userTitle {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: #130f05;
|
||||
line-height: 40rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
}
|
||||
.timeText {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #716f69;
|
||||
line-height: 36rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.itemRate {
|
||||
margin-top: 8rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 6rpx;
|
||||
.rateText {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #716f69;
|
||||
line-height: 36rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
margin-left: 8rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.evaluationContent {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
color: #130f05;
|
||||
line-height: 40rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.evaluationList {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
margin-top: 16rpx;
|
||||
margin-right: 16rpx;
|
||||
overflow: hidden;
|
||||
|
||||
.evaluationImg {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
.evaluationItemImg {
|
||||
width: 160rpx;
|
||||
height: 160rpx;
|
||||
.evaluationImg {
|
||||
width: 160rpx;
|
||||
height: 160rpx;
|
||||
border-radius: 8rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// .topEvaluation {
|
||||
// width: 100%;
|
||||
// box-sizing: border-box;
|
||||
// display: flex;
|
||||
// align-items: center;
|
||||
// padding: 16rpx 32rpx;
|
||||
|
||||
// .evaluationMark {
|
||||
// font-family: DINAlternate, DINAlternate;
|
||||
// font-weight: bold;
|
||||
// font-size: 72rpx;
|
||||
// color: #ba922f;
|
||||
// line-height: 84rpx;
|
||||
// text-align: justify;
|
||||
// font-style: normal;
|
||||
// margin-right: 8rpx;
|
||||
// }
|
||||
|
||||
// .evaluationRight {
|
||||
// .markTitle {
|
||||
// font-family: PingFangSC, PingFang SC;
|
||||
// font-weight: 400;
|
||||
// font-size: 24rpx;
|
||||
// color: #716f69;
|
||||
// line-height: 36rpx;
|
||||
// text-align: justify;
|
||||
// font-style: normal;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
// .evaluationList {
|
||||
// margin-top: 8rpx;
|
||||
// width: 100%;
|
||||
// box-sizing: border-box;
|
||||
// padding: 0 32rpx 120rpx;
|
||||
|
||||
// .evaluationTitle {
|
||||
// font-family: PingFangSC, PingFang SC;
|
||||
// font-weight: 400;
|
||||
// font-size: 28rpx;
|
||||
// color: #130f05;
|
||||
// line-height: 40rpx;
|
||||
// text-align: left;
|
||||
// font-style: normal;
|
||||
// margin-bottom: 24rpx;
|
||||
|
||||
// .sumText {
|
||||
// margin-left: 8rpx;
|
||||
// font-family: PingFangSC, PingFang SC;
|
||||
// font-weight: 400;
|
||||
// font-size: 28rpx;
|
||||
// color: #716f69;
|
||||
// line-height: 40rpx;
|
||||
// text-align: left;
|
||||
// font-style: normal;
|
||||
// }
|
||||
// }
|
||||
|
||||
// .evaluationItem {
|
||||
// width: 100%;
|
||||
// margin-bottom: 48rpx;
|
||||
|
||||
// .itemTop {
|
||||
// width: 100%;
|
||||
// display: flex;
|
||||
// margin-bottom: 16rpx;
|
||||
|
||||
// .headImgBox {
|
||||
// width: 72rpx;
|
||||
// height: 72rpx;
|
||||
// border-radius: 50%;
|
||||
// overflow: hidden;
|
||||
|
||||
// .headImg {
|
||||
// width: 100%;
|
||||
// height: 100%;
|
||||
// }
|
||||
// }
|
||||
|
||||
// .userDetailBox {
|
||||
// margin-left: 16rpx;
|
||||
|
||||
// .userTitle {
|
||||
// font-family: PingFangSC, PingFang SC;
|
||||
// font-weight: 400;
|
||||
// font-size: 28rpx;
|
||||
// color: #130f05;
|
||||
// line-height: 40rpx;
|
||||
// text-align: left;
|
||||
// font-style: normal;
|
||||
// display: flex;
|
||||
// align-items: center;
|
||||
|
||||
// .vip-level {
|
||||
// font-size: 20rpx;
|
||||
// background: #333;
|
||||
// color: #eedcb6;
|
||||
// padding: 4rpx 6rpx;
|
||||
// margin-left: 16rpx;
|
||||
// border-radius: 4rpx;
|
||||
// display: flex;
|
||||
// align-items: ceneter;
|
||||
// position: relative;
|
||||
|
||||
// // padding-left 24rpx
|
||||
// .vip-level:before {
|
||||
// content: "";
|
||||
// width: 20rpx;
|
||||
// height: 20rpx;
|
||||
// background: url("https://eshangtech.com/ShopICO/vip-ico.png")
|
||||
// no-repeat center; // eshangtech.com/ShopICO/vip-ico.png) no-repeat center
|
||||
// background-size: contain;
|
||||
// position: absolute;
|
||||
// left: 4rpx;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
// .timeText {
|
||||
// font-family: PingFangSC, PingFang SC;
|
||||
// font-weight: 400;
|
||||
// font-size: 24rpx;
|
||||
// color: #716f69;
|
||||
// line-height: 36rpx;
|
||||
// text-align: justify;
|
||||
// font-style: normal;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
// .itemRate {
|
||||
// display: flex;
|
||||
// align-items: center;
|
||||
|
||||
// .rateText {
|
||||
// font-family: PingFangSC, PingFang SC;
|
||||
// font-weight: 400;
|
||||
// font-size: 24rpx;
|
||||
// color: #716f69;
|
||||
// line-height: 36rpx;
|
||||
// text-align: justify;
|
||||
// font-style: normal;
|
||||
// margin-left: 4rpx;
|
||||
// }
|
||||
// }
|
||||
|
||||
// .evaluationContent {
|
||||
// font-family: PingFangSC, PingFang SC;
|
||||
// font-weight: 400;
|
||||
// font-size: 28rpx;
|
||||
// color: #130f05;
|
||||
// line-height: 40rpx;
|
||||
// text-align: left;
|
||||
// font-style: normal;
|
||||
// width: 100%;
|
||||
// display: -webkit-box;
|
||||
// -webkit-line-clamp: 5; /* 限制在5行内 */
|
||||
// -webkit-box-orient: vertical;
|
||||
// overflow: hidden;
|
||||
// }
|
||||
|
||||
// .evaluationList {
|
||||
// margin-top: 24rpx;
|
||||
// display: flex;
|
||||
// flex-wrap: wrap;
|
||||
|
||||
// .evaluationItem {
|
||||
// width: 160rpx;
|
||||
// height: 160rpx;
|
||||
// border-radius: 12rpx;
|
||||
// margin-right: 16rpx;
|
||||
// overflow: hidden;
|
||||
|
||||
// .evaluationImg {
|
||||
// width: 100%;
|
||||
// height: 100%;
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
// }
|
||||
|
||||
.rate-top {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 24rpx 36rpx;
|
||||
|
||||
.rate-top-left, .rate-top-right {
|
||||
.rate-top-left,
|
||||
.rate-top-right {
|
||||
flex: 1;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@ -573,7 +717,7 @@ export default {
|
||||
}
|
||||
|
||||
.rate-top-right:before {
|
||||
content: ' ';
|
||||
content: " ";
|
||||
height: 60rpx;
|
||||
width: 1rpx;
|
||||
background: #eeeeee;
|
||||
@ -583,7 +727,7 @@ export default {
|
||||
}
|
||||
|
||||
.rate-code {
|
||||
color: #ED6143;
|
||||
color: #ed6143;
|
||||
font-size: 60rpx;
|
||||
margin-right: 16rpx;
|
||||
}
|
||||
@ -629,16 +773,16 @@ export default {
|
||||
border-radius: 6rpx;
|
||||
margin: 12rpx 9rpx;
|
||||
font-size: 24rpx;
|
||||
color: #BA9B6F;
|
||||
background: #F8E8D8;
|
||||
color: #ba9b6f;
|
||||
background: #f8e8d8;
|
||||
|
||||
&.gray {
|
||||
background-color: #F5F5F5;
|
||||
color: #A5A5A5;
|
||||
background-color: #f5f5f5;
|
||||
color: #a5a5a5;
|
||||
}
|
||||
|
||||
&.active {
|
||||
background-color: #BA9B6F;
|
||||
background-color: #ba9b6f;
|
||||
color: #fff;
|
||||
}
|
||||
}
|
||||
@ -680,7 +824,7 @@ export default {
|
||||
.vip-level {
|
||||
font-size: 20rpx;
|
||||
background: #333;
|
||||
color: #EEDCB6;
|
||||
color: #eedcb6;
|
||||
padding: 4rpx 6rpx;
|
||||
margin-left: 16rpx;
|
||||
border-radius: 4rpx;
|
||||
@ -690,10 +834,11 @@ export default {
|
||||
|
||||
// padding-left 24rpx
|
||||
.vip-level:before {
|
||||
content: '';
|
||||
content: "";
|
||||
width: 20rpx;
|
||||
height: 20rpx;
|
||||
background: url('https://eshangtech.com/ShopICO/vip-ico.png') no-repeat center; // eshangtech.com/ShopICO/vip-ico.png) no-repeat center
|
||||
background: url("https://eshangtech.com/ShopICO/vip-ico.png") no-repeat
|
||||
center; // eshangtech.com/ShopICO/vip-ico.png) no-repeat center
|
||||
background-size: contain;
|
||||
position: absolute;
|
||||
left: 4rpx;
|
||||
@ -715,8 +860,8 @@ export default {
|
||||
|
||||
.rate-tag {
|
||||
border-radius: 4rpx;
|
||||
border: 1rpx solid #CF855E;
|
||||
color: #CF855E;
|
||||
border: 1rpx solid #cf855e;
|
||||
color: #cf855e;
|
||||
padding: 4rpx 6rpx;
|
||||
display: inline-block;
|
||||
font-size: 20rpx;
|
||||
|
||||
@ -355,7 +355,7 @@
|
||||
</div>
|
||||
<div class="priceBox">
|
||||
<text class="priceIcon">¥</text>
|
||||
<text class="price">{{ good.COMMODITY_RETAILPRICE }}</text>
|
||||
<text class="price">{{ good.COMMODITY_MEMBERPRICE }}</text>
|
||||
<text class="unit">/{{ good.COMMODITY_UNIT }}</text>
|
||||
</div>
|
||||
</div>
|
||||
@ -494,6 +494,7 @@ export default {
|
||||
showTopFixed: false, // 顶部显示的锚点tab
|
||||
pageTab: 1, // 锚点tab的选中
|
||||
scrollView: "", // 滚动的锚点
|
||||
pageType: "", // 页面类型 UnionMall 为工会商城
|
||||
};
|
||||
},
|
||||
components: {
|
||||
@ -633,11 +634,19 @@ export default {
|
||||
this.shopCarList.push(this.good);
|
||||
nowShopList = this.shopCarList;
|
||||
}
|
||||
this.$store.commit("myShopCar", nowShopList);
|
||||
if (this.pageType === "UnionMall") {
|
||||
this.$store.commit("unionMyShopCar", nowShopList);
|
||||
} else {
|
||||
this.$store.commit("myShopCar", nowShopList);
|
||||
}
|
||||
} else {
|
||||
let nowShopList = [];
|
||||
nowShopList.push(this.good);
|
||||
this.$store.commit("myShopCar", nowShopList);
|
||||
if (this.pageType === "UnionMall") {
|
||||
this.$store.commit("unionMyShopCar", nowShopList);
|
||||
} else {
|
||||
this.$store.commit("myShopCar", nowShopList);
|
||||
}
|
||||
}
|
||||
uni.showToast({
|
||||
title: "加入成功!",
|
||||
@ -666,7 +675,7 @@ export default {
|
||||
item.ORDER_AMOUNT = Number(
|
||||
(item.AVERAGE_PRICE * item.ORDER_COUNT).toFixed(2)
|
||||
);
|
||||
item.COMMODITY_INTRO = ''
|
||||
item.COMMODITY_INTRO = "";
|
||||
orderList.push(item);
|
||||
});
|
||||
// this.$store.commit('shopcartOrder', orderList)
|
||||
@ -1210,13 +1219,23 @@ export default {
|
||||
},
|
||||
onLoad(option) {
|
||||
this.menu = uni.getMenuButtonBoundingClientRect();
|
||||
console.log("option", option);
|
||||
if (option.pageType) {
|
||||
this.pageType = option.pageType;
|
||||
}
|
||||
|
||||
// 判断当前的购物车里面是否有东西
|
||||
let shopCarList = this.$store.state.myShopCar;
|
||||
let shopCarList = [];
|
||||
if (this.pageType === "UnionMall") {
|
||||
shopCarList = this.$store.state.unionMyShopCar;
|
||||
} else {
|
||||
shopCarList = this.$store.state.myShopCar;
|
||||
}
|
||||
console.log("shopCarList", shopCarList);
|
||||
if (shopCarList && shopCarList.length > 0) {
|
||||
this.shopCarList = shopCarList;
|
||||
}
|
||||
console.log("option", option);
|
||||
|
||||
this.getDetail(option.id);
|
||||
// if (option.scene) {
|
||||
// // 是否是商品分享码扫入的 带有他人的邀请码
|
||||
|
||||
@ -13,8 +13,10 @@
|
||||
<view class="backArrow"></view>
|
||||
</view>
|
||||
|
||||
<view
|
||||
<scroll-view
|
||||
scroll-y
|
||||
class="content"
|
||||
@scrolltolower="handleScrollBottom"
|
||||
:style="{ height: `calc(100vh - ${menu.bottom + 4}px)` }"
|
||||
>
|
||||
<view class="shopList" v-if="shopList && shopList.length > 0">
|
||||
@ -44,12 +46,17 @@
|
||||
</view>
|
||||
</div>
|
||||
</div>
|
||||
<view class="load-more" v-if="shopList.length > 0">
|
||||
<text>{{
|
||||
!shopMsg.isOver ? "正在加载,请稍后..." : "——— 我是有底线的 ———"
|
||||
}}</text>
|
||||
</view>
|
||||
</view>
|
||||
|
||||
<view class="noDataBox" v-else>
|
||||
<no-data text="暂无商品数据" />
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
</view>
|
||||
</template>
|
||||
<script>
|
||||
@ -63,6 +70,12 @@ export default {
|
||||
pageType: "",
|
||||
selectType: "",
|
||||
brandName: "", // 查询的品牌商品
|
||||
shopMsg: {
|
||||
pageSize: 10,
|
||||
pageIndex: 1,
|
||||
isOver: false,
|
||||
},
|
||||
queryType: "",
|
||||
};
|
||||
},
|
||||
components: {
|
||||
@ -70,7 +83,6 @@ export default {
|
||||
},
|
||||
onLoad(query) {
|
||||
console.log("query", query);
|
||||
this.pageType = query.pageType;
|
||||
if (query.pageType === "UnionMall") {
|
||||
this.selectType = query.type;
|
||||
if (query.type === "1") {
|
||||
@ -96,6 +108,8 @@ export default {
|
||||
this.pageTitle = "今日推荐";
|
||||
}
|
||||
}
|
||||
this.queryType = query.pageType;
|
||||
this.pageType = query.pageType === "brand" ? "UnionMall" : query.pageType;
|
||||
this.menu = uni.getMenuButtonBoundingClientRect();
|
||||
this.handleGetShopList(query.type);
|
||||
},
|
||||
@ -105,7 +119,6 @@ export default {
|
||||
uni.showLoading({
|
||||
title: "加载中...",
|
||||
});
|
||||
|
||||
let req = {};
|
||||
if (this.pageType === "UnionMall") {
|
||||
req = {
|
||||
@ -123,6 +136,8 @@ export default {
|
||||
? "1319"
|
||||
: "",
|
||||
sortStr: this.selectType === "2" ? "COMMODITY_EN desc" : "",
|
||||
Page_Size: this.shopMsg.pageSize,
|
||||
Page_Index: this.shopMsg.pageIndex,
|
||||
};
|
||||
} else if (this.pageType === "brand") {
|
||||
req = {
|
||||
@ -132,6 +147,8 @@ export default {
|
||||
payMethod: "1000,3000",
|
||||
justCommodity: 1,
|
||||
brandName: this.brandName,
|
||||
Page_Size: this.shopMsg.pageSize,
|
||||
Page_Index: this.shopMsg.pageIndex,
|
||||
};
|
||||
} else if (this.pageType === "pointsMall") {
|
||||
req = {
|
||||
@ -139,6 +156,8 @@ export default {
|
||||
ownerUnitId: 911,
|
||||
justCommodity: 1,
|
||||
payMethod: "2000,3000",
|
||||
Page_Size: this.shopMsg.pageSize,
|
||||
Page_Index: this.shopMsg.pageIndex,
|
||||
};
|
||||
} else {
|
||||
req = {
|
||||
@ -147,13 +166,21 @@ export default {
|
||||
COMMODITYNATURE: type,
|
||||
justCommodity: 1,
|
||||
payMethod: "1000,3000",
|
||||
Page_Size: this.shopMsg.pageSize,
|
||||
Page_Index: this.shopMsg.pageIndex,
|
||||
};
|
||||
}
|
||||
|
||||
const data = await this.$api.getCoop(req);
|
||||
let oldList = [];
|
||||
if (this.shopList && this.shopList.length > 0) {
|
||||
oldList = this.shopList;
|
||||
}
|
||||
let shopList = [];
|
||||
let list = data.Data.List;
|
||||
if (list && list.length > 0) {
|
||||
if (list.length < 10) {
|
||||
this.shopMsg.isOver = true;
|
||||
}
|
||||
list.forEach((item) => {
|
||||
if (item.COMMODITYLIST && item.COMMODITYLIST.length > 0) {
|
||||
item.COMMODITYLIST.forEach((subItem) => {
|
||||
@ -184,15 +211,16 @@ export default {
|
||||
}
|
||||
});
|
||||
}
|
||||
|
||||
console.log("shopList", shopList);
|
||||
this.shopList = shopList;
|
||||
this.shopList = oldList.concat(shopList);
|
||||
uni.hideLoading();
|
||||
},
|
||||
// 跳转商品详情
|
||||
handleGoShopDetail(obj) {
|
||||
console.log("obj", obj);
|
||||
uni.navigateTo({
|
||||
url: `/pages/shopPages/shopDetail/index?id=${obj.COMMODITY_ID}`,
|
||||
url: `/pages/shopPages/shopDetail/index?id=${obj.COMMODITY_ID}&pageType=${this.pageType}`,
|
||||
});
|
||||
},
|
||||
// 返回上级
|
||||
@ -201,6 +229,11 @@ export default {
|
||||
delta: 1,
|
||||
});
|
||||
},
|
||||
// 滚动到底部 加载更多
|
||||
handleScrollBottom() {
|
||||
this.shopMsg.pageIndex = this.shopMsg.pageIndex + 1;
|
||||
this.handleGetShopList(this.queryType);
|
||||
},
|
||||
},
|
||||
};
|
||||
</script>
|
||||
@ -235,8 +268,6 @@ export default {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 32rpx;
|
||||
overflow-y: auto;
|
||||
|
||||
.shopList {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@ -461,6 +492,14 @@ export default {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.load-more {
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
height: 80rpx;
|
||||
color: #9999;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.noDataBox {
|
||||
|
||||
@ -72,15 +72,21 @@
|
||||
</view>
|
||||
</view>
|
||||
<view class="userBottom">
|
||||
<view class="bottomItem rightLine">
|
||||
<view class="bottomItem">
|
||||
<view class="label">优惠券</view>
|
||||
<view class="value">{{ user.COUPON_COUNT || 0 }}</view>
|
||||
<view class="rightLine"></view>
|
||||
</view>
|
||||
<view class="bottomItem">
|
||||
<view class="label">积分</view>
|
||||
<view class="value">{{ user.MEMBERSHIP_POINT || 0 }}</view>
|
||||
<view class="rightLine"></view>
|
||||
</view>
|
||||
<view class="line"></view>
|
||||
<view class="bottomItem">
|
||||
<view class="label">余额</view>
|
||||
<view class="value">{{ user.ACCOUNT_BALANCE || 0 }}</view>
|
||||
</view>
|
||||
<!-- <view class="line"></view> -->
|
||||
</view>
|
||||
</view>
|
||||
|
||||
@ -286,6 +292,7 @@ export default {
|
||||
this.menu = uni.getMenuButtonBoundingClientRect();
|
||||
},
|
||||
onShow() {
|
||||
console.log("this.user", this.user);
|
||||
if (!this.user.MEMBERSHIP_ID) {
|
||||
uni.navigateTo({ url: "/pages/register/index" });
|
||||
}
|
||||
@ -567,10 +574,10 @@ export default {
|
||||
border-radius: 0 0 16rpx 16rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
justify-content: space-between;
|
||||
|
||||
.bottomItem {
|
||||
width: 50%;
|
||||
width: calc((100% - 16rpx) / 3);
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 24rpx 0;
|
||||
@ -578,7 +585,7 @@ export default {
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
|
||||
position: relative;
|
||||
.label {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
@ -598,17 +605,27 @@ export default {
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.rightLine {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 50%;
|
||||
transform: translateY(-50%);
|
||||
width: 2rpx;
|
||||
height: 72rpx;
|
||||
background: #eeeeee;
|
||||
}
|
||||
}
|
||||
|
||||
.line {
|
||||
position: absolute;
|
||||
width: 2rpx;
|
||||
height: 72rpx;
|
||||
background: #eeeeee;
|
||||
top: 50%;
|
||||
transform: translate(-50%, -50%);
|
||||
left: 50%;
|
||||
}
|
||||
// .line {
|
||||
// position: absolute;
|
||||
// width: 2rpx;
|
||||
// height: 72rpx;
|
||||
// background: #eeeeee;
|
||||
// top: 50%;
|
||||
// transform: translate(-50%, -50%);
|
||||
// left: 50%;
|
||||
// }
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@ -3,6 +3,7 @@ const getters = {
|
||||
ownerUnitId: state => state.ownerUnitId,
|
||||
shopcartOrder: state => state.shopcartOrder,
|
||||
myShopCar: state => state.myShopCar,
|
||||
unionMyShopCar: state => state.unionMyShopCar,
|
||||
nowStore: state => state.nowStore, // 当前点餐的门店信息
|
||||
orderNumber: state => state.orderNumber,
|
||||
orderInternal: state => state.orderInternal,
|
||||
|
||||
@ -14,6 +14,9 @@ const mutations = {
|
||||
myShopCar(state, v) {
|
||||
state.myShopCar = v
|
||||
},
|
||||
unionMyShopCar(state, v) {
|
||||
state.unionMyShopCar = v
|
||||
},
|
||||
nowStore(state, v) {
|
||||
state.nowStore = v
|
||||
},
|
||||
|
||||
@ -3,6 +3,7 @@ const state = {
|
||||
InviteCode: '', // 被邀请码
|
||||
shopcartOrder: {}, // 购物车信息
|
||||
myShopCar: [], // 购物车信息
|
||||
unionMyShopCar: [], // 工会商城购物车信息
|
||||
nowStore: {}, // 当前点餐的商家信息
|
||||
orderNumber: '', // 订单号
|
||||
orderInternal: '', // 订单内码
|
||||
|
||||
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
File diff suppressed because one or more lines are too long
@ -23068,6 +23068,8 @@ var state = {
|
||||
// 购物车信息
|
||||
myShopCar: [],
|
||||
// 购物车信息
|
||||
unionMyShopCar: [],
|
||||
// 工会商城购物车信息
|
||||
nowStore: {},
|
||||
// 当前点餐的商家信息
|
||||
orderNumber: '',
|
||||
@ -23151,6 +23153,9 @@ var getters = {
|
||||
myShopCar: function myShopCar(state) {
|
||||
return state.myShopCar;
|
||||
},
|
||||
unionMyShopCar: function unionMyShopCar(state) {
|
||||
return state.unionMyShopCar;
|
||||
},
|
||||
nowStore: function nowStore(state) {
|
||||
return state.nowStore;
|
||||
},
|
||||
@ -23242,6 +23247,9 @@ var mutations = {
|
||||
myShopCar: function myShopCar(state, v) {
|
||||
state.myShopCar = v;
|
||||
},
|
||||
unionMyShopCar: function unionMyShopCar(state, v) {
|
||||
state.unionMyShopCar = v;
|
||||
},
|
||||
nowStore: function nowStore(state, v) {
|
||||
state.nowStore = v;
|
||||
},
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -1,4 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -221,11 +221,11 @@ var _default = {
|
||||
src: "/static/images/home/foodIcon.svg",
|
||||
springSrc: "/static/images/home/springFood.svg"
|
||||
}, {
|
||||
label: "保险",
|
||||
value: 8,
|
||||
label: "租车",
|
||||
value: 7,
|
||||
index: 7,
|
||||
src: "/static/images/home/insuranceIcon.svg",
|
||||
springSrc: "/static/images/home/springInsurance.svg"
|
||||
src: "/static/images/home/carRental.svg",
|
||||
springSrc: "/static/images/home/springCarRental.svg"
|
||||
}, {
|
||||
label: "司机之家",
|
||||
value: 6,
|
||||
@ -239,11 +239,11 @@ var _default = {
|
||||
src: "/static/images/home/suggestion.svg",
|
||||
springSrc: "/static/images/home/springSuggestion.svg"
|
||||
}, {
|
||||
label: "租车",
|
||||
value: 7,
|
||||
label: "保险",
|
||||
value: 8,
|
||||
index: 10,
|
||||
src: "/static/images/home/carRental.svg",
|
||||
springSrc: "/static/images/home/springCarRental.svg"
|
||||
src: "/static/images/home/insuranceIcon.svg",
|
||||
springSrc: "/static/images/home/springInsurance.svg"
|
||||
}, {
|
||||
label: "金融",
|
||||
value: 10,
|
||||
@ -568,8 +568,19 @@ var _default = {
|
||||
});
|
||||
} else if (obj.value === 7) {
|
||||
// 租车
|
||||
uni.navigateTo({
|
||||
url: "/pages/noDataPage/index"
|
||||
// uni.navigateTo({
|
||||
// url: `/pages/noDataPage/index`,
|
||||
// });
|
||||
uni.navigateToMiniProgram({
|
||||
appId: "wxe4bc565cbbf5e289",
|
||||
path: "pages/isd/indexNew/index?landingto=home&apptype=ISD_C_WX&st=ser&fromurl=common&channelid=242572"
|
||||
// extraData: {
|
||||
// landingto: "home",
|
||||
// apptype: "ISD_C_WX",
|
||||
// st: "ser",
|
||||
// fromurl: "common",
|
||||
// channelid: 242572,
|
||||
// },
|
||||
});
|
||||
} else if (obj.value === 8) {
|
||||
// 保险
|
||||
|
||||
@ -339,6 +339,12 @@ var _default = {
|
||||
},
|
||||
postRate: function postRate() {
|
||||
var _this = this;
|
||||
if (_this.saveMsg.commentContent.length <= 2) {
|
||||
uni.showToast({
|
||||
title: "评价的文字不小于3个字",
|
||||
icon: "none"
|
||||
});
|
||||
}
|
||||
if (_this.saveMsg.commentContent.length > 2 && _this.noPost) {
|
||||
_this.noPost = false;
|
||||
_this.postIt();
|
||||
|
||||
@ -1,4 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
}
|
||||
@ -165,7 +165,16 @@ var _default = {
|
||||
showCancel: true // 显示取消按钮
|
||||
};
|
||||
},
|
||||
|
||||
computed: _objectSpread({}, (0, _vuex.mapGetters)({
|
||||
canIuse: "canIuse",
|
||||
user: "user",
|
||||
InviteCode: "InviteCode"
|
||||
})),
|
||||
onLoad: function onLoad() {
|
||||
if (!this.user.MEMBERSHIP_ID || this.user.MEMBERSHIP_ID && !this.user.MEMBERSHIP_MOBILEPHONE) {} else {
|
||||
this.showCancel = false;
|
||||
}
|
||||
var systemInfo = uni.getStorageSync("systemInfo");
|
||||
this.height = systemInfo.windowHeight + 94 / 750 * systemInfo.windowWidth + "px";
|
||||
var _this = this;
|
||||
@ -180,11 +189,6 @@ var _default = {
|
||||
}
|
||||
});
|
||||
},
|
||||
computed: _objectSpread({}, (0, _vuex.mapGetters)({
|
||||
canIuse: "canIuse",
|
||||
user: "user",
|
||||
InviteCode: "InviteCode"
|
||||
})),
|
||||
methods: _objectSpread(_objectSpread({}, (0, _vuex.mapMutations)({
|
||||
setUser: "setUser",
|
||||
setCanIUse: "canIuse",
|
||||
|
||||
@ -1,7 +1,7 @@
|
||||
.main.data-v-9b4697c2 {
|
||||
width: 100vw;
|
||||
height: 100vh;
|
||||
background-color: #f7f8f8;
|
||||
background-color: #f0f0f0;
|
||||
box-sizing: border-box;
|
||||
padding: 24rpx 32rpx;
|
||||
}
|
||||
@ -12,6 +12,7 @@
|
||||
border-radius: 16rpx;
|
||||
box-sizing: border-box;
|
||||
padding: 56rpx 64rpx;
|
||||
background: url("https://eshangtech.com/minTestImg/caiyunyiRegister.svg") no-repeat;
|
||||
}
|
||||
.main .content .contentTitle.data-v-9b4697c2 {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
|
||||
@ -280,7 +280,7 @@ var _default = {
|
||||
// 购物车商品数量
|
||||
sortType: 0,
|
||||
// 这一次的排序方法
|
||||
sortTypeList: ["COMMODITYTYPE_CODE", "COMMODITY_BARCODE", "COMMODITY_ID", "COMMODITY_STOCK", "COMMODITY_EN"]
|
||||
sortTypeList: ["COMMODITYTYPE_CODE", "COMMODITY_BARCODE", "COMMODITY_ID", "COMMODITY_EN"]
|
||||
};
|
||||
},
|
||||
onLoad: function onLoad(query) {
|
||||
@ -387,7 +387,12 @@ var _default = {
|
||||
},
|
||||
onShow: function onShow() {
|
||||
// 判断当前的购物车里面是否有东西
|
||||
var shopCarList = this.$store.state.myShopCar;
|
||||
var shopCarList = [];
|
||||
if (this.pageType === "UnionMall") {
|
||||
shopCarList = this.$store.state.unionMyShopCar;
|
||||
} else {
|
||||
shopCarList = this.$store.state.myShopCar;
|
||||
}
|
||||
console.log("shopCarList", shopCarList);
|
||||
var count = 0;
|
||||
if (shopCarList && shopCarList.length > 0) {
|
||||
@ -539,7 +544,7 @@ var _default = {
|
||||
case 3:
|
||||
data = _context3.sent;
|
||||
console.log("handleGetSpecialOffers", data);
|
||||
list = data.Data.List;
|
||||
list = data.Data && data.Data.List ? data.Data.List : [];
|
||||
shopList = [];
|
||||
if (_this3.shopMsg.pageIndex > 1) {
|
||||
shopList = _this3.showShopList;
|
||||
@ -731,7 +736,7 @@ var _default = {
|
||||
case 2:
|
||||
data = _context7.sent;
|
||||
console.log("handleGetSpecialOffers", data);
|
||||
list = data.Data.List;
|
||||
list = data.Data && data.Data.List ? data.Data.List : [];
|
||||
shopList = [];
|
||||
if (list && list.length > 0) {
|
||||
list.forEach(function (item) {
|
||||
@ -922,14 +927,14 @@ var _default = {
|
||||
// 跳转商品列表接口
|
||||
handleGoShopList: function handleGoShopList(type) {
|
||||
uni.navigateTo({
|
||||
url: "/pages/shopPages/shopList/index?type=".concat(type)
|
||||
url: "/pages/shopPages/shopList/index?type=".concat(type, "&pageType=").concat(this.pageType)
|
||||
});
|
||||
},
|
||||
// 跳转商品详情
|
||||
handleGoShopDetail: function handleGoShopDetail(obj) {
|
||||
console.log("obj", obj);
|
||||
uni.navigateTo({
|
||||
url: "/pages/shopPages/shopDetail/index?id=".concat(obj.COMMODITY_ID)
|
||||
url: "/pages/shopPages/shopDetail/index?id=".concat(obj.COMMODITY_ID, "&pageType=").concat(this.pageType)
|
||||
});
|
||||
},
|
||||
// 跳转到商品分类页面
|
||||
|
||||
@ -143,6 +143,10 @@ Object.defineProperty(exports, "__esModule", {
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _slicedToArray2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/slicedToArray */ 5));
|
||||
var _defineProperty2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/defineProperty */ 11));
|
||||
var _vuex = __webpack_require__(/*! vuex */ 33);
|
||||
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
||||
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { (0, _defineProperty2.default)(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
||||
var shopTabbar = function shopTabbar() {
|
||||
Promise.all(/*! require.ensure | components/shopTabbar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/shopTabbar")]).then((function () {
|
||||
return resolve(__webpack_require__(/*! ../../../components/shopTabbar.vue */ 354));
|
||||
@ -204,7 +208,11 @@ var _default = {
|
||||
deep: true
|
||||
}
|
||||
},
|
||||
computed: _objectSpread({}, (0, _vuex.mapGetters)({
|
||||
user: "user"
|
||||
})),
|
||||
onLoad: function onLoad(query) {
|
||||
console.log("query", query);
|
||||
var systemInfo = uni.getSystemInfoSync();
|
||||
this.menu = uni.getMenuButtonBoundingClientRect();
|
||||
this.systemInfo = systemInfo;
|
||||
@ -217,7 +225,12 @@ var _default = {
|
||||
},
|
||||
onShow: function onShow() {
|
||||
// 判断当前的购物车里面是否有东西
|
||||
var shopCarList = this.$store.state.myShopCar;
|
||||
var shopCarList = [];
|
||||
if (this.bigPageType === "UnionMall") {
|
||||
shopCarList = this.$store.state.unionMyShopCar;
|
||||
} else {
|
||||
shopCarList = this.$store.state.myShopCar;
|
||||
}
|
||||
console.log("shopCarList", shopCarList);
|
||||
var count = 0;
|
||||
if (shopCarList && shopCarList.length > 0) {
|
||||
@ -230,7 +243,12 @@ var _default = {
|
||||
methods: {
|
||||
// 判断当前购物车是否有内容 有内容的话 处理
|
||||
handleGetNowShopCarList: function handleGetNowShopCarList() {
|
||||
var shopCarList = this.$store.state.myShopCar;
|
||||
var shopCarList = [];
|
||||
if (this.bigPageType === "UnionMall") {
|
||||
shopCarList = this.$store.state.unionMyShopCar;
|
||||
} else {
|
||||
shopCarList = this.$store.state.myShopCar;
|
||||
}
|
||||
console.log("shopCarList", shopCarList);
|
||||
if (shopCarList && shopCarList.length > 0) {
|
||||
shopCarList.forEach(function (item) {
|
||||
@ -348,7 +366,11 @@ var _default = {
|
||||
this.shopList = list;
|
||||
}
|
||||
this.handleSum();
|
||||
this.$store.commit("myShopCar", this.shopList);
|
||||
if (this.bigPageType === "UnionMall") {
|
||||
this.$store.commit("unionMyShopCar", this.shopList);
|
||||
} else {
|
||||
this.$store.commit("myShopCar", this.shopList);
|
||||
}
|
||||
this.$forceUpdate();
|
||||
},
|
||||
// 输入框里面的数量
|
||||
@ -364,7 +386,11 @@ var _default = {
|
||||
this.shopList = list;
|
||||
}
|
||||
console.log("this.dataList1111", this.shopList);
|
||||
this.$store.commit("myShopCar", this.shopList);
|
||||
if (this.bigPageType === "UnionMall") {
|
||||
this.$store.commit("unionMyShopCar", this.shopList);
|
||||
} else {
|
||||
this.$store.commit("myShopCar", this.shopList);
|
||||
}
|
||||
this.handleSum();
|
||||
this.$forceUpdate();
|
||||
},
|
||||
@ -391,7 +417,11 @@ var _default = {
|
||||
touchOnGoods: function touchOnGoods(e, item) {
|
||||
item.count += 1;
|
||||
this.handleSum();
|
||||
this.$store.commit("myShopCar", this.dataList);
|
||||
if (this.bigPageType === "UnionMall") {
|
||||
this.$store.commit("unionMyShopCar", this.dataList);
|
||||
} else {
|
||||
this.$store.commit("myShopCar", this.dataList);
|
||||
}
|
||||
},
|
||||
// 左滑出现的删除
|
||||
handleDeleteItem: function handleDeleteItem(obj) {
|
||||
@ -402,7 +432,11 @@ var _default = {
|
||||
}
|
||||
});
|
||||
this.shopList = list;
|
||||
this.$store.commit("myShopCar", this.shopList);
|
||||
if (this.bigPageType === "UnionMall") {
|
||||
this.$store.commit("unionMyShopCar", this.shopList);
|
||||
} else {
|
||||
this.$store.commit("myShopCar", this.shopList);
|
||||
}
|
||||
this.selectStyle = "";
|
||||
this.handleSum();
|
||||
},
|
||||
@ -444,12 +478,26 @@ var _default = {
|
||||
});
|
||||
this.shopList = list;
|
||||
this.handleSum();
|
||||
this.$store.commit("myShopCar", this.shopList);
|
||||
if (this.bigPageType === "UnionMall") {
|
||||
this.$store.commit("unionMyShopCar", this.shopList);
|
||||
} else {
|
||||
this.$store.commit("myShopCar", this.shopList);
|
||||
}
|
||||
this.pageType = "normal";
|
||||
this.$forceUpdate();
|
||||
},
|
||||
// 立即下单
|
||||
goPayFn: function goPayFn() {
|
||||
// 判断是不是在工会商城下单 下单的话 就要查询用户余额 余额有的 才能下单
|
||||
if (this.bigPageType === "UnionMall") {
|
||||
if (!(this.user.ACCOUNT_BALANCE > 0)) {
|
||||
uni.showToast({
|
||||
title: "工会商城余额不足,无法下单!",
|
||||
icon: "none"
|
||||
});
|
||||
return;
|
||||
}
|
||||
}
|
||||
if (this.shopList.length > 0) {
|
||||
this.pageOut = true;
|
||||
var orderList = [];
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -262,7 +262,12 @@ var _default = {
|
||||
},
|
||||
onShow: function onShow() {
|
||||
// 判断当前的购物车里面是否有东西
|
||||
var shopCarList = this.$store.state.myShopCar;
|
||||
var shopCarList = [];
|
||||
if (this.pageType === "UnionMall") {
|
||||
shopCarList = this.$store.state.unionMyShopCar;
|
||||
} else {
|
||||
shopCarList = this.$store.state.myShopCar;
|
||||
}
|
||||
console.log("shopCarList", shopCarList);
|
||||
if (shopCarList && shopCarList.length > 0) {
|
||||
this.shopCarList = shopCarList;
|
||||
@ -286,9 +291,17 @@ var _default = {
|
||||
});
|
||||
console.log("list", list);
|
||||
// list
|
||||
this.$store.commit("myShopCar", list);
|
||||
if (this.pageType === "UnionMall") {
|
||||
this.$store.commit("unionMyShopCar", list);
|
||||
} else {
|
||||
this.$store.commit("myShopCar", list);
|
||||
}
|
||||
} else {
|
||||
this.$store.commit("myShopCar", []);
|
||||
if (this.pageType === "UnionMall") {
|
||||
this.$store.commit("unionMyShopCar", []);
|
||||
} else {
|
||||
this.$store.commit("myShopCar", []);
|
||||
}
|
||||
}
|
||||
// this.searchText = "";
|
||||
},
|
||||
@ -300,9 +313,17 @@ var _default = {
|
||||
});
|
||||
console.log("list", list);
|
||||
// list
|
||||
this.$store.commit("myShopCar", list);
|
||||
if (this.pageType === "UnionMall") {
|
||||
this.$store.commit("unionMyShopCar", list);
|
||||
} else {
|
||||
this.$store.commit("myShopCar", list);
|
||||
}
|
||||
} else {
|
||||
this.$store.commit("myShopCar", []);
|
||||
if (this.pageType === "UnionMall") {
|
||||
this.$store.commit("unionMyShopCar", []);
|
||||
} else {
|
||||
this.$store.commit("myShopCar", []);
|
||||
}
|
||||
}
|
||||
this.searchText = "";
|
||||
},
|
||||
@ -645,6 +666,7 @@ var _default = {
|
||||
if (leftIndex === -1) {
|
||||
leftIndex = _this5.leftSelectIndex;
|
||||
}
|
||||
console.log("this.leftSelectIndex", _this5.leftSelectIndex);
|
||||
shopList = [];
|
||||
if (list && list.length > 0) {
|
||||
shopList = list[leftIndex].COMMODITYLIST;
|
||||
@ -713,7 +735,7 @@ var _default = {
|
||||
}
|
||||
console.log("现在的小类", _this5.leftTypeList);
|
||||
uni.hideLoading();
|
||||
case 21:
|
||||
case 22:
|
||||
case "end":
|
||||
return _context4.stop();
|
||||
}
|
||||
@ -815,6 +837,7 @@ var _default = {
|
||||
// 改变商品大类
|
||||
handleToggleTab: function handleToggleTab(index) {
|
||||
this.activeTabs = index;
|
||||
this.leftSelectIndex = 0;
|
||||
this.handleGetAllShopItem(this.shopTypeList[index].UserdefinedType_Id);
|
||||
},
|
||||
// 改变商品小类
|
||||
|
||||
@ -235,7 +235,12 @@ var _default = {
|
||||
// 请求用户的信息和订单信息
|
||||
this.getMember();
|
||||
// 判断当前的购物车里面是否有东西
|
||||
var shopCarList = this.$store.state.myShopCar;
|
||||
var shopCarList = [];
|
||||
if (this.pageType === "UnionMall") {
|
||||
shopCarList = this.$store.state.unionMyShopCar;
|
||||
} else {
|
||||
shopCarList = this.$store.state.myShopCar;
|
||||
}
|
||||
console.log("shopCarList", shopCarList);
|
||||
var count = 0;
|
||||
if (shopCarList && shopCarList.length > 0) {
|
||||
|
||||
@ -12,7 +12,7 @@ __webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _merchantEvaluation_vue_vue_type_template_id_749eef1e_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! ./merchantEvaluation.vue?vue&type=template&id=749eef1e&scoped=true& */ 418);
|
||||
/* harmony import */ var _merchantEvaluation_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__ = __webpack_require__(/*! ./merchantEvaluation.vue?vue&type=script&lang=js& */ 420);
|
||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _merchantEvaluation_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _merchantEvaluation_vue_vue_type_script_lang_js___WEBPACK_IMPORTED_MODULE_1__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||
/* harmony import */ var _merchantEvaluation_vue_vue_type_style_index_0_id_749eef1e_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./merchantEvaluation.vue?vue&type=style&index=0&id=749eef1e&lang=stylus&scoped=true& */ 422);
|
||||
/* harmony import */ var _merchantEvaluation_vue_vue_type_style_index_0_id_749eef1e_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_2__ = __webpack_require__(/*! ./merchantEvaluation.vue?vue&type=style&index=0&id=749eef1e&lang=less&scoped=true& */ 422);
|
||||
/* harmony import */ var _program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_runtime_componentNormalizer_js__WEBPACK_IMPORTED_MODULE_3__ = __webpack_require__(/*! ../../../../../../../program files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/runtime/componentNormalizer.js */ 36);
|
||||
|
||||
var renderjs
|
||||
@ -320,25 +320,25 @@ exports.default = _default;
|
||||
/***/ }),
|
||||
|
||||
/***/ 422:
|
||||
/*!**********************************************************************************************************************************************************!*\
|
||||
!*** D:/workfile/minprogram/caiyunyi/pages/shopPages/shop/components/merchantEvaluation.vue?vue&type=style&index=0&id=749eef1e&lang=stylus&scoped=true& ***!
|
||||
\**********************************************************************************************************************************************************/
|
||||
/*!********************************************************************************************************************************************************!*\
|
||||
!*** D:/workfile/minprogram/caiyunyi/pages/shopPages/shop/components/merchantEvaluation.vue?vue&type=style&index=0&id=749eef1e&lang=less&scoped=true& ***!
|
||||
\********************************************************************************************************************************************************/
|
||||
/*! no static exports found */
|
||||
/***/ (function(module, __webpack_exports__, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
__webpack_require__.r(__webpack_exports__);
|
||||
/* harmony import */ var _program_files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_program_files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_oneOf_1_2_program_files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_program_files_HBuilderX_plugins_uniapp_cli_node_modules_stylus_loader_index_js_ref_11_oneOf_1_4_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_oneOf_1_5_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_merchantEvaluation_vue_vue_type_style_index_0_id_749eef1e_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../program files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!../../../../../../../program files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!../../../../../../../program files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../program files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--11-oneOf-1-2!../../../../../../../program files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--11-oneOf-1-3!../../../../../../../program files/HBuilderX/plugins/uniapp-cli/node_modules/stylus-loader??ref--11-oneOf-1-4!../../../../../../../program files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--11-oneOf-1-5!../../../../../../../program files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../program files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./merchantEvaluation.vue?vue&type=style&index=0&id=749eef1e&lang=stylus&scoped=true& */ 423);
|
||||
/* harmony import */ var _program_files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_program_files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_oneOf_1_2_program_files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_program_files_HBuilderX_plugins_uniapp_cli_node_modules_stylus_loader_index_js_ref_11_oneOf_1_4_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_oneOf_1_5_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_merchantEvaluation_vue_vue_type_style_index_0_id_749eef1e_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_program_files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_program_files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_oneOf_1_2_program_files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_program_files_HBuilderX_plugins_uniapp_cli_node_modules_stylus_loader_index_js_ref_11_oneOf_1_4_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_oneOf_1_5_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_merchantEvaluation_vue_vue_type_style_index_0_id_749eef1e_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _program_files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_program_files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_oneOf_1_2_program_files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_program_files_HBuilderX_plugins_uniapp_cli_node_modules_stylus_loader_index_js_ref_11_oneOf_1_4_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_oneOf_1_5_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_merchantEvaluation_vue_vue_type_style_index_0_id_749eef1e_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _program_files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_program_files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_oneOf_1_2_program_files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_program_files_HBuilderX_plugins_uniapp_cli_node_modules_stylus_loader_index_js_ref_11_oneOf_1_4_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_oneOf_1_5_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_merchantEvaluation_vue_vue_type_style_index_0_id_749eef1e_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||
/* harmony default export */ __webpack_exports__["default"] = (_program_files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_11_oneOf_1_0_program_files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_11_oneOf_1_1_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_oneOf_1_2_program_files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_11_oneOf_1_3_program_files_HBuilderX_plugins_uniapp_cli_node_modules_stylus_loader_index_js_ref_11_oneOf_1_4_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_11_oneOf_1_5_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_merchantEvaluation_vue_vue_type_style_index_0_id_749eef1e_lang_stylus_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||||
/* harmony import */ var _program_files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_program_files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_2_program_files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_program_files_HBuilderX_plugins_uniapp_cli_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_4_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_5_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_merchantEvaluation_vue_vue_type_style_index_0_id_749eef1e_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__ = __webpack_require__(/*! -!../../../../../../../program files/HBuilderX/plugins/uniapp-cli/node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!../../../../../../../program files/HBuilderX/plugins/uniapp-cli/node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!../../../../../../../program files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!../../../../../../../program files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--10-oneOf-1-2!../../../../../../../program files/HBuilderX/plugins/uniapp-cli/node_modules/postcss-loader/src??ref--10-oneOf-1-3!../../../../../../../program files/HBuilderX/plugins/uniapp-cli/node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-4!../../../../../../../program files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--10-oneOf-1-5!../../../../../../../program files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!../../../../../../../program files/HBuilderX/plugins/uniapp-cli/node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!./merchantEvaluation.vue?vue&type=style&index=0&id=749eef1e&lang=less&scoped=true& */ 423);
|
||||
/* harmony import */ var _program_files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_program_files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_2_program_files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_program_files_HBuilderX_plugins_uniapp_cli_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_4_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_5_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_merchantEvaluation_vue_vue_type_style_index_0_id_749eef1e_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default = /*#__PURE__*/__webpack_require__.n(_program_files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_program_files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_2_program_files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_program_files_HBuilderX_plugins_uniapp_cli_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_4_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_5_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_merchantEvaluation_vue_vue_type_style_index_0_id_749eef1e_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__);
|
||||
/* harmony reexport (unknown) */ for(var __WEBPACK_IMPORT_KEY__ in _program_files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_program_files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_2_program_files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_program_files_HBuilderX_plugins_uniapp_cli_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_4_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_5_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_merchantEvaluation_vue_vue_type_style_index_0_id_749eef1e_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__) if(["default"].indexOf(__WEBPACK_IMPORT_KEY__) < 0) (function(key) { __webpack_require__.d(__webpack_exports__, key, function() { return _program_files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_program_files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_2_program_files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_program_files_HBuilderX_plugins_uniapp_cli_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_4_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_5_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_merchantEvaluation_vue_vue_type_style_index_0_id_749eef1e_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0__[key]; }) }(__WEBPACK_IMPORT_KEY__));
|
||||
/* harmony default export */ __webpack_exports__["default"] = (_program_files_HBuilderX_plugins_uniapp_cli_node_modules_mini_css_extract_plugin_dist_loader_js_ref_10_oneOf_1_0_program_files_HBuilderX_plugins_uniapp_cli_node_modules_css_loader_dist_cjs_js_ref_10_oneOf_1_1_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_loaders_stylePostLoader_js_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_2_program_files_HBuilderX_plugins_uniapp_cli_node_modules_postcss_loader_src_index_js_ref_10_oneOf_1_3_program_files_HBuilderX_plugins_uniapp_cli_node_modules_less_loader_dist_cjs_js_ref_10_oneOf_1_4_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_webpack_preprocess_loader_index_js_ref_10_oneOf_1_5_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_vue_cli_plugin_uni_packages_vue_loader_lib_index_js_vue_loader_options_program_files_HBuilderX_plugins_uniapp_cli_node_modules_dcloudio_webpack_uni_mp_loader_lib_style_js_merchantEvaluation_vue_vue_type_style_index_0_id_749eef1e_lang_less_scoped_true___WEBPACK_IMPORTED_MODULE_0___default.a);
|
||||
|
||||
/***/ }),
|
||||
|
||||
/***/ 423:
|
||||
/*!********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--11-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--11-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--11-oneOf-1-2!./node_modules/postcss-loader/src??ref--11-oneOf-1-3!./node_modules/stylus-loader??ref--11-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--11-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/workfile/minprogram/caiyunyi/pages/shopPages/shop/components/merchantEvaluation.vue?vue&type=style&index=0&id=749eef1e&lang=stylus&scoped=true& ***!
|
||||
\********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/*!****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************!*\
|
||||
!*** ./node_modules/mini-css-extract-plugin/dist/loader.js??ref--10-oneOf-1-0!./node_modules/css-loader/dist/cjs.js??ref--10-oneOf-1-1!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib/loaders/stylePostLoader.js!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--10-oneOf-1-2!./node_modules/postcss-loader/src??ref--10-oneOf-1-3!./node_modules/less-loader/dist/cjs.js??ref--10-oneOf-1-4!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/webpack-preprocess-loader??ref--10-oneOf-1-5!./node_modules/@dcloudio/vue-cli-plugin-uni/packages/vue-loader/lib??vue-loader-options!./node_modules/@dcloudio/webpack-uni-mp-loader/lib/style.js!D:/workfile/minprogram/caiyunyi/pages/shopPages/shop/components/merchantEvaluation.vue?vue&type=style&index=0&id=749eef1e&lang=less&scoped=true& ***!
|
||||
\****************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************/
|
||||
/*! no static exports found */
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -1,11 +1,14 @@
|
||||
.topEvaluation.data-v-749eef1e {
|
||||
.evaluationPage.data-v-749eef1e {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
padding: 16rpx 32rpx;
|
||||
}
|
||||
.topEvaluation .evaluationMark.data-v-749eef1e {
|
||||
.evaluationPage .topEvaluation.data-v-749eef1e {
|
||||
width: 100%;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.evaluationPage .topEvaluation .evaluationMark.data-v-749eef1e {
|
||||
font-family: DINAlternate, DINAlternate;
|
||||
font-weight: bold;
|
||||
font-size: 72rpx;
|
||||
@ -15,22 +18,20 @@
|
||||
font-style: normal;
|
||||
margin-right: 8rpx;
|
||||
}
|
||||
.topEvaluation .evaluationRight .markTitle.data-v-749eef1e {
|
||||
.evaluationPage .topEvaluation .evaluationRight .markTitle.data-v-749eef1e {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #716f69;
|
||||
line-height: 36rpx;
|
||||
text-align: justify;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
}
|
||||
.evaluationList.data-v-749eef1e {
|
||||
margin-top: 8rpx;
|
||||
.evaluationPage .evaluationList.data-v-749eef1e {
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 0 32rpx 120rpx;
|
||||
margin-top: 24rpx;
|
||||
}
|
||||
.evaluationList .evaluationTitle.data-v-749eef1e {
|
||||
.evaluationPage .evaluationList .evaluationTitle.data-v-749eef1e {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
@ -38,10 +39,10 @@
|
||||
line-height: 40rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
margin-bottom: 24rpx;
|
||||
margin-right: 8rpx;
|
||||
margin-bottom: 26rpx;
|
||||
}
|
||||
.evaluationList .evaluationTitle .sumText.data-v-749eef1e {
|
||||
margin-left: 8rpx;
|
||||
.evaluationPage .evaluationList .evaluationTitle .sumText.data-v-749eef1e {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
@ -50,29 +51,25 @@
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
}
|
||||
.evaluationList .evaluationItem.data-v-749eef1e {
|
||||
.evaluationPage .evaluationList .evaluationItem.data-v-749eef1e {
|
||||
width: 100%;
|
||||
margin-bottom: 48rpx;
|
||||
margin-top: 48rpx;
|
||||
}
|
||||
.evaluationList .evaluationItem .itemTop.data-v-749eef1e {
|
||||
width: 100%;
|
||||
.evaluationPage .evaluationList .evaluationItem .itemTop.data-v-749eef1e {
|
||||
display: flex;
|
||||
margin-bottom: 16rpx;
|
||||
align-items: center;
|
||||
}
|
||||
.evaluationList .evaluationItem .itemTop .headImgBox.data-v-749eef1e {
|
||||
.evaluationPage .evaluationList .evaluationItem .itemTop .headImgBox.data-v-749eef1e {
|
||||
width: 72rpx;
|
||||
height: 72rpx;
|
||||
border-radius: 50%;
|
||||
overflow: hidden;
|
||||
margin-right: 16rpx;
|
||||
}
|
||||
.evaluationList .evaluationItem .itemTop .headImgBox .headImg.data-v-749eef1e {
|
||||
.evaluationPage .evaluationList .evaluationItem .itemTop .headImgBox .headImg.data-v-749eef1e {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
border-radius: 50%;
|
||||
}
|
||||
.evaluationList .evaluationItem .itemTop .userDetailBox.data-v-749eef1e {
|
||||
margin-left: 16rpx;
|
||||
}
|
||||
.evaluationList .evaluationItem .itemTop .userDetailBox .userTitle.data-v-749eef1e {
|
||||
.evaluationPage .evaluationList .evaluationItem .itemTop .userDetailBox .userTitle.data-v-749eef1e {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
@ -80,53 +77,33 @@
|
||||
line-height: 40rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
}
|
||||
.evaluationList .evaluationItem .itemTop .userDetailBox .userTitle .vip-level.data-v-749eef1e {
|
||||
font-size: 20rpx;
|
||||
background: #333;
|
||||
color: #eedcb6;
|
||||
padding: 4rpx 6rpx;
|
||||
margin-left: 16rpx;
|
||||
border-radius: 4rpx;
|
||||
display: flex;
|
||||
align-items: ceneter;
|
||||
position: relative;
|
||||
}
|
||||
.evaluationList .evaluationItem .itemTop .userDetailBox .userTitle .vip-level .vip-level.data-v-749eef1e:before {
|
||||
content: '';
|
||||
width: 20rpx;
|
||||
height: 20rpx;
|
||||
background: url("https://eshangtech.com/ShopICO/vip-ico.png") no-repeat center;
|
||||
background-size: contain;
|
||||
position: absolute;
|
||||
left: 4rpx;
|
||||
}
|
||||
.evaluationList .evaluationItem .itemTop .userDetailBox .timeText.data-v-749eef1e {
|
||||
.evaluationPage .evaluationList .evaluationItem .itemTop .userDetailBox .timeText.data-v-749eef1e {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #716f69;
|
||||
line-height: 36rpx;
|
||||
text-align: justify;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
}
|
||||
.evaluationList .evaluationItem .itemRate.data-v-749eef1e {
|
||||
.evaluationPage .evaluationList .evaluationItem .itemRate.data-v-749eef1e {
|
||||
margin-top: 8rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
margin-bottom: 6rpx;
|
||||
}
|
||||
.evaluationList .evaluationItem .itemRate .rateText.data-v-749eef1e {
|
||||
.evaluationPage .evaluationList .evaluationItem .itemRate .rateText.data-v-749eef1e {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 24rpx;
|
||||
color: #716f69;
|
||||
line-height: 36rpx;
|
||||
text-align: justify;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
margin-left: 4rpx;
|
||||
margin-left: 8rpx;
|
||||
}
|
||||
.evaluationList .evaluationItem .evaluationContent.data-v-749eef1e {
|
||||
.evaluationPage .evaluationList .evaluationItem .evaluationContent.data-v-749eef1e {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
font-weight: 400;
|
||||
font-size: 28rpx;
|
||||
@ -134,27 +111,22 @@
|
||||
line-height: 40rpx;
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
width: 100%;
|
||||
display: -webkit-box;
|
||||
-webkit-line-clamp: 5; /* 限制在5行内 */
|
||||
-webkit-box-orient: vertical;
|
||||
overflow: hidden;
|
||||
}
|
||||
.evaluationList .evaluationItem .evaluationList.data-v-749eef1e {
|
||||
margin-top: 24rpx;
|
||||
.evaluationPage .evaluationList .evaluationItem .evaluationList.data-v-749eef1e {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
margin-top: 16rpx;
|
||||
margin-right: 16rpx;
|
||||
}
|
||||
.evaluationList .evaluationItem .evaluationList .evaluationItem.data-v-749eef1e {
|
||||
.evaluationPage .evaluationList .evaluationItem .evaluationList .evaluationItemImg.data-v-749eef1e {
|
||||
width: 160rpx;
|
||||
height: 160rpx;
|
||||
border-radius: 12rpx;
|
||||
margin-right: 16rpx;
|
||||
overflow: hidden;
|
||||
}
|
||||
.evaluationList .evaluationItem .evaluationList .evaluationItem .evaluationImg.data-v-749eef1e {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
.evaluationPage .evaluationList .evaluationItem .evaluationList .evaluationItemImg .evaluationImg.data-v-749eef1e {
|
||||
width: 160rpx;
|
||||
height: 160rpx;
|
||||
border-radius: 8rpx;
|
||||
}
|
||||
.rate-top.data-v-749eef1e {
|
||||
display: flex;
|
||||
@ -170,10 +142,10 @@
|
||||
position: relative;
|
||||
}
|
||||
.rate-top .rate-top-right.data-v-749eef1e:before {
|
||||
content: ' ';
|
||||
content: " ";
|
||||
height: 60rpx;
|
||||
width: 1rpx;
|
||||
background: #eee;
|
||||
background: #eeeeee;
|
||||
display: block;
|
||||
position: absolute;
|
||||
left: 1rpx;
|
||||
@ -184,7 +156,7 @@
|
||||
margin-right: 16rpx;
|
||||
}
|
||||
.rate-top .rate-text.data-v-749eef1e {
|
||||
color: #666;
|
||||
color: #666666;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
.rate-top .reate-user-images.data-v-749eef1e {
|
||||
@ -253,7 +225,7 @@
|
||||
padding-left: 16rpx;
|
||||
}
|
||||
.rate-body .rate-card .rate-text.data-v-749eef1e {
|
||||
color: #666;
|
||||
color: #666666;
|
||||
font-size: 26rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
@ -270,7 +242,7 @@
|
||||
position: relative;
|
||||
}
|
||||
.rate-body .rate-card .vip-level .vip-level.data-v-749eef1e:before {
|
||||
content: '';
|
||||
content: "";
|
||||
width: 20rpx;
|
||||
height: 20rpx;
|
||||
background: url("https://eshangtech.com/ShopICO/vip-ico.png") no-repeat center;
|
||||
|
||||
@ -249,7 +249,9 @@ var _default = {
|
||||
// 顶部显示的锚点tab
|
||||
pageTab: 1,
|
||||
// 锚点tab的选中
|
||||
scrollView: "" // 滚动的锚点
|
||||
scrollView: "",
|
||||
// 滚动的锚点
|
||||
pageType: "" // 页面类型 UnionMall 为工会商城
|
||||
};
|
||||
},
|
||||
|
||||
@ -386,11 +388,19 @@ var _default = {
|
||||
this.shopCarList.push(this.good);
|
||||
nowShopList = this.shopCarList;
|
||||
}
|
||||
this.$store.commit("myShopCar", nowShopList);
|
||||
if (this.pageType === "UnionMall") {
|
||||
this.$store.commit("unionMyShopCar", nowShopList);
|
||||
} else {
|
||||
this.$store.commit("myShopCar", nowShopList);
|
||||
}
|
||||
} else {
|
||||
var _nowShopList = [];
|
||||
_nowShopList.push(this.good);
|
||||
this.$store.commit("myShopCar", _nowShopList);
|
||||
if (this.pageType === "UnionMall") {
|
||||
this.$store.commit("unionMyShopCar", _nowShopList);
|
||||
} else {
|
||||
this.$store.commit("myShopCar", _nowShopList);
|
||||
}
|
||||
}
|
||||
uni.showToast({
|
||||
title: "加入成功!",
|
||||
@ -413,7 +423,7 @@ var _default = {
|
||||
item.AVERAGE_PRICE = item.COMMODITY_RETAILPRICE;
|
||||
item.cartItemAoumt = Number((item.AVERAGE_PRICE * item.ORDER_COUNT).toFixed(2));
|
||||
item.ORDER_AMOUNT = Number((item.AVERAGE_PRICE * item.ORDER_COUNT).toFixed(2));
|
||||
item.COMMODITY_INTRO = '';
|
||||
item.COMMODITY_INTRO = "";
|
||||
orderList.push(item);
|
||||
});
|
||||
// this.$store.commit('shopcartOrder', orderList)
|
||||
@ -898,13 +908,22 @@ var _default = {
|
||||
},
|
||||
onLoad: function onLoad(option) {
|
||||
this.menu = uni.getMenuButtonBoundingClientRect();
|
||||
console.log("option", option);
|
||||
if (option.pageType) {
|
||||
this.pageType = option.pageType;
|
||||
}
|
||||
|
||||
// 判断当前的购物车里面是否有东西
|
||||
var shopCarList = this.$store.state.myShopCar;
|
||||
var shopCarList = [];
|
||||
if (this.pageType === "UnionMall") {
|
||||
shopCarList = this.$store.state.unionMyShopCar;
|
||||
} else {
|
||||
shopCarList = this.$store.state.myShopCar;
|
||||
}
|
||||
console.log("shopCarList", shopCarList);
|
||||
if (shopCarList && shopCarList.length > 0) {
|
||||
this.shopCarList = shopCarList;
|
||||
}
|
||||
console.log("option", option);
|
||||
this.getDetail(option.id);
|
||||
// if (option.scene) {
|
||||
// // 是否是商品分享码扫入的 带有他人的邀请码
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -103,11 +103,13 @@ var render = function () {
|
||||
var _h = _vm.$createElement
|
||||
var _c = _vm._self._c || _h
|
||||
var g0 = _vm.shopList && _vm.shopList.length > 0
|
||||
var g1 = g0 ? _vm.shopList.length : null
|
||||
_vm.$mp.data = Object.assign(
|
||||
{},
|
||||
{
|
||||
$root: {
|
||||
g0: g0,
|
||||
g1: g1,
|
||||
},
|
||||
}
|
||||
)
|
||||
@ -166,16 +168,21 @@ var _default = {
|
||||
shopList: [],
|
||||
pageType: "",
|
||||
selectType: "",
|
||||
brandName: "" // 查询的品牌商品
|
||||
brandName: "",
|
||||
// 查询的品牌商品
|
||||
shopMsg: {
|
||||
pageSize: 10,
|
||||
pageIndex: 1,
|
||||
isOver: false
|
||||
},
|
||||
queryType: ""
|
||||
};
|
||||
},
|
||||
|
||||
components: {
|
||||
NoData: NoData
|
||||
},
|
||||
onLoad: function onLoad(query) {
|
||||
console.log("query", query);
|
||||
this.pageType = query.pageType;
|
||||
if (query.pageType === "UnionMall") {
|
||||
this.selectType = query.type;
|
||||
if (query.type === "1") {
|
||||
@ -201,6 +208,8 @@ var _default = {
|
||||
this.pageTitle = "今日推荐";
|
||||
}
|
||||
}
|
||||
this.queryType = query.pageType;
|
||||
this.pageType = query.pageType === "brand" ? "UnionMall" : query.pageType;
|
||||
this.menu = uni.getMenuButtonBoundingClientRect();
|
||||
this.handleGetShopList(query.type);
|
||||
},
|
||||
@ -209,7 +218,7 @@ var _default = {
|
||||
handleGetShopList: function handleGetShopList(type) {
|
||||
var _this = this;
|
||||
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
||||
var req, data, shopList, list;
|
||||
var req, data, oldList, shopList, list;
|
||||
return _regenerator.default.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
@ -226,7 +235,9 @@ var _default = {
|
||||
payMethod: "1000,3000",
|
||||
justCommodity: 1,
|
||||
userdefinedtypeId: _this.selectType === "1" ? "1317" : _this.selectType === "2" ? "1318" : _this.selectType === "3" ? "1319" : "",
|
||||
sortStr: _this.selectType === "2" ? "COMMODITY_EN desc" : ""
|
||||
sortStr: _this.selectType === "2" ? "COMMODITY_EN desc" : "",
|
||||
Page_Size: _this.shopMsg.pageSize,
|
||||
Page_Index: _this.shopMsg.pageIndex
|
||||
};
|
||||
} else if (_this.pageType === "brand") {
|
||||
req = {
|
||||
@ -235,14 +246,18 @@ var _default = {
|
||||
COMMODITYNATURE: 5070,
|
||||
payMethod: "1000,3000",
|
||||
justCommodity: 1,
|
||||
brandName: _this.brandName
|
||||
brandName: _this.brandName,
|
||||
Page_Size: _this.shopMsg.pageSize,
|
||||
Page_Index: _this.shopMsg.pageIndex
|
||||
};
|
||||
} else if (_this.pageType === "pointsMall") {
|
||||
req = {
|
||||
action_type: "WeChat_GetMallGoodsInfo",
|
||||
ownerUnitId: 911,
|
||||
justCommodity: 1,
|
||||
payMethod: "2000,3000"
|
||||
payMethod: "2000,3000",
|
||||
Page_Size: _this.shopMsg.pageSize,
|
||||
Page_Index: _this.shopMsg.pageIndex
|
||||
};
|
||||
} else {
|
||||
req = {
|
||||
@ -250,16 +265,25 @@ var _default = {
|
||||
ownerUnitId: 911,
|
||||
COMMODITYNATURE: type,
|
||||
justCommodity: 1,
|
||||
payMethod: "1000,3000"
|
||||
payMethod: "1000,3000",
|
||||
Page_Size: _this.shopMsg.pageSize,
|
||||
Page_Index: _this.shopMsg.pageIndex
|
||||
};
|
||||
}
|
||||
_context.next = 5;
|
||||
return _this.$api.getCoop(req);
|
||||
case 5:
|
||||
data = _context.sent;
|
||||
oldList = [];
|
||||
if (_this.shopList && _this.shopList.length > 0) {
|
||||
oldList = _this.shopList;
|
||||
}
|
||||
shopList = [];
|
||||
list = data.Data.List;
|
||||
if (list && list.length > 0) {
|
||||
if (list.length < 10) {
|
||||
_this.shopMsg.isOver = true;
|
||||
}
|
||||
list.forEach(function (item) {
|
||||
if (item.COMMODITYLIST && item.COMMODITYLIST.length > 0) {
|
||||
item.COMMODITYLIST.forEach(function (subItem) {
|
||||
@ -281,9 +305,9 @@ var _default = {
|
||||
});
|
||||
}
|
||||
console.log("shopList", shopList);
|
||||
_this.shopList = shopList;
|
||||
_this.shopList = oldList.concat(shopList);
|
||||
uni.hideLoading();
|
||||
case 12:
|
||||
case 14:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
@ -295,7 +319,7 @@ var _default = {
|
||||
handleGoShopDetail: function handleGoShopDetail(obj) {
|
||||
console.log("obj", obj);
|
||||
uni.navigateTo({
|
||||
url: "/pages/shopPages/shopDetail/index?id=".concat(obj.COMMODITY_ID)
|
||||
url: "/pages/shopPages/shopDetail/index?id=".concat(obj.COMMODITY_ID, "&pageType=").concat(this.pageType)
|
||||
});
|
||||
},
|
||||
// 返回上级
|
||||
@ -303,6 +327,11 @@ var _default = {
|
||||
uni.navigateBack({
|
||||
delta: 1
|
||||
});
|
||||
},
|
||||
// 滚动到底部 加载更多
|
||||
handleScrollBottom: function handleScrollBottom() {
|
||||
this.shopMsg.pageIndex = this.shopMsg.pageIndex + 1;
|
||||
this.handleGetShopList(this.queryType);
|
||||
}
|
||||
}
|
||||
};
|
||||
|
||||
@ -1 +1 @@
|
||||
<view class="main data-v-8f44761e"><view class="headerTitle data-v-8f44761e" style="{{'height:'+(menu.bottom+4+'px')+';'+('padding-top:'+(menu.top+'px')+';')}}"><image class="backArrow data-v-8f44761e" src="https://eshangtech.com/ShopICO/ahyd-BID/commercial/navigation-left.svg" data-event-opts="{{[['tap',[['handleBack',['$event']]]]]}}" bindtap="__e"></image><text class="pageTitle data-v-8f44761e">{{pageTitle||""}}</text><view class="backArrow data-v-8f44761e"></view></view><view class="content data-v-8f44761e" style="{{'height:'+('calc(100vh - '+(menu.bottom+4)+'px)')+';'}}"><block wx:if="{{$root.g0}}"><view class="shopList data-v-8f44761e"><block wx:for="{{shopList}}" wx:for-item="subItem" wx:for-index="subIndex" wx:key="subIndex"><view data-event-opts="{{[['tap',[['handleGoShopDetail',['$0'],[[['shopList','',subIndex]]]]]]]}}" class="buyShopItem _div data-v-8f44761e" catchtap="__e"><view class="shopImgContent _div data-v-8f44761e"><image class="shopImage data-v-8f44761e" src="{{subItem.IMAGE_PATH}}"></image></view><view class="priceBox _div data-v-8f44761e"><view class="shopName _div data-v-8f44761e">{{subItem.COMMODITY_NAME}}</view><view class="retailPrice data-v-8f44761e">{{"¥"+(subItem.RETbigNumber||"")+"."+(subItem.RETsmallNumber||"00")}}</view><view class="nowPrice data-v-8f44761e"><text class="unit data-v-8f44761e">¥</text><text class="price data-v-8f44761e">{{(subItem.bigNumber||"")+"."+(subItem.smallNumber||"00")}}</text></view></view></view></block></view></block><block wx:else><view class="noDataBox data-v-8f44761e"><no-data vue-id="535b5a35-1" text="暂无商品数据" class="data-v-8f44761e" bind:__l="__l"></no-data></view></block></view></view>
|
||||
<view class="main data-v-8f44761e"><view class="headerTitle data-v-8f44761e" style="{{'height:'+(menu.bottom+4+'px')+';'+('padding-top:'+(menu.top+'px')+';')}}"><image class="backArrow data-v-8f44761e" src="https://eshangtech.com/ShopICO/ahyd-BID/commercial/navigation-left.svg" data-event-opts="{{[['tap',[['handleBack',['$event']]]]]}}" bindtap="__e"></image><text class="pageTitle data-v-8f44761e">{{pageTitle||""}}</text><view class="backArrow data-v-8f44761e"></view></view><scroll-view class="content data-v-8f44761e" style="{{'height:'+('calc(100vh - '+(menu.bottom+4)+'px)')+';'}}" scroll-y="{{true}}" data-event-opts="{{[['scrolltolower',[['handleScrollBottom',['$event']]]]]}}" bindscrolltolower="__e"><block wx:if="{{$root.g0}}"><view class="shopList data-v-8f44761e"><block wx:for="{{shopList}}" wx:for-item="subItem" wx:for-index="subIndex" wx:key="subIndex"><view data-event-opts="{{[['tap',[['handleGoShopDetail',['$0'],[[['shopList','',subIndex]]]]]]]}}" class="buyShopItem _div data-v-8f44761e" catchtap="__e"><view class="shopImgContent _div data-v-8f44761e"><image class="shopImage data-v-8f44761e" src="{{subItem.IMAGE_PATH}}"></image></view><view class="priceBox _div data-v-8f44761e"><view class="shopName _div data-v-8f44761e">{{subItem.COMMODITY_NAME}}</view><view class="retailPrice data-v-8f44761e">{{"¥"+(subItem.RETbigNumber||"")+"."+(subItem.RETsmallNumber||"00")}}</view><view class="nowPrice data-v-8f44761e"><text class="unit data-v-8f44761e">¥</text><text class="price data-v-8f44761e">{{(subItem.bigNumber||"")+"."+(subItem.smallNumber||"00")}}</text></view></view></view></block><block wx:if="{{$root.g1>0}}"><view class="load-more data-v-8f44761e"><text class="data-v-8f44761e">{{!shopMsg.isOver?"正在加载,请稍后...":"——— 我是有底线的 ———"}}</text></view></block></view></block><block wx:else><view class="noDataBox data-v-8f44761e"><no-data vue-id="535b5a35-1" text="暂无商品数据" class="data-v-8f44761e" bind:__l="__l"></no-data></view></block></scroll-view></view>
|
||||
@ -25,7 +25,6 @@
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 32rpx;
|
||||
overflow-y: auto;
|
||||
}
|
||||
.main .content .shopList.data-v-8f44761e {
|
||||
display: flex;
|
||||
@ -220,6 +219,13 @@
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.main .content .shopList .load-more.data-v-8f44761e {
|
||||
text-align: center;
|
||||
width: 100%;
|
||||
height: 80rpx;
|
||||
color: #9999;
|
||||
font-size: 24rpx;
|
||||
}
|
||||
.main .content .noDataBox.data-v-8f44761e {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
|
||||
@ -219,6 +219,7 @@ var _default = {
|
||||
this.menu = uni.getMenuButtonBoundingClientRect();
|
||||
},
|
||||
onShow: function onShow() {
|
||||
console.log("this.user", this.user);
|
||||
if (!this.user.MEMBERSHIP_ID) {
|
||||
uni.navigateTo({
|
||||
url: "/pages/register/index"
|
||||
|
||||
File diff suppressed because one or more lines are too long
@ -144,10 +144,10 @@
|
||||
border-radius: 0 0 16rpx 16rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
position: relative;
|
||||
justify-content: space-between;
|
||||
}
|
||||
.main .content .userBox .userBottom .bottomItem.data-v-137d5072 {
|
||||
width: 50%;
|
||||
width: calc((100% - 16rpx) / 3);
|
||||
height: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 24rpx 0;
|
||||
@ -155,6 +155,7 @@
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
position: relative;
|
||||
}
|
||||
.main .content .userBox .userBottom .bottomItem .label.data-v-137d5072 {
|
||||
font-family: PingFangSC, PingFang SC;
|
||||
@ -174,15 +175,15 @@
|
||||
text-align: left;
|
||||
font-style: normal;
|
||||
}
|
||||
.main .content .userBox .userBottom .line.data-v-137d5072 {
|
||||
.main .content .userBox .userBottom .bottomItem .rightLine.data-v-137d5072 {
|
||||
position: absolute;
|
||||
right: 0;
|
||||
top: 50%;
|
||||
-webkit-transform: translateY(-50%);
|
||||
transform: translateY(-50%);
|
||||
width: 2rpx;
|
||||
height: 72rpx;
|
||||
background: #eeeeee;
|
||||
top: 50%;
|
||||
-webkit-transform: translate(-50%, -50%);
|
||||
transform: translate(-50%, -50%);
|
||||
left: 50%;
|
||||
}
|
||||
.main .content .orderFun.data-v-137d5072 {
|
||||
width: 100%;
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user