123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211 |
- @charset "UTF-8";
- /**
- * 这里是uni-app内置的常用样式变量
- *
- * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
- * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
- *
- */
- /**
- * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
- *
- * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
- */
- /* 颜色变量 */
- /* 行为相关颜色 */
- /* 文字基本颜色 */
- /* 背景颜色 */
- /* 边框颜色 */
- /* 尺寸变量 */
- /* 文字尺寸 */
- /* 图片尺寸 */
- /* Border Radius */
- /* 水平间距 */
- /* 垂直间距 */
- /* 透明度 */
- /* 文章场景相关 */
- .home {
- background: linear-gradient(180deg, #FFFFFF 0%, #DCE8FF 100%);
- }
- .home .card-title {
- display: flex;
- justify-content: center;
- }
- .home .card-title .title {
- font-size: 32rpx;
- text-align: center;
- color: #fff;
- width: 210rpx;
- line-height: 64rpx;
- background: linear-gradient(360deg, #3074F8 0%, #568FFF 100%);
- border-radius: 0rpx 0rpx 24rpx 24rpx;
- }
- .home .login-home {
- background: #FFF;
- }
- .home .login-home .discount-list {
- display: flex;
- flex-wrap: wrap;
- margin: 0 24rpx 20rpx;
- background: #fff;
- border-radius: 16rpx;
- position: relative;
- top: 20rpx;
- padding-top: 20rpx;
- }
- .home .login-home .discount-list .discount-item {
- width: 20%;
- display: flex;
- flex-direction: column;
- align-items: center;
- margin-top: 20rpx;
- margin-bottom: 20rpx;
- position: relative;
- }
- .home .login-home .discount-list .discount-item .icon {
- width: 56rpx;
- height: 56rpx;
- }
- .home .login-home .discount-list .discount-item .title {
- font-size: 26rpx;
- margin-top: 10rpx;
- }
- .home .login-home .discount-list .discount-item .tag {
- position: absolute;
- top: -20rpx;
- left: 50%;
- background: #FF0615;
- box-shadow: inset 0rpx 6rpx 12rpx 2rpx rgba(255, 255, 255, 0.16);
- border-radius: 12rpx 14rpx 14rpx 0rpx;
- color: #fff;
- white-space: nowrap;
- font-size: 18rpx;
- line-height: -14rpx;
- height: 24rpx;
- padding: 0 10rpx;
- background-size: 100% 34rpx;
- }
- .home .login-home .discount-list .discount-item .desc {
- color: #FF0817;
- font-size: 16rpx;
- text-align: center;
- margin-top: 4rpx;
- }
- .home .login-home .title-img {
- width: 686rpx;
- height: 166rpx;
- margin: 24rpx 32rpx;
- }
- .home .login-home .swiper-box {
- position: relative;
- margin: 0 24rpx 20rpx;
- padding-top: 20rpx;
- width: 702rpx;
- height: 284rpx;
- border-radius: 16rpx;
- }
- .home .login-home .swiper-box .progress {
- position: absolute;
- top: 38rpx;
- right: 20rpx;
- z-index: 2;
- color: #FFFFFF;
- font-size: 16rpx;
- background: rgba(255, 255, 255, 0.3);
- padding: 2rpx 10rpx;
- border-radius: 14rpx;
- }
- .home .login-home .swiper-box .swiper {
- position: relative;
- height: 100%;
- }
- .home .login-home .swiper-box .swiper .swiper-item {
- width: 100%;
- height: 100%;
- border-radius: 16rpx;
- object-fit: cover;
- }
- .home .login-home .advertise-box {
- display: flex;
- justify-content: space-between;
- margin: 0 24rpx;
- padding: 20rpx 0;
- }
- .home .login-home .content {
- border-radius: 16rpx 16rpx 0 0;
- }
- .home .login-home .zs-list {
- display: flex;
- flex-wrap: wrap;
- justify-content: space-between;
- padding: 0 24rpx;
- }
- .home .login-home .zs-list .left .adv-swiper {
- width: 340rpx;
- height: 444rpx;
- margin-bottom: 25rpx;
- }
- .home .login-home .zs-list .left .adv-swiper .adv-item {
- width: 340rpx;
- height: 444rpx;
- }
- .home .login-home .zs-list .store-item {
- width: 340rpx;
- margin-bottom: 25rpx;
- border-radius: 16rpx;
- background: #fff;
- }
- .home .login-home .zs-list .store-item .icon {
- width: 100%;
- height: 300rpx;
- border-radius: 16rpx 16rpx 0 0;
- }
- .home .login-home .zs-list .store-item .info {
- padding: 20rpx;
- background: #fff;
- border-radius: 0 0 16rpx 16rpx;
- position: relative;
- }
- .home .login-home .zs-list .store-item .info .title {
- font-weight: bold;
- width: 100%;
- white-space: nowrap;
- text-overflow: ellipsis;
- overflow: hidden;
- }
- .home .login-home .zs-list .store-item .info .tags {
- display: flex;
- align-items: center;
- }
- .home .login-home .zs-list .store-item .info .tags .tag-item {
- line-height: 50rpx;
- border-radius: 8rpx;
- padding: 6rpx 0;
- font-size: 24rpx;
- margin-left: 10rpx;
- display: flex;
- }
- .home .login-home .zs-list .store-item .info .tags .tag-item .label {
- background: #FFF;
- color: #FE5B47;
- padding: 0 10rpx;
- border-radius: 8rpx 0 0 8rpx;
- }
- .home .login-home .zs-list .store-item .info .tags .tag-item .value {
- color: #FFF;
- background: rgba(255, 255, 255, 0.2);
- padding: 0 14rpx;
- border-radius: 0 8rpx 8rpx 0;
- }
- .home .login-home .zs-list .store-item .info .address {
- display: flex;
- align-items: center;
- margin-top: 15rpx;
- color: #999;
- }
- .home .login-home .zs-list .store-item .info .address .position {
- width: 25rpx;
- height: 29rpx;
- margin-right: 8rpx;
- }
|