12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667 |
- <template>
- <view>
- <view class="open_App">
- <view style="display: flex; align-items: center;">
- <img src="@/static/logo.png" />
- <text style="font-weight: 600;">OhPlay猫王妙播Pro</text>
- </view>
- <uni-button type="submit" @click="getOpen()">打开App</uni-button>
- </view>
- <view style="height: 88rpx" v-if="isShow" />
- </view>
- </template>
- <script>
- export default {
- props: {
- // 是否覆盖
- isShow: {
- type: Boolean,
- default: true
- }
- },
- methods: {
- // 打开app
- getOpen() {
- this.$emit('open')
- }
- }
- }
- </script>
- <style lang="scss" scoped>
- .open_App {
- position: fixed;
- top: 0;
- left: 0;
- width: 100%;
- height: 120rpx;
- background: rgba(255, 255, 255, 0.15);
- backdrop-filter: blur(16px);
- padding: 0 32rpx;
- display: flex;
- justify-content: space-between;
- align-items: center;
- z-index: 99;
- img {
- width: 64rpx;
- height: 64rpx;
- border-radius: 10rpx;
- }
- text {
- font-size: 32rpx;
- margin-left: 20rpx;
- }
- uni-button {
- width: 160rpx;
- height: 56rpx;
- line-height: 56rpx;
- font-size: 26rpx;
- border-radius: 50rpx;
- margin: 0;
- }
- }
- </style>
|