<template>
	<view>
		<view class="topCardCss">
			<view class="gasBodyCss">
				<view class="textAreaCss">
					<view class="gasTitleCss">
						智慧用气
					</view>
					<view class="gasTipCss">
						气瓶信息快捷溯源｜一键订气
					</view>
				</view>
				<view class="gasIconCss">
					<u-image src="@/static/images/gas-icon/gasicon.png" width="100px" height="100px"></u-image>
				</view>
			</view>
			<!-- 消息轮播 -->
			<u-notice-bar :text="text" direction="column" color="#EB5C11" bgColor="#F1E4DB" speed="50"
				url="/pages/componentsB/tag/tag"></u-notice-bar>
		</view>
	</view>
</template>

<script>
	export default {
		name: "bgAndNotice",
		data() {
			return {
				text: [
					'为了您和家人的安全，请不要使用过期的石油气钢瓶',
					'温馨提示'
				],
			};
		}
	}
</script>

<style lang="scss">
	.topCardCss {
		background: linear-gradient(to bottom, #FBF4EF, #F3F4F2);
		// padding-bottom: 10px;
	}

	.gasBodyCss {
		display: flex;
		justify-content: space-between;
		align-items: center;
		padding: 10px 20px;

		.textAreaCss {
			.gasTitleCss {
				font-size: 30px;
				color: #EA5604;
				font-weight: 600;
			}

			.gasTipCss {
				margin-top: 10px;
				color: #999999;
			}
		}

		.gasIconCss {}
	}

	// .u-notice-bar {
	// 	// margin:0 10px 10px 10px;
	// 	border-radius: 10px;
	// 	margin: 10px;
	// }
</style>