Files
vpUni/.svn/pristine/0c/0c646e08f7f59a3ddd5fa327c5696b31d8647da9.svn-base
2026-03-09 16:39:03 +08:00

48 lines
1.1 KiB
Plaintext

<template>
<view style="margin: 20rpx ;">
<view class=""
style=" display: flex; align-items: center; justify-content: center; padding: 60rpx 20rpx; border-radius: 20rpx; background-color: #fff; ">
<image :src="path" style="width: 100%;" mode="widthFix" alt="" />
</view>
<!-- <view class=""
style=" gap: 20rpx; margin-top: 20rpx; display: flex; align-items: center; background-color: #fff; border-radius: 15rpx;padding: 20rpx; ">
<up-icon size='20' name="info-circle"></up-icon>
<view class="" style="flex: 1; font-size: 28rpx; color: #666; ">
绑定用户,获取积分
</view>
</view> -->
</view>
</template>
<script setup lang="ts">
import { onShow, onLoad } from "@dcloudio/uni-app";
import { vpUserService, Service } from '@/Service/vp/vpUserService'
import { ref } from "vue";
let path = ref()
onLoad(() => {
getData()
});
onShow(() => {
});
const getData = () => {
vpUserService.GetShareEwm().then(res => {
if (res.code == 0) {
path.value = 'https://vp.xypays.cn'+ res.data.path
} else {
Service.Msg(res.msg)
}
})
}
</script>
<style lang="scss">
page {
background-color: #f6f6f6;
}
</style>