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