38 lines
659 B
Vue
38 lines
659 B
Vue
<template>
|
|
<view>
|
|
<view class="crkd guodu" :style="!show?'width: 0;right:-4vw':'width: 86.8vw'" >
|
|
|
|
</view>
|
|
</view>
|
|
</template>
|
|
|
|
<script setup lang="ts">
|
|
import { ref, onMounted, reactive, onBeforeUnmount, computed, nextTick, defineComponent } from 'vue';
|
|
const props = defineProps({
|
|
show: {
|
|
type: Boolean
|
|
},
|
|
})
|
|
|
|
</script>
|
|
|
|
<style lang="less" scoped>
|
|
.crkd{
|
|
width: 86.8vw;
|
|
height: 100vh;
|
|
position: fixed;
|
|
right: 0;
|
|
top: 0;
|
|
z-index:101;
|
|
padding:0 2vw;
|
|
background: #FFFFFF;
|
|
border-radius: 3vw 0 0 3vw;
|
|
}
|
|
.guodu {
|
|
transition: .4s;
|
|
-webkit-transform-style: preserve-3d;
|
|
-webkit-overflow-scrolling: touch;
|
|
}
|
|
|
|
</style>
|