日历
This commit is contained in:
@@ -40,6 +40,7 @@
|
|||||||
"@dcloudio/uni-quickapp-native": "^2.0.0-31820210406002",
|
"@dcloudio/uni-quickapp-native": "^2.0.0-31820210406002",
|
||||||
"@dcloudio/uni-quickapp-webview": "^2.0.0-31820210406002",
|
"@dcloudio/uni-quickapp-webview": "^2.0.0-31820210406002",
|
||||||
"@dcloudio/uni-stat": "^2.0.0-31820210406002",
|
"@dcloudio/uni-stat": "^2.0.0-31820210406002",
|
||||||
|
"@dcloudio/uni-ui": "^1.4.19",
|
||||||
"@vue/shared": "^3.0.0",
|
"@vue/shared": "^3.0.0",
|
||||||
"axios": "^0.21.1",
|
"axios": "^0.21.1",
|
||||||
"core-js": "^3.11.0",
|
"core-js": "^3.11.0",
|
||||||
|
|||||||
@@ -1,7 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<div class="AppPropagandaStatistics">
|
<div class="AppPropagandaStatistics">
|
||||||
<!-- <ai-card>111</ai-card> -->
|
<uni-calendar :insert="true" :selected="selected" :lunar="false" @change="change"/>
|
||||||
<AiOpenData></AiOpenData>
|
|
||||||
</div>
|
</div>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -11,18 +10,36 @@ export default {
|
|||||||
appName: '宣发统计',
|
appName: '宣发统计',
|
||||||
data() {
|
data() {
|
||||||
return {
|
return {
|
||||||
|
date: '',
|
||||||
|
selected: [{date: '2022-07-08',}],
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onShow() {
|
onShow() {
|
||||||
document.title = '宣发统计'
|
document.title = '宣发统计'
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
|
change(val) {
|
||||||
|
this.date = `${val.year} + '-' + ${val.month} + '-' + ${val.day}`
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
},
|
|
||||||
}
|
}
|
||||||
</script>
|
</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>
|
</style>
|
||||||
@@ -1,5 +1,6 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
transpileDependencies: ['uview-ui'],
|
transpileDependencies: ['uview-ui'],
|
||||||
|
transpileDependencies:['@dcloudio/uni-ui'],
|
||||||
devServer: {
|
devServer: {
|
||||||
proxy: {
|
proxy: {
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user