<template>
	<view class="page">
		<view class="top">消息通知</view>
		<view class="box">
			<view class="item u-flex u-row-between" @click="totongzhi(1,'订单转换通知')">
				<view class="u-flex">
					<image style="width: 56rpx;height: 56rpx;" src="" mode=""></image>
					<text class="font">订单转换通知</text>
				</view>
				<view class="u-flex">
					<u-badge :count='1' :offset='[48,40]' :absolute='true' type="error"></u-badge>
					<u-icon name="arrow-right"></u-icon>
				</view>
			</view>
			<view class="item u-flex u-row-between" @click="totongzhi(2,'直播预告通知')">
				<view class="u-flex">
					<image style="width: 56rpx;height: 56rpx;" src="" mode=""></image>
					<text class="font">直播预告通知</text>
				</view>
				<view class="u-flex">
					<u-badge :count='1' :offset='[48,40]' :absolute='true' type="error"></u-badge>
					<u-icon name="arrow-right"></u-icon>
				</view>
			</view>
			<view class="item u-flex u-row-between" @click="totongzhi(3,'等级通知')">
				<view class="u-flex">
					<image style="width: 56rpx;height: 56rpx;" src="" mode=""></image>
					<text class="font">等级通知</text>
				</view>
				<view class="u-flex">
					<u-badge :count='1' :offset='[48,40]' :absolute='true' type="error"></u-badge>
					<u-icon name="arrow-right"></u-icon>
				</view>
			</view>
			<view class="item u-flex u-row-between" style="border: 1rpx solid rgba(0, 0, 0, 0);"
				@click="totongzhi(4,'积分通知')">
				<view class="u-flex">
					<image style="width: 56rpx;height: 56rpx;" src="" mode=""></image>
					<text class="font">积分通知</text>
				</view>
				<view class="u-flex">
					<u-badge :count='1' :offset='[48,40]' :absolute='true' type="error"></u-badge>
					<u-icon name="arrow-right"></u-icon>
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			};
		},
		methods: {
			totongzhi(type,title) {
				uni.navigateTo({
					url: '/pageA/tongzhi?type='+type+'&title='+title
				})
			}
		}
	}
</script>

<style lang="scss">
	.font {
		font-size: 30rpx;
		font-family: PingFang SC;
		font-weight: 600;
		line-height: 24rpx;
		color: #323337;
		margin-left: 22rpx;
	}

	.item {
		height: 132rpx;
		position: relative;
		border-bottom: 1px solid #C7C7C7;
	}

	.box {
		width: 702rpx;
		// height: 498rpx;
		background: rgba(255, 255, 255, 1);
		border-radius: 14rpx;
		padding: 0 16rpx 0 26rpx;
	}

	.page {
		width: 750rpx;
		height: 100vh;
		background: rgba(246, 245, 250, 1);
		padding: 0 24rpx;
		border: 1rpx solid rgba(0, 0, 0, 0);
	}

	.top {
		font-size: 26rpx;
		font-family: PingFang SC;
		font-weight: 400;
		line-height: 24rpx;
		color: #808080;
		margin: 22rpx 0;
	}
</style>