Authored by Tao

modify channel style

... ... @@ -7,6 +7,10 @@ export default (context, type = 'server') => {
return (err, vm, info) => {
logger.error(err, vm, info);
if (process.env.NO_APM_REPORT) {
return;
}
if (process.env.NODE_ENV === 'production') {
setImmediate(() => {
const reportData = {
... ...
... ... @@ -16,21 +16,10 @@ export default {
},
watch: {
'report': function(newVal) {
// console.log(newVal);
},
},
// activated() {
// console.log(this.report);
// console.log("this.report");
// },
methods: {
jumpTo() {
this.$store.dispatch('reportYas', {
params: {
appop: this.reportEvent,
param:this.report
}
});
if (!this.href) {
return;
... ... @@ -39,6 +28,13 @@ export default {
this.$xianyu.goXianyuNewPage({
url: this.href
});
this.$store.dispatch('reportYas', {
params: {
appop: this.reportEvent,
param:this.report
}
});
}
}
};
... ...
... ... @@ -154,7 +154,7 @@ export default {
}
}
});
this.reportYas();
this.reportYas(0);
}
},
goProductList(item, index, itemSub) {
... ... @@ -175,33 +175,6 @@ export default {
}
});
},
reportPaser(subList) {
// console.log('reportPaser')
// console.log(...subList);
if(subList && subList.length > 0){
let reportSub = [];
subList.forEach((val, index) => {
val.su
let reportItem = {
CATE_ID: this.sortItem.id || '',
CATE_NM: this.sortItem.name || '',
CATE_INDEX: this.sortItem.index || '',
F_ID: index,
F_NAME: val.name,
F_INDEX: index,
I_INDEX: index,
TO_TYPE: 'brand',
TO_ID: val.id,
}
reportSub.push(subItem);
});
}
}
},
computed: {
...mapState(['categoryParent', 'categorySubList']),
... ...
<template>
<LayoutApp :show-back="true" title="绑定支付宝">
<div class="body" ref="body">
<Scroll class="scroll-content">
<div class="account-form">
<p class="form-title">账号</p>
<div class="form-input-block">
... ... @@ -15,7 +14,6 @@
<div class="account-footer">
<CubeButton class="submit-btn" :disabled="canSubmit" @click="submitBind">提交</CubeButton>
</div>
</Scroll>
</div>
<myDialog :isShow="dialogShow" :data="{name,account}" @cancel-click="cancel" @confirm-click="confirm"></myDialog>
</LayoutApp>
... ... @@ -24,7 +22,7 @@
<script>
import { createNamespacedHelpers } from 'vuex';
import {Input, Button, Scroll, Style} from 'cube-ui';
import {Input, Button, Style} from 'cube-ui';
import myDialog from './components/bindModel';
const {mapState, mapActions} = createNamespacedHelpers('home/bindAccount');
export default {
... ... @@ -72,7 +70,6 @@ export default {
},
components: {
Style,
Scroll,
CubeInput: Input,
CubeButton: Button,
myDialog
... ... @@ -88,9 +85,6 @@ export default {
background-color: white;
padding: 0 40px;
}
/deep/ .cube-scroll-content {
height: 100%;
}
.account-form {
margin-top: 40px;
}
... ...
... ... @@ -126,6 +126,10 @@ export default {
}
},
activated() {
if (!this.channelList.list || !this.channelList.list.length) {
this.fetchChannelList();
}
this.init();
this.PAGE_URL = window.location.href;
// 首页进入上报
this.$store.dispatch('reportYas', {
... ... @@ -134,10 +138,6 @@ export default {
appop: 'XY_UFO_MAIN_START'
}
});
if (!this.channelList.list || !this.channelList.list.length) {
this.fetchChannelList();
}
this.init();
},
async serverPrefetch() {
return this.fetchChannelList();
... ... @@ -168,8 +168,8 @@ export default {
eleHeight = this.$refs[index][0].$el.offsetHeight;
eleTop = this.$refs[index][0].$el.offsetTop;
} else {
eleHeight = this.$refs.scrollNav.offsetHeight;
eleTop = this.$refs.scrollNav.offsetTop;
eleHeight = this.navHeight;
eleTop = this.navTop;
}
if(scrollY) { // 滚动时
if(scrollHeight + scrollY > eleTop && item.template_name === 'guessLike') {
... ... @@ -200,7 +200,7 @@ export default {
},
reportYas(scrollY) {
this.getReportEle(scrollY)
console.log(this.homeYasParams)
// console.log(this.homeYasParams)
this.$store.dispatch('reportYas', {
params: {
param: this.homeYasParams,
... ...
... ... @@ -8,7 +8,7 @@
<p class='assets-record-code-txt'>{{data.goodsName}}</p>
<p class='assets-record-time-txt'>{{data.time}}</p>
</div>
<div class='assets-record-right-view'>
<p class='assets-record-income-txt'>{{data.tradeType === 5 ? '-': '+'}}{{data.amount}}</p>
</div>
... ... @@ -36,13 +36,14 @@ export default {
},
data() {
return {
};
},
};
</script>
<style lang="scss" scoped>
@import "../../../../statics/scss/variable";
.assets-record-container {
display: flex;
margin: 0 40px;
... ... @@ -93,10 +94,10 @@ export default {
margin-top: 12px;
}
.assets-record-income-txt {
font-family: SFProText-Medium;
font-weight: bold;
font-size: 28px;
color: black;
@include num
}
.assets-record-income-tip-txt {
font-family: PingFang-SC-Regular;
... ...
... ... @@ -43,6 +43,8 @@ export default {
</script>
<style lang="scss" scoped>
@import "../../../../statics/scss/variable";
.orders {
display: flex;
height: 100px;
... ... @@ -70,9 +72,9 @@ export default {
}
.order-num {
font-family: "Alte DIN 1451 Mittelschrift";
font-size: 32px;
text-align: center;
@include num
}
.order-text {
... ...
... ... @@ -87,6 +87,8 @@ export default {
</script>
<style lang="scss" scoped>
@import "../../../../statics/scss/variable";
.tab-item {
display: flex;
height: 120px;
... ... @@ -105,7 +107,7 @@ export default {
}
.grey {
background-color: #F2F2F2;
// margin: 0 -40px;
margin: 0 -40px;
padding: 0 40px;
}
... ... @@ -125,10 +127,10 @@ export default {
}
.text {
font-family: "Alte DIN 1451 Mittelschrift";
color: black;
text-align: right;
font-size: 32px;
@include num
}
.cubeic-arrow {
... ...
<template>
<LayoutApp :show-back="true" title="我的" :hideHeader="hideHeader">
<div class="body" ref="body">
<Scroll>
<div v-for="(value, key) in getMineList" :key="key">
<tab-item v-if="key === 'board'" :data="value" noLine icon="cubeic-notification" small grey>
<noticeScroll></noticeScroll>
</tab-item>
<template v-else-if="key === 'resource1' || key === 'resource2'">
<div v-if="value.data.template_name ==='single_image'" class="marg">
<div v-if="value.data.template_name ==='single_image'">
<singleImage :data="value.data.data[0]"></singleImage>
</div>
</template>
<div v-else-if="key === 'order'" class="bg-bottom marg">
<div v-else-if="key === 'order'" class="bg-bottom">
<order></order>
</div>
<div v-else-if="key === 'sale'" class="bg-top marg">
<div v-else-if="key === 'sale'" class="bg-top">
<tab-item :data="value" noLine titleBold titleSmall></tab-item>
</div>
<bind class="marg" v-else-if="key === 'bindAccount'" :data="value"></bind>
<tab-item class="marg" v-else :data="value"></tab-item>
<bind v-else-if="key === 'bindAccount'" :data="value"></bind>
<tab-item v-else :data="value"></tab-item>
</div>
</Scroll>
</div>
</LayoutApp>
</template>
... ... @@ -31,7 +29,6 @@ import order from './components/order';
import scroll from './components/scroll';
import singleImage from './components/singleImage';
import bind from './components/bind';
import {Style, Scroll} from 'cube-ui';
import { createNamespacedHelpers } from 'vuex';
const { mapGetters, mapActions } = createNamespacedHelpers('home/mine');
... ... @@ -73,9 +70,6 @@ export default {
noticeScroll: scroll,
singleImage,
bind,
Style,
Scroll
}
};
</script>
... ... @@ -83,12 +77,9 @@ export default {
<style lang="scss" scoped>
.body {
height: 100%;
// overflow-y: auto;
overflow-y: auto;
background-color: white;
// padding: 0 40px;
}
.marg {
margin: 0 40px;
padding: 0 40px;
}
.bg-top,
... ...
... ... @@ -55,6 +55,7 @@ export default {
// 画progress底部背景
drawProgressbg: function (summary) {
let c=document.getElementById("canvasProgressbg");
if(!c) return
let ctx=c.getContext("2d");
ctx.lineWidth= 30 ;
let strokeStyle = '#E0E0E0'
... ... @@ -72,6 +73,7 @@ export default {
// 画progress进度
drawCircle: function (step) {
let c=document.getElementById("canvasProgress");
if(!c) return
let context=c.getContext("2d");
context.lineWidth=30;
let strokeColor = '#002B47'
... ...
... ... @@ -39,6 +39,7 @@ export default {
</script>
<style lang="scss" scoped>
@import "../../../../statics/scss/variable";
.income-header-wrapper {
position: relative;
}
... ... @@ -50,6 +51,7 @@ export default {
font-size: 40px;
font-weight: bold;
margin-bottom: 44px;
@include num
}
.income {
margin-bottom: 20px;
... ...
... ... @@ -4,8 +4,8 @@
<div class="filter">
<div class="filter-tab">
<div class="tab-item" :class="selectedType === 2 && 'selected-tab'" @click="pressType(2)">人气</div>
<div class="tab-item middle" :class="selectedType === 1 && 'selected-tab'" @click="pressType(1)">
<span>价格</span>
<div class="tab-item middle" @click="pressType(1)">
<span :class="selectedType === 1 && 'selected-tab'">价格</span>
<div :class="arrowImage"></div>
</div>
<div class="tab-item" :class="selectedType === 3 && 'selected-tab'" @click="pressType(3)">新品</div>
... ...
<!--买家求购确认页-->
<template>
<LayoutApp :show-back="true" title="出价求购">
<cube-scroll :options="options">
<div class="body" ref="body">
<div class="topContainer">
... ... @@ -77,7 +76,6 @@
</div>
</div>
</cube-scroll>
<div class="bottomContainer">
<OrderAgree :value="isAgreeTerms" @input="isAgreeTerms = !isAgreeTerms" class="agree-wrapper" :desc="agreeDesc" :url="url"></OrderAgree>
<div class="btn-wrapper">
... ... @@ -216,7 +214,8 @@ export default {
// if (this.originProductData.least_price && this.originProductData.skup && this.originProductData.least_price <= this.inputPrice) {
// this.showBuyDialog();
// } else {
this.computePrice();
this.computePrice();
// }
}, 500, {leading: false, trailing: true}),
... ... @@ -335,19 +334,6 @@ export default {
payOrder() {
let vm = this;
this.$store.dispatch('reportYas', {
params: {
appop: 'UFO_WTBUY_ORD',
param: {
ORDER_NUM: get(this.publishresult, 'orderCode', ''),
PRD_STORAGEID: this.storageId,
PRD_SIZE: get(this.originProductData, 'sizeName', ''),
PRICE: this.inputPrice,
FORNT_AMOUNT: get(this.publishresult, 'depositAmount', '')
}
}
});
this.$createOrderPayType({
price: get(this.publishresult, 'depositAmount', ''),
desc: '定金',
... ... @@ -374,6 +360,20 @@ export default {
vm.onClose(get(vm.publishresult, 'orderCode', ''));
}
}).show();
this.$store.dispatch('reportYas', {
params: {
appop: 'UFO_WTBUY_ORD',
param: {
ORDER_NUM: get(this.publishresult, 'orderCode', ''),
PRD_STORAGEID: this.storageId,
PRD_SIZE: get(this.originProductData, 'sizeName', ''),
PRICE: this.inputPrice,
FORNT_AMOUNT: get(this.publishresult, 'depositAmount', '')
}
}
});
},
showPicker() {
... ...
... ... @@ -36,6 +36,8 @@ export default {
</script>
<style lang="scss" scoped>
@import "../../../../statics/scss/variable";
.price-item {
display: flex;
font-size: 28px;
... ... @@ -50,5 +52,6 @@ export default {
font-size: 36px;
color: #d0021b;
font-weight: bold;
@include num
}
</style>
... ...
... ... @@ -25,6 +25,8 @@ export default {
</script>
<style lang="scss" scoped>
@import "../../../../statics/scss/variable";
.product-wrapper {
height: 180px;
}
... ... @@ -60,6 +62,7 @@ export default {
font-size: 28px;
margin-bottom: 12px;
font-weight: bold;
@include num
}
</style>
... ...
... ... @@ -67,6 +67,8 @@ export default {
</script>
<style lang="scss" scoped>
@import "../../../statics/scss/variable";
.count-down-wrapper {
display: flex;
font-size: 32px;
... ... @@ -84,6 +86,7 @@ export default {
& > span {
padding: 0 9px;
@include num
}
}
</style>
\ No newline at end of file
</style>
... ...
... ... @@ -323,6 +323,11 @@ export default {
});
if (result.code === 200 && result.data.orderCode) {
this.reportYas('XY_UFO_SALE_ORD', {
ORD_NUM: result.data.orderCode,
PRD_ID: result.data.productId,
PRD_SKU: result.data.skup
});
console.log(result);
this.$createOrderPayType({
orderCode: result.data.orderCode,
... ... @@ -330,6 +335,7 @@ export default {
desc: '保证金',
extra: JSON.stringify({
type: 'sell',
reportType: 'sell',
back: {
name: 'InSaleOrderList'
},
... ... @@ -360,6 +366,14 @@ export default {
// console.log(result);
},
reportYas(name, params) {
this.$store.dispatch('reportYas', {
params: {
appop: name,
param: params
}
});
},
clearData() {
// 清空数据状态
// console.log(this.$router);
... ...
<!--卖家求购变现-->
<template>
<LayoutApp :show-back="true" title="变现">
<cube-scroll :options="options">
<div class="body">
<!--<TitleComp txt="变现"></TitleComp>-->
... ... @@ -17,7 +16,6 @@
<AddressInfo :data="addressInfo" class="order-item"></AddressInfo>
</div>
</cube-scroll>
<div class="footer">
<OrderAgree :value="isAgreeTerms" @input="isAgreeTerms = !isAgreeTerms" class="agree-wrapper" :desc="agreeDesc" :url="url"></OrderAgree>
<div class="btn-wrapper">
... ...
... ... @@ -69,6 +69,7 @@ export default {
}
},
hide() {
this.$emit('hide');
this.isVisible = false;
},
maskClick() {
... ...
<template>
<action-sheet @hidden="onHidden" ref="popup">
<action-sheet @hidden="onHidden" @hide="onHide" ref="popup">
<div class="activity-sheet">
<h3>活动详情</h3>
<div class="list" >
<cube-scroll ref="activityListScroll" :data="list">
<ul>
<li v-for="(item, idx) in list" :key="idx">
<div class="activityName"><span>{{item.promotionTypeStr}}</span> {{item.activityName}}</div>
<div class="activity-name"><span>{{item.promotionTypeStr}}</span> {{item.activityName}}</div>
<div class="sub">{{item.startTimeStr}}-{{item.endTimeStr}}</div>
</li>
</ul>
... ... @@ -41,6 +41,9 @@ export default {
onHidden() {
this.$emit('hidden');
},
onHide() {
this.$emit('hide');
},
}
};
</script>
... ... @@ -89,7 +92,7 @@ export default {
border-bottom: 1px solid #ccc;
}
.activityName {
.activity-name {
font-size: 28px;
font-weight: bold;
}
... ...
<template>
<action-sheet position="right" ref="popup"
@hidden="onHidden"
@hide="onHide"
@shown="onShown"
:panelStyle="{background: 'transparent', paddingLeft: '20%'}"
:hasBorderRadius="false"
... ... @@ -71,6 +72,7 @@ export default {
size_id: info.size_id,
name: name[0],
subName: name[1],
size_name: info.size_name,
price,
storage_id: info.storage_id,
available: info.storage_num > 0 && price !== '-',
... ... @@ -98,6 +100,9 @@ export default {
onHidden() {
this.$emit('hidden');
},
onHide() {
this.$emit('hide');
},
onShown() {
// refresh list
if (this.$refs.scroll) {
... ... @@ -124,7 +129,7 @@ export default {
this.$store.commit('order/buyerAskOrder/BUYER_ASK_SET_PRODUCTINFO', {
bid_moster_price: get(product, 'bid_moster_price', ''),
least_price: get(product, 'least_price', ''),
sizeName: product.name,
sizeName: product.size_name,
sizeId: get(data, 'sizeId', ''),
colorName: get(this.productDetail, 'goods_list[0].color_name', ''),
product_name: this.goodsName,
... ...
<template>
<action-sheet @hidden="onHidden" @shown="onShown" position="right" ref="popup" :full="true">
<action-sheet @hidden="onHidden" @hide="onHide" @shown="onShown" position="right" ref="popup" :full="true">
<div class="buy-sheet">
<div class="header">
<div class="back-wrapper flex" @touchend="onBack">
... ... @@ -77,6 +77,9 @@ export default {
onHidden() {
this.$emit('hidden');
},
onHide() {
this.$emit('hide');
},
onShown() {
if (this.$refs.sizeList) {
this.$refs.sizeList.refreshScroll();
... ...
<template>
<action-sheet @hidden="onHidden" @shown="onShown" ref="popup">
<action-sheet @hidden="onHidden" @hide="onHide" @shown="onShown" ref="popup">
<div class="size-select-sheet">
<div class="select-size">
<div class="title" @click="hide">{{config.title}}<i class="cubeic-close"></i></div>
... ... @@ -148,6 +148,9 @@ export default {
onHidden() {
this.$emit('hidden');
},
onHide() {
this.$emit('hide');
},
onShown() {
if (this.$refs.sizeList) {
this.$refs.sizeList.refreshScroll();
... ... @@ -218,6 +221,7 @@ export default {
<style lang="scss" scoped>
@import "../product-detail";
@import "../../../statics/scss/variable";
.title {
font-size: 40px;
... ... @@ -257,6 +261,7 @@ export default {
padding-top: 30px;
font-size: 32px;
color: #000;
@include num
}
}
}
... ... @@ -355,6 +360,7 @@ export default {
i {
font-size: 20px;
font-style: normal;
@include num
}
}
}
... ...
... ... @@ -2,7 +2,7 @@
<div class="layout">
<LayoutHeader class="layout-header" :show-back="true" :title="'\u200E'"></LayoutHeader>
<div class="layout-context fixscroll">
<cube-scroll :data="imageList" ref="pageScroll">
<div class="cube-scroll-wrapper" ref="pageScroll">
<div class="slide">
<cube-slide ref="slide" :data="imageList">
<cube-slide-item v-for="(item, index) in imageList" :key="index">
... ... @@ -12,7 +12,7 @@
</cube-slide-item>
<template slot="dots" slot-scope="props">
<div class="dot-wrap">
<span class="dot" :class="{active: props.current === index}" v-for="(item, index) in props.dots">&bull;</span>
<span class="cube-dot" :class="{active: props.current === index}" v-for="(item, index) in props.dots">&bull;</span>
</div>
</template>
</cube-slide>
... ... @@ -31,14 +31,14 @@
</a>
<div class="info">
<transition-group name="info-list" tag="div" class="info-list">
<div class="info-list-item" transtion="fade" v-if="activity && activity.length !== 0" @click="showActivity" key="promotion">
<div class="info-list-item" transtion="fade" v-if="activity && activity.length !== 0" @click="showActivity" key="促销">
<div class="info-list-name">促销</div>
<div class="info-list-value info-promote">
<span>{{activity[0].promotionTypeStr}}</span>
<i class="cubeic-arrow"></i>
</div>
</div>
<div class="info-list-item" v-for="(desc, index) in productDec" :key="index">
<div class="info-list-item" v-for="desc in productDec" :key="desc.text">
<div class="info-list-name">{{desc.text}}</div>
<div class="info-list-value">{{desc.value}}</div>
</div>
... ... @@ -52,7 +52,7 @@
<div class="recommend" v-if="recommend"><h2>相关推荐</h2>
<product-list :list="recommend" priceKey="price"/>
</div>
</cube-scroll>
</div>
<div class="footer">
<div class="heart">
<div class="icon-fav" v-if="isFav" @click="_toggleFav(false)">
... ... @@ -80,23 +80,23 @@
<cube-button class="sell" @click="sell">出售</cube-button>
<cube-button class="buy active" @click="buy">购买</cube-button>
</div>
<buy-sheet v-if="showBidSheet" @hidden="onBidSheet" :productId="productId"/>
<size-request-sheet v-if="showSizeRequestSheet" @hidden="onSizeRequestHidden" :productId="productId"/>
<buy-sheet v-if="showBidSheet" @hide="onBidSheetHide" :productId="productId"/>
<size-request-sheet v-if="showSizeRequestSheet" @hide="onSizeRequestHide" :productId="productId"/>
</div>
<activity-list-sheet v-if="showActivitySheet" :list="activity" @hidden="onActivitySheetHidden"/>
<activity-list-sheet v-if="showActivitySheet" :list="activity" @hide="onActivitySheetHide"/>
<size-select-sheet v-if="showSizeSelectSheet"
:list="sizeList"
:product="productDetail"
:image-list="imageList"
:config="selectSizeConfig"
@hidden="onSizeSelectSheetHidden"
@hide="onSizeSelectSheetHide"
@select="onSelectTradeProduct"
@add="onRequestSize"/>
</div>
</template>
<script>
import { Button, Slide, Scroll, Popup } from 'cube-ui';
import { Button, Slide, Popup } from 'cube-ui';
import { get } from 'lodash';
import { createNamespacedHelpers, mapGetters } from 'vuex';
... ... @@ -131,7 +131,6 @@ export default {
'cube-button': Button,
'cube-slide': Slide,
'cube-slide-item': Slide.Item,
'cube-scroll': Scroll,
'cube-popup': Popup,
},
props: {
... ... @@ -194,15 +193,28 @@ export default {
// 在action-sheet显示控制与对应关闭方法
this.actionSheetCloseMap = {
showActivitySheet: 'onActivitySheetHidden',
showBidSheet: 'onBidSheet',
showSizeSelectSheet: 'onSizeSelectSheetHidden',
showSizeRequestSheet: 'onSizeRequestHidden',
showActivitySheet: 'onActivitySheetHide',
showBidSheet: 'onBidSheetHide',
showSizeSelectSheet: 'onSizeSelectSheetHide',
showSizeRequestSheet: 'onSizeRequestHide',
};
},
asyncData({store, router}) {
const productId = parseInt(router.params.productId, 10);
if (isNaN(productId)) {
throw new Error('无效的商品ID');
}
return store.dispatch('product/fetchProductInfo', {productId});
},
activated() {
this.$refs.pageScroll && this.$refs.pageScroll.scrollTo(0, 0, 0);
if (this.$refs.pageScroll) {
this.$refs.pageScroll.scrollTop = 0;
}
this.loadData(this.productId);
this.refresh();
},
beforeRouteUpdate(to, from ,next) {
if (this.historyBackGuard() === false) {
... ... @@ -231,7 +243,7 @@ export default {
return true;
},
refresh() {
this.$refs.slide.refresh();
this.$refs.slide && this.$refs.slide.refresh && this.$refs.slide.refresh();
},
sizeImg(src, width = 360, height = 72) {
if (src) {
... ... @@ -240,20 +252,9 @@ export default {
},
// 加载商品详情数据
loadData(productId = this.productId, loading) {
loading && loading.show();
loadData(productId = this.productId) {
this.fetchBrandTop({productId});
this.fetchFav({productId});
return this.fetchProductInfo({productId}).then(() => {
loading && loading.hide();
setTimeout(() => {
this.refresh();
}, 200);
}).catch(() => {
loading && loading.hide();
});
},
/**
... ... @@ -318,12 +319,12 @@ export default {
},
// 关闭活动列表
onActivitySheetHidden() {
onActivitySheetHide() {
this.showActivitySheet = false;
},
// 选择尺寸
onSizeSelectSheetHidden() {
onSizeSelectSheetHide() {
this.showSizeSelectSheet = false;
},
... ... @@ -430,7 +431,7 @@ export default {
},
// 添加尺寸关闭
onSizeRequestHidden() {
onSizeRequestHide() {
this.showSizeRequestSheet = false;
},
... ... @@ -440,7 +441,7 @@ export default {
},
// 购买
onBidSheet() {
onBidSheetHide() {
this.showBidSheet = false;
},
},
... ... @@ -485,20 +486,17 @@ export default {
padding-bottom: 10px;
}
.dot {
.cube-dot {
display: inline-block;
width: 8px;
height: 8px;
width: 6px;
height: 6px;
margin: 0 10px;
background: radial-gradient(8px 8px at 50% 50%, rgba(0, 0, 0, 0.15) 50%, transparent 50%) no-repeat;
background: rgba(0, 0, 0, 0.15);
border-radius: 50%;
&.active {
/*margin: 2px 10px 0;*/
/*width: 12px;*/
/*height: 12px;*/
transform-origin: 50% 50%;
transform: scale(1.5);
background: radial-gradient(8px 8px at 50% 50%, rgba(0, 0, 0, 1) 50%, transparent 50%) no-repeat;
transform: scale(1.3333);
background: rgba(0, 0, 0, 1);
}
}
... ... @@ -585,7 +583,7 @@ export default {
flex-direction: column;
justify-content: center;
align-items: center;
overflow: hidden;
overflow: Hide;
div {
font-size: 28px;
... ... @@ -658,16 +656,8 @@ export default {
}
.cube-scroll-wrapper {
height: auto;
flex: 1 0 0;
// 当前页面上面白色背景,底部recommend的f2f2f2, scroll的moment功能会使用cube-scroll-wrapper的顶部及底部做空内容填充
background: linear-gradient(to bottom, #fff 0, #f2f2f2 100%);
// 这里覆盖cube-scroll-wrapper渐变背景
/deep/ .cube-scroll-content {
background: #fff;
}
overflow: scroll;
}
.footer {
... ...
$xianyu-theme-red: #d0021b;
@mixin num {
font-family: "DINAlternate-Bold", "sans-serif-condensed", "sans-serif";
}
... ...
... ... @@ -44,7 +44,7 @@ export default function() {
let params = new URLSearchParams();
params.append('pagename', 'productList');
params.append('title', item.linkType);
params.append('title', item.name);
params.append(`${item.linkType}`, item.link);
item.isShow = false;
... ... @@ -63,7 +63,7 @@ export default function() {
let params = new URLSearchParams();
params.append('pagename', 'productList');
params.append('title', item.linkType);
params.append('title', item.name);
params.append(`${item.linkType}`, item.link);
return `${hostUrl}?${params}`
... ...
... ... @@ -90,7 +90,7 @@ export default function() {
},
getMineList(state) {
let tabList = {
board: { title: '', page: 'noticeList' },
// board: { title: '', page: 'noticeList' },
sale: {
title: '出售中',
num: state.sellerNum,
... ...