移动app

This commit is contained in:
2023-09-24 17:55:19 +08:00
parent 736c5376e0
commit 59f7e39791
735 changed files with 80523 additions and 57 deletions

View File

@@ -0,0 +1,50 @@
<template>
<view class="code-view" :class="{isRotate}">
默认不启用代码浏览模块如有需要请关闭注释
<!-- <uni-im-code-view :code="code" :showFullBtn="false"></uni-im-code-view> -->
<!-- <uni-im-icons id="rotate" @click="rotate" code="e664"></uni-im-icons> -->
</view>
</template>
<script>
export default {
data() {
return {
code:"",
isRotate:false
}
},
onLoad({
code
}) {
this.code = decodeURIComponent(code)
},
methods:{
rotate(){
this.isRotate = !this.isRotate
}
}
}
</script>
<style lang="scss">
.text-box,
.code-view {
background-color: #fffae5 !important;
flex: 1;
width: 750rpx;
/* #ifndef APP-NVUE */
width: 100vw;
/* #endif */
height: 100vh;
}
#rotate{
position: fixed;
right: 10px;
top: 60px;
z-index: 999;
}
.isRotate{}
</style>