| 1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859 |
- <template>
- <view class="s_container df aife jcc" v-if='bShowWebview'>
- <view class="shut_down df aic jcc" @click="onClickShutWebview">开始测验</view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- bShowWebview: false,
- }
- },
- methods: {
- onClickShutWebview() {
- this.bShowWebview = false;
- this.$emit('onHideWebview');
- this.$emit("onClick_KSKC");
- },
- onClickShow() {
- this.bShowWebview = true;
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .s_container {
- position: fixed;
- width: 100%;
- height: 100%;
- // width: px2vw(78);
- // height: px2vw(58);
- z-index: 1;
- }
- .shut_down {
- // margin-top: 2%;
- // margin-right: 2%;
- // width: px2vw(78);
- // height: px2vw(58);
- // background: #ffffff;
- // border-radius: px2vw(8);
- // display: flex;
- // text-align: center;
- // align-items: center;
- // justify-content: center;
- width: px2vw(200);
- height: px2vw(58);
- background: #EA252C;
- border-radius: px2vw(8);
- font-size: px2vw(24);
- color: #FFFFFF;
- line-height: px2vw(31);
- margin-bottom: px2vw(63);
- }
- </style>
|