|
|
<template>
|
|
|
<view class="content">
|
|
|
<view class="content" @click="hide">
|
|
|
<view @click.stop="showhide">
|
|
|
<view class="top">
|
|
|
<view class="search">
|
|
|
<image class="icon" src="../../static/sousuo_icon@2x.png"></image>
|
|
|
<input type="text" v-model="word" placeholder="请输入搜索内容" class="input" placeholder-style="color:rgba(189,196,206,1);font-size:28rpx;" style="font-size:28rpx;">
|
|
|
<input type="text" v-model="word" placeholder="请输入搜索内容" class="input" placeholder-style="color:rgba(189,196,206,1);font-size:28rpx;"
|
|
|
style="font-size:28rpx;">
|
|
|
</view>
|
|
|
<view class="searchBtn" @click="getmatelist">搜索</view>
|
|
|
</view>
|
...
|
...
|
@@ -44,7 +46,8 @@ |
|
|
<view class="majorPopup" v-if="isMajorShow">
|
|
|
<view class="cont" style="display:flex;flex-direction: column;overflow: auto;height: 600rpx;">
|
|
|
<view class="title" @click="selectgraduated" :data-id="null">全部</view>
|
|
|
<view class="item" style="width:330rpx" @click="selectgraduated" v-for="(item,index) in graduatedList" :key="index" :data-id="item.id">{{item.name}}</view>
|
|
|
<view class="item" style="width:330rpx" @click="selectgraduated" v-for="(item,index) in graduatedList" :key="index"
|
|
|
:data-id="item.id">{{item.name}}</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="stylePopup" v-if="isStyleShow">
|
...
|
...
|
@@ -63,33 +66,31 @@ |
|
|
<view class="cont">
|
|
|
<view class="title">{{item.nickname}}</view>
|
|
|
<view class="academy">
|
|
|
<image class="icon" src="../../static/xuexiao_icon@2x2.png"></image>{{ item.university_name }} {{ item.college_name }} {{ item.graduated_name }}
|
|
|
<image class="icon" src="../../static/xuexiao_icon@2x2.png"></image>{{ item.university_name }}
|
|
|
{{ item.college_name }} {{ item.graduated_name }}
|
|
|
</view>
|
|
|
<view class="fen">{{item.up_name}}</view>
|
|
|
</view>
|
|
|
<view class="right" v-if="item.is_like==0">
|
|
|
<view class="right" v-if="item.is_like==1">
|
|
|
<image src="../../static/yiguanzhu_img@2x.png"></image>
|
|
|
<view class="text">已关注</view>
|
|
|
</view>
|
|
|
<view class="right" v-else style="width:132rpx;height:54rpx;background:rgba(129,195,191,1);border-radius:32rpx 0rpx 0rpx 32rpx;">
|
|
|
<!-- <image src="../../static/yiguanzhu_img@2x.png"></image> -->
|
|
|
<view class="text" style="align-items: center;"> <image class="icon" src="../../static/guanzhu_icon@2x.png"></image>关注</view>
|
|
|
<view class="text" style="align-items: center;">
|
|
|
<image class="icon" src="../../static/guanzhu_icon@2x.png"></image>关注
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
<view class="nodata" v-if="schoolmateList.length==0">暂无数据</view>
|
|
|
|
|
|
|
|
|
<!-- <view class="box">
|
|
|
<view class="text"><text @click="tobuy">购买畅读卡</text>可以额外找到888人</view>
|
|
|
</view> -->
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<!-- <tab :current="currentTabIndex" @getData="tabClick"></tab> -->
|
|
|
<view class="teacherfooter" v-if="type == 1">
|
|
|
|
|
|
<view class="teacherfootitem" >
|
|
|
<view class="teacherfootitem">
|
|
|
<view class="teacherfootitemtop" @click="footerselChange" :data-id="1" :data-url="'/pages/school/school?type='+1">
|
|
|
<image :src="footersel==1?'/static/xuexiao_icon@2x.png':'/static/xuexiao_icon@2x3.png'"></image>
|
|
|
</view>
|
...
|
...
|
@@ -126,86 +127,101 @@ |
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
</view>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</template>
|
|
|
|
|
|
<script>
|
|
|
import app from "../../App.vue";
|
|
|
|
|
|
export default {
|
|
|
export default {
|
|
|
|
|
|
data(){
|
|
|
return{
|
|
|
data() {
|
|
|
return {
|
|
|
|
|
|
isDiquShow:false,
|
|
|
isDiquShow: false,
|
|
|
// isSchoolShow:false,
|
|
|
isMajorShow:false,
|
|
|
isStyleShow:false,
|
|
|
active1:false,
|
|
|
isMajorShow: false,
|
|
|
isStyleShow: false,
|
|
|
active1: false,
|
|
|
// active2:false,
|
|
|
active3:false,
|
|
|
active4:false,
|
|
|
currentTabIndex:1,
|
|
|
footersel:2,
|
|
|
type:"",
|
|
|
province_id:"",
|
|
|
city_id:'',
|
|
|
|
|
|
schoolmate:{
|
|
|
page:'1',
|
|
|
size:'10',
|
|
|
type:'1',
|
|
|
university_id:'',
|
|
|
graduated_id:'',
|
|
|
up_id:'',
|
|
|
active3: false,
|
|
|
active4: false,
|
|
|
currentTabIndex: 1,
|
|
|
footersel: 2,
|
|
|
type: "",
|
|
|
province_id: "",
|
|
|
city_id: '',
|
|
|
|
|
|
schoolmate: {
|
|
|
page: '1',
|
|
|
size: '10',
|
|
|
type: '1',
|
|
|
university_id: '',
|
|
|
graduated_id: '',
|
|
|
up_id: '',
|
|
|
|
|
|
},
|
|
|
|
|
|
school: {
|
|
|
page: '1',
|
|
|
size: '10',
|
|
|
word: ''
|
|
|
},
|
|
|
|
|
|
school:{
|
|
|
page:'1',
|
|
|
size:'10',
|
|
|
word:''
|
|
|
graduatedList: [],
|
|
|
upList: [],
|
|
|
schoolmateList: [],
|
|
|
provinceList: [],
|
|
|
cityList: [],
|
|
|
schoolList: [],
|
|
|
word:""
|
|
|
}
|
|
|
},
|
|
|
methods: {
|
|
|
hide() {
|
|
|
console.log(3889348439)
|
|
|
this.isDiquShow = false
|
|
|
},
|
|
|
showhide() {
|
|
|
|
|
|
graduatedList:[],
|
|
|
upList:[],
|
|
|
schoolmateList:[],
|
|
|
provinceList:[],
|
|
|
cityList:[],
|
|
|
schoolList:[]
|
|
|
}
|
|
|
},
|
|
|
methods:{
|
|
|
tobuy(){
|
|
|
if(uni.getStorageSync('token')==''){
|
|
|
},
|
|
|
tobuy() {
|
|
|
if (uni.getStorageSync('token') == '') {
|
|
|
uni.navigateTo({
|
|
|
url:'../register/register?istoken='+1
|
|
|
url: '../register/register?istoken=' + 1
|
|
|
})
|
|
|
}else{
|
|
|
} else {
|
|
|
uni.navigateTo({
|
|
|
url:'../homePage/buyCard'
|
|
|
url: '../homePage/buyCard'
|
|
|
})
|
|
|
}
|
|
|
|
|
|
},
|
|
|
diquShow(){
|
|
|
this.isDiquShow=true;
|
|
|
this.isSchoolShow=false;
|
|
|
this.isMajorShow=false
|
|
|
this.isStyleShow=false
|
|
|
this.active1=true,
|
|
|
this.active2=false
|
|
|
this.active3=false
|
|
|
this.active4=false
|
|
|
diquShow() {
|
|
|
this.isDiquShow = true;
|
|
|
this.isSchoolShow = false;
|
|
|
this.isMajorShow = false
|
|
|
this.isStyleShow = false
|
|
|
this.active1 = true,
|
|
|
this.active2 = false
|
|
|
this.active3 = false
|
|
|
this.active4 = false
|
|
|
},
|
|
|
hide(){
|
|
|
this.isDiquShow=false,
|
|
|
this.isSchoolShow=false;
|
|
|
this.isMajorShow=false
|
|
|
this.isStyleShow=false
|
|
|
this.active1=false,
|
|
|
this.active2=false
|
|
|
this.active3=false
|
|
|
this.active4=false
|
|
|
hide() {
|
|
|
this.isDiquShow = false,
|
|
|
this.isSchoolShow = false;
|
|
|
this.isMajorShow = false
|
|
|
this.isStyleShow = false
|
|
|
this.active1 = false,
|
|
|
this.active2 = false
|
|
|
this.active3 = false
|
|
|
this.active4 = false
|
|
|
},
|
|
|
// schoolShow(){
|
|
|
// this.isSchoolShow=true;
|
...
|
...
|
@@ -218,26 +234,26 @@ methods:{ |
|
|
// this.active4=false
|
|
|
// },
|
|
|
|
|
|
majorShow(){
|
|
|
this.isMajorShow=true
|
|
|
this.isDiquShow=false,
|
|
|
this.isSchoolShow=false;
|
|
|
this.isStyleShow=false
|
|
|
this.active1=false,
|
|
|
this.active2=false
|
|
|
this.active3=true
|
|
|
this.active4=false
|
|
|
majorShow() {
|
|
|
this.isMajorShow = true
|
|
|
this.isDiquShow = false,
|
|
|
this.isSchoolShow = false;
|
|
|
this.isStyleShow = false
|
|
|
this.active1 = false,
|
|
|
this.active2 = false
|
|
|
this.active3 = true
|
|
|
this.active4 = false
|
|
|
},
|
|
|
|
|
|
styleShow(){
|
|
|
this.isStyleShow=true
|
|
|
this.isMajorShow=false
|
|
|
this.isSchoolShow=false
|
|
|
this.isDiquShow=false
|
|
|
this.active1=false,
|
|
|
this.active2=false
|
|
|
this.active3=false
|
|
|
this.active4=true
|
|
|
styleShow() {
|
|
|
this.isStyleShow = true
|
|
|
this.isMajorShow = false
|
|
|
this.isSchoolShow = false
|
|
|
this.isDiquShow = false
|
|
|
this.active1 = false,
|
|
|
this.active2 = false
|
|
|
this.active3 = false
|
|
|
this.active4 = true
|
|
|
},
|
|
|
|
|
|
// 底部导航跳转
|
...
|
...
|
@@ -250,35 +266,35 @@ methods:{ |
|
|
|
|
|
},
|
|
|
//获取学长列表
|
|
|
getmatelist(){
|
|
|
if(uni.getStorageSync('token')==''){
|
|
|
getmatelist() {
|
|
|
if (uni.getStorageSync('token') == '') {
|
|
|
uni.showToast({
|
|
|
title:"请登陆后操作",
|
|
|
icon:"none"
|
|
|
title: "请登陆后操作",
|
|
|
icon: "none"
|
|
|
})
|
|
|
setTimeout(() => {
|
|
|
uni.navigateTo({
|
|
|
url:'../register/register?istoken='+1
|
|
|
url: '../register/register?istoken=' + 1
|
|
|
})
|
|
|
}, 1500);
|
|
|
|
|
|
}else{
|
|
|
var url="student/getStudentList"
|
|
|
} else {
|
|
|
var url = "student/getStudentList"
|
|
|
var token = uni.getStorageSync('token')
|
|
|
var params = {
|
|
|
page:this.schoolmate.page,
|
|
|
size:this.schoolmate.size,
|
|
|
type:this.schoolmate.type,
|
|
|
university_id:this.schoolmate.university_id,
|
|
|
graduated_id:this.schoolmate.graduated_id,
|
|
|
up_id:this.schoolmate.up_id,
|
|
|
word:this.word,
|
|
|
token:token
|
|
|
}
|
|
|
app.post(url,params,"get").then((res)=>{
|
|
|
page: this.schoolmate.page,
|
|
|
size: this.schoolmate.size,
|
|
|
type: this.schoolmate.type,
|
|
|
university_id: this.schoolmate.university_id,
|
|
|
graduated_id: this.schoolmate.graduated_id,
|
|
|
up_id: this.schoolmate.up_id,
|
|
|
word: this.word,
|
|
|
token: token
|
|
|
}
|
|
|
app.post(url, params, "get").then((res) => {
|
|
|
console.log(res)
|
|
|
this.schoolmateList=res
|
|
|
}).catch((err)=>{
|
|
|
this.schoolmateList = res
|
|
|
}).catch((err) => {
|
|
|
console.log(err)
|
|
|
})
|
|
|
}
|
...
|
...
|
@@ -286,143 +302,143 @@ methods:{ |
|
|
},
|
|
|
|
|
|
//获取所有专业
|
|
|
getAllGraduated(){
|
|
|
var url="university/getGraduated"
|
|
|
var parmas={}
|
|
|
app.post(url,parmas,"get").then((res)=>{
|
|
|
getAllGraduated() {
|
|
|
var url = "university/getGraduated"
|
|
|
var parmas = {}
|
|
|
app.post(url, parmas, "get").then((res) => {
|
|
|
console.log(res)
|
|
|
this.graduatedList=res
|
|
|
}).catch((err)=>{
|
|
|
this.graduatedList = res
|
|
|
}).catch((err) => {
|
|
|
console.log(err)
|
|
|
})
|
|
|
},
|
|
|
//获取所有升学方式
|
|
|
getAllUp(){
|
|
|
var url="university/getAllUp"
|
|
|
var params={}
|
|
|
app.post(url,params,"get").then((res)=>{
|
|
|
getAllUp() {
|
|
|
var url = "university/getAllUp"
|
|
|
var params = {}
|
|
|
app.post(url, params, "get").then((res) => {
|
|
|
console.log(res[0].name)
|
|
|
this.upList=res
|
|
|
}).catch((err)=>{
|
|
|
this.upList = res
|
|
|
}).catch((err) => {
|
|
|
console.log(err)
|
|
|
})
|
|
|
},
|
|
|
//获取全部地区(省)
|
|
|
getAllProvince(){
|
|
|
var url ="city/getAllProvince"
|
|
|
var params ={}
|
|
|
app.post(url,params,"get").then((res)=>{
|
|
|
this.provinceList=res
|
|
|
}).catch((err)=>{
|
|
|
getAllProvince() {
|
|
|
var url = "city/getAllProvince"
|
|
|
var params = {}
|
|
|
app.post(url, params, "get").then((res) => {
|
|
|
this.provinceList = res
|
|
|
}).catch((err) => {
|
|
|
console.log(err)
|
|
|
})
|
|
|
},
|
|
|
|
|
|
//市
|
|
|
getAllCity(){
|
|
|
getAllCity() {
|
|
|
var url = "city/getCity"
|
|
|
var params = {
|
|
|
province_id:this.province_id
|
|
|
province_id: this.province_id
|
|
|
}
|
|
|
app.post(url,params,"get").then((res)=>{
|
|
|
app.post(url, params, "get").then((res) => {
|
|
|
console.log(res)
|
|
|
this.cityList=res
|
|
|
}).catch((err)=>{
|
|
|
this.cityList = res
|
|
|
}).catch((err) => {
|
|
|
console.log(err)
|
|
|
})
|
|
|
},
|
|
|
|
|
|
//学校
|
|
|
getAllSchool(){
|
|
|
var url="city/getUniversityByCity"
|
|
|
var params ={
|
|
|
city_id:this.city_id
|
|
|
getAllSchool() {
|
|
|
var url = "city/getUniversityByCity"
|
|
|
var params = {
|
|
|
city_id: this.city_id
|
|
|
}
|
|
|
app.post(url,params,"get").then((res)=>{
|
|
|
app.post(url, params, "get").then((res) => {
|
|
|
console.log(res)
|
|
|
this.schoolList=res
|
|
|
}).catch((err)=>{
|
|
|
this.schoolList = res
|
|
|
}).catch((err) => {
|
|
|
console.log(err)
|
|
|
})
|
|
|
},
|
|
|
|
|
|
//点击选中的升学方式
|
|
|
selectup(e){
|
|
|
this.schoolmate.up_id=e.currentTarget.dataset.id
|
|
|
selectup(e) {
|
|
|
this.schoolmate.up_id = e.currentTarget.dataset.id
|
|
|
console.log(e.currentTarget.dataset.id)
|
|
|
this.getmatelist()
|
|
|
this.isStyleShow=false
|
|
|
this.isStyleShow = false
|
|
|
},
|
|
|
|
|
|
//点击选中的专业
|
|
|
selectgraduated(e){
|
|
|
this.schoolmate.graduated_id=e.currentTarget.dataset.id
|
|
|
this.isMajorShow=false
|
|
|
selectgraduated(e) {
|
|
|
this.schoolmate.graduated_id = e.currentTarget.dataset.id
|
|
|
this.isMajorShow = false
|
|
|
this.getmatelist()
|
|
|
|
|
|
|
|
|
},
|
|
|
//点击选中的学校
|
|
|
selectschool(e){
|
|
|
this.schoolmate.university_id=e.currentTarget.dataset.id
|
|
|
selectschool(e) {
|
|
|
this.schoolmate.university_id = e.currentTarget.dataset.id
|
|
|
console.log(e.currentTarget.dataset.id)
|
|
|
this.isDiquShow=false
|
|
|
this.isDiquShow = false
|
|
|
|
|
|
this.getmatelist()
|
|
|
|
|
|
},
|
|
|
//点击选中的省
|
|
|
selectprovince(e){
|
|
|
if(this.province_id!=e.currentTarget.dataset.id){
|
|
|
this.province_id=e.currentTarget.dataset.id;
|
|
|
selectprovince(e) {
|
|
|
if (this.province_id != e.currentTarget.dataset.id) {
|
|
|
this.province_id = e.currentTarget.dataset.id;
|
|
|
this.schoolList = [];
|
|
|
this.getAllCity()
|
|
|
}
|
|
|
|
|
|
},
|
|
|
//点击全部省
|
|
|
selectallprovince(){
|
|
|
selectallprovince() {
|
|
|
this.getmatelist()
|
|
|
this.isDiquShow=false
|
|
|
this.isDiquShow = false
|
|
|
},
|
|
|
//点击选中全部市
|
|
|
selectallcity(){
|
|
|
selectallcity() {
|
|
|
this.getmatelist()
|
|
|
this.isDiquShow=false
|
|
|
this.isDiquShow = false
|
|
|
|
|
|
},
|
|
|
//点击选中的市
|
|
|
selectcity(e){
|
|
|
if(this.city_id!=e.currentTarget.dataset.id){
|
|
|
this.city_id=e.currentTarget.dataset.id
|
|
|
selectcity(e) {
|
|
|
if (this.city_id != e.currentTarget.dataset.id) {
|
|
|
this.city_id = e.currentTarget.dataset.id
|
|
|
this.schoolList = [];
|
|
|
this.getAllSchool()
|
|
|
}
|
|
|
|
|
|
|
|
|
},
|
|
|
todetile(e){
|
|
|
if(uni.getStorageSync('token')==''){
|
|
|
todetile(e) {
|
|
|
if (uni.getStorageSync('token') == '') {
|
|
|
uni.navigateTo({
|
|
|
url:'../register/register?istoken='+1
|
|
|
url: '../register/register?istoken=' + 1
|
|
|
})
|
|
|
}else{
|
|
|
} else {
|
|
|
var type = this.type
|
|
|
var id = e.currentTarget.dataset.id.user_id
|
|
|
console.log( e.currentTarget.dataset.id)
|
|
|
console.log(e.currentTarget.dataset.id)
|
|
|
uni.navigateTo({
|
|
|
url:"../school/schoolmateMsg?user_id="+id+"&type="+type
|
|
|
url: "../school/schoolmateMsg?user_id=" + id + "&type=" + type
|
|
|
})
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
},
|
|
|
onLoad(options){
|
|
|
},
|
|
|
onLoad(options) {
|
|
|
console.log(options.type)
|
|
|
var type=options.type
|
|
|
this.type=type
|
|
|
var type = options.type
|
|
|
this.type = type
|
|
|
this.getmatelist()
|
|
|
// this.getAllSchool()
|
|
|
this.getAllGraduated()
|
...
|
...
|
@@ -431,67 +447,80 @@ methods:{ |
|
|
|
|
|
},
|
|
|
|
|
|
}
|
|
|
}
|
|
|
</script>
|
|
|
|
|
|
<style lang="less">
|
|
|
.content{
|
|
|
background-color: rgba(249,249,249,1);
|
|
|
.content {
|
|
|
background-color: rgba(249, 249, 249, 1);
|
|
|
height: 100vh;
|
|
|
padding-bottom: 120rpx;
|
|
|
.nodata{
|
|
|
|
|
|
.nodata {
|
|
|
text-align: center;
|
|
|
font-size: 28rpx;
|
|
|
padding: 20rpx 0;
|
|
|
}
|
|
|
.top{
|
|
|
|
|
|
.top {
|
|
|
padding: 18rpx 32rpx;
|
|
|
display: flex;
|
|
|
background-color: #fff;
|
|
|
}
|
|
|
.search{
|
|
|
|
|
|
.search {
|
|
|
// background-color: #fff;
|
|
|
display: flex;
|
|
|
// text-align: center;
|
|
|
align-items: center;
|
|
|
width:596rpx;
|
|
|
height:64rpx;
|
|
|
background:rgba(238,238,238,1);
|
|
|
opacity:1;
|
|
|
border-radius:40rpx;
|
|
|
width: 596rpx;
|
|
|
height: 64rpx;
|
|
|
background: rgba(238, 238, 238, 1);
|
|
|
opacity: 1;
|
|
|
border-radius: 40rpx;
|
|
|
padding: 0 28rpx;
|
|
|
box-sizing: border-box;
|
|
|
.icon{
|
|
|
|
|
|
.icon {
|
|
|
width: 30rpx;
|
|
|
height: 30rpx;
|
|
|
}
|
|
|
.input{
|
|
|
|
|
|
.input {
|
|
|
height: 64rpx;
|
|
|
width: 500rpx;
|
|
|
text-align: center;
|
|
|
}
|
|
|
|
|
|
}
|
|
|
.searchBtn{
|
|
|
color:rgba(6,18,30,1);
|
|
|
|
|
|
.searchBtn {
|
|
|
color: rgba(6, 18, 30, 1);
|
|
|
font-size: 28rpx;
|
|
|
line-height: 64rpx;
|
|
|
margin-left: 20rpx;
|
|
|
}
|
|
|
.type{
|
|
|
|
|
|
.type {
|
|
|
display: flex;
|
|
|
color:rgba(6,18,30,1);
|
|
|
color: rgba(6, 18, 30, 1);
|
|
|
font-size: 24rpx;
|
|
|
background-color: #fff;
|
|
|
padding: 24rpx 32rpx;
|
|
|
margin-bottom: 24rpx;
|
|
|
.typeitem{
|
|
|
|
|
|
.typeitem {
|
|
|
width: 132rpx;
|
|
|
}
|
|
|
.active{
|
|
|
|
|
|
.active {
|
|
|
color: #05849D;
|
|
|
}
|
|
|
.diquPopup,.schoolPopup,.majorPopup,.stylePopup{
|
|
|
|
|
|
.diquPopup,
|
|
|
.schoolPopup,
|
|
|
.majorPopup,
|
|
|
.stylePopup {
|
|
|
width: 750rpx;
|
|
|
// height: 314rpx;
|
|
|
position: absolute;
|
...
|
...
|
@@ -501,21 +530,25 @@ methods:{ |
|
|
padding: 22rpx 32rpx;
|
|
|
// box-sizing: border-box;
|
|
|
z-index: 999;
|
|
|
box-shadow:0px 4px 4px rgba(0,0,0,0.06);
|
|
|
border-top: 1rpx solid rgba(249,249,249,1);
|
|
|
.item{
|
|
|
box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.06);
|
|
|
border-top: 1rpx solid rgba(249, 249, 249, 1);
|
|
|
|
|
|
.item {
|
|
|
margin-bottom: 22rpx;
|
|
|
// height: 74rpx;
|
|
|
width: 170rpx;
|
|
|
}
|
|
|
.title{
|
|
|
|
|
|
.title {
|
|
|
margin-bottom: 20rpx;
|
|
|
}
|
|
|
.cont{
|
|
|
.colum{
|
|
|
|
|
|
.cont {
|
|
|
.colum {
|
|
|
width: 30%;
|
|
|
|
|
|
}
|
|
|
|
|
|
display: flex;
|
|
|
// height: 314rpx;
|
|
|
// flex-direction: column;
|
...
|
...
|
@@ -524,12 +557,13 @@ methods:{ |
|
|
}
|
|
|
}
|
|
|
}
|
|
|
.mateitem{
|
|
|
width:686rpx;
|
|
|
height:172rpx;
|
|
|
background:rgba(255,255,255,1);
|
|
|
opacity:1;
|
|
|
border-radius:8px;
|
|
|
|
|
|
.mateitem {
|
|
|
width: 686rpx;
|
|
|
height: 172rpx;
|
|
|
background: rgba(255, 255, 255, 1);
|
|
|
opacity: 1;
|
|
|
border-radius: 8px;
|
|
|
margin: 0 auto;
|
|
|
background-color: #fff;
|
|
|
display: flex;
|
...
|
...
|
@@ -537,38 +571,44 @@ methods:{ |
|
|
box-sizing: border-box;
|
|
|
position: relative;
|
|
|
margin-bottom: 24rpx;
|
|
|
.photo{
|
|
|
|
|
|
.photo {
|
|
|
width: 112rpx;
|
|
|
height: 112rpx;
|
|
|
margin-right: 26rpx;
|
|
|
margin-top: 6rpx;
|
|
|
|
|
|
}
|
|
|
.cont{
|
|
|
.title{
|
|
|
color:rgba(61,68,77,1);
|
|
|
|
|
|
.cont {
|
|
|
.title {
|
|
|
color: rgba(61, 68, 77, 1);
|
|
|
font-size: 28rpx;
|
|
|
}
|
|
|
.academy{
|
|
|
color:rgba(61,68,77,1);
|
|
|
|
|
|
.academy {
|
|
|
color: rgba(61, 68, 77, 1);
|
|
|
font-size: 22rpx;
|
|
|
margin-top: 4rpx;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
|
|
|
// line-height: 24rpx;
|
|
|
.icon{
|
|
|
.icon {
|
|
|
width: 24rpx;
|
|
|
height: 24rpx;
|
|
|
margin-right: 6rpx;
|
|
|
}
|
|
|
}
|
|
|
.fen{
|
|
|
|
|
|
.fen {
|
|
|
font-size: 22rpx;
|
|
|
color:rgba(140,145,152,1);
|
|
|
color: rgba(140, 145, 152, 1);
|
|
|
margin-top: 10rpx;
|
|
|
}
|
|
|
}
|
|
|
.right{
|
|
|
|
|
|
.right {
|
|
|
width: 132rpx;
|
|
|
height: 54rpx;
|
|
|
position: absolute;
|
...
|
...
|
@@ -576,16 +616,19 @@ methods:{ |
|
|
top: 16rpx;
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
.icon{
|
|
|
|
|
|
.icon {
|
|
|
width: 28rpx;
|
|
|
height: 28rpx;
|
|
|
// margin-right: 6rpx;
|
|
|
}
|
|
|
image{
|
|
|
|
|
|
image {
|
|
|
width: 132rpx;
|
|
|
height: 54rpx;
|
|
|
}
|
|
|
.text{
|
|
|
|
|
|
.text {
|
|
|
color: #fff;
|
|
|
font-size: 24rpx;
|
|
|
width: 80rpx;
|
...
|
...
|
@@ -593,44 +636,49 @@ methods:{ |
|
|
position: absolute;
|
|
|
top: 50%;
|
|
|
left: 50%;
|
|
|
transform: translate(-50%,-50%);
|
|
|
transform: translate(-50%, -50%);
|
|
|
display: flex;
|
|
|
align-items: center;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
.box{
|
|
|
|
|
|
.box {
|
|
|
width: 686rpx;
|
|
|
height: 110rpx;
|
|
|
background-color: #fff;
|
|
|
margin: 0 auto;
|
|
|
font-size:28rpx;
|
|
|
font-size: 28rpx;
|
|
|
line-height: 110rpx;
|
|
|
text-align: center;
|
|
|
text{
|
|
|
color:rgba(129,195,191,1);
|
|
|
|
|
|
text {
|
|
|
color: rgba(129, 195, 191, 1);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
}
|
|
|
.tabBar{
|
|
|
}
|
|
|
|
|
|
.tabBar {
|
|
|
display: flex;
|
|
|
position: fixed;
|
|
|
width: 100%;
|
|
|
height: 100rpx;
|
|
|
background-color: #fff;
|
|
|
bottom: 0;
|
|
|
.item{
|
|
|
|
|
|
.item {
|
|
|
flex: 4;
|
|
|
text-align: center;
|
|
|
font-size: 22rpx;
|
|
|
color:rgba(189,196,206,1);
|
|
|
color: rgba(189, 196, 206, 1);
|
|
|
// display: ;
|
|
|
margin-top: 10rpx;
|
|
|
image{
|
|
|
|
|
|
image {
|
|
|
width: 48rpx;
|
|
|
height: 48rpx;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
</style> |
...
|
...
|
|