Commit e3814be8 by 李伟康

提交代码

1 parent e9c491a0
...@@ -24,9 +24,6 @@ ...@@ -24,9 +24,6 @@
<% } %> <% } %>
<script src="https://cdn.jsdelivr.net/npm/hls.js@latest"></script> <script src="https://cdn.jsdelivr.net/npm/hls.js@latest"></script>
<!-- built files will be auto injected --> <!-- built files will be auto injected -->
<!-- <link href="https://web.sdk.qcloud.com/player/tcplayer/release/v4.2.1/tcplayer.min.css" rel="stylesheet">
<script src="https://web.sdk.qcloud.com/player/tcplayer/release/v4.2.1/libs/hls.min.0.13.2m.js"></script>
<script src="https://web.sdk.qcloud.com/player/tcplayer/release/v4.5.0/tcplayer.v4.5.0.min.js"></script> -->
</body> </body>
</html> </html>
\ No newline at end of file \ No newline at end of file
...@@ -78,6 +78,7 @@ ...@@ -78,6 +78,7 @@
width: 100%; width: 100%;
overflow: hidden; overflow: hidden;
margin-bottom: 10px; margin-bottom: 10px;
img { img {
object-fit: contain; object-fit: contain;
height: auto; height: auto;
...@@ -357,6 +358,7 @@ ...@@ -357,6 +358,7 @@
transition: all 3s; transition: all 3s;
position: relative; position: relative;
overflow: hidden; overflow: hidden;
.stripe { .stripe {
position: absolute; position: absolute;
width: 1000%; width: 1000%;
...@@ -440,7 +442,8 @@ ...@@ -440,7 +442,8 @@
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
} }
.right{
.right {
left: 80%; left: 80%;
} }
} }
......
File mode changed
.share-goods-box {
.title {
font-size: 16px;
font-weight: 500;
color: #282829;
height: 22px;
.all {
margin-left: auto;
height: 17px;
font-size: 0;
span {
font-size: 12px;
font-weight: 400;
color: #FC5B32;
}
.sprite-icon {
margin-left: 5px;
}
}
}
}
\ No newline at end of file \ No newline at end of file
<template>
<div class="share-goods-box">
<div class="title flex">
玩家心得(1885)
<div class="all flex">
<span>全部</span>
<div class="sprite-icon icon-arrow"></div>
</div>
</div>
</div>
</template>
<script type='text/ecmascript-6'>
export default {
name: 'Evaluate',
data () {
return {
}
},
mounted () {
},
methods: {
}
}
</script>
<style scoped lang='scss'>
@import '@/assets/css/sharegoods.scss';
</style>
\ No newline at end of file \ No newline at end of file
<template>
<div class="share-goods-box">
<div class="title flex">
商品答疑(9)
<div class="all flex">
<span>全部</span>
<div class="sprite-icon icon-arrow"></div>
</div>
</div>
<div class="content"></div>
</div>
</template>
<script type='text/ecmascript-6'>
export default {
name: 'FAQ',
data () {
return {
}
},
mounted () {
},
methods: {
}
}
</script>
<style scoped lang='scss'>
@import '@/assets/css/sharegoods.scss';
.share-goods-box {
padding-top: 14px;
border-top: 1px solid #e3e3e6;
margin-top: 14px;
}
</style>
\ No newline at end of file \ No newline at end of file
...@@ -17,9 +17,7 @@ ...@@ -17,9 +17,7 @@
</template> </template>
<script type='text/ecmascript-6'> <script type='text/ecmascript-6'>
import ServeModal from './ServeModal.vue'
export default { export default {
components: { ServeModal },
name: 'Serve', name: 'Serve',
data () { data () {
return { return {
......
<template>
<div class="box">
<evaluate />
<FAQ />
</div>
</template>
<script type='text/ecmascript-6'>
export default {
name: 'ShareGoods',
data () {
return {
}
},
mounted () {
},
methods: {
}
}
</script>
<style scoped lang='scss'>
@import '@/assets/css/crowdfunding.scss';
.box {
border-radius: 4px;
max-height: 343px;
}
</style>
\ No newline at end of file \ No newline at end of file
...@@ -2,6 +2,5 @@ import Vue from 'vue' ...@@ -2,6 +2,5 @@ import Vue from 'vue'
const componentsFiles = require.context(`./`, true, /.vue$/) const componentsFiles = require.context(`./`, true, /.vue$/)
componentsFiles.keys().forEach(path => { componentsFiles.keys().forEach(path => {
const component = componentsFiles(path).default const component = componentsFiles(path).default
console.log(component)
Vue.component(component.name, component) Vue.component(component.name, component)
}) })
\ No newline at end of file \ No newline at end of file
...@@ -4,6 +4,7 @@ const pages = { ...@@ -4,6 +4,7 @@ const pages = {
name: 'index', name: 'index',
meta: { meta: {
keepAlive: true, keepAlive: true,
noAuth: true,
backgroundColor: '#F7F7F7' backgroundColor: '#F7F7F7'
}, },
}, },
......
...@@ -160,7 +160,7 @@ ...@@ -160,7 +160,7 @@
<!-- 👇 服务说明 --> <!-- 👇 服务说明 -->
<serve /> <serve />
<!-- 👇 玩家心得&商品答疑 --> <!-- 👇 玩家心得&商品答疑 -->
<!-- <share-user-info /> --> <share-goods />
<!--👇 活动视频 --> <!--👇 活动视频 -->
<template v-if="detail.activityVideos && detail.activityVideos.length"> <template v-if="detail.activityVideos && detail.activityVideos.length">
<div :class="['video-box flex', { onlyone: detail.activityVideos.length == 1 }, { onlytwo: detail.activityVideos.length == 2 }]"> <div :class="['video-box flex', { onlyone: detail.activityVideos.length == 1 }, { onlytwo: detail.activityVideos.length == 2 }]">
...@@ -374,7 +374,7 @@ export default { ...@@ -374,7 +374,7 @@ export default {
} }
this.showLoading() this.showLoading()
this.id = id this.id = id
bigdatautilApi.reportTrack(id) // bigdatautilApi.reportTrack(id)
shopmallApi.getActivityDetail(id).then(data => { shopmallApi.getActivityDetail(id).then(data => {
this.hideLoading() this.hideLoading()
this.viewFlag = true this.viewFlag = true
...@@ -382,8 +382,8 @@ export default { ...@@ -382,8 +382,8 @@ export default {
data.s_time = new Date(this.iosTimeFormat(data.startTime)).format('yyyy年M月d日') data.s_time = new Date(this.iosTimeFormat(data.startTime)).format('yyyy年M月d日')
data.e_time = new Date(this.iosTimeFormat(data.endTime)).format('yyyy年M月d日') data.e_time = new Date(this.iosTimeFormat(data.endTime)).format('yyyy年M月d日')
document.title = data.activityName document.title = data.activityName
this.getActivityGroup() // this.getActivityGroup()
this.getOrderList() // this.getOrderList()
let [redirectUrl] = window.location.href.split('?') let [redirectUrl] = window.location.href.split('?')
if (data.activityVideos && data.activityVideos.length) { if (data.activityVideos && data.activityVideos.length) {
/**安卓退出全屏 */ /**安卓退出全屏 */
...@@ -413,6 +413,7 @@ export default { ...@@ -413,6 +413,7 @@ export default {
data.hasDefaultBrands = true data.hasDefaultBrands = true
} }
this.detail = data this.detail = data
return
let name = '', let name = '',
openId = '', openId = '',
logo = '' logo = ''
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!