This commit is contained in:
shijingjing
2022-07-08 17:33:14 +08:00
parent 380d4af8aa
commit f56d7de2b7
3 changed files with 24 additions and 5 deletions

View File

@@ -40,6 +40,7 @@
"@dcloudio/uni-quickapp-native": "^2.0.0-31820210406002",
"@dcloudio/uni-quickapp-webview": "^2.0.0-31820210406002",
"@dcloudio/uni-stat": "^2.0.0-31820210406002",
"@dcloudio/uni-ui": "^1.4.19",
"@vue/shared": "^3.0.0",
"axios": "^0.21.1",
"core-js": "^3.11.0",

View File

@@ -1,7 +1,6 @@
<template>
<div class="AppPropagandaStatistics">
<!-- <ai-card>111</ai-card> -->
<AiOpenData></AiOpenData>
<uni-calendar :insert="true" :selected="selected" :lunar="false" @change="change"/>
</div>
</template>
@@ -11,18 +10,36 @@ export default {
appName: '宣发统计',
data() {
return {
date: '',
selected: [{date: '2022-07-08',}],
}
},
onShow() {
document.title = '宣发统计'
},
methods: {
change(val) {
this.date = `${val.year} + '-' + ${val.month} + '-' + ${val.day}`
}
}
},
}
</script>
<style>
<style lang="scss" scoped>
.AppPropagandaStatistics {
::v-deep .uni-calendar-item__weeks-box-circle {
top: 77%;
right: 45%;
border-radius: 12px;
}
::v-deep .uni-calendar__header {
height: 76px;
}
::v-deep .uni-calendar__backtoday {
display: none
}
}
</style>

View File

@@ -1,5 +1,6 @@
module.exports = {
transpileDependencies: ['uview-ui'],
transpileDependencies:['@dcloudio/uni-ui'],
devServer: {
proxy: {
}