yitisheng-mini-app/pages/zyb/other/admissionsInformation.vue

134 lines
2.7 KiB
Vue

<script>
import StaticConstant from "@/common/StaticConstant";
import Request from '@/common/request'
import ImagesConstant from "@/common/ImagesConstant";
let request = new Request()
export default {
components: {},
computed: {
ImagesConstant() {
return ImagesConstant
},
StaticConstant() {
return StaticConstant
}
},
data() {
return {
searchText: '',
list: [
{
title: '新疆艺术学院2024年本科招生简章',
url: ''
},
{
title: '新疆艺术学院2024年本科招生简章招生简章招生简章招生简章招生简章',
url: ''
}
]
}
},
methods: {
clearSearchInput() {
},
searchClick() {
}
}
}
</script>
<template>
<view class="header">
<view class="search-view">
<view style="width: 90%">
<uni-search-bar class="uni-mt-10" radius="100" placeholder="请输入院校名称" v-model="searchText"
@clear="clearSearchInput" cancelButton="none" @confirm="searchClick"/>
</view>
<view style="width: 10%;line-height: 100rpx">
<text @click="searchClick">搜索</text>
</view>
</view>
</view>
<view class="body">
<view class="image1">
<image src="http://files.yitisheng.vip/images/zsjz2.png" style="height: 200rpx;width:100%"/>
</view>
<!--简章列表-->
<view class="list">
<view class="list-item" :class="index===list.length-1?'list-item-end':''" v-for="(item,index) in list" :key="index">
<view class="title">
<text>{{ item.title }}</text>
</view>
<view class="right-icon">
<image :src="ImagesConstant.keyboard.arrowRight" style="width: 40rpx;height: 40rpx"/>
</view>
</view>
</view>
</view>
</template>
<style scoped lang="scss">
/*搜索栏 start*/
.header {
background-color: white;
.search-view {
display: flex;
height: 100rpx;
border-top: 1px solid #f5f5f5;
border-bottom: 1px solid #f5f5f5;
}
}
:deep(.uni-searchbar) {
padding: 15rpx 10rpx !important;
}
/*搜索栏 end*/
/*中间部分 start*/
.body {
background-color: white;
.image1 {
padding: 30rpx;
}
.list {
padding: 0 30rpx;
.list-item {
border-bottom: 1px solid #f5f5f5;
display: flex;
min-height: 100rpx;
.title {
color: #666666;
font-size: 30rpx;
width: 80%;
margin: 30rpx 0;
}
.right-icon {
width: 20%;
line-height: 100rpx;
margin: auto 0;
image {
float: right;
position: static;
}
}
}
.list-item-end {
border-bottom: none !important;
}
}
}
/*中间部分 end*/
</style>