style(src/views/user): 修改样式

duizhaopin_ui
duan 2 years ago
parent 4dad586639
commit 8b977f0cb6

@ -90,7 +90,10 @@
align="center" align="center"
> >
<template slot-scope="scope"> <template slot-scope="scope">
<el-tag :type="scope.row.is_enabled === 1?'success':'danger'">{{ scope.row.is_enabled === 1 ? '启用' : '未启用' }}</el-tag> <el-tag :type="scope.row.is_enabled === 1?'success':'danger'">{{
scope.row.is_enabled === 1 ? '启用' : '未启用'
}}
</el-tag>
</template> </template>
</el-table-column> </el-table-column>
<el-table-column <el-table-column
@ -545,6 +548,7 @@ export default {
console.log(res) console.log(res)
} }
) )
this.dialogFaceVisible = false
this.web_stream.destroy() this.web_stream.destroy()
this.play = null this.play = null
this.rflag = false this.rflag = false
@ -553,6 +557,9 @@ export default {
this.play = null this.play = null
this.rflag = false this.rflag = false
this.dialogFaceVisible = false this.dialogFaceVisible = false
if (this.web_stream) {
this.web_stream.destroy()
}
} }
} }
} }
@ -589,17 +596,13 @@ export default {
} }
} }
#video, canvas { #video {
position: absolute;
top: 100px;
left: 120px;
border-radius: 50%; border-radius: 50%;
border: 1px solid #707070; border: 1px solid #707070;
} }
.face-content { .face-content {
text-align: center; text-align: center;
height: 18.75rem;
width: 100%; width: 100%;
} }

Loading…
Cancel
Save