运营活动
This commit is contained in:
@@ -5,11 +5,11 @@
|
||||
<div class="dataTop">
|
||||
<div class="dataLeft">活动列表</div>
|
||||
|
||||
<div class="dataRight">
|
||||
<!-- <div class="dataRight">
|
||||
<span>共</span>
|
||||
<span class="specialColor">{{ total }}</span>
|
||||
<span>个活动</span>
|
||||
</div>
|
||||
</div> -->
|
||||
</div>
|
||||
|
||||
<template v-if="datas.length > 0">
|
||||
@@ -39,9 +39,6 @@
|
||||
|
||||
<AiEmpty description="暂无数据" v-else></AiEmpty>
|
||||
|
||||
<!-- <AiFixedBtn>
|
||||
<div class="addBtn iconfont iconfont-iconfangda" @tap.stop="toAdd()" />
|
||||
</AiFixedBtn> -->
|
||||
<div class="add-btn" @click="toCalendar">
|
||||
<div>打卡</div>
|
||||
</div>
|
||||
|
||||
@@ -1,6 +1,9 @@
|
||||
<template>
|
||||
<div class="page">
|
||||
<div class="detail">
|
||||
<div class="header-content">
|
||||
<div class="header-top">
|
||||
<img src="https://cdn.cunwuyun.cn/public/16749723482248.png" alt="" @click.stop="previewImage()" />
|
||||
</div>
|
||||
<div class="header-middle">
|
||||
<div class="img-title">{{ detail.title }}</div>
|
||||
<div class="cards">
|
||||
@@ -16,7 +19,8 @@
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="pad-t100"></div>
|
||||
<div class="add-btn" v-if="!detail.mySignUP" @click="signUp">
|
||||
<div>参与活动</div>
|
||||
</div>
|
||||
@@ -104,10 +108,11 @@ export default {
|
||||
})
|
||||
},
|
||||
|
||||
previewImage(images, img) {
|
||||
previewImage() {
|
||||
var images = [{url: 'https://cdn.cunwuyun.cn/public/16749861412151.png'}]
|
||||
uni.previewImage({
|
||||
urls: images.map((v) => v.url),
|
||||
current: img,
|
||||
current: 'https://cdn.cunwuyun.cn/public/16749861412151.png',
|
||||
})
|
||||
},
|
||||
signUp() {
|
||||
@@ -156,10 +161,10 @@ export default {
|
||||
}
|
||||
</script>
|
||||
<style scoped lang="scss">
|
||||
.page {
|
||||
.detail {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
background-color: #fff;
|
||||
// background-color: #fff;
|
||||
|
||||
.info-title {
|
||||
padding-left: 32px;
|
||||
@@ -404,7 +409,7 @@ export default {
|
||||
div {
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
background: #3975C6;
|
||||
background: #a71b14;
|
||||
text-align: center;
|
||||
line-height: 100px;
|
||||
color: #fff;
|
||||
|
||||
Reference in New Issue
Block a user