123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358 |
- /* pages/live/live.wxss */
- .searchDiv {
- background: url("https://kx-bigdata.oss-cn-beijing.aliyuncs.com/Applet/banner.png") no-repeat;
- background-size: 100% 100%;
- height: 280rpx;
- }
- .searchDiv .title {
- color: #ffffff;
- font-size: 38rpx;
- line-height: 52rpx;
- text-align: center;
- padding-top: 62rpx;
- }
- .searchDiv .searchView {
- width: 624rpx;
- height: 70rpx;
- background: rgba(255, 255, 255, 0.37);
- margin: auto;
- display: flex;
- align-items: center;
- margin-top: 30rpx;
- }
- .searchDiv .searchView image {
- width: 30rpx;
- height: 28rpx;
- margin-left: 34rpx;
- margin-right: 10rpx;
- }
- .searchDiv .searchView input {
- flex: 1;
- height: 70rpx;
- font-size: 24rpx;
- margin: auto;
- }
- .live {
- width: 100%;
- }
- .input {
- overflow: hidden;
- height: 280rpx;
- text-align: center;
- background-image: url("https://kx-bigdata.oss-cn-beijing.aliyuncs.com/Applet/banner.png");
- background-size: 100% 100%;
- }
- .searchText {
- font-size: 38rpx;
- margin-top: 62rpx;
- color: #fff;
- }
- .searchBox {
- display: inline-block;
- margin-top: 30rpx;
- position: relative;
- background: rgba(255,255,255,.36);
- width: 624rpx;
- height: 70rpx;
- }
- .sIcon {
- width: 30rpx;
- height: 30rpx;
- position: absolute;
- top: 50%;
- transform: translateY(-50%);
- left: 34rpx;
- }
- .weui-input {
- display: inline-block;
- width: 100%;
- height: 70rpx;
- line-height: 70rpx;
- margin: auto;
- color: #fff;
- font-size: 24rpx;
- text-align: left;
- padding-left: 82rpx;
- }
- .topTitle {
- box-sizing: border-box;
- width: 100%;
- margin-bottom: 20rpx;
- line-height: 60rpx;
- font-size: 26rpx;
- overflow: hidden;
- text-align: center;
- background-image: url("https://kx-bigdata.oss-cn-beijing.aliyuncs.com/Applet/title_blur.png");
- background-size: 100% 100%;
- position: relative;
- }
- .box:nth-child(3n-1) .topTitle {
- background-image: url("https://kx-bigdata.oss-cn-beijing.aliyuncs.com/Applet/title_yellow.png");
- }
- .box:nth-child(3n) .topTitle {
- background-image: url("https://kx-bigdata.oss-cn-beijing.aliyuncs.com/Applet/title_green.png");
- }
- .blur {
- width: 100%;
- height: 100%;
- -webkit-filter: blur(15px);
- filter: blur(15px);
- position: absolute;
- top: 0;
- left: 0;
- }
- .coverImg {
- width: 100%;
- position: absolute;
- top: 50%;
- -webkit-transform: translateY(-50%);
- transform: translateY(-50%);
- left: 0;
- }
- .box .title {
- color: #fff;
- font-size: 32rpx;
- display: inline-block;
- width: 380rpx;
- height: 60rpx;
- line-height: 60rpx;
- text-align: center;
- }
- .more {
- color: #3EA2F6;
- font-size: 26rpx;
- position: absolute;
- right: 20rpx;
- top: 50%;
- transform: translateY(-50%);
- }
- .more {
- float: right;
- text-align: right;
- }
- .box {
- padding: 0rpx 30rpx;
- box-sizing: border-box;
- width: 100%;
- min-height: 400rpx;
- margin-top: 40rpx;
- }
- .boxs,.onlive {
- display: flex;
- justify-content: space-between;
- }
- .item {
- display: inline-block;
- width: 220rpx;
- min-height: 270rpx;
- background: #fff;
- border-radius: 12rpx;
- }
- .onlive .item {
- padding-top: 36rpx;
- text-align: center;
- min-height: 260rpx;
- background: linear-gradient(#54BEFA,#2A89F3);
- }
- .onlive .coverImg {
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%,-50%);
- width: 120rpx;
- height: 120rpx;
- border-radius: 50%;
-
- animation: scale 2s infinite;
- -webkit-animation: scale 2s infinite;
- /*Safari and Chrome*/
- animation-direction: alternate;
- /*轮流反向播放动画。*/
- animation-timing-function: ease-in-out;
- /*动画的速度曲线*/
- /* Safari 和 Chrome */
- -webkit-animation: scale 2s infinite;
- -webkit-animation-direction: alternate;
- /*轮流反向播放动画。*/
- -webkit-animation-timing-function: ease-in-out;
- }
- .onlive .name {
- font-size: 24rpx;
- color: #fff;
- width: 120rpx;
- text-align: center;
- line-height: 34rpx;
- }
- .onlive .imgBox {
- display: inline-block;
- width: 128rpx;
- height: 128rpx;
- border-radius: 50%;
- position: relative;
- background: transparent;
- }
- .border {
- width: 128rpx;
- height: 128rpx;
- position: absolute;
- top: 50%;
- left: 50%;
- transform: translate(-50%,-50%);
- border: 2rpx solid transparent;
- animation: move 2s infinite;
- -webkit-animation: move 2s infinite;
- /*Safari and Chrome*/
- animation-direction: alternate;
- /*轮流反向播放动画。*/
- animation-timing-function: ease-in-out;
- /*动画的速度曲线*/
- /* Safari 和 Chrome */
- -webkit-animation: move 2s infinite;
- -webkit-animation-direction: alternate;
- /*轮流反向播放动画。*/
- -webkit-animation-timing-function: ease-in-out;
- border-radius: 50%;
- }
- @keyframes move {
- 0% {
- width: 128rpx;
- height: 128rpx;
- border: 2rpx solid transparent;
- }
- 25% {
- width: 140rpx;
- height: 140rpx;
- border: 2rpx solid #fff;
- }
- 50% {
- width: 128rpx;
- height: 128rpx;
- border: 2rpx solid transparent;
- }
- 75% {
- width: 140rpx;
- height: 140rpx;
- border: 2rpx solid #fff;
- }
- }
- @keyframes scale {
- 0% {
- width: 120rpx;
- height: 120rpx;
- }
- 25% {
- width: 112rpx;
- height: 112rpx;
- }
- 50% {
- width: 120rpx;
- height: 120rpx;
- }
- 75% {
- width: 112rpx;
- height: 112rpx;
- }
- }
- .onlive .imgBox::after {
- content: "● 直播中";
- background: #FF1674;
- border-radius: 18rpx;
- font-size: 20rpx;
- color: #fff;
- width: 108rpx;
- height: 36rpx;
- line-height: 36rpx;
- text-align: center;
- position: absolute;
- bottom: -8rpx;
- left: 50%;
- transform: translateX(-50%);
- }
- .onlive .pancel {
- box-shadow: none;
- margin-top: 12rpx;
- }
- .pancel {
- box-shadow: 0px 8rpx 16rpx 0px rgba(206, 206, 206, 0.5);
- }
- .icon {
- display: inline-block;
- width: 40rpx;
- height: 40rpx;
- margin-right: 6rpx;
- vertical-align: middle;
- border-radius: 50%;
- }
- .proUrl {
- position:relative;
- width:100%;
- height:0;
- padding-top:100%;
- background: #ddd;
- border-top-right-radius: 10rpx;
- border-top-left-radius: 10rpx;
- overflow: hidden;
- }
- .coverUrl {
- display: inline-block;
- width: 100%;
- height: 100%;
- position: absolute;
- top: 50%;
- transform: translateY(-50%);
- }
- .cover {
- float: left;
- width: 100%;
- max-height: 236rpx;
- border-top-left-radius: 10rpx;
- border-top-right-radius: 10rpx;
- }
- .btmText {
- padding: 0px 10rpx 10rpx;
- }
- .name {
- font-size: 22rpx;
- width: calc(100% - 65rpx);
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- margin-left: 16rpx;
- display: inline-block;
- text-align: left;
- line-height: 22rpx;
- /* vertical-align: middle; */
- }
- .sale {
- display: flex;
- -webkit-box-pack: justify;
- -webkit-justify-content: space-between;
- justify-content: space-between;
- -webkit-box-align: center;
- -webkit-align-items: center;
- align-items: center;
- font-size: 22rpx;
- }
- .count {
- color: #072945;
- font-size: 24rpx;
- }
- .type {
- display: inline-block;
- width: 30rpx;
- height: 30rpx;
- vertical-align: middle;
- }
- .nameBox {
- padding: 0 10rpx;
- line-height: 20rpx;
- line-height: 50rpx;
- }
- .name:first-child {
- margin-left: 0;
- }
|