40 lines
771 B
Vue
40 lines
771 B
Vue
<script>
|
|
export default {
|
|
onLaunch: function () {
|
|
console.log('App Launch')
|
|
},
|
|
onShow: function () {
|
|
console.log('App Show')
|
|
},
|
|
onHide: function () {
|
|
console.log('App Hide')
|
|
}
|
|
}
|
|
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
/* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
|
|
@import "@/uni_modules/uview-ui/index.scss";
|
|
@import "@/static/style/common.scss";
|
|
|
|
.wrap {
|
|
margin: 0;
|
|
padding: 0;
|
|
box-sizing: border-box;
|
|
}
|
|
|
|
checkbox .wx-checkbox-input,
|
|
checkbox .uni-checkbox-input {
|
|
border-radius: 50%;
|
|
transform: scale(0.7);
|
|
}
|
|
|
|
//设置背景色
|
|
checkbox[checked] .wx-checkbox-input,
|
|
checkbox .uni-checkbox-input {
|
|
background-color: #00C655 !important;
|
|
border-color: #00C655 !important;
|
|
color: #ffffff !important;
|
|
}
|
|
</style> |