You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

74 lines
1.5 KiB
Vue

<template>
<view class="tabbar-page page-box" >
<view style="position: relative;display: flex;align-items: center;height: 100vh;">
<view style="display: flex;flex-direction: column;align-items: center;width: 100%;">
<view>
<image style="width: 200rpx;height: 200rpx;border-radius: 20rpx;" :src="storeDetail.logo_url"></image>
</view>
<view style="margin-top: 20rpx;">
{{ storeDetail.name }}
</view>
</view>
</view>
</view>
</template>
<script>
import theTabBar from "@/components/the/the-tabbar";
import logins from '@/components/login/logins.vue'
export default {
mixins: [],
components: {
theTabBar,
logins
},
data() {
return {
card: null,
vip_user: null,
from: {
sex: `MALE`
},
show_birthday: false
}
},
onLoad(opt) {
this.getData()
},
computed: {
},
async onPullDownRefresh() {},
//发送给朋友
onShareAppMessage(res) {},
onReachBottom() {},
onPullDownRefresh() {},
methods: {
async getData() {
try {
uni.showLoading({
title: '加载中'
})
const res = await this.$api.common.getAliCard();
uni.hideLoading()
this.card = res.data.card
if (res.data.card && res.data.card.create_user_link) {
location.href = res.data.card.create_user_link
}
} catch (e) {
// throw new Error(e);
}
}
}
}
</script>
<style lang="scss">
// #ifndef H5
.content {
padding-top: calc(44px + var(--status-bar-height));
}
// #endif
</style>