25793
This commit is contained in:
@@ -187,11 +187,9 @@ export default {
|
||||
|
||||
confirm(e) {
|
||||
if (this.showStartTime == true) {
|
||||
console.log(1, e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute + ':' + '00')
|
||||
this.forms.beginTime = e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute + ':' + '00'
|
||||
}
|
||||
if (this.showEndTime == true) {
|
||||
console.log(2, e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute + ':' + '00')
|
||||
this.forms.endTime = e.year + '-' + e.month + '-' + e.day + ' ' + e.hour + ':' + e.minute + ':' + '00'
|
||||
}
|
||||
},
|
||||
|
||||
@@ -39,7 +39,6 @@ export default {
|
||||
}
|
||||
},
|
||||
onLoad(o) {
|
||||
console.log(o)
|
||||
this.id = o.id || ''
|
||||
},
|
||||
methods: {
|
||||
|
||||
@@ -33,6 +33,8 @@
|
||||
</div>
|
||||
|
||||
<img :src="item.url[0].url" alt="" />
|
||||
|
||||
<div class="hints" :style="{ background: item.status == 0 ? '#000000' : item.status == 1 ? '#42D784' : '#E4E4E4' }">{{ $dict.getLabel('villageActivityStatus', item.status) }}</div>
|
||||
</template>
|
||||
</AiCard>
|
||||
</template>
|
||||
@@ -73,7 +75,9 @@ export default {
|
||||
},
|
||||
watch: {},
|
||||
onLoad() {
|
||||
this.getList()
|
||||
this.$dict.load(['villageActivityStatus']).then(() => {
|
||||
this.getList()
|
||||
})
|
||||
},
|
||||
mounted() {},
|
||||
methods: {
|
||||
@@ -96,7 +100,6 @@ export default {
|
||||
this.datas.map((item) => {
|
||||
if (item.url) {
|
||||
item.url = JSON.parse(item.url || '[]')
|
||||
console.log(item.url)
|
||||
}
|
||||
return item
|
||||
})
|
||||
@@ -199,9 +202,21 @@ uni-page-body {
|
||||
}
|
||||
}
|
||||
img {
|
||||
position: relative;
|
||||
width: 182px;
|
||||
height: 182px;
|
||||
}
|
||||
|
||||
.hints {
|
||||
position: absolute;
|
||||
right: 52px;
|
||||
width: 96px;
|
||||
height: 44px;
|
||||
font-size: 26px;
|
||||
color: #ffffff;
|
||||
line-height: 44px;
|
||||
text-align: center;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user