|
|
|
|
@ -1,16 +1,16 @@
|
|
|
|
|
<template>
|
|
|
|
|
<view class="wrap">
|
|
|
|
|
<!-- 自定义导航栏 -->
|
|
|
|
|
<view class="navBarBox">
|
|
|
|
|
<view class="navBarBox" :style="{height:navBarBoxHeight+'rpx'}">
|
|
|
|
|
<!-- 状态栏占位 -->
|
|
|
|
|
<view class="statusBar" :style="{ paddingTop: statusBarHeight + 'px' }"></view>
|
|
|
|
|
<view class="statusBar" :style="{paddingTop: statusBarHeight+'px'}"></view>
|
|
|
|
|
<!-- 真正的导航栏内容 -->
|
|
|
|
|
<view class="navBar">
|
|
|
|
|
<image class="logo" src="/static/logo.png" mode="scaleToFill"></image>
|
|
|
|
|
<!-- <view>我是导航栏标题</view> -->
|
|
|
|
|
</view>
|
|
|
|
|
</view>
|
|
|
|
|
<view class="content">
|
|
|
|
|
<view class="content" :style="{paddingTop: navBarBoxHeight+10+'rpx'}">
|
|
|
|
|
<view class="box-top">
|
|
|
|
|
<image src="../../static/img/index_bg.jpg" class="index_bg"></image>
|
|
|
|
|
</view>
|
|
|
|
|
@ -201,6 +201,7 @@
|
|
|
|
|
return {
|
|
|
|
|
// 状态栏高度
|
|
|
|
|
statusBarHeight: 0,
|
|
|
|
|
navBarBoxHeight:0,
|
|
|
|
|
exhibitObj:{},
|
|
|
|
|
showBook: false,
|
|
|
|
|
minDate: `${year}-${month}-${date + 1}`,
|
|
|
|
|
@ -223,6 +224,7 @@
|
|
|
|
|
|
|
|
|
|
//获取手机状态栏高度
|
|
|
|
|
this.statusBarHeight = uni.getSystemInfoSync()['statusBarHeight'];
|
|
|
|
|
this.navBarBoxHeight = 80 + this.statusBarHeight*2
|
|
|
|
|
this.loadInfo();
|
|
|
|
|
this.getExhibit()
|
|
|
|
|
},
|
|
|
|
|
@ -574,13 +576,14 @@
|
|
|
|
|
background-color: #cf995a;
|
|
|
|
|
}
|
|
|
|
|
.navBarBox {
|
|
|
|
|
background-color: #cf995a;
|
|
|
|
|
/* background-color: #cf995a; */
|
|
|
|
|
position: fixed;
|
|
|
|
|
top:0;
|
|
|
|
|
left:0;
|
|
|
|
|
width:100%;
|
|
|
|
|
z-index:999;
|
|
|
|
|
height:190rpx;
|
|
|
|
|
background: linear-gradient(to bottom,#f6d593,#cf995a);
|
|
|
|
|
/* height:190rpx; */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.navBarBox .statusBar {}
|
|
|
|
|
@ -588,7 +591,8 @@
|
|
|
|
|
.navBarBox .navBar {
|
|
|
|
|
padding: 20rpx 50rpx;
|
|
|
|
|
padding-left: 30rpx;
|
|
|
|
|
text-align: left;
|
|
|
|
|
text-align: left;
|
|
|
|
|
height:80rpx;
|
|
|
|
|
/* display: flex;
|
|
|
|
|
flex-direction: row;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
@ -613,7 +617,7 @@
|
|
|
|
|
align-items: center;
|
|
|
|
|
justify-content: center;
|
|
|
|
|
padding-bottom:120rpx;
|
|
|
|
|
padding-top:190rpx;
|
|
|
|
|
/* padding-top:190rpx; */
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.box-top {
|
|
|
|
|
@ -639,7 +643,7 @@
|
|
|
|
|
|
|
|
|
|
.box-row {
|
|
|
|
|
display: flex;
|
|
|
|
|
padding: 0 30rpx;
|
|
|
|
|
padding: 0 50rpx;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
@ -648,16 +652,19 @@
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.box-body-icon {
|
|
|
|
|
width: 125rpx;
|
|
|
|
|
height: 125rpx;
|
|
|
|
|
width: 102rpx;
|
|
|
|
|
height: 102rpx;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
.box-body-title {
|
|
|
|
|
margin-top: 10rpx
|
|
|
|
|
margin-top: 10rpx;
|
|
|
|
|
font-size:28rpx;
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
.box-bottom{
|
|
|
|
|
background-color: #fff;
|
|
|
|
|
padding:48rpx 30rpx;
|
|
|
|
|
padding:50rpx 30rpx;
|
|
|
|
|
padding-top:35rpx;
|
|
|
|
|
width:100%;
|
|
|
|
|
}
|
|
|
|
|
.exhibit{
|
|
|
|
|
@ -666,11 +673,12 @@
|
|
|
|
|
.exhibit>view:first-child{
|
|
|
|
|
display: flex;
|
|
|
|
|
justify-content: space-between;
|
|
|
|
|
font-size: 36rpx;
|
|
|
|
|
}
|
|
|
|
|
.exhibit>view:first-child span:first-child{
|
|
|
|
|
background-color: #DEA166;
|
|
|
|
|
width:5rpx;
|
|
|
|
|
height:40rpx;
|
|
|
|
|
height:50rpx;
|
|
|
|
|
margin-right:22rpx;
|
|
|
|
|
display: inline-block;
|
|
|
|
|
vertical-align: text-top;
|
|
|
|
|
@ -695,12 +703,12 @@
|
|
|
|
|
bottom:0;
|
|
|
|
|
left:0;
|
|
|
|
|
color:#fff;
|
|
|
|
|
font-size: 28rpx;
|
|
|
|
|
font-size: 32rpx;
|
|
|
|
|
padding:20rpx 32rpx;
|
|
|
|
|
overflow: hidden;
|
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
|
white-space: nowrap;
|
|
|
|
|
background: linear-gradient(to bottom,rgba(255,255,255,0),rgba(0,0,0,0.2));
|
|
|
|
|
background: linear-gradient(to bottom,rgba(255,255,255,0),rgba(0,0,0,0.5));
|
|
|
|
|
}
|
|
|
|
|
.footer-img {
|
|
|
|
|
width: 421rpx;
|
|
|
|
|
|