index.nvue 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732
  1. <template>
  2. <view class="content">
  3. <u-navbar :title="topTitle" @leftClick="leftClick" titleStyle="color:#fff;" bgColor="#000" leftIconColor="#fff"
  4. :autoBack="false">
  5. </u-navbar>
  6. <swiper :style="'width: '+ windowWidth +'px; height:100vh; background-color: #000;'" class="swiper"
  7. :circular='false' @change="swiperChange" :current="swiperCurrent" :vertical="true" duration="200">
  8. <block v-for="content in videoInfo.updated_episode_num">
  9. <swiper-item :key="content">
  10. <view :style="'width: '+ windowWidth +'px; height:'+heightxw+'vh;'">
  11. <!-- @controlstoggle="controlstoggle" -->
  12. <video v-if="isShowVideo(content)" autoplay :key="content" id="myVideo" :controls="controls"
  13. :loop="!isplay" preload="auto" :enable-progress-gesture="true" :show-center-play-btn="false"
  14. :show-loading="false" :show-fullscreen-btn="false" @ended="ended" @click="tapVides()"
  15. :style="'width: '+ windowWidth +'px; height:'+heightxw+'vh;'"
  16. :src="currentVideoInfo.video_url" class="tsvideo">
  17. </video>
  18. <view v-if="isqp" class="userInfo">
  19. <!-- 2.点赞 -->
  20. <view style="opacity: 0.9; margin-top: 17px;">
  21. <image v-if="currentVideoInfo.is_zan" src="@/static/aixinRed.png" @click="myLike(2)"
  22. style="width: 40px; height: 40px; position: absolute; right: 6px;"></image>
  23. <image v-else src="@/static/aixin.png" @click="myLike(1)"
  24. style="width: 40px; height: 40px; position: absolute; right: 6px;"></image>
  25. <text
  26. style="color: #FFFFFF; margin-top: 5px; font-size: 14px; text-align: center; margin-top: 40px; font-weight: bold;">{{currentVideoInfo.total_zan}}</text>
  27. </view>
  28. <!-- 3.分享 -->
  29. <!-- <view style="opacity: 0.9; margin-top: 17px;">
  30. <image src="@/static/share-fill.png"
  31. style="width: 40px; height: 40px; position: absolute; right: 5px;"></image>
  32. <text
  33. style="color: #FFFFFF; margin-top: 5px; font-size: 14px; text-align: center; font-weight: bold; margin-top: 40px;">分享</text>
  34. <button open-type="share"
  35. style="position: absolute; background: none; width: 100%; height: 100%;"
  36. @click.stop="share"></button>
  37. </view> -->
  38. <!-- 4.追剧 -->
  39. <view class="comment" style="opacity: 0.9; margin-top: 17px;">
  40. <view v-if="videoInfo.is_binge_watch" @click="unBingewatch">
  41. <image src="@/static/scRed.png"
  42. style="width: 40px; height: 40px; position: absolute; right: 6px;"></image>
  43. <text
  44. style="color: #ff0000; margin-top: 5px; font-size: 14px; font-weight: bold; text-align: center; margin-top: 40px;">已追</text>
  45. </view>
  46. <view v-else @click="bingewatch">
  47. <image src="@/static/sc.png"
  48. style="width: 40px; height: 40px; position: absolute; right: 6px;"></image>
  49. <text
  50. style="color: #FFFFFF; margin-top: 5px; font-size: 14px; font-weight: bold; text-align: center; margin-top: 40px;">追剧</text>
  51. </view>
  52. </view>
  53. </view>
  54. <!-- 最底下的文字部分 -->
  55. <view v-if="isqp" class="contentcd" @click.stop="sellxj()">
  56. <text class="userName">《{{videoInfo.name}}》</text>
  57. <text class="userName">更新到第{{videoInfo.updated_episode_num}}集</text>
  58. <text class="userName">|</text>
  59. <text class="userName">选集</text>
  60. </view>
  61. </view>
  62. </swiper-item>
  63. </block>
  64. </swiper>
  65. <uni-popup type="bottom" ref="select" style="z-index: 100;" :mask-click="true">
  66. <view v-if="fenji==1" class="pop-my">
  67. <view class="ju-top">
  68. <view style="display: flex; flex-direction: column; ">
  69. <view style="display: flex; flex-direction: column;">
  70. <view style="display: flex; flex-direction: column;">
  71. <view class="utabs-top">
  72. <u-tabs v-if="fenji==1" :activeStyle="activeStyle" lineColor="none"
  73. :inactiveStyle="inactiveStyle" class="utabs-top" :list="list1"
  74. :current="current"></u-tabs>
  75. </view>
  76. <view class="ju-top-title">
  77. {{videoInfo.name}}
  78. </view>
  79. <view class="ju-top-update"> 已更新至{{videoInfo.updated_episode_num}}集 </view>
  80. </view>
  81. <u-tabs v-if="fenji==1" :activeStyle="activeStyle" lineColor="none"
  82. :inactiveStyle="inactiveStyle" :current="tabcurrent" :list="labelList"
  83. @click="labelListClick"></u-tabs>
  84. </view>
  85. <view class="down" @click="down">
  86. <text class="down-text">收起</text>
  87. <image class="down-img" src="@/static/img/index/down.png">
  88. </image>
  89. </view>
  90. </view>
  91. </view>
  92. <scroll-view class="scroll-my" :scroll-y="true" :scroll-top="scrollTop">
  93. <view class="ju-wrapper">
  94. <block v-for="content in labelList[tabcurrent].content">
  95. <view class="ju-content" :class="activeIndex ==content?'active':'' "
  96. @click="playTest(content)">
  97. <!-- <view :class="isShowUpdate(content)?'lock-wrapper-no':'lock-wrapper'" -->
  98. <view class="lock-wrapper" v-if="isShowUpdate(content)">
  99. <text class="update-title">待更新</text>
  100. </view>
  101. <text class="title">第{{content}}集 </text>
  102. <view class="lock-wrapper" v-if="isShowVip(content)">
  103. <image class="lock-img" src="@/static/shilu-login/2.png"></image>
  104. </view>
  105. </view>
  106. </block>
  107. </view>
  108. <view style="width: 1px; height: 1px; margin-top: 30px;"></view>
  109. </scroll-view>
  110. </view>
  111. <view v-if="fenji==2"
  112. :style="'width: '+ windowWidth +'px;height:500px; background-color: #fff; border-top-left-radius: 10px; border-top-right-radius: 10px;'">
  113. <view class="charge-wrapper">
  114. <view class="top">
  115. <text class="charge-title">充值购买后可继续观看{{topTitle}} </text>
  116. <text class="charge-info">为保护创作者权益,当前内容需要付费观看。</text>
  117. <view class="charge-coin">
  118. <text class="ji">本集:</text>
  119. <text class="bi">{{videoInfo.charge_coin}}k币</text>
  120. </view>
  121. </view>
  122. <view class="bottom">
  123. <text></text>
  124. <text></text>
  125. </view>
  126. </view>
  127. </view>
  128. </uni-popup>
  129. </view>
  130. </template>
  131. <script>
  132. import {
  133. getVideoInfo,
  134. videoEpisodePlay,
  135. videoEpisodeZan,
  136. } from '@/common/apis/video.js';
  137. import {
  138. delShelf,
  139. storeshelf
  140. } from '@/common/apis/zju.js'
  141. import configs from "@/common/config.js"
  142. export default {
  143. data() {
  144. return {
  145. limitPage: 15,
  146. top_height: 0,
  147. episode: 1,
  148. swiperCurrent: 0,
  149. videoContext: '',
  150. currentVideoInfo: {},
  151. activeStyle: {
  152. color: '#f95d27',
  153. fontWeight: 'bold',
  154. transform: 'scale(1.05)'
  155. },
  156. inactiveStyle: {
  157. color: '#606266',
  158. transform: 'scale(1)'
  159. },
  160. activeIndex: 1,
  161. tabcurrent: 0,
  162. videoInfo: {},
  163. labelList: [],
  164. list1: [{
  165. name: '当前剧集',
  166. }, {
  167. name: '相似好剧',
  168. }],
  169. sharedata: {
  170. type: 2,
  171. strShareUrl: "",
  172. strShareTitle: "分享标题",
  173. strShareSummary: "分享总结",
  174. strShareImageUrl: ""
  175. },
  176. isShow: true,
  177. fenji: 0,
  178. controls: true,
  179. windowWidth: 0,
  180. windowHeight: 0,
  181. current: 0,
  182. isplay: true, //是否自动播放下一个视频
  183. duration: 500,
  184. isqp: true,
  185. urls: configs.webUrl,
  186. scrollTop: 0,
  187. video_id: 0,
  188. safeArea: 0,
  189. ttuop: 0,
  190. heightxw: 100,
  191. };
  192. },
  193. computed: {
  194. isShowVideo(item) {
  195. return (item) => {
  196. return this.swiperCurrent == item && this.isShow
  197. }
  198. },
  199. isShowVip(item) {
  200. return (item) => {
  201. return item >= this.videoInfo.charge_sequence && item <= this.videoInfo.updated_episode_num
  202. }
  203. },
  204. isShowUpdate(item) {
  205. return (item) => {
  206. return item > this.videoInfo.updated_episode_num
  207. }
  208. },
  209. topTitle() {
  210. return `《${this.videoInfo.name}》 第${this.episode}集`
  211. }
  212. },
  213. onReady: function(res) {
  214. this.videoContext = uni.createVideoContext('myVideo')
  215. },
  216. mounted() {
  217. this.initSwiperData(this.swiperCurrent + 1)
  218. getVideoInfo({
  219. video_id: this.video_id
  220. }).then(res => {
  221. // console.log(res, 'getVideoInfogetVideoInfogetVideoInfo')
  222. this.videoInfo = res.data
  223. this.initTabs();
  224. })
  225. },
  226. onLoad(e) {
  227. let that = this;
  228. uni.getSystemInfo({
  229. success(res) {
  230. that.top_height = res.statusBarHeight; //data中 声明 top_height:0
  231. }
  232. });
  233. if (e.video_id) {
  234. this.video_id = Number(e.video_id)
  235. }
  236. uni.getSystemInfo({
  237. success: res => {
  238. this.safeArea = res.safeAreaInsets.bottom;
  239. if (this.safeArea > 0) {
  240. this.heightxw = 97
  241. }
  242. }
  243. })
  244. // #ifdef MP-TOUTIAO
  245. this.ttuop = 64
  246. // #endif
  247. this.windowWidth = uni.getSystemInfoSync().windowWidth
  248. this.windowHeight = uni.getSystemInfoSync().windowHeight - this.safeArea - this.ttuop
  249. console.log(this.windowHeight)
  250. },
  251. onShow() {
  252. },
  253. onShareAppMessage: function(res) {
  254. // #ifdef MP-WEIXIN
  255. var href = '/pages/video/index?video_id=' + this.video_id
  256. console.log(res)
  257. let that = this;
  258. const obj = {
  259. title: "发送给好友",
  260. imageUrl: '',
  261. path: href,
  262. success: function(res) {
  263. console.log(res, "转发成功")
  264. },
  265. fail: function(res) {
  266. wx.showToast({
  267. title: '发送失败',
  268. icon: 'none'
  269. })
  270. }
  271. }
  272. return obj
  273. // #endif
  274. },
  275. watch: {
  276. activeIndex(newVal, oldVal) {
  277. let index = this.labelList.findIndex(el => el.content.includes(newVal))
  278. this.tabcurrent = index
  279. }
  280. },
  281. onBackPress() {},
  282. methods: {
  283. bingewatch() {
  284. storeshelf(this.video_id).then(res => {
  285. console.log(res, 'storeshelfstoreshelfstoreshelf')
  286. this.videoInfo.is_binge_watch = !Boolean(this.videoInfo.is_binge_watch)
  287. uni.showToast({
  288. title: '追剧成功',
  289. duration: 1000,
  290. icon: 'none'
  291. });
  292. })
  293. },
  294. unBingewatch() {
  295. delShelf(this.video_id).then(res => {
  296. console.log(res, 'delShelfdelShelfdelShelfdelShelfdelShelf')
  297. this.videoInfo.is_binge_watch = !Boolean(this.videoInfo.is_binge_watch)
  298. })
  299. },
  300. leftClick(e) {
  301. if (!this.videoInfo?.is_binge_watch) {
  302. uni.showModal({
  303. title: '加入追剧',
  304. content: '喜欢就加入追剧吧',
  305. confirmText: '加入追剧',
  306. confirmColor: '#FFA500',
  307. cancelText: '不用了',
  308. success: (res) => {
  309. if (res.confirm) {
  310. this.bingewatch()
  311. uni.navigateBack()
  312. // 用户点击了确定按钮
  313. // 执行加入追剧的逻辑
  314. } else if (res.cancel) {
  315. // 用户点击了取消按钮
  316. // 执行取消逻辑
  317. uni.navigateBack()
  318. }
  319. }
  320. });
  321. } else {
  322. uni.navigateBack()
  323. }
  324. },
  325. myLike(like) {
  326. videoEpisodeZan({
  327. episode_id: this.currentVideoInfo.id,
  328. zan: like
  329. }).then(res => {
  330. console.log(res, 'VideoEpisodeZanVideoEpisodeZanVideoEpisodeZan')
  331. this.$nextTick(() => {
  332. this.currentVideoInfo.is_zan = !Boolean(this.currentVideoInfo.is_zan)
  333. if (this.currentVideoInfo.is_zan) {
  334. this.currentVideoInfo.total_zan++
  335. } else {
  336. this.currentVideoInfo.total_zan--
  337. }
  338. })
  339. })
  340. },
  341. initTabs() {
  342. function innit(i, num) {
  343. let arr = [];
  344. for (i; i <= num; i++) {
  345. arr.push(i)
  346. }
  347. return arr
  348. }
  349. const pageSize = this.limitPage;
  350. const total = this.videoInfo.total_episode_num;
  351. const pageCount = Math.ceil(total / pageSize);
  352. for (let i = 0; i < pageCount; i++) {
  353. const start = i * pageSize + 1;
  354. const end = i === pageCount - 1 ? total : (i + 1) * pageSize;
  355. let label;
  356. if (i === pageCount - 1) {
  357. if (start === total) {
  358. label = `${total}`
  359. } else {
  360. label = `${start}-${total}`
  361. }
  362. } else {
  363. label = `${start}-${end}`
  364. }
  365. let index;
  366. if (label.split('-')[1]) {
  367. index = label.split('-')[1]
  368. } else {
  369. index = total
  370. }
  371. this.labelList.push({
  372. name: label,
  373. page: pageCount,
  374. content: innit(start, index)
  375. })
  376. }
  377. },
  378. playTest(item) {
  379. console.log(item)
  380. if (this.isShowVip(item)) {
  381. this.fenji = 2
  382. this.activeIndex = ''
  383. } else if (this.isShowUpdate(item)) {
  384. this.activeIndex = ''
  385. uni.showToast({
  386. title: '剧集暂未更新',
  387. duration: 1000,
  388. icon: 'none'
  389. });
  390. } else {
  391. this.activeIndex = item;
  392. this.swiperCurrent = item - 1;
  393. this.episode = this.swiperCurrent
  394. // this.initSwiperData(item)
  395. this.down();
  396. }
  397. },
  398. labelListClick(item) {
  399. this.tabcurrent = item.index
  400. console.log('itemitemitemitemitem', item);
  401. },
  402. share() {
  403. var href = '/pages/video/index?video_id=' + this.video_id
  404. // #ifdef H5
  405. uni.setClipboardData({
  406. data: this.urls + '/h5/#' + href,
  407. complete() {
  408. uni.showToast({
  409. title: "分享连接已复制到剪贴板"
  410. })
  411. }
  412. })
  413. // #endif
  414. // #ifndef H5
  415. uni.share({
  416. provider: "weixin",
  417. scene: "WXSenceTimeline",
  418. type: 0,
  419. href: href,
  420. title: '分享标题',
  421. summary: '分享总结',
  422. imageUrl: '',
  423. success: function(res) {
  424. console.log("success:" + JSON.stringify(res));
  425. },
  426. fail: function(err) {
  427. console.log("fail:" + JSON.stringify(err));
  428. }
  429. })
  430. // #endif
  431. },
  432. down() {
  433. this.$refs.select.close();
  434. },
  435. sellxj() {
  436. this.fenji = 1
  437. this.$refs.select.open('bottom');
  438. this.$nextTick(() => {
  439. let num1 = (this.windowHeight / 1.6) * 0.85;
  440. let num2 = num1 / 4.78;
  441. this.scrollTop = num2 * Number(this.k);
  442. })
  443. },
  444. tapVideoHover(index, pays) {
  445. this.videoContext.play()
  446. // this.$refs.select.open('bottom');
  447. },
  448. tapVides() {
  449. this.isqp = !this.isqp
  450. },
  451. ended() {
  452. //console.log('isplay----',this.isplay)
  453. // 1.播放当前视频结束时触发,自动切换下一个视频
  454. if (this.isplay) {
  455. if (this.displayIndex < 2) {
  456. this.current = this.displayIndex + 1
  457. } else {
  458. this.current = 0
  459. }
  460. this.isqp = true
  461. console.log('显示swiper Index:', this.displayIndex)
  462. }
  463. },
  464. initSwiperData(originIndex) {
  465. this.episode = originIndex;
  466. this.isqp = true
  467. videoEpisodePlay({
  468. video_id: this.video_id,
  469. sequence: originIndex
  470. }).then(res => {
  471. if (res.code == 0) {
  472. this.currentVideoInfo = res.data
  473. this.activeIndex = this.episode;
  474. this.isShow = true
  475. } else if (res.code == 500101) {
  476. console.log(this.currentVideoInfo, 'res.code == 500101res.code == 500101')
  477. this.currentVideoInfo.video_url = ""
  478. this.isShow = false
  479. this.isqp = true
  480. this.videoContext.stop()
  481. this.fenji = 2
  482. this.$refs.select.open('bottom');
  483. // this.currentVideoInfo = {}
  484. } else {
  485. this.currentVideoInfo.video_url = ""
  486. this.isShow = false
  487. }
  488. console.log(res, 'getVideoEpisodePlaygetVideoEpisodePlay')
  489. })
  490. },
  491. /**
  492. * swiper滑动时候
  493. */
  494. swiperChange(event) {
  495. const {
  496. current
  497. } = event.detail;
  498. this.swiperCurrent = current
  499. console.log(this.swiperCurrent, 'this.swiperCurrentthis.swiperCurrent')
  500. this.initSwiperData(current + 1)
  501. },
  502. controlstoggle(e) {
  503. console.log(e.detail.show);
  504. },
  505. },
  506. };
  507. </script>
  508. <style lang="scss" scoped>
  509. .content {
  510. background: #000000;
  511. }
  512. .userInfo {
  513. position: absolute;
  514. z-index: 99;
  515. bottom: 30%;
  516. right: 10px;
  517. width: 100rpx;
  518. text-align: center;
  519. flex-direction: column;
  520. }
  521. .contentcd {
  522. background-color: rgba(255, 255, 255, .3);
  523. width: 720rpx;
  524. z-index: 99;
  525. position: absolute;
  526. bottom: 70rpx;
  527. left: 50%;
  528. transform: translateX(-50%);
  529. padding: 15rpx;
  530. border-radius: 8px;
  531. display: flex;
  532. flex-direction: row;
  533. justify-content: flex-start;
  534. align-items: center;
  535. color: #ffffff;
  536. margin: 0 auto;
  537. }
  538. .userName {
  539. color: #fff;
  540. font-size: 30rpx;
  541. color: #ffffff;
  542. margin: 0 6rpx;
  543. }
  544. .tsvideo {
  545. animation: showDivAni 2s 1;
  546. }
  547. @keyframes showDivAni {
  548. 0% {
  549. opacity: 0;
  550. }
  551. 100% {
  552. opacity: 1;
  553. }
  554. }
  555. </style>
  556. <style lang="scss" scoped>
  557. .charge-wrapper {
  558. margin-top: 15px;
  559. width: 100%;
  560. .top {
  561. width: 100%;
  562. display: flex;
  563. align-items: center;
  564. .charge-title {
  565. font-size: 18px;
  566. font-weight: bold;
  567. }
  568. .charge-info {
  569. font-size: 15px;
  570. color: #868686;
  571. margin: 8px 0;
  572. }
  573. .charge-coin {
  574. display: flex;
  575. flex-direction: row;
  576. .ji {
  577. font-size: 18px;
  578. }
  579. .bi {
  580. font-size: 18px;
  581. color: $accent-color;
  582. }
  583. }
  584. }
  585. }
  586. .down {
  587. display: flex;
  588. flex-direction: row;
  589. width: 60px;
  590. height: 30px;
  591. margin-top: 5px;
  592. position: absolute;
  593. right: 0px;
  594. top: 50%;
  595. transform: translateY(-50%);
  596. .down-text {
  597. font-size: 12px;
  598. color: #000;
  599. }
  600. .down-img {
  601. width: 35rpx;
  602. height: 35rpx;
  603. object-fit: contain;
  604. }
  605. }
  606. .ju-top {
  607. // background-color: ;
  608. .ju-top-title {
  609. font-size: 16px;
  610. font-weight: bold;
  611. color: #000;
  612. margin-top: 9px;
  613. height: 22px;
  614. margin-left: 20px;
  615. // width: '+ (windowWidth*0.6) +' px;
  616. overflow: hidden;
  617. }
  618. .ju-top-update {
  619. font-size: 12px;
  620. color: #000;
  621. margin-top: 9px;
  622. height: 22px;
  623. margin-left: 20px;
  624. }
  625. }
  626. .pop-my {
  627. background-color: #FFFFFF;
  628. }
  629. .scroll-my {
  630. height: 50vh;
  631. }
  632. .ju-wrapper {
  633. display: flex;
  634. flex-direction: row;
  635. flex-wrap: wrap;
  636. align-items: center;
  637. justify-content: start;
  638. width: 100%;
  639. height: 100%;
  640. background-color: #FFFFFF;
  641. // margin: 6rpx;
  642. .ju-content.active {
  643. background-color: #ff7f02;
  644. }
  645. .ju-content {
  646. flex-grow: 1;
  647. position: relative;
  648. border-radius: 12rpx;
  649. background-color: #f6f6f6;
  650. width: 31%;
  651. height: 25rpx;
  652. align-items: center;
  653. justify-content: center;
  654. padding: 45rpx 68rpx;
  655. margin: 6rpx;
  656. .lock-wrapper,
  657. .lock-wrapper-no {
  658. position: absolute;
  659. width: 100%;
  660. height: 100%;
  661. border-radius: 12rpx;
  662. background-color: rgba(0, 0, 0, .3);
  663. .lock-img {
  664. position: absolute;
  665. left: 3rpx;
  666. top: 50%;
  667. transform: translateY(-50%);
  668. width: 50rpx;
  669. height: 50rpx;
  670. margin-left: 20rpx;
  671. }
  672. .update-title {
  673. width: fit-content;
  674. height: fit-content;
  675. border-radius: 8rpx;
  676. font-size: 10px;
  677. padding: 6rpx;
  678. background-color: #868686;
  679. color: #fff;
  680. }
  681. }
  682. .lock-wrapper-no {
  683. background-color: #f6f6f6;
  684. }
  685. .title {
  686. font-size: 16px;
  687. }
  688. }
  689. }
  690. .utabs-top /deep/ .u-tabs {
  691. align-items: flex-start;
  692. }
  693. </style>