|
@@ -13,32 +13,32 @@
|
|
<p class="price">
|
|
<p class="price">
|
|
{{langPurchase.price}}
|
|
{{langPurchase.price}}
|
|
</p>
|
|
</p>
|
|
- <p class="postage">{{ $t('pages.mall.postage') }}</p>
|
|
|
|
<template>
|
|
<template>
|
|
- <div class="capacity">包含基础容量:10G<a :href="`${pathname}#/mall/cloudCapacity`" target="_blank">了解详情</a></div>
|
|
|
|
- <h-row class="package-w" :gutter="28">
|
|
|
|
- <h-col :span="12">
|
|
|
|
- <div :class="`package-item ${package === 'normal' ? 'active' : ''}`" @click="package='normal'">标准套餐</div>
|
|
|
|
- </h-col>
|
|
|
|
- <h-col :span="12">
|
|
|
|
- <div :class="`package-item ${package === 'lot' ? 'active' : ''}`" @click="package='lot';selectParts=true">增值套餐(包含三脚架)</div>
|
|
|
|
- </h-col>
|
|
|
|
- </h-row>
|
|
|
|
- <div class="number-w">数量 <number v-model="count" :max="99" style="margin-left:12px;" /></div>
|
|
|
|
- <p class="title ">是否需要添加推荐的配件(标准套餐不含以下配件)</p>
|
|
|
|
- <div class="detail-box zhijia" :class="{'no-active':!selectParts}" @click="changeSelectParts">
|
|
|
|
- <!-- <img :src="`${$cdn}images/tag-icon.png`" class="t-click" alt> -->
|
|
|
|
- <img :src="`${$cdn}images/zhijia.png`" alt>
|
|
|
|
- <div class="zhijia-info">
|
|
|
|
- <h6>四维看看Pro三脚架套装</h6>
|
|
|
|
- <p>三脚架 + 滑轮 + 云台</p>
|
|
|
|
- <a :href="`${pathname}#/mall/zhijia`" target="_blank">了解详情</a>
|
|
|
|
- </div>
|
|
|
|
- <div class="zhijia-actions">
|
|
|
|
- <p>¥{{ mallConfig.zhijiaPrice }}</p>
|
|
|
|
- <number v-model="zhijiaCount" :max="99" />
|
|
|
|
|
|
+ <div class="intro-item">
|
|
|
|
+ <h4 class="intro-title">{{langPurchase.service.key}}</h4>
|
|
|
|
+ <ul>
|
|
|
|
+ <li>{{langPurchase.service.type}} <a :href="`${pathname}#/mall/cloudCapacity`" target="_blank">{{ $t('mall.knowMore') }}</a></li>
|
|
|
|
+ <li>{{ langPurchase.service.val[0] }}</li>
|
|
|
|
+ <li>{{ langPurchase.service.val[1] }}</li>
|
|
|
|
+ <li>{{ langPurchase.service.val[2] }}</li>
|
|
|
|
+ </ul>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="intro-item">
|
|
|
|
+ <h4 class="intro-title">{{langPurchase.gift.peijian}}</h4>
|
|
|
|
+ <div class="detail-box zhijia" :class="{'no-active':!selectParts}" @click="changeSelectParts">
|
|
|
|
+ <!-- <img :src="`${$cdn}images/tag-icon.png`" class="t-click" alt> -->
|
|
|
|
+ <img :src="`${$cdn}images/zhijia.png`" alt>
|
|
|
|
+ <div class="zhijia-info">
|
|
|
|
+ <h6>{{ $t('mall.jiaojia') }}<span class="zhijia-price">{{ purchasezhijia.price }}</span></h6>
|
|
|
|
+ <p>{{ $t('mall.jiaojiaDetail') }}</p>
|
|
|
|
+ <a :href="`${pathname}#/mall/zhijia`" target="_blank">{{ $t('mall.knowMore')}}</a>
|
|
|
|
+ </div>
|
|
|
|
+ <div class="zhijia-actions">
|
|
|
|
+ </div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
+
|
|
|
|
+ <div class="number-w">{{ $t('mall.count') }} <number v-model="count" :max="99" style="margin-left:12px;" /></div>
|
|
</template>
|
|
</template>
|
|
<template v-if="language!=='en'">
|
|
<template v-if="language!=='en'">
|
|
<div class="totalPrice">¥{{ totalPrice }}</div>
|
|
<div class="totalPrice">¥{{ totalPrice }}</div>
|
|
@@ -47,7 +47,7 @@
|
|
<div class="btns">
|
|
<div class="btns">
|
|
<div v-if="language!=='en'" class="button add-cart" @click="addcart" style="margin-right:28px;">
|
|
<div v-if="language!=='en'" class="button add-cart" @click="addcart" style="margin-right:28px;">
|
|
<vcenter>
|
|
<vcenter>
|
|
- <span>加入购物车</span>
|
|
|
|
|
|
+ <span>{{ $t('mall.cart') }}</span>
|
|
</vcenter>
|
|
</vcenter>
|
|
</div>
|
|
</div>
|
|
<div class="button" @click="pay">
|
|
<div class="button" @click="pay">
|
|
@@ -56,7 +56,7 @@
|
|
</vcenter>
|
|
</vcenter>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
- <div class="btn-dec" ><h-icon type="gouwuche" class="shop-cart-icon" />预计3日内发货</div>
|
|
|
|
|
|
+ <div class="btn-dec" ><h-icon type="gouwuche" class="shop-cart-icon" />{{ $t('mall.fahuo')}}</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -64,7 +64,7 @@
|
|
<div class="plate02" >
|
|
<div class="plate02" >
|
|
<div class="tabs ">
|
|
<div class="tabs ">
|
|
<ul class="container">
|
|
<ul class="container">
|
|
- <li class="tabs-item" :class="{'is-active': detailType === 'product'}" @click="detailType = 'product'">产品说明</li><li class="tabs-item" :class="{'is-active': detailType === 'tech'}" @click="detailType = 'tech'">技术参数</li>
|
|
|
|
|
|
+ <li class="tabs-item" :class="{'is-active': detailType === 'product'}" @click="detailType = 'product'">{{$t('mall.product')}}</li><li class="tabs-item" :class="{'is-active': detailType === 'tech'}" @click="detailType = 'tech'">{{$t('mall.techDetail')}}</li>
|
|
</ul>
|
|
</ul>
|
|
|
|
|
|
</div>
|
|
</div>
|
|
@@ -79,7 +79,7 @@
|
|
<div class="tech-detail" v-show="detailType === 'tech'">
|
|
<div class="tech-detail" v-show="detailType === 'tech'">
|
|
<div class="params-body">
|
|
<div class="params-body">
|
|
<div class="container">
|
|
<div class="container">
|
|
- <h1 class="common-title">技术参数</h1>
|
|
|
|
|
|
+ <h1 class="common-title">{{$t('mall.techDetail')}}</h1>
|
|
<div class="params-con">
|
|
<div class="params-con">
|
|
<div class="params-item" v-for="(item,index) in langPurchase.guige.arr" :key="index">
|
|
<div class="params-item" v-for="(item,index) in langPurchase.guige.arr" :key="index">
|
|
<div class="p-l">{{item.name}}</div>
|
|
<div class="p-l">{{item.name}}</div>
|
|
@@ -95,7 +95,7 @@
|
|
|
|
|
|
</div>
|
|
</div>
|
|
<div class="params-img-con container">
|
|
<div class="params-img-con container">
|
|
- <h1 class="common-title">尺寸参数</h1>
|
|
|
|
|
|
+ <h1 class="common-title">{{ $t('mall.widthDetail')}}</h1>
|
|
<img class="params-img" :src="`${$cdn}images/product_img_content_6_w.png`" alt="">
|
|
<img class="params-img" :src="`${$cdn}images/product_img_content_6_w.png`" alt="">
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
@@ -129,13 +129,14 @@ export default {
|
|
split: state => state.ui.navDivision,
|
|
split: state => state.ui.navDivision,
|
|
isLogin: state => state.user.name,
|
|
isLogin: state => state.user.name,
|
|
langPurchase: state => state.language.home.purchase,
|
|
langPurchase: state => state.language.home.purchase,
|
|
|
|
+ purchasezhijia: state => state.language.home.purchasezhijia,
|
|
language: state => state.language.current,
|
|
language: state => state.language.current,
|
|
langToast: state => state.language.home.toast,
|
|
langToast: state => state.language.home.toast,
|
|
token: state => state.user.token,
|
|
token: state => state.user.token,
|
|
cart: state => JSON.parse(state.user.cart)
|
|
cart: state => JSON.parse(state.user.cart)
|
|
}),
|
|
}),
|
|
totalPrice () {
|
|
totalPrice () {
|
|
- return mallConfig.formatNum(mallConfig.price * this.count + (this.selectParts ? mallConfig.zhijiaPrice * this.zhijiaCount : 0))
|
|
|
|
|
|
+ return mallConfig.formatNum(mallConfig.price * this.count + (this.selectParts ? mallConfig.zhijiaPrice * this.count : 0))
|
|
}
|
|
}
|
|
},
|
|
},
|
|
data () {
|
|
data () {
|
|
@@ -204,44 +205,43 @@ export default {
|
|
browdata,
|
|
browdata,
|
|
count: 1,
|
|
count: 1,
|
|
selectParts: true,
|
|
selectParts: true,
|
|
- package: 'lot',
|
|
|
|
mallConfig,
|
|
mallConfig,
|
|
zhijiaCount: 1,
|
|
zhijiaCount: 1,
|
|
detailType: 'product',
|
|
detailType: 'product',
|
|
pathname: window.location.pathname,
|
|
pathname: window.location.pathname,
|
|
sequenceArr: [
|
|
sequenceArr: [
|
|
{
|
|
{
|
|
- name: 'AI全自动精准建模,智能测距',
|
|
|
|
|
|
+ name: this.$t('conduct.coreProduct.itemTitle1'),
|
|
img: 6,
|
|
img: 6,
|
|
runAnimation: true
|
|
runAnimation: true
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- name: '720度8K画质,身临其境',
|
|
|
|
|
|
+ name: this.$t('conduct.coreProduct.itemTitle2'),
|
|
img: '7test',
|
|
img: '7test',
|
|
runAnimation: true
|
|
runAnimation: true
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- name: 'HDR模式平衡明暗区域曝光',
|
|
|
|
|
|
+ name: this.$t('conduct.coreProduct.itemTitle3'),
|
|
img: '7test',
|
|
img: '7test',
|
|
runAnimation: true
|
|
runAnimation: true
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- name: '球幕视频真人解说 打造沉浸视听体验',
|
|
|
|
|
|
+ name: this.$t('conduct.coreProduct.itemTitle4'),
|
|
img: '7test',
|
|
img: '7test',
|
|
runAnimation: true
|
|
runAnimation: true
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- name: '10分钟入门,快速掌握拍摄流程',
|
|
|
|
|
|
+ name: this.$t('conduct.coreProduct.itemTitle5'),
|
|
img: 8,
|
|
img: 8,
|
|
runAnimation: true
|
|
runAnimation: true
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- name: '10分钟全自动出结果,高效快速(约100㎡)',
|
|
|
|
|
|
+ name: this.$t('conduct.coreProduct.itemTitle6'),
|
|
img: 9,
|
|
img: 9,
|
|
runAnimation: true
|
|
runAnimation: true
|
|
},
|
|
},
|
|
{
|
|
{
|
|
- name: '强大编辑后台,让空间延伸表达',
|
|
|
|
|
|
+ name: this.$t('conduct.coreProduct.itemTitle7'),
|
|
img: 10,
|
|
img: 10,
|
|
runAnimation: true
|
|
runAnimation: true
|
|
}
|
|
}
|
|
@@ -253,12 +253,9 @@ export default {
|
|
this.count = data
|
|
this.count = data
|
|
},
|
|
},
|
|
async addcart () {
|
|
async addcart () {
|
|
- if (!this.token) {
|
|
|
|
- return this.$bus.$emit('showAside')
|
|
|
|
- }
|
|
|
|
let zhijia = {
|
|
let zhijia = {
|
|
goodsId: 7,
|
|
goodsId: 7,
|
|
- goodsCount: this.zhijiaCount,
|
|
|
|
|
|
+ goodsCount: this.count,
|
|
skuSn: 'U15604134406280073'
|
|
skuSn: 'U15604134406280073'
|
|
}
|
|
}
|
|
let params = {
|
|
let params = {
|
|
@@ -266,6 +263,10 @@ export default {
|
|
goodsCount: this.count,
|
|
goodsCount: this.count,
|
|
skuSn: 'U15609161635760015'
|
|
skuSn: 'U15609161635760015'
|
|
}
|
|
}
|
|
|
|
+ if (!this.token) {
|
|
|
|
+ this.$router.push('/login/login')
|
|
|
|
+ return
|
|
|
|
+ }
|
|
await this.$store.dispatch('addCart', params)
|
|
await this.$store.dispatch('addCart', params)
|
|
this.selectParts && await this.$store.dispatch('addCart', zhijia)
|
|
this.selectParts && await this.$store.dispatch('addCart', zhijia)
|
|
this.$toast.show('success', this.langToast['39'])
|
|
this.$toast.show('success', this.langToast['39'])
|
|
@@ -274,6 +275,10 @@ export default {
|
|
if (this.language === 'en') {
|
|
if (this.language === 'en') {
|
|
return window.open('https://www.alibaba.com/product-detail/4DKanKan-Pro-3D-camera-3D-space_62183626283.html?spm=a2700.icbuShop.74.1.66b35b10I4miJd')
|
|
return window.open('https://www.alibaba.com/product-detail/4DKanKan-Pro-3D-camera-3D-space_62183626283.html?spm=a2700.icbuShop.74.1.66b35b10I4miJd')
|
|
}
|
|
}
|
|
|
|
+ if (!this.token) {
|
|
|
|
+ this.$router.push('/login/login')
|
|
|
|
+ return
|
|
|
|
+ }
|
|
let params = {
|
|
let params = {
|
|
type: 'detail',
|
|
type: 'detail',
|
|
sku: [{
|
|
sku: [{
|
|
@@ -286,7 +291,7 @@ export default {
|
|
}
|
|
}
|
|
let zhijia = {
|
|
let zhijia = {
|
|
goodsId: 7,
|
|
goodsId: 7,
|
|
- goodsCount: this.zhijiaCount,
|
|
|
|
|
|
+ goodsCount: this.count,
|
|
price: mallConfig.zhijiaPrice,
|
|
price: mallConfig.zhijiaPrice,
|
|
skuSn: 'U15604134406280073'
|
|
skuSn: 'U15604134406280073'
|
|
}
|
|
}
|
|
@@ -308,10 +313,7 @@ export default {
|
|
})
|
|
})
|
|
},
|
|
},
|
|
changeSelectParts () {
|
|
changeSelectParts () {
|
|
- if (this.package !== 'lot') {
|
|
|
|
- this.selectParts=!this.selectParts
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
|
|
+ this.selectParts=!this.selectParts
|
|
}
|
|
}
|
|
},
|
|
},
|
|
mounted () {
|
|
mounted () {
|
|
@@ -347,4 +349,25 @@ export default {
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
@import "./style.scss";
|
|
@import "./style.scss";
|
|
|
|
+.intro-title {
|
|
|
|
+ font-size: 16px;
|
|
|
|
+ font-weight: 600;
|
|
|
|
+ color: #202020;
|
|
|
|
+}
|
|
|
|
+.intro-item {
|
|
|
|
+ ul {
|
|
|
|
+ margin: 15px 0 25px;
|
|
|
|
+ padding-left: 20px;
|
|
|
|
+ }
|
|
|
|
+ li {
|
|
|
|
+ list-style: disc;
|
|
|
|
+ color: #909090;
|
|
|
|
+ line-height: 33px;
|
|
|
|
+ a {
|
|
|
|
+ font-size: 12px;
|
|
|
|
+ color: #909090;
|
|
|
|
+ text-decoration: underline;
|
|
|
|
+ }
|
|
|
|
+ }
|
|
|
|
+}
|
|
</style>
|
|
</style>
|