|
@@ -3,10 +3,9 @@
|
|
|
<nexo-radio v-model="type" :options="radioOptions" style="width: 350px"/>
|
|
<nexo-radio v-model="type" :options="radioOptions" style="width: 350px"/>
|
|
|
<el-card shadow="never" class="mt10">
|
|
<el-card shadow="never" class="mt10">
|
|
|
<el-input v-model="videoUrl" placeholder="请输入视频地址"/>
|
|
<el-input v-model="videoUrl" placeholder="请输入视频地址"/>
|
|
|
- <el-button type="primary" class="mt10" @click="handleSubmit">提交</el-button>
|
|
|
|
|
</el-card>
|
|
</el-card>
|
|
|
- <el-card shadow="never" class="mt10">
|
|
|
|
|
- <video_play :video_url="videoUrl" v-if="videoUrl!=''" :autoplay="true" :loop="true" style="height: 50vh" :video_type="0"/>
|
|
|
|
|
|
|
+ <el-card shadow="never" class="mt10" v-if="videoUrl!=''">
|
|
|
|
|
+ <video_play :video_url="videoUrl" :autoplay="true" :loop="true" style="height: 50vh" :video_type="0"/>
|
|
|
</el-card>
|
|
</el-card>
|
|
|
</div>
|
|
</div>
|
|
|
</template>
|
|
</template>
|
|
@@ -23,7 +22,7 @@ export default {
|
|
|
radioOptions: [
|
|
radioOptions: [
|
|
|
{ label: '抖音', value: 'douyin' },
|
|
{ label: '抖音', value: 'douyin' },
|
|
|
{ label: '快手', value: 'kuaishou' },
|
|
{ label: '快手', value: 'kuaishou' },
|
|
|
- { label: '歪歪', value: 'yy' }
|
|
|
|
|
|
|
+ { label: 'YY语音', value: 'yy' }
|
|
|
],
|
|
],
|
|
|
videoUrl: ''
|
|
videoUrl: ''
|
|
|
}
|
|
}
|