123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245 |
- /* pages/main/main.wxss */
- /* 轮播图区域 */
- .noBanners {
- display: flex;
- font-size: 40rpx;
- color: gray;
- justify-content: center;
- line-height: 400rpx;
- }
- .banners {
- /* width: 100%; */
- height: 440rpx;
- padding: 2rpx 0;
- }
- .banners image {
- width: 100%;
- /* height: 100%; */
- }
- /* 轮播图下方导航模块 */
- .navWrapper{
- position: absolute;
- /* background-color: yellow; */
- background-color: #fff;
- border-top-left-radius: 20rpx;
- border-top-right-radius: 20rpx;
- margin-top: -20rpx;
- z-index: 9999;
- }
- .navList{
- display: flex;
- flex-wrap: wrap;
- justify-content: space-around;
- /* background-color: yellow; */
- margin:0 20rpx;
- /* border-radius: 30rpx; */
- /* border-bottom: 1rpx solid gray; */
- /* padding-top: 30rpx; */
- }
- .individual{
- margin: 20rpx 10rpx 20rpx 10rpx;
- display: flex;
- flex-direction: column;
- align-items: center;
- width: 20%;
- }
- /* 导航区图标 */
- .iconImg{
- width: 70%;
- }
- /* 导航区文字标题 */
- .individualText{
- font-size: 30rpx;
- color: #808080;
- }
- /* 纳溪介绍 */
- .naxiWrapper{
- margin: 360rpx 20rpx 20rpx 20rpx;
- /* border-bottom: 1rpx solid gray; */
- }
- .naxiIntroWrapper {
- /* padding: 20rpx; */
- margin: 20rpx;
- /* border-bottom: 1rpx solid gray; */
- }
- .imgIcon {
- width: 30rpx;
- height: 30rpx;
- margin-top: 16rpx;
- }
- .naxiIntro {
- display: flex;
- position: relative;
- /* background-color: yellow; */
- height: 60rpx;
- line-height: 60rpx;
- }
- .naxiTitle {
- font-size: 42rpx;
- font-weight: bold;
- color: rgba(0, 0, 0, .6);
- }
- .naxiDetail {
- display: flex;
- position: absolute;
- right: 20rpx;
- }
- .naxiDetailTitle {
- margin-right: 10rpx;
- color: #808080;
- }
- .naxiImg {
- margin: 10rpx 0;
- width: 100%;
- border-radius: 30rpx;
- }
- /* 景点照片 */
- .scenicImgWrapper {
- display: flex;
- flex-wrap: wrap;
- justify-content: space-around;
- margin-top: 10rpx;
- }
- .leftWrapper {
- display: flex;
- flex-direction: column;
- width: 45%;
- height: 100%;
- }
- .rightWrapper {
- display: flex;
- flex-direction: column;
- width: 45%;
- }
- .imgLeft,
- .imgRight{
- width: 100%;
- /* background-color: yellow; */
- margin-bottom: 20rpx;
- background-color: #fff;
- }
- .imgLeftDetail,
- .imgRightDetail {
- width: 100%;
- border-radius: 30rpx;
- margin-bottom: 16rpx;
- }
- .imgLeftDetail{
- height: 320rpx;
- }
- .imgRightDetail {
- height: 420rpx;
- }
- .scenicText {
- display: flex;
- flex-direction: column;
- padding: 0 10rpx;
- }
- /* 景点名称、美食标题及招牌菜 */
- .hotTitle,
- .foodDish,
- .foodTitle {
- color: rgba(0, 0, 0, .6);
- overflow: hidden;
- text-overflow: ellipsis;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 1;
- }
- .hotTitle,
- .foodTitle{
- font-weight: bold;
- font-size: 34rpx;
- }
- .hotText{
- margin: 10rpx 0 20rpx 0;
- color: #a5a5a5;
- }
- /* 美食 */
- .foodWrapper{
- position: relative;
- display: flex;
- /* background-color: yellow; */
- background-color: #fff;
- border-radius: 20rpx;
- margin: 10rpx 0 20rpx 0;
- }
- .foodImg{
- width: 200rpx;
- height: 200rpx;
- }
- .foodImgDetail{
- width: 100%;
- height: 100%;
- border-radius: 20rpx;
- }
- .foodText{
- position: absolute;
- width: 70%;
- height: 100%;
- margin: 0 20rpx;
- display: flex;
- flex-direction: column;
- justify-content: space-around;
- }
- .foodDish,
- .foodHotText{
- color: #8888a6;
- }
- /* 周边景点 */
- .otherScenic{
- margin: 50rpx 20rpx 0 20rpx;
- display: flex;
- flex-direction: column;
- position: relative;
- }
- .otherScenicList{
- margin-bottom: 20rpx;
- }
- .scenicImg{
- /* margin-bottom: 10rpx; */
- width: 100%;
- border-top-left-radius: 100rpx;
- border-bottom-right-radius: 100rpx;
- }
- .otherScenicDetail{
- position: relative;
- margin: 10rpx 0;
- }
- .otherScenicTitle{
- position: absolute;
- bottom: 40rpx;
- left: 30rpx;
- font-size: 50rpx;
- color: white;
- font-weight: bold;
- }
|