<template>
	<view class="content">
		<view class="container">
			<view class="my-header">
				<view class="my-icons" @click="goback"> <uni-icons type="left" size="16"></uni-icons> </view>
				<view class="my-text">样版页</view>
				<view class="my-icons"></view>
			</view>
			<!-- 顶部区域 -->

			<view class="" v-for="(item,index) in datas" :key="index">
				<text>{{item.activeDescribe || ""}}</text>
			</view>
		</view>
	</view>
</template>

<script>
	import request from '../../utils/request'
	export default {
		data() {
			return {
				title: '',
				datas: [],

			}
		},
		components: {

		},
		onLoad() {
			this.getData();
		},
		methods: {
			getData() {
				request({
					url: '/business/marketingActivity/activeConsumption/appletList',
					method: 'get',
				}).then(res => {
					this.datas = res.data
				})
			},
			goback() {
				uni.navigateBack()
			}
		}
	}
</script>

<style scoped lang="scss">
	.content {
		background: #f4f5f6;
	}

	.container {
		width: 100%;
		height: 100vh;
		box-sizing: border-box;
		padding-top: 88px;
	}

	.my-header {
		width: 100%;
		height: 88px;
		background: #ffffff;
		display: flex;
		align-items: center;
		justify-content: space-between;
		color: #000;
		box-sizing: border-box;
		padding: 0px 15px;
		padding-top: 40px;

		.my-icons {
			width: 20px;

		}

		position: fixed;
		top: 0px;
	}
</style>