You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
<template>
|
|
|
|
<view>
|
|
|
|
<view class="top">
|
|
|
|
<uni-search-bar class="search" radius="5" placeholder="请输入方案名称" clearButton="auto" cancelButton="none" @confirm="search" />
|
|
|
|
<uni-icons class="icon" custom-prefix="iconfont" type="icon-filter" size="18" color="#007eff"></uni-icons>
|
|
|
|
</view>
|
|
|
|
|
|
|
|
<ul class="tab">
|
|
|
|
<li v-for="(tab, i) in tabs" :class="{active: curTab === tab.id}" @click="tabChange(tab)">{{ tab.name }}</li>
|
|
|
|
</ul>
|
|
|
|
|
|
|
|
<ul class="list">
|
|
|
|
<li v-for="(item, i) in list">
|
|
|
|
<view class="name">{{ item.name }}</view>
|
|
|
|
<view class="content">
|
|
|
|
<view class="info">
|
|
|
|
<view class="line">
|
|
|
|
<view class="label">产品</view>
|
|
|
|
<view class="val" v-html="item.product"></view>
|
|
|
|
</view>
|
|
|
|
<view class="line">
|
|
|
|
<view class="label">更新日期</view>
|
|
|
|
<view class="val">{{ item.date }}</view>
|
|
|
|
</view>
|
|
|
|
<view class="line">
|
|
|
|
<view class="label">适用专业</view>
|
|
|
|
<view class="val">{{ item.major }}</view>
|
|
|
|
</view>
|
|
|
|
</view>
|
|
|
|
<view class="detail" @click="toDetail(i + 2)">详情</view>
|
|
|
|
</view>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</view>
|
|
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
|
|
export default {
|
|
|
|
data() {
|
|
|
|
return {
|
|
|
|
curTab: 0,
|
|
|
|
tabs: [
|
|
|
|
{
|
|
|
|
name: '不限',
|
|
|
|
id: 0
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: '标准方案',
|
|
|
|
id: 1
|
|
|
|
},
|
|
|
|
{
|
|
|
|
name: '智信云方案',
|
|
|
|
id: 2
|
|
|
|
}
|
|
|
|
],
|
|
|
|
list: [],
|
|
|
|
all: [
|
|
|
|
{
|
|
|
|
type: 1,
|
|
|
|
name: '人工智能实验室建设方案-2020.1',
|
|
|
|
product: `python程序设计实验教学系统<br>
|
|
|
|
Docker技术实验教学系统<br>
|
|
|
|
JAVA语言程序设计实验教学系统<br>
|
|
|
|
大数据开发实验教学系统<br>
|
|
|
|
Openstack云计算实验教学系统`,
|
|
|
|
date: '2022-06-02',
|
|
|
|
major: '人工智能方向'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
type: 1,
|
|
|
|
name: '大数据管理与应用专业建设方案',
|
|
|
|
product: `python程序设计实验教学系统<br>
|
|
|
|
量化投资实验教学系统<br>
|
|
|
|
区块链数字货币交易实验系统<br>
|
|
|
|
大数分析实验教学系统<br>
|
|
|
|
数据可视化实验教学系统<br>
|
|
|
|
大数据实证科研平台<br>
|
|
|
|
全球宏观经济<br>
|
|
|
|
数据库,全球金融交易数据库 `,
|
|
|
|
date: '2022-06-02',
|
|
|
|
major: '大数据方向'
|
|
|
|
},
|
|
|
|
{
|
|
|
|
type: 1,
|
|
|
|
name: '金融科技实验室建设方案V2.0',
|
|
|
|
product: `python程序设计实验教学系统<br>
|
|
|
|
量化投资实验教学系统<br>
|
|
|
|
区块链数字货币交易实验教学系统<br>
|
|
|
|
大数据采集实验教学系统<br>
|
|
|
|
大数据分析实验教学系统<br>
|
|
|
|
金融建模实验教学系统<br>
|
|
|
|
互联网小贷实验教学系统<br>
|
|
|
|
互联网支付实验教学系统<br>
|
|
|
|
R语言实验教学系统<br>
|
|
|
|
供应链金融实验教学系统<br>
|
|
|
|
Python数据清洗实验教学系统<br>
|
|
|
|
数据可视化实验教学系统<br>
|
|
|
|
金融随机过程实验教学系统<br>
|
|
|
|
银行综合系统<br>
|
|
|
|
大数据实证科研平台<br>
|
|
|
|
财经数据库`,
|
|
|
|
date: '2022-06-02',
|
|
|
|
major: '金融科技,大数据方向'
|
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
},
|
|
|
|
onShow() {
|
|
|
|
this.list = JSON.parse(JSON.stringify(this.all))
|
|
|
|
},
|
|
|
|
methods: {
|
|
|
|
search(res) {
|
|
|
|
uni.showToast({
|
|
|
|
title: '搜索:' + res.value,
|
|
|
|
icon: 'none'
|
|
|
|
})
|
|
|
|
},
|
|
|
|
// tab切换
|
|
|
|
tabChange(tab) {
|
|
|
|
this.curTab = tab.id
|
|
|
|
this.list = this.all.filter(e => e.type === tab.id)
|
|
|
|
},
|
|
|
|
// 跳转详情
|
|
|
|
toDetail(id) {
|
|
|
|
this.$util.to('../detail/detail?id=' + id)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</script>
|
|
|
|
|
|
|
|
<style scoped lang="scss">
|
|
|
|
.top {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
padding: 5px 15px 5px 5px;
|
|
|
|
margin-bottom: 10px;
|
|
|
|
background-color: #fff;
|
|
|
|
.search {
|
|
|
|
flex: 1;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
.list {
|
|
|
|
background-color: #fff;
|
|
|
|
li {
|
|
|
|
padding: 40rpx;
|
|
|
|
border-bottom: 1px solid #f8f8f8;
|
|
|
|
}
|
|
|
|
.name {
|
|
|
|
font-size: 28rpx;
|
|
|
|
color: #333;
|
|
|
|
}
|
|
|
|
.line {
|
|
|
|
display: flex;
|
|
|
|
margin-bottom: 20rpx;
|
|
|
|
}
|
|
|
|
.content {
|
|
|
|
display: flex;
|
|
|
|
justify-content: space-between;
|
|
|
|
align-items: center;
|
|
|
|
margin-top: 20rpx;
|
|
|
|
}
|
|
|
|
.info {
|
|
|
|
margin: 10rpx 0;
|
|
|
|
}
|
|
|
|
.label {
|
|
|
|
width: 140rpx;
|
|
|
|
font-size: 24rpx;
|
|
|
|
color: #898989;
|
|
|
|
}
|
|
|
|
.val {
|
|
|
|
font-size: 24rpx;
|
|
|
|
line-height: 1.8;
|
|
|
|
color: #898989;
|
|
|
|
}
|
|
|
|
.detail {
|
|
|
|
margin-left: 20rpx;
|
|
|
|
font-size: 26rpx;
|
|
|
|
color: #1f83ff;
|
|
|
|
white-space: nowrap;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
</style>
|