|
@@ -2,7 +2,7 @@ import { defineComponent, PropType } from 'vue'
|
|
|
import styles from './index.module.less'
|
|
|
import Plyr from 'plyr'
|
|
|
import 'plyr/dist/plyr.css'
|
|
|
-import { Button, Icon } from 'vant'
|
|
|
+import { Button, Icon, Loading } from 'vant'
|
|
|
|
|
|
import iconVideoPlay from '@/common/images/icon_video_play.png'
|
|
|
import { browser } from '@/helpers/utils'
|
|
@@ -250,7 +250,16 @@ export default defineComponent({
|
|
|
style={{
|
|
|
height: this.height || '210px'
|
|
|
}}
|
|
|
- ></div>
|
|
|
+ >
|
|
|
+ <Loading
|
|
|
+ size={36}
|
|
|
+ color="#2dc7aa"
|
|
|
+ vertical
|
|
|
+ style={{ height: '100%', justifyContent: 'center' }}
|
|
|
+ >
|
|
|
+ 加载中...
|
|
|
+ </Loading>
|
|
|
+ </div>
|
|
|
)}
|
|
|
{/* 试看结束 */}
|
|
|
{this.trySee && this.computedSeeStatus && !this.loading && (
|