uploadAudio.blade.php 5.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228
  1. <!-- 音频上传 -->
  2. <!-- <el-button type="text" @click="aduioDialogVisible = true">音频上传</el-button>
  3. <el-dialog
  4. :visible.sync="aduioDialogVisible"
  5. width="50%"
  6. :before-close="handleClose">
  7. <el-tabs v-model="activeName" @tab-click="handleClick">
  8. <el-tab-pane label="素材库" name="first">
  9. <div class="clearfix">
  10. <el-button class="fr">上传音频</el-button>
  11. </div>
  12. <ul class="aduio-box clearfix">
  13. <li class="aduio-item fl">
  14. <div class="fl">
  15. <el-checkbox v-model="aduioChecked"></el-checkbox>
  16. <span class="audio-title">我一天一个时间只做一件事情</span>
  17. <p style="margin-top:60px">2017-12-415</p>
  18. </div>
  19. <div class="fr aduio-right">
  20. <img src="../../../../static/images/play.png" alt="" v-if="1">
  21. <img src="../../../../static/images/puse.png" alt="" v-if="0">
  22. <p>02:25</p>
  23. </div>
  24. </li>
  25. <li class="aduio-item fl">
  26. </li>
  27. <li class="aduio-item fl">
  28. </li>
  29. <li class="aduio-item fl">
  30. </li>
  31. <li class="aduio-item fl">
  32. </li>
  33. <li class="aduio-item fl">
  34. </li>
  35. <li class="aduio-item fl">
  36. </li>
  37. <li class="aduio-item fl">
  38. </li>
  39. </ul>
  40. </el-tab-pane>
  41. </el-tabs>
  42. <div class="uploading-btn">
  43. <span>已选择</span>
  44. <span>0/10个音频视频项</span>
  45. <span slot="footer" class="dialog-footer">
  46. <el-button type="primary" @click="aduioDialogVisible = false" style="margin-left:30%">确 定</el-button>
  47. <el-button @click="aduioDialogVisible = false">取 消</el-button>
  48. </span>
  49. </div>
  50. </el-dialog> -->
  51. <style>
  52. /* 上传 */
  53. .aduio-box {
  54. margin-top:20px
  55. }
  56. .aduio-item {
  57. padding:10px;
  58. margin:0 15px 15px 0;
  59. width:280px;
  60. height:130px;
  61. border:1px solid #c8cede;
  62. }
  63. .audio-title {
  64. display:inline-block;
  65. width:150px;
  66. overflow: hidden;
  67. text-overflow: ellipsis;
  68. white-space: nowrap;
  69. vertical-align:middle
  70. }
  71. .aduio-right {
  72. width:60px;
  73. height:60px;
  74. }
  75. .aduio-right {
  76. margin-top:30px;
  77. text-align:center;
  78. }
  79. .aduio-right img {
  80. width:40px;
  81. height:40px;
  82. }
  83. .uploading-btn {
  84. /* text-align:center; */
  85. }
  86. .uploading-btn span {
  87. /* text-align:left */
  88. }
  89. .video-box {
  90. margin:20px 0 30px 0;
  91. width:100%;
  92. }
  93. .video-box .video-item {
  94. position: relative;
  95. padding:10px;
  96. margin-right:15px;
  97. width:40%;
  98. height:130px;
  99. border:1px solid #c8cede;
  100. }
  101. .checked-pos {
  102. position: absolute;
  103. top:10px;
  104. left:10px;
  105. }
  106. .vedio-file {
  107. width:150px;
  108. height:100%
  109. }
  110. .vedio-file video {
  111. width:150px;
  112. height:100%
  113. }
  114. .vedio-right {
  115. text-align:left
  116. }
  117. .vedio-right p{
  118. margin:20px 0 0 15px;
  119. }
  120. .getNetWork {
  121. margin:30px 0;
  122. text-align:center
  123. }
  124. .left-group {
  125. width:150px;
  126. }
  127. .right-img {
  128. width:80%;
  129. border-left:1px solid #c8cede
  130. }
  131. .handel {
  132. margin-top:30px;
  133. }
  134. .img-hint {
  135. height:40px;
  136. line-height:40px;
  137. text-align:right;
  138. }
  139. .img-source {
  140. position: relative;
  141. margin-left:15px;
  142. width:140px;
  143. height:150px;
  144. }
  145. .img-source img {
  146. width:100%;
  147. height:110px;
  148. }
  149. .img-source p {
  150. padding:0 5px;
  151. width:100%;
  152. text-overflow: ellipsis;
  153. white-space: nowrap;
  154. vertical-align:middle
  155. }
  156. .img-source .sle-img {
  157. position:absolute;
  158. /* display:none; */
  159. top:5px;
  160. left:5px;
  161. }
  162. .img-source p {
  163. margin-top:15px;
  164. text-align:center;
  165. }
  166. .img-source:hover .img-mark {
  167. display:block
  168. }
  169. .img-mark {
  170. position:absolute;
  171. display:none;
  172. width:100%;
  173. height:110px;
  174. top:0px;
  175. left:0px;
  176. background: rgba(41, 186, 156, 0.3);
  177. border:1px solid rgb(41, 186, 156);
  178. }
  179. .defaultImg {
  180. width: 150px;
  181. height: 150px;
  182. line-height:150px;
  183. border:1px solid #c8cede;
  184. text-align:center;
  185. }
  186. .getNet {
  187. text-align:center;
  188. }
  189. </style>