小程序
小游戏
企业微信
微信支付
扫描小程序码分享
uniapp生成app正常 小程序模拟器正常 就真机出问题
点击镜像按钮 按钮元素不见了 再次点击出来了 https://m.v.qq.com/x/m/play?vid=q33690cfas8&cid=&url_from=share&second_share=0&share_from=copy
1 个回答
加粗
标红
插入代码
插入链接
插入图片
上传视频
怎么写的,上代码片段
你好,麻烦通过点击下方“反馈信息”按钮,提供出现问题的。
<video id="Video" :src="data.video" class="pic" :class="mirror?'videomirror':'videomi'" @play="play" :autoplay="true"
:controls="false" :loop="true" @click='playvideo' @error="error">
</video>
<view class="pic1">
<template v-if="data.name.length<5">
<view class="hellspawn_name" v-for="(item, index) in data.name" :key="index">
<image src="@/static/images/details/1.png" class="level"></image>
<view class="pinyin pinyin_text">
{{ data.pinyin[index] }}
</view>
<view class="flex align-center">
<view class="name name_text">
{{data.name[index]}}
</template>
<view class="icon">
<view class="speedbtn" @click="backRate(speed==1?2:speed==2?0.5:1)">
<view class="text-center icontext">
快放x{{speed}}
<view class="icon1">
<view class="speedbtn" @click="setmirror">
<view class="text-center icontext">镜像</view>
<view class="icon2">
<view class="speedbtn" @click="fayin(opensy)">
<view class="text-center icontext">{{opensy?'声音':'关音'}}</view>
.videomirror {
transform: scaleX(-1);
/* #ifdef MP-WEIXIN */
filter: FlipH;
/* #endif */
}
.videomi {
transform: scaleX(1);
setmirror() {
this.mirror = !this.mirror
console.log("this.mirror", this.mirror)
},
关注后,可在微信内接收相应的重要提醒。
请使用微信扫描二维码关注 “微信开放社区” 公众号
怎么写的,上代码片段
<video id="Video" :src="data.video" class="pic" :class="mirror?'videomirror':'videomi'" @play="play" :autoplay="true"
:controls="false" :loop="true" @click='playvideo' @error="error">
</video>
<view class="pic1">
<template v-if="data.name.length<5">
<view class="hellspawn_name" v-for="(item, index) in data.name" :key="index">
<image src="@/static/images/details/1.png" class="level"></image>
<view class="pinyin pinyin_text">
{{ data.pinyin[index] }}
</view>
<view class="flex align-center">
<view class="name name_text">
{{data.name[index]}}
</view>
</view>
</view>
</template>
<view class="icon">
<view class="speedbtn" @click="backRate(speed==1?2:speed==2?0.5:1)">
<view class="text-center icontext">
快放x{{speed}}
</view>
</view>
</view>
<view class="icon1">
<view class="speedbtn" @click="setmirror">
<view class="text-center icontext">镜像</view>
</view>
</view>
<view class="icon2">
<view class="speedbtn" @click="fayin(opensy)">
<view class="text-center icontext">{{opensy?'声音':'关音'}}</view>
</view>
</view>
</view>
.videomirror {
transform: scaleX(-1);
/* #ifdef MP-WEIXIN */
filter: FlipH;
/* #endif */
}
.videomi {
transform: scaleX(1);
/* #ifdef MP-WEIXIN */
filter: FlipH;
/* #endif */
}
setmirror() {
this.mirror = !this.mirror
console.log("this.mirror", this.mirror)
},