第一次上传
This commit is contained in:
Binary file not shown.
|
After Width: | Height: | Size: 547 B |
@@ -0,0 +1,48 @@
|
||||
<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>
|
||||
Reference in New Issue
Block a user