lion 2 years ago
parent 26c836d136
commit 4fbbab6c7e

@ -80,7 +80,7 @@
.u-popup__content { .u-popup__content {
background: linear-gradient(0deg, #ffffff 85%, #E4C8A2); /* background: linear-gradient(0deg, #ffffff 85%, #E4C8A2); */
} }
.mpopup-content { .mpopup-content {

@ -248,7 +248,7 @@
<view class="successBox"> <view class="successBox">
<!-- <u-icon name="checkmark-circle" size="90" color="#cf995a"></u-icon> --> <!-- <u-icon name="checkmark-circle" size="90" color="#cf995a"></u-icon> -->
<view class="h3">您已经预约成功</view> <view class="h3">您已经预约成功</view>
<view class="p">报名成功后具体事宜请联系金老师65166121</view> <view class="p">报名成功</view>
<view class="p">即将跳转到活动预约 {{time}} s</view> <view class="p">即将跳转到活动预约 {{time}} s</view>
</view> </view>
<view class="pinkBtn" @click="goHome"></view> <view class="pinkBtn" @click="goHome"></view>

@ -180,6 +180,12 @@
} }
.activityBox{ .activityBox{
position: relative; position: relative;
}
.activityBox-title {
font-size: 32rpx;
}
.activityBox-row{
font-size: 28rpx;
} }
.activityBox-top{ .activityBox-top{
font-size: 0; font-size: 0;

@ -337,9 +337,15 @@
background: #FFFFFF; background: #FFFFFF;
margin-bottom: 40rpx; margin-bottom: 40rpx;
} }
.activityBox-title{
font-size: 32rpx;
}
.activityBox-row{
font-size: 28rpx;
}
.infoBox-title { .infoBox-title {
border-left: 3px solid #cf995a; border-left: 3px solid #cf995a;
font-size: 32rpx;
} }
.infoBox-titletxt { .infoBox-titletxt {
@ -426,8 +432,12 @@
color: #828282; color: #828282;
padding: 7rpx; padding: 7rpx;
} }
.infoBox-content{
font-size: 28rpx;
}
.infoBox-content img{ .infoBox-content img{
width:100%; width:100%;
margin:10rpx 0; margin:10rpx 0;
} }
</style> </style>

@ -157,6 +157,7 @@
padding:35rpx; padding:35rpx;
margin:30rpx 0; margin:30rpx 0;
margin-bottom:0; margin-bottom:0;
font-size: 28rpx;
} }
.head_unit>view{ .head_unit>view{
display: flex; display: flex;
@ -181,6 +182,7 @@
padding-top: 30rpx; padding-top: 30rpx;
border-radius: 30rpx 30rpx 0 0; border-radius: 30rpx 30rpx 0 0;
padding-bottom:180rpx; padding-bottom:180rpx;
font-size: 28rpx;
} }
.detail img { .detail img {
width: 100%; width: 100%;

@ -152,7 +152,8 @@
.exhibit { .exhibit {
color: #fff; color: #fff;
padding: 0 30rpx padding: 0 30rpx;
font-size: 36rpx;
} }
.exhibit>view:first-child { .exhibit>view:first-child {
@ -163,7 +164,7 @@
.exhibit>view:first-child span:first-child { .exhibit>view:first-child span:first-child {
background-color: #fff; background-color: #fff;
width: 5rpx; width: 5rpx;
height: 40rpx; height: 50rpx;
margin-right: 22rpx; margin-right: 22rpx;
display: inline-block; display: inline-block;
vertical-align: text-top; vertical-align: text-top;
@ -267,7 +268,7 @@
-webkit-line-clamp: 3; -webkit-line-clamp: 3;
/* 这里是超出几行省略 */ /* 这里是超出几行省略 */
overflow: hidden; overflow: hidden;
font-size: 26rpx; font-size: 28rpx;
margin-top:20rpx; margin-top:20rpx;
} }
</style> </style>

@ -168,7 +168,11 @@
api: '/api/mobile/other/tip-store', api: '/api/mobile/other/tip-store',
data: this.form, data: this.form,
method: "POST", method: "POST",
utilSuccess: function(res) { utilSuccess: function(res) {
uni.showToast({
icon: "none",
title: "提交成功"
})
that.newsSubscription(); that.newsSubscription();
}, },
utilFail: function(res) { utilFail: function(res) {

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

@ -286,7 +286,7 @@
} }
.user_phone { .user_phone {
font-size: 24rpx; font-size: 28rpx;
color: #fff; color: #fff;
line-height: 40rpx; line-height: 40rpx;
} }
@ -332,7 +332,7 @@
} }
.mine-box-navitemtxt { .mine-box-navitemtxt {
font-size: 24rpx; font-size: 28rpx;
font-family: PingFang SC; font-family: PingFang SC;
/* color: #4E4E4E; */ /* color: #4E4E4E; */
margin-top: 30rpx; margin-top: 30rpx;
@ -347,8 +347,8 @@
} }
.mine-box-navitemimg { .mine-box-navitemimg {
width: 125rpx; width: 102rpx;
height: 125rpx; height: 102rpx;
} }
.list-item { .list-item {

@ -119,7 +119,7 @@
</u-icon> </u-icon>
<view class="box-tiptxt" style="margin-left: 10rpx;"> <view class="box-tiptxt" style="margin-left: 10rpx;">
{{$u.timeFormat(new Date(item.date), 'mm月dd日')}} {{$u.timeFormat(new Date(item.date), 'mm月dd日')}}
{{item.time}}{{item.details_count}} 位观众</text> {{item.time||""}}{{item.details_count}} 位观众</text>
</view> </view>
</view> </view>
</block> </block>
@ -135,7 +135,7 @@
:color="(item.checked?'#cf995a':'#828282')"> :color="(item.checked?'#cf995a':'#828282')">
</u-icon> </u-icon>
<view class="box-tiptxt" style="margin-left: 10rpx;"> <view class="box-tiptxt" style="margin-left: 10rpx;">
活动时间{{item.activity.start_time}} 活动时间{{item.activity.start_time||""}}
报名数量{{item.total}}</text> 报名数量{{item.total}}</text>
</view> </view>
</view> </view>
@ -278,7 +278,7 @@
api: '/api/mobile/user/my-activity-order', api: '/api/mobile/user/my-activity-order',
data: { data: {
status: 1, status: 1,
not_expire: 1 not_expire: 0
}, },
utilSuccess: function(res) { utilSuccess: function(res) {
for (var mod of res) { for (var mod of res) {

@ -130,6 +130,7 @@
padding-top: 30rpx; padding-top: 30rpx;
/* border-radius: 30rpx 30rpx 0 0; */ /* border-radius: 30rpx 30rpx 0 0; */
padding-bottom:180rpx; padding-bottom:180rpx;
font-size: 28rpx;
} }
.detail img { .detail img {
width: 100%; width: 100%;

@ -128,7 +128,7 @@
.relic_item { .relic_item {
width: 100%; width: 100%;
padding: 30rpx 0; padding: 20rpx 0;
padding-top: 20rpx; padding-top: 20rpx;
border-bottom: 1px solid #fafaf9; border-bottom: 1px solid #fafaf9;
display: flex; display: flex;

Binary file not shown.

Before

Width:  |  Height:  |  Size: 12 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 11 KiB

After

Width:  |  Height:  |  Size: 9.9 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 10 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 13 KiB

After

Width:  |  Height:  |  Size: 11 KiB

Loading…
Cancel
Save