Files
dvcp_v2_wechat_app/src/mods/AppIntegralApply/detail.vue

158 lines
3.4 KiB
Vue
Raw Normal View History

2022-02-15 17:05:29 +08:00
<template>
2022-02-15 18:08:33 +08:00
<div class="page">
<div class="header-content">
<div class="header-middle">
<div class="img-title">{{ detail.title }}</div>
<div class="cards">
<div class="cards-left">活动时间</div>
<div class="cards-right">{{ detail.beginTime }}</div>
</div>
<div class="cards">
<div class="cards-left">活动人数</div>
<div class="cards-right">
<span style="color: #1c6bdf">{{ detail.realNum }}</span>
</div>
</div>
<div class="cards">
<div class="cards-left">活动地点</div>
<div class="cards-right" style="width: 75%; text-align: right">{{ detail.areaName }}{{ detail.address }}</div>
</div>
<div class="cards">
<div class="cards-left">活动地点</div>
<div class="cards-right" style="width: 75%; text-align: right">{{ detail.areaName }}{{ detail.address }}</div>
</div>
<div class="cards">
<div class="cards-left">活动地点</div>
<div class="cards-right" style="width: 75%; text-align: right">{{ detail.areaName }}{{ detail.address }}</div>
</div>
<div class="cards">
<div class="cards-left">活动地点</div>
<div class="cards-right" style="width: 75%; text-align: right">{{ detail.areaName }}{{ detail.address }}</div>
</div>
</div>
</div>
</div>
2022-02-15 17:05:29 +08:00
</template>
<script>
export default {
2022-02-15 18:08:33 +08:00
name: 'Detail',
computed: {},
2022-02-15 17:05:29 +08:00
data() {
2022-02-15 18:08:33 +08:00
return {
id: '',
detail: {},
}
},
onLoad(option) {
this.id = option.id
this.$dict.load('').then(() => {
this.getDetail()
})
2022-02-15 17:05:29 +08:00
},
onShow() {},
2022-02-15 18:08:33 +08:00
methods: {
getDetail() {
var ids = 'f16e54058cab4099bf3ee6e03e750b93'
this.$instance.post(`/app/appvillageactivityinfo/queryDetailById?id=${ids}`).then((res) => {
if (res.code == 0) {
this.detail = res.data
}
})
},
},
2022-02-15 17:05:29 +08:00
}
</script>
<style scoped lang="scss">
2022-02-15 18:08:33 +08:00
.page {
width: 100%;
2022-02-15 17:05:29 +08:00
height: 100%;
2022-02-15 18:08:33 +08:00
background-color: #fff;
.info-title {
padding-left: 32px;
line-height: 108px;
font-size: 32px;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #333;
}
.tab-title {
line-height: 108px;
font-size: 32px;
font-family: PingFangSC-Semibold, PingFang SC;
font-weight: 600;
color: #333;
span {
display: inline-block;
width: 192px;
text-align: center;
}
.active {
color: #3671ee;
border-bottom: 4px solid #3671ee;
}
}
.status0 {
background: #000;
}
.status1 {
background: #ff883c;
}
.status3 {
background: #1aaaff;
}
.status2 {
background: #42d784;
}
.status4,
.status5 {
background: #e4e4e4;
}
.header-content {
// padding-bottom: 80px;
.header-top {
width: 100%;
height: 440px;
img {
width: 100%;
height: 100%;
}
}
.header-middle {
padding: 32px 32px 0 32px;
.img-title {
font-size: 36px;
font-weight: 600;
}
.cards {
display: flex;
justify-content: space-between;
border-bottom: 2px solid #eee;
padding: 36px 0;
line-height: 40px;
font-size: 28px;
.cards-left {
color: #999;
}
.cards-right {
color: #333;
}
}
}
}
2022-02-15 17:05:29 +08:00
}
</style>