kaijufapiao.vue 1.3 KB
<template>
	<view class="box">
		<view class="kailist">
			<view class="kailistitem" @click="qukaipiao">
				<view class="kaileft">前往开票</view>
				<view class="kairight">
					<image src="/static/img/rowright.png"></image>
				</view>
			</view>
			<view class="kailistitem" @click="historykaipiao">
				<view class="kaileft">开票历史</view>
				<view class="kairight">
					<image src="/static/img/rowright.png"></image>
				</view>
			</view>
			
			
		</view>
	</view>
</template>

<script>
	import app from "../../App.vue"
	export default {
		data() {
			return {
				
			}
		},
		methods: {
			qukaipiao(){
				uni.navigateTo({
					url:'/pages/kafapiao/kafapiao'
				})
				// uni.removeStorageSync('select_id');
				// uni.removeStorageSync('totalmoney');
				// uni.removeStorageSync('totalnum');
				// uni.removeStorageSync('canshu');
			},
			// 开票历史
			historykaipiao(){
				uni.navigateTo({
					url:"/pages/kaipiaolishi/kaipiaolishi"
				})
			}
		}
	}
</script>

<style>
.kailist{
	padding: 0 32rpx;
	box-sizing: border-box;
	background: #fff;
}
.kailistitem{
	display:flex;
	align-items: center;
	justify-content: space-between;
	padding: 42rpx 0;
	box-sizing: border-box;
	border-bottom:1rpx solid #f5f5f5;
}
.kaileft{
	color:#0A0808;
	font-size: 30rpx;
}
.kairight{
	width:48rpx;
	height:48rpx;
	font-size: 0;
}

</style>