You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
254 lines
6.3 KiB
254 lines
6.3 KiB
4 years ago
|
@charset "UTF-8";
|
||
|
/**
|
||
|
* 这里是uni-app内置的常用样式变量
|
||
|
*
|
||
|
* uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量
|
||
|
* 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App
|
||
|
*
|
||
|
*/
|
||
|
/**
|
||
|
* 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能
|
||
|
*
|
||
|
* 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件
|
||
|
*/
|
||
|
/* 颜色变量 */
|
||
|
/* 行为相关颜色 */
|
||
|
/* 文字基本颜色 */
|
||
|
/* 背景颜色 */
|
||
|
/* 边框颜色 */
|
||
|
/* 尺寸变量 */
|
||
|
/* 文字尺寸 */
|
||
|
/* 图片尺寸 */
|
||
|
/* Border Radius */
|
||
|
/* 水平间距 */
|
||
|
/* 垂直间距 */
|
||
|
/* 透明度 */
|
||
|
/* 文章场景相关 */
|
||
|
page {
|
||
|
background-color: #fff;
|
||
|
}
|
||
|
.myVideo {
|
||
|
position: fixed;
|
||
|
top: 50%;
|
||
|
right: 100%;
|
||
|
}
|
||
|
.content {
|
||
|
width: 94%;
|
||
|
padding: 0 3%;
|
||
|
}
|
||
|
.content view {
|
||
|
display: -webkit-box;
|
||
|
display: -webkit-flex;
|
||
|
display: flex;
|
||
|
}
|
||
|
.content .label {
|
||
|
width: 100%;
|
||
|
-webkit-flex-wrap: wrap;
|
||
|
flex-wrap: wrap;
|
||
|
}
|
||
|
.content .label view {
|
||
|
padding: 0 20rpx;
|
||
|
height: 50rpx;
|
||
|
border-radius: 40rpx;
|
||
|
border: solid 1rpx #ddd;
|
||
|
-webkit-box-align: center;
|
||
|
-webkit-align-items: center;
|
||
|
align-items: center;
|
||
|
color: #555;
|
||
|
font-size: 26rpx;
|
||
|
background-color: #f9f9f9;
|
||
|
margin: 10rpx 20rpx 10rpx 0;
|
||
|
}
|
||
|
.content .label view.on {
|
||
|
border: solid 1rpx #f06c7a;
|
||
|
color: #f06c7a;
|
||
|
}
|
||
|
.content .list {
|
||
|
width: 100%;
|
||
|
-webkit-flex-wrap: wrap;
|
||
|
flex-wrap: wrap;
|
||
|
padding: 20rpx 0;
|
||
|
}
|
||
|
.content .list .row {
|
||
|
width: 100%;
|
||
|
margin-top: 30rpx;
|
||
|
}
|
||
|
.content .list .row .left {
|
||
|
width: 10vw;
|
||
|
-webkit-flex-shrink: 0;
|
||
|
flex-shrink: 0;
|
||
|
margin-right: 10rpx;
|
||
|
}
|
||
|
.content .list .row .left .face {
|
||
|
width: 100%;
|
||
|
}
|
||
|
.content .list .row .left .face image {
|
||
|
width: 10vw;
|
||
|
height: 10vw;
|
||
|
border-radius: 100%;
|
||
|
}
|
||
|
.content .list .row .right {
|
||
|
width: 100%;
|
||
|
-webkit-flex-wrap: wrap;
|
||
|
flex-wrap: wrap;
|
||
|
}
|
||
|
.content .list .row .right .name-date {
|
||
|
width: 100%;
|
||
|
-webkit-box-pack: justify;
|
||
|
-webkit-justify-content: space-between;
|
||
|
justify-content: space-between;
|
||
|
-webkit-box-align: baseline;
|
||
|
-webkit-align-items: baseline;
|
||
|
align-items: baseline;
|
||
|
}
|
||
|
.content .list .row .right .name-date .username {
|
||
|
font-size: 32rpx;
|
||
|
color: #555;
|
||
|
}
|
||
|
.content .list .row .right .name-date .date {
|
||
|
font-size: 28rpx;
|
||
|
color: #aaa;
|
||
|
}
|
||
|
.content .list .row .right .spec {
|
||
|
width: 100%;
|
||
|
color: #aaa;
|
||
|
font-size: 26rpx;
|
||
|
}
|
||
|
.content .list .row .right .first {
|
||
|
width: 100%;
|
||
|
-webkit-flex-wrap: wrap;
|
||
|
flex-wrap: wrap;
|
||
|
}
|
||
|
.content .list .row .right .first .rat {
|
||
|
font-size: 30rpx;
|
||
|
}
|
||
|
.content .list .row .right .first .img-video {
|
||
|
width: 100%;
|
||
|
-webkit-flex-wrap: wrap;
|
||
|
flex-wrap: wrap;
|
||
|
}
|
||
|
.content .list .row .right .first .img-video .box {
|
||
|
width: calc((84.6vw - 50rpx)/4);
|
||
|
height: calc((84.6vw - 50rpx)/4);
|
||
|
margin: 5rpx 5rpx;
|
||
|
position: relative;
|
||
|
-webkit-box-pack: center;
|
||
|
-webkit-justify-content: center;
|
||
|
justify-content: center;
|
||
|
-webkit-box-align: center;
|
||
|
-webkit-align-items: center;
|
||
|
align-items: center;
|
||
|
}
|
||
|
.content .list .row .right .first .img-video .box image {
|
||
|
position: absolute;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
border-radius: 10rpx;
|
||
|
}
|
||
|
.content .list .row .right .first .img-video .box .playbtn {
|
||
|
position: absolute;
|
||
|
}
|
||
|
.content .list .row .right .first .img-video .box .playbtn .icon {
|
||
|
font-size: 80rpx;
|
||
|
color: rgba(255, 255, 255, 0.9);
|
||
|
}
|
||
|
.content .list .row .right .append {
|
||
|
width: 100%;
|
||
|
-webkit-flex-wrap: wrap;
|
||
|
flex-wrap: wrap;
|
||
|
}
|
||
|
.content .list .row .right .append .date {
|
||
|
width: 100%;
|
||
|
height: 40rpx;
|
||
|
border-left: 10rpx solid #f06c7a;
|
||
|
padding-left: 10rpx;
|
||
|
-webkit-box-align: center;
|
||
|
-webkit-align-items: center;
|
||
|
align-items: center;
|
||
|
font-size: 32rpx;
|
||
|
margin: 20rpx 0;
|
||
|
}
|
||
|
.content .list .row .right .append .rat {
|
||
|
font-size: 30rpx;
|
||
|
}
|
||
|
.content .list .row .right .append .img-video {
|
||
|
width: 100%;
|
||
|
-webkit-flex-wrap: wrap;
|
||
|
flex-wrap: wrap;
|
||
|
}
|
||
|
.content .list .row .right .append .img-video .box {
|
||
|
width: calc((84.6vw - 10rpx - (10rpx * 4))/4);
|
||
|
height: calc((84.6vw - 10rpx - (10rpx * 4))/4);
|
||
|
margin: 5rpx 5rpx;
|
||
|
position: relative;
|
||
|
-webkit-box-pack: center;
|
||
|
-webkit-justify-content: center;
|
||
|
justify-content: center;
|
||
|
-webkit-box-align: center;
|
||
|
-webkit-align-items: center;
|
||
|
align-items: center;
|
||
|
}
|
||
|
.content .list .row .right .append .img-video .box image {
|
||
|
position: absolute;
|
||
|
width: 100%;
|
||
|
height: 100%;
|
||
|
border-radius: 10rpx;
|
||
|
}
|
||
|
.content .list .row .right .append .img-video .box .playbtn {
|
||
|
position: absolute;
|
||
|
}
|
||
|
.content .list .row .right .append .img-video .box .playbtn .icon {
|
||
|
font-size: 80rpx;
|
||
|
color: rgba(255, 255, 255, 0.9);
|
||
|
}
|
||
|
/*
|
||
|
* <view class="list">
|
||
|
<view class="row">
|
||
|
|
||
|
<view class="right">
|
||
|
|
||
|
<view class="spec">
|
||
|
规格:XL
|
||
|
</view>
|
||
|
<view class="first">
|
||
|
<view class="rat">
|
||
|
好看,可以,不愧是专业的,才拿到手上就研究了半天才装上
|
||
|
</view>
|
||
|
<view class="img-video">
|
||
|
<view class="box">
|
||
|
<image src="https://ae01.alicdn.com/kf/HTB1wREwTXzqK1RjSZFvq6AB7VXaT.jpg"></image>
|
||
|
<view class="playbtn">
|
||
|
<view class="icon bofang"></view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="box">
|
||
|
<image src="https://ae01.alicdn.com/kf/HTB1wREwTXzqK1RjSZFvq6AB7VXaT.jpg"></image>
|
||
|
</view>
|
||
|
<view class="box">
|
||
|
<image src="https://ae01.alicdn.com/kf/HTB1wREwTXzqK1RjSZFvq6AB7VXaT.jpg"></image>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
<view class="append">
|
||
|
<view class="date">
|
||
|
65天后追加
|
||
|
</view>
|
||
|
<view class="rat">
|
||
|
好看,可以,不愧是专业的,才拿到手上就研究了半天才装上
|
||
|
</view>
|
||
|
<view class="img-video">
|
||
|
<view class="box">
|
||
|
<image src="https://ae01.alicdn.com/kf/HTB1wREwTXzqK1RjSZFvq6AB7VXaT.jpg"></image>
|
||
|
</view>
|
||
|
<view class="box">
|
||
|
<image src="https://ae01.alicdn.com/kf/HTB1wREwTXzqK1RjSZFvq6AB7VXaT.jpg"></image>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
</view>
|
||
|
*
|
||
|
* */
|
||
|
|