<!-- 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";
	
	@font-face {
		font-family: 'PingFang-SC';
		src: url("https://oss.familydaf.cn/sxsnfile/20260107/3e1c8b16b1164d3c90c23392d9190389.ttf");
	}
	@font-face {
		font-family: 'PingFangSC';
		src: url("https://oss.familydaf.cn/sxsnfile/20260107/b8d1e3edde07457392dfe6bd8734e29d.ttf");
	}
	@font-face {
		font-family: 'DINAlternate';
		src: url("https://oss.familydaf.cn/sxsnfile/20260107/fa6b266591ae44fd9ae51e3452d9727d.otf");
	}
	
	.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;
	}
	
	.setinp{
		font-size: 30rpx !important;
		color: #252525 !important;
		line-height: 42rpx !important;
		text-align: right !important;
		// caret-color: #252525 !important; 
	}
</style>