/** * 这里是uni-app内置的常用样式变量 * * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App * */ /** * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 * * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 */ /* 颜色变量 */ /* 行为相关颜色 */ /* 文字基本颜色 */ /* 背景颜色 */ /* 边框颜色 */ /* 尺寸变量 */ /* 文字尺寸 */ /* 图片尺寸 */ /* Border Radius */ /* 水平间距 */ /* 垂直间距 */ /* 透明度 */ /* 文章场景相关 */ page { height: 100%; } .content { height: 100%; display: flex; flex-direction: column; } .content .cont-box { padding-bottom: 121rpx; } .content .cont-box .integral-box { background-color: #fff; padding: 20rpx; width: 100%; display: flex; flex-direction: column; align-items: flex-start; justify-content: flex-start; } .content .cont-box .integral-box .title { font-weight: bold; font-size: 34rpx; font-family: PingFang SC; color: #111; } .content .cont-box .integral-box .desc { margin-top: 15rpx; display: flex; align-items: flex-start; justify-content: flex-start; } .content .cont-box .integral-box .desc .cycle { background-color: #eee; border-radius: 30rpx; padding: 5rpx 15rpx; font-size: 26rpx; font-family: PingFang SC; color: #C39A58; } .content .cont-box .integral-box .desc .duration { margin-left: 10rpx; background-color: #eee; border-radius: 30rpx; padding: 5rpx 15rpx; font-size: 26rpx; font-family: PingFang SC; color: #C39A58; } .content .cont-box .integral-box .num-box { margin-top: 15rpx; flex: 1; display: flex; align-items: flex-end; justify-content: space-between; width: 100%; } .content .cont-box .integral-box .num-box .price { padding: 5rpx 10rpx; background-color: #C39A58; border-radius: 30rpx; font-size: 20rpx; font-family: PingFang SC; color: #ffffff; } .content .cont-box .integral-box .num-box .count { font-size: 24rpx; font-family: PingFang SC; color: #333333; } .content .cont-box .desc-box { background-color: #fff; padding: 20rpx; margin-top: 10rpx; } .content .cont-box .desc-box .title-box { display: flex; flex-direction: row; align-items: center; justify-content: flex-start; } .content .cont-box .desc-box .title-box .title { font-size: 32rpx; font-family: PingFang SC; font-weight: bold; color: #111111; } .content .cont-box .desc-box .title-box .line { margin-right: 15rpx; height: 30rpx; width: 6rpx; background-color: #C39A58; } .content .cont-box .desc-box .desc { margin-top: 15rpx; font-size: 28rpx; font-family: PingFang SC; color: #9a9a9c; } .btn-foot { box-sizing: border-box; width: 100%; height: 121rpx; background: #FFFFFF; padding: 0 32rpx 0 28rpx; display: flex; align-items: center; justify-content: space-between; position: fixed; left: 0; bottom: 0; z-index: 99; } .btn-foot .p-price-box { display: flex; align-items: center; } .btn-foot .p-price-box .p-name { font-size: 28rpx; font-family: PingFang SC; font-weight: 500; color: #666666; } .btn-foot .p-price-box .p-price { margin-left: 10rpx; color: #FF6633; font-size: 32rpx; font-family: PingFang SC; font-weight: bold; } .btn-foot .btn-box { display: flex; align-items: center; } .btn-foot .btn-box .btn { width: 200rpx; height: 88rpx; line-height: 88rpx; text-align: center; border-radius: 44rpx; margin-left: 20rpx; font-size: 30rpx; font-family: PingFang SC; font-weight: bold; color: #FFFFFF; } .btn-foot .btn-box .btn:first-child { margin-left: 0; } .btn-foot .btn-box .btn.buy { background: #C39A58; } .goods-banner { height: 756rpx; background-color: #FFFFFF; position: relative; } .goods-banner .swiper-item { box-sizing: border-box; } .goods-banner .swiper, .goods-banner .swiper-item, .goods-banner .swiper-item image { width: 100%; height: 100%; } .goods-banner .num-box { width: 80rpx; height: 44rpx; line-height: 44rpx; text-align: center; font-size: 24rpx; font-family: PingFang SC; font-weight: 500; color: #FFFFFF; background: rgba(0, 0, 0, 0.3); border-radius: 22rpx; position: absolute; right: 30rpx; bottom: 30rpx; z-index: 10; }