You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
onLaunch: function() {
|
|
|
|
console.warn('当前组件仅支持 uni_modules 目录结构 ,请升级 HBuilderX 到 3.1.0 版本以上!')
|
|
|
|
console.log('App Launch')
|
|
|
|
},
|
|
|
|
onShow: function() {
|
|
|
|
console.log('App Show')
|
|
|
|
},
|
|
|
|
onHide: function() {
|
|
|
|
console.log('App Hide !aS')
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss">
|
|
|
|
/*每个页面公共css */
|
|
|
|
@import '@/uni_modules/uni-scss/index.scss';
|
|
|
|
/* #ifndef APP-NVUE */
|
|
|
|
@import '@/static/customicons.css';
|
|
|
|
// 设置整个项目的背景色
|
|
|
|
page {
|
|
|
|
background-color: #F5F5F7;
|
|
|
|
}
|
|
|
|
checkbox .wx-checkbox-input {
|
|
|
|
width: 40rpx; /* 设置宽高相等为圆形 */
|
|
|
|
height: 40rpx;
|
|
|
|
border-radius: 50%; /* 圆形的关键 */
|
|
|
|
position: relative;
|
|
|
|
top: 0;
|
|
|
|
left: 0;
|
|
|
|
background-color: #fff;
|
|
|
|
}
|
|
|
|
/* #endif */
|
|
|
|
.example-info {
|
|
|
|
font-size: 14px;
|
|
|
|
color: #333;
|
|
|
|
padding: 10px;
|
|
|
|
}
|
|
|
|
</style>
|