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.
50 lines
951 B
50 lines
951 B
<script>
|
|
// import location from '@/common/js/location.js'
|
|
export default {
|
|
onLaunch: function() {
|
|
// location.getLocation(()=>{
|
|
// this.$store.dispatch('getCity')
|
|
// });
|
|
},
|
|
onShow: function() {
|
|
console.log('App Show')
|
|
},
|
|
onHide: function() {
|
|
console.log('App Hide')
|
|
},
|
|
methods: {
|
|
|
|
}
|
|
}
|
|
</script>
|
|
|
|
<style lang="scss">
|
|
/*每个页面公共css */
|
|
@import '@/uni_modules/uview-ui/index.scss';
|
|
@import 'common/css/app.scss';
|
|
.pageBgImg {
|
|
font-size: 28rpx;;
|
|
color: #333;
|
|
min-height: 100vh;
|
|
background: url('./static/images/bigImg/topBg.png') #F6F7FA no-repeat;
|
|
background-size: 100% 278rpx;
|
|
}
|
|
.topBg{
|
|
background: url('./static/images/bigImg/topBg.png') #F6F7FA no-repeat;
|
|
background-size: 100% 100%;
|
|
}
|
|
|
|
.h1 {
|
|
text {
|
|
&.active {
|
|
&::before {
|
|
background: url('./static/images/bigImg/h1Active.png') #F6F7FA no-repeat;
|
|
background-size: 100% 100%;
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
|
|
</style>
|