<template>
	<view class="pages wrap">
		<view class="type-block">
			<view class="big-til">商品买卖类</view>
			
			<navigator url="/pages/publish/publishtype/publishtype">
			<view class="select-bar">
				<svg class="icon select-bar-icon" aria-hidden="true">
					<use xlink:href="#iconshangpin"></use>
				</svg>
				<view class="select-bar-text">发布商品</view>
				<view class="select-bar-arrow"></view>
			</view>
			</navigator>
			<navigator url="/pages/publish/publishtype/publishtype">
			<view class="select-bar">
				<svg class="icon select-bar-icon" aria-hidden="true">
					<use xlink:href="#iconcaigou"></use>
				</svg>
				<view class="select-bar-text">发布采购</view>
				<view class="select-bar-arrow"></view>
			</view>
			</navigator>
			<navigator url="/pages/publish/publishtype/publishtype">
			<view class="select-bar">
				<svg class="icon select-bar-icon" aria-hidden="true">
					<use xlink:href="#icondizhi"></use>
				</svg>
				<view class="select-bar-text">飞鸽代采</view>
				<view class="select-bar-arrow"></view>
			</view>
			</navigator>
			<navigator url="/pages/publish/publishtype/publishtype">
			<view class="select-bar">
				<svg class="icon select-bar-icon" aria-hidden="true">
					<use xlink:href="#iconzhaodaimai"></use>
				</svg>
				<view class="select-bar-text">找代卖</view>
				<view class="select-bar-arrow"></view>
			</view>
			</navigator>
		</view>
		<!-- type-block end -->
		<view class="type-block">
			<view class="big-til">技术服务类</view>
			<navigator url="/pages/publish/publishtype/publishtype">
			<view class="select-bar">
				<svg class="icon select-bar-icon" aria-hidden="true">
					<use xlink:href="#iconshangpin"></use>
				</svg>
				<view class="select-bar-text">发布商品</view>
				<view class="select-bar-arrow"></view>
			</view>
			</navigator>
			<navigator url="/pages/publish/publishtype/publishtype">
			<view class="select-bar">
				<svg class="icon select-bar-icon" aria-hidden="true">
					<use xlink:href="#iconcaigou"></use>
				</svg>
				<view class="select-bar-text">发布采购</view>
				<view class="select-bar-arrow"></view>
			</view>
			</navigator>
			<navigator url="/pages/publish/publishtype/publishtype">
			<view class="select-bar">
				<svg class="icon select-bar-icon" aria-hidden="true">
					<use xlink:href="#icondizhi"></use>
				</svg>
				<view class="select-bar-text">飞鸽代采</view>
				<view class="select-bar-arrow"></view>
			</view>
			</navigator>
			<navigator url="/pages/publish/publishtype/publishtype">
			<view class="select-bar">
				<svg class="icon select-bar-icon" aria-hidden="true">
					<use xlink:href="#iconzhaodaimai"></use>
				</svg>
				<view class="select-bar-text">找代卖</view>
				<view class="select-bar-arrow"></view>
			</view>
			</navigator>		
		</view>
		<!-- type-block end -->
		
	</view>
</template>

<script>
	export default {
		data() {
			return {
				params:{
					token:'',
				}
				
			}
		},
		onShow() {
			let serf = this;
			//检查登录,获取token
			let loginRes = this.checkLogin('/pages/index/index', '2');
			if(!loginRes){return false;}
			serf.params.token=loginRes[0];			
		},
		onLoad() {

		},
		methods: {

		}
	}
</script>

<style scoped>
	/* @import url("./chosetype.css"); */
</style>
