| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <template>
- <view class="s_container" v-show='bShowWebview'>
- <view class="shut_down" @click="onClickShutWebview">退出</view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- bShowWebview:false,
- }
- },
- methods: {
- onClickShutWebview(){
- this.bShowWebview=false;
- this.$emit('onHideWebview');
- },
- onClickShow(){
- this.bShowWebview=true;
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .s_container {
- position: fixed;
- width: 100%;
- height: 100%;
- // z-index: 3;
- }
- .shut_down{
- margin-top: 2%;
- margin-left: 92%;
- width: px2vw(78);
- height: px2vw(58);
- background: #ffffff;
- border-radius: px2vw(8);
-
- display: flex;
- text-align: center;
- align-items: center;
- justify-content: center;
- }
- </style>
|