| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100 |
- <!-- App.vue -->
- <script>
- export default {
- onLaunch: function() {
- console.log('App Launch')
- },
- onShow: function(options) {
- console.log('App Show')
- //传递的参数 query
- if (options.query) {
- const shareADId = options.query.shareADId;
- const shareUserId = options.query.shareUserId;
- if(shareADId&&shareUserId) {
- uni.reLaunch({
- url: `/pagesHome/activityDetail?shareADId=${shareADId}&shareUserId=${shareUserId}`
- });
- }
- }
- },
- onHide: function() {
- console.log('App Hide')
- }
- }
- </script>
- <style lang="scss">
- /* 注意要写在第一行,同时给style标签加入lang="scss"属性 */
- @import "uview-plus/index.scss";
-
- .tab_page{
- background: #F7F7F7;
- padding: 0 24rpx 184rpx;
- box-sizing: border-box;
- }
-
- .common_page{
- background: #F7F7F7;
- padding: 0 24rpx 40rpx;
- box-sizing: border-box;
- }
-
- .top_bg_img{
- width: 100%;
- position: fixed;
- top: 0;
- left: 0;
- }
-
- .adf{
- display: flex;
- }
- .adffc{
- display: flex;
- flex-direction: column;
- }
- .adfac{
- display: flex;
- align-items: center;
- }
- .adfacjc{
- display: flex;
- align-items: center;
- justify-content: center;
- }
- .adfacjb{
- display: flex;
- align-items: center;
- justify-content: space-between;
- }
- .adffcjb{
- display: flex;
- flex-direction: column;
- justify-content: space-between;
- }
- .adffcacjc{
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- }
- .adffcac{
- display: flex;
- flex-direction: column;
- align-items: center;
- }
- .adffcacjb{
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: space-between;
- }
-
- .dataEmpty{
- flex: 1;
- display: flex;
- flex-direction: column;
- align-items: center;
- justify-content: center;
- }
- </style>
|