Commit 40f5f030 by 李伟康

提交

1 parent 170420c8
......@@ -10,6 +10,7 @@
<router-view v-if="!$route.meta.keepAlive"></router-view>
</transition>
</template>
<action v-show="$route.meta.showAction"></action>
</div>
</template>
<script>
......
......@@ -365,19 +365,19 @@
}
to {
transform: translate(-100vw);
transform: translate(200vw);
}
}
.stripe {
position: absolute;
width: 200vw;
width: 300vw;
height: 100%;
left:0;
right: 0;
top: 0;
background: url('https://img02.glsx.com.cn/weapp/resource/scrm-mobile/crowdfunding/line.png') repeat;
background-size: 28px 18px;
animation: move-stripe 30s infinite ease-in-out;
animation: move-stripe 60s infinite ease-in-out;
// animation: rolling 10s linear infinite;
// &::after,
......
......@@ -135,4 +135,4 @@ video {
left: 4px;
animation: side-animation 2s infinite reverse;
}
}
\ No newline at end of file
}
.share-item {
padding-bottom: 14px;
margin-bottom: 14px;
border-bottom: 1px solid #e3e3e6;
.title {
font-size: 16px;
font-weight: 500;
color: #282829;
height: 22px;
}
.sub-title {
font-size: 16px;
font-weight: 500;
color: #282829;
height: 22px;
.all {
margin-left: auto;
height: 17px;
font-size: 0;
.all {
margin-left: auto;
height: 17px;
font-size: 0;
span {
font-size: 12px;
font-weight: 400;
color: #FC5B32;
}
span {
font-size: 12px;
font-weight: 400;
color: #FC5B32;
}
.sprite-icon {
margin-left: 5px;
}
.sprite-icon {
margin-left: 5px;
}
}
}
......
.sprite-icon { background-image: url(../images/sprite.png);background-size: 453px 388px;}
.icon-address { width: 34px; height: 34px; background-position: -310px -232px;}
.sprite-icon { background-image: url(../images/sprite.png);background-size: 453px 420px;}
.icon-address { width: 34px; height: 34px; background-position: -356px -232px;}
.icon-big-play { width: 40px; height: 40px; background-position: -376px -152px;}
.icon-close { width: 24px; height: 24px; background-position: -426px -152px;}
.icon-download { width: 30px; height: 30px; background-position: -310px -276px;}
.icon-flash { width: 10px; height: 14px; background-position: 0px -374px;}
.icon-download { width: 30px; height: 30px; background-position: -352px -278px;}
.icon-flash { width: 10px; height: 14px; background-position: 0px -406px;}
.icon-hot { width: 15px; height: 18px; background-position: -436px -202px;}
.icon-kf-box { width: 300px; height: 350px; background-position: 0px 0px;}
.icon-kf-logo { width: 56px; height: 70px; background-position: -310px -152px;}
.icon-kf { width: 20px; height: 20px; background-position: -376px -202px;}
.icon-live-close { width: 18px; height: 18px; background-position: -420px -316px;}
.icon-music-off { width: 34px; height: 34px; background-position: -354px -232px;}
.icon-music { width: 32px; height: 32px; background-position: -398px -232px;}
.icon-live-close { width: 18px; height: 18px; background-position: -56px -374px;}
.icon-music-off { width: 34px; height: 34px; background-position: -400px -232px;}
.icon-music { width: 32px; height: 32px; background-position: -310px -278px;}
.icon-order { width: 20px; height: 20px; background-position: -406px -202px;}
.icon-pause { width: 30px; height: 30px; background-position: -350px -276px;}
.icon-phone { width: 12px; height: 13px; background-position: -440px -232px;}
.icon-play { width: 30px; height: 30px; background-position: -390px -276px;}
.icon-poster { width: 20px; height: 20px; background-position: -430px -276px;}
.icon-pause { width: 30px; height: 30px; background-position: -392px -278px;}
.icon-phone { width: 12px; height: 13px; background-position: -84px -374px;}
.icon-play { width: 30px; height: 30px; background-position: -310px -320px;}
.icon-poster { width: 20px; height: 20px; background-position: -432px -278px;}
.icon-qr { width: 143px; height: 142px; background-position: -310px 0px;}
.icon-scan { width: 30px; height: 30px; background-position: -310px -316px;}
.icon-success { width: 20px; height: 20px; background-position: -390px -316px;}
.icon-time { width: 12px; height: 11px; background-position: -20px -374px;}
.icon-scan { width: 30px; height: 30px; background-position: -350px -320px;}
.icon-success { width: 20px; height: 20px; background-position: -430px -320px;}
.icon-time { width: 12px; height: 11px; background-position: -106px -374px;}
.icon-title { width: 170px; height: 4px; background-position: 0px -360px;}
.icon-top { width: 30px; height: 30px; background-position: -350px -316px;}
.icon-arrow { width: 7px; height: 11px; background-position: -42px -374px;}
\ No newline at end of file
.icon-top { width: 30px; height: 30px; background-position: -390px -320px;}
.icon-arrow { width: 7px; height: 11px; background-position: -444px -232px;}
.icon-avatar { width: 36px; height: 36px; background-position: -310px -232px;}
.icon-faq-left { width: 18px; height: 22px; background-position: 0px -374px;}
.icon-faq-right { width: 18px; height: 22px; background-position: -28px -374px;}
\ No newline at end of file

99.4 KB | W: | H:

107 KB | W: | H:

src/assets/images/sprite.png
src/assets/images/sprite.png
src/assets/images/sprite.png
src/assets/images/sprite.png
  • 2-up
  • Swipe
  • Onion skin
......@@ -67,50 +67,70 @@ import { shopmallApi, wxConfig } from '@/api'
import { util } from '@/utils'
export default {
name: 'Action',
props: ['detail', 'updata'],
watch: {
'detail': function (n) {
this.show = true
let [price, decimal] = this.centsToyuan(n.retailPrice).toString().split('.')
if (!decimal) decimal = '00'
n.price = price
n.decimal = decimal
// limitPurchaseFlag 是否限购标志:1 否;2 是;
//buyFlag 1是未购买或者未限购,2是已购买且达到购买上限,3是已购买且未达到购买上限
let formList = []
if (n.selectCarNumberFlag && n.selectCarNumberFlag == 2) formList.push({
key: 'plateNo',
maxlength: 10,
name: '车牌号'
})
if (n.selectVehicleTypeFlag && n.selectVehicleTypeFlag == 2) {
formList.push(...[{
route: 'carBrands',
name: '品牌',
key: 'carBrandsText'
}, {
route: 'carSeries',
name: '车型',
key: 'carTypeText'
}])
watchCarInfo: {
immediate: true,
handler (n) {
let {
activityInfo: { carInfo },
activityInfo }
= this.$store.state.app
if (carInfo) this.carInfo = carInfo
this.detail = activityInfo
}
let list = [{
key: 'formDescribeFirst',
maxlength: 40,
name: n.formDescribeFirst
}, {
key: 'formDescribeSecond',
maxlength: 40,
name: n.formDescribeSecond
}, {
key: 'formDescribeThird',
maxlength: 40,
name: n.formDescribeThird
}]
this.formList = [...formList, ...list]
},
updata (n) {
this.carInfo = this.detail.carInfo
watchInfo: {
immediate: true,
handler (n) {
if (n.updata) {
this.show = true
let [price, decimal] = this.centsToyuan(n.retailPrice).toString().split('.')
if (!decimal) decimal = '00'
n.price = price
n.decimal = decimal
// limitPurchaseFlag 是否限购标志:1 否;2 是;
//buyFlag 1是未购买或者未限购,2是已购买且达到购买上限,3是已购买且未达到购买上限
let formList = []
if (n.selectCarNumberFlag && n.selectCarNumberFlag == 2) formList.push({
key: 'plateNo',
maxlength: 10,
name: '车牌号'
})
if (n.selectVehicleTypeFlag && n.selectVehicleTypeFlag == 2) {
formList.push(...[{
route: 'carBrands',
name: '品牌',
key: 'carBrandsText'
}, {
route: 'carSeries',
name: '车型',
key: 'carTypeText'
}])
}
let list = [{
key: 'formDescribeFirst',
maxlength: 40,
name: n.formDescribeFirst
}, {
key: 'formDescribeSecond',
maxlength: 40,
name: n.formDescribeSecond
}, {
key: 'formDescribeThird',
maxlength: 40,
name: n.formDescribeThird
}]
this.formList = [...formList, ...list]
}
}
}
},
computed: {
watchInfo () {
return this.$store.state.app.activityInfo
},
watchCarInfo () {
return this.$store.state.app.carInfo
}
},
data () {
......@@ -194,7 +214,7 @@ export default {
signType: payParams.signType,
timeStamp: payParams.timeStamp,
package: payParams.packages
}))}&redirectUrl=${redirectUrl}`
}))}&redirectUrl=${redirectUrl}`//
})
}
else wxConfig.chooseWXPay(params).then(() => this.to('crowdfunding.success', { orderInfo }))
......
<template>
<div class="share-item">
<div class="title flex">
玩家心得(1885)
<div class="all flex">
<span>全部</span>
<div class="sprite-icon icon-arrow"></div>
<div :class="['share-item',{hideBorder}]">
<div class="content">
<div class="user-info flex">
<div class="sprite-icon icon-avatar"></div>
玩家{{num}}
</div>
<div
:class="['text',{'text-two-line':indexType}]"
v-text="item.experience"
>
</div>
<div :class="['img-box',{'four':indexType}]">
<template v-for="(i,index) in item.activityExperienceImgs">
<div
@click="jumpPreview(index)"
v-if="indexType?index < 4 :true"
class="img-item"
:key="index"
>
<img :src="i.imageUrl" />
</div>
</template>
</div>
</div>
</div>
......@@ -13,6 +29,15 @@
<script type='text/ecmascript-6'>
export default {
name: 'EvaluateItem',
props: {
hideBorder: Boolean,
indexType: Boolean,
item: {
type: Object,
default: () => { }
},
num: Number
},
data () {
return {
}
......@@ -20,10 +45,48 @@ export default {
mounted () {
},
methods: {
jumpPreview (index) {
let { activityExperienceImgs, experience } = this.item, item = []
activityExperienceImgs.map(e => item.push(e.imageUrl))
this.to('crowdfunding.imagePreview', { item, index, experience })
}
}
}
</script>
<style scoped lang='scss'>
@import '@/assets/css/sharegoods.scss';
.user-info {
padding: 14px 0 10px;
font-size: 16px;
font-weight: 600;
color: #282829;
.sprite-icon {
margin-right: 8px;
}
}
.text {
font-size: 14px;
color: #282829;
line-height: 20px;
margin-bottom: 13px;
}
.img-box {
display: flex;
flex-wrap: wrap;
gap: 6px;
.img-item {
width: 110px;
height: 110px;
border-radius: 4px;
}
}
.img-box.four {
gap: 8px;
flex-wrap: nowrap;
.img-item {
width: 75px;
height: 75px;
}
}
</style>
\ No newline at end of file
<template>
<div :class="['share-item',{hideBorder}]">
<div class="title flex">
商品答疑(9)
<div class="all flex">
<span>全部</span>
<div class="sprite-icon icon-arrow"></div>
<div :class="['share-item',{hideBorder},{indexType}]">
<div class="faq-item">
<div class="q flex">
<template v-if="indexType">
<div class="icon text-center">问</div>
</template>
<template v-else>
<div class="sprite-icon icon-faq-left"></div>
</template>
<div :class="['value',{'text-hide':indexType}]">{{item.question}}</div>
</div>
<template v-if="!indexType">
<div class="a flex">
<div class="sprite-icon icon-faq-right"></div>
<div class="value">{{item.answer}}</div>
</div>
</template>
</div>
<div class="content"></div>
</div>
</template>
......@@ -15,7 +24,12 @@
export default {
name: 'FAQItem',
props: {
hideBorder: Boolean
hideBorder: Boolean,
indexType: Boolean,
item: {
type: Object,
default: () => { }
}
},
data () {
return {
......@@ -30,4 +44,58 @@ export default {
<style scoped lang='scss'>
@import '@/assets/css/sharegoods.scss';
.faq-item {
padding-top: 16px;
.flex {
margin-bottom: 12px;
align-items: flex-start;
.sprite-icon {
margin-right: 8px;
flex-shrink: 0;
}
}
.q {
.value {
font-weight: 500;
font-size: 16px;
color: #2c2c2c;
}
}
.a {
.value {
font-size: 14px;
color: #282829;
}
}
.value {
line-height: 20px;
}
.icon {
color: #ffffff;
font-size: 12px;
width: 14px;
height: 14px;
background: linear-gradient(108deg, #ffbe68 0%, #ff5446 60%, #f45454 100%);
border-radius: 2px;
flex-shrink: 0;
margin-right: 4px;
}
}
.indexType {
.faq-item {
padding-top: 0;
}
.flex {
margin-bottom: 0;
align-items: center;
}
.q {
margin-bottom: 6px;
.value {
font-size: 12px;
font-weight: 400;
color: #2c2c2c;
}
}
}
</style>
\ No newline at end of file
<template>
<div class="serve">
<div
class="serve"
v-if="list.length"
>
<div
class="box flex"
@click="showModal = true"
>
服务
<div class="serve-text"></div>
<div class="serve-text flex">
<template v-for="(i,index) in list">
<div :key="index" class="flex">
{{i.title}}
<span v-if="index != list.length - 1">·</span>
</div>
</template>
</div>
<div class="sprite-icon icon-arrow"></div>
</div>
<serve-modal
......@@ -19,31 +29,15 @@
<script type='text/ecmascript-6'>
export default {
name: 'Serve',
props: {
list: {
type: Array,
default: () => []
}
},
data () {
return {
showModal: false,
list: [
{
title: '活动期间每人限购1件',
value: '此数量为活动期内买家累计可拍数量'
},
{
title: '24小时发货',
value: '在买家经过支付宝完成付款或经过货到付款下单胜利后,卖家将在24小时内(不可抗力要素除外)发送买家所购实物商品的效劳。'
},
{
title: '闪电退货',
value: '广东省深圳市福田区沙头街道白石路东1-2层(福田汽车站东南侧)'
},
{
title: '7天无理由退货',
value: '满足相应条件时,消费者可申请“7天无理由退货”'
},
{
title: '先付后买再核销先付后买再核销不超过20个字',
value: '服务说明文本区域,高度不变,超出内容在内容区域里面滚动,左右边距16px,上下边距14px。不超过50个字。'
}
]
showModal: false
}
},
mounted () {
......@@ -66,6 +60,7 @@ export default {
color: #2c2c2c;
margin-left: 20px;
overflow: hidden;
white-space: nowrap;
}
.sprite-icon {
margin-left: auto;
......
......@@ -12,7 +12,7 @@
class="item"
>
<div class="title">{{i.title}}</div>
<div class="value">{{i.value}}</div>
<div class="value">{{i.content}}</div>
</div>
</template>
</div>
......
<template>
<div class="box">
<evaluate-item />
<FAQ-item hideBorder />
<template v-if="evaList.length">
<div
class="sub-title flex"
@click="to('crowdfunding.evaluate',{list:evaList})"
>
玩家心得({{evaList.length}})
<div class="all flex">
<span>全部</span>
<div class="sprite-icon icon-arrow"></div>
</div>
</div>
<evaluate-item
:item="evaList[0]"
:hideBorder="!faqList.length"
indexType
:num="1"
>
</evaluate-item>
</template>
<template v-if="faqList.length">
<div class="sprite"></div>
<div
class="sub-title flex faq-title"
@click="to('crowdfunding.faq',{list:faqList})"
>
商品答疑({{faqList.length}})
<div class="all flex">
<span>全部</span>
<div class="sprite-icon icon-arrow"></div>
</div>
</div>
<template v-for="(i,index) in faqList">
<FAQ-item
:key="index"
hideBorder
indexType
:item="i"
v-if="index < 2"
>
</FAQ-item>
</template>
</template>
</div>
</template>
<script type='text/ecmascript-6'>
export default {
name: 'ShareGoods',
props: {
evaList: {
type: Array,
default: () => []
},
faqList: {
type: Array,
default: () => []
}
},
data () {
return {
}
},
mounted () {
// this.faqList = [
// {
// question: '问题1',
// answer: '哈哈哈哈'
// },
// {
// question: '问题2',
// answer: '哈哈ddddd哈哈'
// },
// {
// question: '问题3',
// answer: '哈爽肤水哈哈哈'
// }
// ]
// this.evaluateItem = {
// index: 1,
// text: '这个哑光颜色真的很好看!使用了一段时间,感觉不错,九分裤发副科级看来看了看;力量比之前的产品好用。。',
// indexType: true,
// imgList: [
// 'https://img02.glsx.com.cn/weapp/resource/scrm-mobile/crowdfunding/timer-bg.png',
// 'https://img02.glsx.com.cn/weapp/resource/scrm-mobile/crowdfunding/order-bg.png',
// 'https://img02.glsx.com.cn/weapp/resource/scrm-mobile/test/zxjg.jpg',
// 'https://img02.glsx.com.cn/weapp/resource/scrm-mobile/test/test1.jpg',
// 'https://img02.glsx.com.cn/weapp/resource/scrm-mobile/crowdfunding/order-bg-2.png',
// ]
// }
},
methods: {
}
......@@ -20,8 +97,16 @@ export default {
</script>
<style scoped lang='scss'>
@import '@/assets/css/sharegoods.scss';
.box {
border-radius: 4px;
max-height: 343px;
}
.sprite {
margin-top: 14px;
}
.faq-title {
margin-bottom: 10px;
}
</style>
\ No newline at end of file
......@@ -10,7 +10,7 @@
module.exports = {
title: '加载中...',
request: {
baseURL: 'http://scrm.test.glsx.com.cn', // 本地测试项目地址,
baseURL: 'http://scrm.dev.glsx.com.cn', // 本地测试项目地址,
// 设置超时时间
timeout: 180000,
// 携带凭证
......
......@@ -5,7 +5,8 @@ const pages = {
meta: {
keepAlive: true,
// noAuth: true,
backgroundColor: '#F7F7F7'
backgroundColor: '#F7F7F7',
showAction: true
},
},
{
......@@ -49,6 +50,30 @@ const pages = {
backgroundColor: '#FFF',
title: '订单'
}
},
{
name: 'evaluate',
meta: {
keepAlive: true,
backgroundColor: '#F7F8FA',
title: '玩家心得',
showAction: true
}
},
{
name: 'faq',
meta: {
keepAlive: true,
backgroundColor: '#F7F8FA',
title: '商品答疑'
}
},
{
name: 'imagePreview',
meta: {
keepAlive: true,
backgroundColor: '#101010'
}
}
]
}
......
......@@ -13,9 +13,15 @@ import { Notify } from 'vant'
const state = {
pageMeta: '',
keepAlives: [],
lastPath: ''
lastPath: '',
activityInfo: {},
carInfo: Date.now()
}
const mutations = {
SET_ACTIVITY_INFO (state, value) {
state.activityInfo = value
state.carInfo = Date.now()
},
SET_PAGE_META (state, meta) {
state.pageMeta = meta
},
......@@ -47,6 +53,9 @@ const actions = {
removeKeep ({ commit }, names) {
commit('REMOVE_KEEP', names)
},
setActivityInfo ({ commit }, value) {
commit('SET_ACTIVITY_INFO', value)
},
wxLogin ({ dispatch }, { code, redirectUrl, appId }) {
ssoApi.login({
code,
......
......@@ -184,8 +184,8 @@ const toTop = (top = 0) => {
behavior: 'smooth'
})
}
const getParams = () => {
return window.vm.$route.params
const getParams = name => {
return name ? window.vm.$route.params[name] : window.vm.$route.params
}
const getQuery = () => {
return window.vm.$route.query
......@@ -273,7 +273,7 @@ const draggable = (drag, fun, target) => {
drag.addEventListener(startEvt, startFun)
function startFun (event) {
if(!drag.id) return
if (!drag.id) return
// 阻止页面的滚动,缩放
event.preventDefault()
// 兼容IE浏览器
......
<template>
<div class="box">
<template v-for="(i,index) in list">
<div
class="item"
:key="index"
:style="`padding-bottom:${index == list.length -1 ?'16px':''};`"
>
<evaluate-item
:item="i"
:hideBorder="index == list.length - 1"
:num="index + 1"
/>
</div>
</template>
</div>
</template>
<script type='text/ecmascript-6'>
export default {
name: 'evaluate',
data () {
return {
list: []
}
},
activated () {
let { list } = this.getParams()
if (list && list.length) this.list = list
else if(this.list.length) return
else this.to('crowdfunding')
},
mounted () {
},
methods: {
}
}
</script>
<style scoped lang='scss'>
.box {
padding-bottom: 100px;
.item {
background: #ffffff;
padding: 0 16px;
}
}
</style>
\ No newline at end of file
<template>
<div class="box">
<template v-for="(i,index) in list">
<div
class="item"
:key="index"
:style="`padding-bottom:${index == list.length -1 ?'16px':''};`"
>
<FAQ-item
:item="i"
:hideBorder="index == list.length - 1"
/>
</div>
</template>
</div>
</template>
<script type='text/ecmascript-6'>
export default {
name: 'faq',
data () {
return {
list: []
}
},
activated () {
let { list } = this.getParams()
if (list && list.length) this.list = list
else this.to('crowdfunding')
},
mounted () {
},
methods: {
}
}
</script>
<style scoped lang='scss'>
.box {
padding-bottom: 100px;
.item {
background: #ffffff;
padding: 0 16px;
}
}
</style>
\ No newline at end of file
<template>
<div class="imagePreview">
<template v-if="item">
<van-image-preview
v-model="show"
:images="item"
@change="change"
:show-index="false"
:start-position="index"
ref="preview"
asyncClose
>
</van-image-preview>
<template v-if="textStyle">
<div
class="text"
:style="textStyle"
>
{{experience}}
</div>
</template>
</template>
</div>
</template>
<script type='text/ecmascript-6'>
import { ImagePreview } from 'vant'
export default {
name: 'imagePreview',
components: {
[ImagePreview.Component.name]: ImagePreview.Component
},
data () {
return {
textStyle: '',
experience: '',
item: [],
show: true,
index: 0
}
},
activated () {
let { item, index, experience } = this.getParams()
if (item && item.length) {
this.item = item
this.experience = experience
this.index = index
document.title = `${index + 1}/${item.length}`
setTimeout(() => {
this.textStyle = `z-index:${Number(this.$refs.preview.$el.style.zIndex + 1)}`
}, 1e3)
} else this.to('crowdfunding')
},
mounted () {
},
methods: {
change (e) {
document.title = `${e + 1}/${this.item.length}`
}
}
}
</script>
<style scoped lang='scss'>
.imagePreview {
position: relative;
width: 100vw;
height: 100vh;
.text {
position: fixed;
left: 0;
bottom: 0;
width: 100%;
font-size: 14px;
color: #ffffff;
padding: 16px 16px 50px;
box-sizing: border-box;
z-index: 2;
}
}
</style>
\ No newline at end of file
......@@ -158,9 +158,12 @@
</div>
</template>
<!-- 👇 服务说明 -->
<serve />
<serve :list="detail.activityServices || []" />
<!-- 👇 玩家心得&商品答疑 -->
<share-goods />
<share-goods
:evaList="detail.activityExperienceDTOs || []"
:faqList="detail.activityCommoditys || []"
/>
<!--👇 活动视频 -->
<template v-if="detail.activityVideos && detail.activityVideos.length">
<div :class="['video-box flex', { onlyone: detail.activityVideos.length == 1 }, { onlytwo: detail.activityVideos.length == 2 }]">
......@@ -243,11 +246,6 @@
>
</div>
</template>
<!--👇 底部支付按钮 -->
<action
:detail="detail"
:updata="carInfoKey"
></action>
<!--👇 客服弹窗 -->
<kf-modal
v-model="showKf"
......@@ -289,7 +287,6 @@ export default {
showKf: false,
viewFlag: false,
audioFlag: false,
carInfoKey: Date.now(),
showOrderBtn: false,
userOff: null,
progress: '',
......@@ -299,10 +296,11 @@ export default {
},
beforeRouteEnter (to, from, next) {
next(vm => {
if (vm.detail && vm.detail.activityName) document.title = vm.detail.activityName
let { carInfo } = from.params
if (carInfo) {
vm.detail.carInfo = carInfo
vm.carInfoKey = Date.now()
vm.$store.dispatch('setActivityInfo', vm.detail)
}
if (window.$AUDIO && vm.userOff != 1) {
window.$AUDIO.toggleBGM()
......@@ -351,10 +349,10 @@ export default {
refresh (activityStatus) {
this.updata = Date.now()
this.detail.activityStatus = activityStatus
this.$store.dispatch('setActivityInfo', this.detail)
},
getActivityDetail () {
let { id } = this.getQuery()
if (id && Object.keys(this.getQuery()).length) this.setLocalStorage('wx_scrm_link_params', this.getQuery())
let params = this.getLocalStorage('wx_scrm_link_params')
let userInfo = this.getUserInfo()
if (!id) {
......@@ -374,7 +372,7 @@ export default {
}
this.showLoading()
this.id = id
// bigdatautilApi.reportTrack(id)
bigdatautilApi.reportTrack(id)
shopmallApi.getActivityDetail(id).then(data => {
this.hideLoading()
this.viewFlag = true
......@@ -412,7 +410,9 @@ export default {
}
data.hasDefaultBrands = true
}
data.updata = Date.now()
this.detail = data
this.$store.dispatch('setActivityInfo', data)
let name = '',
openId = '',
logo = ''
......@@ -480,7 +480,6 @@ export default {
})
if (items.length) arr.push(items)
data.arr = arr
data.progress = 88
this.groupInfo = data
this.updata = Date.now()
})
......
......@@ -54,7 +54,7 @@ export default {
goodsName: orderGoods.goodsName,
createdDate: activityJoin.createdDate,
payPrice,
orderStatus: 10,
orderStatus: 1,
formContentFirst: activityJoin.formContentFirst,
formContentSecond: activityJoin.formContentSecond,
formDescribeFirst: activityJoin.formDescribeFirst,
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!