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.
 
 
 

43 lines
750 B

<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">
/*每个页面公共css */
@import "@/uni_modules/uview-plus/index.scss";
@import '@/static/css/app.scss';
.h1 {
text {
position: relative;
color: #999;
font-weight: 700;
&.active {
color: #333;
&::before {
position: absolute;
content: '';
width: 54rpx;
height: 12rpx;
background: url('./static/images/h1Active.png') #F6F7FA no-repeat;
background-size: 100% 100%;
left: 50%;
transform: translateX(-50%);
bottom: -20rpx;
}
}
}
}
</style>