Browse Source

活动日历普通版

master
jiazhipeng 8 months ago
parent
commit
77e12e4667
  1. 2
      app.js
  2. 6
      pages/component/newCalendar/index.wxss
  3. 15
      pages/list/activitynew/index.wxss

2
app.js

@ -38,7 +38,7 @@ App({
// 获取前端配置文件 // 获取前端配置文件
commonApi._post("pbservice/Other/getClientConfig", {unique_key: "wechatxcx"}).then(res => { commonApi._post("pbservice/Other/getClientConfig", {unique_key: "wechatxcx"}).then(res => {
let data = JSON.parse(res.data); let data = JSON.parse(res.data);
data.isTest = data.isTest105? true : false; data.isTest = data.isTest109? true : false;
data.indexSeason = null data.indexSeason = null
this.globalData.configJson = data this.globalData.configJson = data
}).then(() => { }).then(() => {

6
pages/component/newCalendar/index.wxss

@ -1,6 +1,7 @@
/* components/xx-calendar/xx-calendar.wxss */ /* components/xx-calendar/xx-calendar.wxss */
page{ page{
background: #F0B643; /* background: #F0B643; */
background: #F2F2F2;
} }
/* 头部样式start */ /* 头部样式start */
.title-wrap{ .title-wrap{
@ -21,7 +22,7 @@ page{
width: 100%; width: 100%;
/* height: 65.67rpx; */ /* height: 65.67rpx; */
height: 256.67rpx; height: 256.67rpx;
background-image: url("https://static.ticket.sz-trip.com/uploads/20250421/58fee5695a0b676a14e8157b809ba1d6.png"); /* background-image: url("https://static.ticket.sz-trip.com/uploads/20250421/58fee5695a0b676a14e8157b809ba1d6.png"); */
box-sizing: border-box; box-sizing: border-box;
} }
.change-date{ .change-date{
@ -205,4 +206,5 @@ page{
right: 0; right: 0;
width: 290.13rpx; width: 290.13rpx;
height: 146rpx; height: 146rpx;
display: none;
} }

15
pages/list/activitynew/index.wxss

@ -128,7 +128,7 @@ background: rgba(11, 137, 142, .1);
border-radius: 20rpx 20rpx 0 0; border-radius: 20rpx 20rpx 0 0;
margin-top: 20rpx; margin-top: 20rpx;
position: relative; position: relative;
background-image: url("https://static.ticket.sz-trip.com/uploads/20250421/63b9ec7a1192790eed3e5dcf915212c0.png"); /* background-image: url("https://static.ticket.sz-trip.com/uploads/20250421/63b9ec7a1192790eed3e5dcf915212c0.png"); */
background-size: 100% 100%; background-size: 100% 100%;
} }
.activity-list { .activity-list {
@ -327,7 +327,6 @@ background: rgba(11, 137, 142, .1);
color: #0B898E; color: #0B898E;
/* 节假日花样 */ /* 节假日花样 */
/* color: #DE4126; */ /* color: #DE4126; */
color: #DE4126;
} }
.new-top-search-box { .new-top-search-box {
display: flex; display: flex;
@ -356,7 +355,7 @@ flex-shrink: 0;
} }
.types-item { .types-item {
/* border: 1px solid #999999; */ border: 1px solid #999999;
border-radius: 27rpx; border-radius: 27rpx;
height: 53rpx; height: 53rpx;
padding: 0 25rpx; padding: 0 25rpx;
@ -364,7 +363,7 @@ flex-shrink: 0;
line-height: 53rpx; line-height: 53rpx;
margin-right: 13rpx; margin-right: 13rpx;
flex-shrink: 0; flex-shrink: 0;
border: 1px solid #FFC987; /* border: 1px solid #FFC987; */
} }
.types-item-active { .types-item-active {
/* padding: 0 79rpx; */ /* padding: 0 79rpx; */
@ -374,7 +373,7 @@ flex-shrink: 0;
/* height: 91.33rpx; */ /* height: 91.33rpx; */
line-height: 57rpx; line-height: 57rpx;
display: inline-block; display: inline-block;
/* background: #0B898E; */ background: #0B898E;
color: #FFFFFF; color: #FFFFFF;
border-radius: 27rpx; border-radius: 27rpx;
margin-right: 13rpx; margin-right: 13rpx;
@ -384,15 +383,15 @@ flex-shrink: 0;
background-size: 100% 100%; background-size: 100% 100%;
/* margin-top: -15rpx; */ /* margin-top: -15rpx; */
text-align: center; text-align: center;
min-width: 177.33rpx; /* min-width: 177.33rpx; */
box-sizing: border-box; box-sizing: border-box;
color: #DA4939; /* color: #DA4939;
text-shadow: text-shadow:
-1px -1px 0 white, -1px -1px 0 white,
1px -1px 0 white, 1px -1px 0 white,
-1px 1px 0 white, -1px 1px 0 white,
1px 1px 0 white; 1px 1px 0 white;
background-image: url("https://static.ticket.sz-trip.com/uploads/20250421/48ce52adb4044d6b91bbce05047695a5.png"); background-image: url("https://static.ticket.sz-trip.com/uploads/20250421/48ce52adb4044d6b91bbce05047695a5.png"); */
} }
/* 不显示滚动条 */ /* 不显示滚动条 */
.types-box::-webkit-scrollbar { .types-box::-webkit-scrollbar {

Loading…
Cancel
Save