123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374 |
- @color:#1983F6;
- .con {
- .top {
- display: flex;
- justify-content: space-between;
- align-items: center;
- > div {
- font-size: 18px;
- font-weight: bold;
- color: #333333;
- line-height: 28px;
- }
- }
- .ui-button{
- font-size: @color;
- }
- .second-line {
- margin-top: 18px;
- display: flex;
- // justify-content: space-between;
- align-items: center;
- .btn{
- margin-right: 16px;
- .ui-button{
- font-size: 14px;
- position: relative;
- padding: 0 20px;
- display: flex;
- align-items: center;
- border-radius: 4px;
- >span{
- display: inline-block;
- margin-right: 4px;
- }
- &:hover{
- .upload-list{
- display: block;
- }
- }
- i {
- font-size: 12px;
- transform: scale(0.923);
- cursor: default;
- }
- }
- }
- > button {
- margin-right: 16px;
- }
- > .filter {
- margin-left: auto;
- }
- }
- >.list{
- margin-top: 32px;
- position: relative;
- flex:1;
- display: flex;
- flex-direction: column;
- .img{
- width: 50px;
- height: 50px;
- position: relative;
- overflow: hidden;
- cursor: pointer;
- > img{
- width: 100%;
- height: 100%;
- object-fit: cover;
- background: #F5F7FA;
- }
- }
- .img.dirIcon {
- > img {
- object-fit: contain;
- background: initial;
- }
- }
- .audio{
- position: relative;
- text-align: left;
- }
- .textItem {
- > .name {
- > .not-search-res {
- > .dirName {
- font-size: 14px;
- word-break: break-all;
- white-space: normal;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- cursor: pointer;
- }
- > .not-dir {
- font-size: 14px;
- word-break: break-all;
- white-space: normal;
- display: -webkit-box;
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- overflow: hidden;
- }
- }
- > .search-res {
- > .dirName {
- > .self-name {
- font-size: 14px;
- overflow: hidden;
- white-space: pre;
- text-overflow: ellipsis;
- cursor: pointer;
- }
- > .parent-name-wrap {
- margin-top: 7px;
- margin-left: 4px;
- font-size: 12px;
- color: #646566;
- > .parent-name {
- color: #0076F6;
- text-decoration: underline;
- overflow: hidden;
- white-space: pre;
- text-overflow: ellipsis;
- cursor: pointer;
- }
- }
- }
- > .not-dir {
- > .self-name {
- font-size: 14px;
- overflow: hidden;
- white-space: pre;
- text-overflow: ellipsis;
- }
- > .parent-name-wrap {
- margin-top: 7px;
- margin-left: 4px;
- font-size: 12px;
- color: #646566;
- > .parent-name {
- color: #0076F6;
- text-decoration: underline;
- overflow: hidden;
- white-space: pre;
- text-overflow: ellipsis;
- cursor: pointer;
- }
- }
- }
- }
- }
- > .not-name {
- }
- }
- .total-number {
- margin-top: 14px;
- text-align: right;
- font-size: 14px;
- color: #646566;
- }
- // TODO:受到src/assets/style/component.less里.nodata的干扰
- .nodata {
- position: absolute;
- text-align: center;
- width: 100%;
- margin: 0;
- top: 150px;
- z-index: 100;
- > span {
- color: #646566;
- }
- }
- .upload-task-list {
- z-index: 1;
- position: absolute;
- right: 0;
- bottom: 32px;
- }
- }
- }
- .handle{
- display: flex;
- justify-content: center;
- .iconfont{
- cursor: pointer;
- margin: 0 7.5px;
- color: #202020;
- }
- .oper {
- cursor: pointer;
- position: relative;
- align-items: center;
- >i{
- z-index: 9;
- }
- &:hover {
- > ul {
- display: block;
- }
- }
- > ul {
- max-width: 124px;
- display: none;
- background: #fff;
- box-shadow: 0px 1px 6px rgba(0, 0, 0, 0.16);
- top: 18px;
- left: 50%;
- z-index: 999;
- transform: translateX(-50%);
- position: absolute;
- &::before{
- border: 10px solid transparent;
- border-bottom: 10px solid #fff;
- width: 0;
- height: 0px;
- content: "";
- display: inline-block;
- position: absolute;
- top: -20px;
- left: 50%;
- transform: translateX(-50%);
- }
- > li {
- line-height: 35px;
- height: 35px;
- padding-left: 15px;
- text-align: left!important;
- min-width: 98px;
- &:hover {
- background: #EBEBEB;
- }
- }
- }
- }
- }
- .filter > div {
- min-width: 290px;
- height: 40px;
- border: 1px solid #EBEDF0;
- display: flex;
- align-items: center;
- border-radius: 20px;
- position: relative;
- font-size: 14px;
- vertical-align: middle;
- background: #F7F8FA;
- padding: 10px 20px 10px 20px;
- color: #C8C9CC;
- &.active{
- border: 1px solid #0076F6;
- }
- }
- .filter>div>.search {
- flex: 0 0 auto;
- margin-right: 12px;
- font-size: 18px;
- }
- .filter > div > select,
- .filter > div > input {
- flex: 1 0 auto;
- box-sizing: border-box;
- height: 100%;
- border: none;
- background: none;
- outline: none;
- // 为啥不生效?
- &::-webkit-input-placeholder {
- color: #C8C9CC;
- }
- &::-moz-placeholder{ /* Mozilla Firefox 19+ */
- color: #C8C9CC;
- }
- &:-moz-placeholder{ /* Mozilla Firefox 4 to 18 */
- color: #C8C9CC;
- }
- &:-ms-input-placeholder{ /* Internet Explorer 10-11 */
- color: #C8C9CC;
- }
- }
- .filter > div >.del{
- cursor: pointer;
- flex: 0 0 auto;
- font-size: 20px;
- }
- .submit {
- background-color: #0076F6 !important;
- border: 1px solid #0076F6 !important;
- }
- .cancel{
- background: #EBEBEB;
- }
- .ui-button-rect{
- border-radius: 4px !important;
- align-items: center;
- vertical-align: middle;
- color: #fff;
- display: flex;
- justify-content: center;
- padding: 0 16px;
- line-height: 36px;
- height: 36px;
- text-align: center;
- >i{
- margin-left: 4px;
- }
- }
- .ui-input{
- background-color: #fff;
- border: 1px solid rgba(#909090,0.5);
- color: #909090;
- }
- .ma-line{
- background-color: #EBEBEB;
- height: 1px;
- width: 100%;
- }
- .panorama{
- padding: 24px 30px;
- height: 100%;
- display: flex;
- flex-direction: column;
- }
- .comfirmhover{
- &:hover{
- color: @color!important;
- }
- &:active{
- color: rgba(255, 255, 255, 0.5)!important;
- }
- }
- .cancelhover{
- &:hover{
- color: #FA5555!important;
- }
- }
- // 列表为空时,上传按钮的样式。因为在“我的作品”和“我的素材”里位置不一样,所以只能写在这里。
- .upload-btn-in-table {
- cursor: pointer;
- // width: 100px;
- height: 36px;
- background: linear-gradient(144deg, #00AEFB 0%, #0076F6 100%);
- border-radius: 22px;
- border: none;
- font-size: 14px;
- color: #FFFFFF;
- margin-top: 20px;
- padding: 0 16px;
- }
- input::placeholder,
- textarea::placeholder {
- font-size: 14px;
- color: #C8C9CC !important;
- }
|