Commit 3837dbd9 authored by xishifeng's avatar xishifeng

文件找回

parent 17ec9b69
<template>
<select>
<option v-for="(item, index) in cityList" :data="item" :value="item.cityvalue" :selected="item.cityvalue==data.cityname">{{item.cityname}}</option>
</select>
</template>
<script>
export default {
name: '',
props: {
data: {
type: Object,
default: () => ({
cityname: '上海'
})
}
},
components: {
},
data: () => ({
'cityList': [{
'cityname': '上海',
'cityvalue': '上海',
},{
'cityname': '杭州',
'cityvalue': '杭州',
}]
}),
created() {
let _this = this;
},
methods: {
},
computed: {
}
}
</script>
<style scoped>
select{
color: #333;
font-size: .28rem;
}
</style>
\ No newline at end of file
<template>
<div>
<ul>
<li v-for="(item, index) in navs" class="tc">
<router-link :to="item">{{item.nameCustom}}</router-link>
</li>
</ul>
</div>
</template>
<script>
let _token = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjp7ImlkIjo1NzQwLCJuYW1lIjoiXHU1ZTk3XHU2ZDRiXHU4YmQ1MiIsInBob25lIjoiMTU2MDE2NTIzNTIiLCJsZXZlbCI6MjB9LCJ0aW1lU3RhbXBfIjoxNTQwMjY1ODYxfQ.kEW46TMxEdBrWJ82CO6sxAxkeZOIZlWJZzHU378IXD4';
let _token2 = 'eyJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJkYXRhIjp7ImlkIjo1NzM5LCJuYW1lIjoiXHU2MDNiXHU2ZDRiXHU4YmQ1MSIsInBob25lIjoiMTU2MDE2NTIzNTMiLCJsZXZlbCI6MzB9LCJ0aW1lU3RhbXBfIjoxNTMwNjA2ODU4fQ.8jL49CjtBMV6BqmaKdJfd4pkGBazrAgQQrutb53Z3mY';
export default {
name: '',
data() {
return {
navs: [{
'path': '/achieveFork',
'nameCustom': '业绩总入口',
'query': {
'token': _token
}
},
{
'path': '/businessCollege',
'nameCustom': '商学院',
'query': {
'token': _token2
}
},
{
'path': '/feeds',
'nameCustom': 'feed流',
'query': {
'id': 1
}
},
{
'path': '/reportDetails',
'nameCustom': '成交报告',
'query': {
'token': _token,
'bargain_id':'169',
}
},
{
'path': '/announcementDetails',
'nameCustom': '公告详情',
'query': {
'id':'160',
}
},
{
'path': '/inviteRegister',
'nameCustom': '邀请注册',
'query': {
'device_id':'0',
'wx_union_id':'0',
'referrer_id':'160',
'referrer_source':'10',
}
},
{
'path': '/agreement',
'nameCustom': '邀请注册协议',
'query': {
// 'id':'160',
}
}
]
}
},
methods: {
}
}
</script>
<style scoped>
li{
line-height: .5rem;
}
</style>
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment