forked from nsjcy/frontEnd/nsjcy

liyj
2020-02-03 7a4d973140ee0168f509098b52745c8a7947ca74
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
/* pages/video/video.wxss */
 
.video-main {
  display: flex;
  justify-content: center;
  padding: 10px 18px;
  border-top: 1px solid #f2f2f2;
}
 
.video-img-top {
  width: 100%;
  height: 32vh;
}
 
.video-hot {
  display: flex;
  padding: 2vh 1vh;
  border-bottom: 1px solid #f2f2f2;
  border-top: 1px solid #f2f2f2;
}
 
.video-hot span:nth-child(1) {
  border-left: 3px solid #2195ff;
}
 
.video-hot span:nth-child(2) {
  padding-left: 1vh;
  font-size: 18px;
  color: #333;
  margin-right: auto;
}
 
.video-hot span:nth-child(3) {
  font-size: 14px;
  color: #333;
}
 
.video-item {
  display: flex;
}
 
.video-four {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: 50%;
  padding: 10px;
}
 
.video-win {
  height: 90px;
  width: 100%;
}
 
.video {
  padding: 2vh 0;
  display: flex;
  flex-direction: column;
  box-shadow: 0px 6px 6px 0 rgba(80, 119, 170, 0.06);
}
 
.scroll_view {
  height: 100rpx;
  font-size: 30rpx;
  position: absolute;
  top: 0rpx;
  left: 0rpx;
  white-space: nowrap;
  color: #1790ff;
   line-height: 100rpx;
  animation: myfirst 30s linear infinite;
}
 
@keyframes myfirst {
  0% {
    transform: translateX(0);
    /* margin-left: 750px; */
  }
 
  100% {
    transform: translateX(-100%);
    /* margin-left: -1500px; */
  }
}
 
.scroll_view_border {
  position: relative;
  width: 100%;
  height: 100rpx;
  overflow: hidden;
}