51 lines
852 B
Vue
51 lines
852 B
Vue
<script>
|
|
|
|
import {mapActions} from 'vuex'
|
|
|
|
export default {
|
|
data: () => {
|
|
return {}
|
|
},
|
|
async created() {
|
|
await this.carList()
|
|
},
|
|
methods: {
|
|
...mapActions({
|
|
carList: 'PUT_SET_CARLIST'
|
|
})
|
|
},
|
|
onLaunch: function () {
|
|
console.log('App Launch')
|
|
},
|
|
onShow: function () {
|
|
console.log('App Show')
|
|
},
|
|
onHide: function () {
|
|
console.log('App Hide')
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
/*清除样式css */
|
|
@import "common/less/clear.less";
|
|
@import "uview-ui/index.scss";
|
|
uni-checkbox .uni-checkbox-input {
|
|
border-radius: 50%;
|
|
color: #ffffff !important;
|
|
}
|
|
|
|
uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked {
|
|
color: #fff;
|
|
border-color: rgb(0, 122, 255);
|
|
background: rgb(0, 122, 255);
|
|
}
|
|
|
|
uni-checkbox .uni-checkbox-input.uni-checkbox-input-checked:after {
|
|
font-size: 18px;
|
|
}
|
|
|
|
|
|
|
|
</style>
|