Files
dj-app/pages/mine/imgShow.vue
王鹏 87b1e850ae init
2025-08-14 14:49:25 +08:00

54 lines
1.4 KiB
Vue
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<template>
<view>
<!-- #ifdef H5 -->
<text @click="back()" class="cuIcon-back backbut"></text>
<!-- #endif -->
<view style="text-align: center;">
<image v-if="type == 1" show-menu-by-longpress="true" style="width: 70%;margin-top: 200rpx;" mode="widthFix" src="http://imgs.emoboy.vip/appimg/gongzhonghao.png"></image>
<image v-if="type == 2" show-menu-by-longpress="true" style="width: 70%;margin-top: 200rpx;" mode="widthFix" src="http://imgs.emoboy.vip/appimg/mywxcode.jpg"></image>
<view style="font-size: 40rpx;font-weight: bold;margin-top: 40rpx;">长按识别二维码</view>
<view v-if="type == 1" style="font-size: 30rpx;color: #adadad;margin-top: 40rpx;">最新动态资源抢先看精彩永不断</view>
<view v-if="type == AbortSignal" style="font-size: 30rpx;color: #adadad;margin-top: 40rpx;">最新动态资源抢先看精彩永不断</view>
</view>
</view>
</template>
<script>
export default {
data() {
return {
type: null
}
},
onLoad(option) {
this.type = option.type
},
methods: {
back(val) {
uni.navigateBack()
},
}
}
</script>
<style>
page {
display: flex;
flex-direction: column;
box-sizing: border-box;
background-color: #fff;
min-height: 100%;
height: auto;
}
.backbut {
position: absolute;
left: 20rpx;
top: 50rpx;
font-size: 50rpx;
color: #909090;
}
</style>