<template>
	<view class="self-service-index">
		<view class="self-service-item" @click="gotoPage('/pages/market/performance/monthlyAddition/comparison')">
			<view class="self-service-name text-ellipsis-2">{{$t('w_0145')}}</view>
			<image class="self-service-icon" src="/static/icon/order/service-ydxz.png" mode=""></image>
		</view>
		<view class="self-service-item" @click="gotoPage('/pages/market/performance/monthlyAddition/active')">
			<view class="self-service-name text-ellipsis-2">{{$t('N_I_105')}}</view>
			<image class="self-service-icon" src="/static/icon/order/service-hyhy.png" mode=""></image>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {};
		},
		methods: {}
	};
</script>

<style lang="scss">
	.self-service-index {
		display: flex;
		justify-content: space-between;
		align-items: flex-start;
		flex-wrap: wrap;
		padding: 28rpx 20rpx;
	}

	.self-service-item {
		flex-shrink: 0;
		padding: 0 22rpx;
		display: flex;
		justify-content: space-between;
		align-items: center;
		width: 345rpx;
		height: 150rpx;
		box-sizing: border-box;
		background: #ffffff;
		border-radius: 20rpx;
		margin-bottom: 25rpx;

		.self-service-name {
			font-size: 28rpx;
			color: #666;
			line-height: 1.5;
			word-break: break-all;
		}

		.self-service-icon {
			width: 54rpx;
			height: 54rpx;
			display: block;
			flex-shrink: 0;
			margin-left: 20rpx;
		}
	}
</style>