<template>
	<view class='pro-page'>
		<view class='pro-mian'>
			<view class='main-lien' v-for="item in proList" :key="item.protocolName" @click='goIndex(item)'>
				<view class="line-left">{{item.protocolName}}</view>
				<view class="line-right"></view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				proList:[]
			}
		},
		onLoad(options){
			console.log(options,'65')
			if(options){
				this.proList=JSON.parse(options.mydata)
			}
			this.buryingPoint('app:prolist_pageView')
			
		},
		methods: {
			// 参考链接:https://blog.csdn.net/cscj2010/article/details/128236662
			goIndex(item){
				plus.runtime.openWeb(item.protocolUrl)
			}
		},
		onShow(){
			
			
		}
	}
</script>

<style src='./index.less' lang="less" scoped></style>