|                                                                              |  | <template>	<view class="home">					<image src="/static/image/bg/1.png"		class="page-bg"		mode="aspectFill"></image>				<view class="content_now">			<view class="article">				<uv-parse :content="articleList[index].details"></uv-parse>			</view>					</view>				<view class="an">			<view class="btn2"			@click="next">				下一页			</view>			<text class="second-color">{{ configList.bg_title }}</text>		</view>	</view></template>
<script>	import { mapState } from 'vuex'	export default {		computed : {			...mapState(['articleList', 'configList']),		},		data() {			return {				index : 0,			}		},		methods: {			next(){				if(this.index == this.articleList.length - 1){					this.$store.commit('getQueryMyLog')					// uni.navigateTo({
					// 	url: '/pages/index/home'
					// })
				}else{					this.index++				}			},		}	}</script>
<style lang="scss" scoped>	.article{		width: 600rpx;		font-size: 28rpx;		line-height: 50rpx;	}	.an{		position: fixed;		bottom: 330rpx;		text-align: center;		display: flex;		flex-direction: column;		align-items: center;		width: 100%;	}	.second-color{		margin-top: 20rpx;	}	.btn2 {		border: 4rpx solid $uni-color;		display: flex;		align-items: center;		justify-content: center;		padding: 16rpx 200rpx;		color: $uni-color;		border-radius: 10rpx;	}</style>
 |