12345678910111213141516171819202122232425262728293031323334353637383940414243444546 |
- <template>
- <view class="mine-card">
- <mine-card :userInfo="userInfo"></mine-card>
- <view class="tips">
- 商城名片(方便买家在商城联系您)
- </view>
- </view>
- </template>
- <script>
- import MineCard from './components/mine-card.vue'
- export default {
- components: {
- MineCard,
- },
- data() {
- return {
- userInfo: {}
- }
- },
- mounted() {
- this.userInfo = uni.getStorageSync('userInfo')
- this.getUserInfo()
- },
- methods: {
- async getUserInfo() {
- const { data } = await this.SellerService.GetSellerHome({ userId: this.userInfo.userId })
- this.userInfo = data
- },
- }
- }
- </script>
- <style lang="scss" scoped>
- .mine-card {
- width: 100vw;
- height: 100vh;
- padding: 48rpx 24rpx;
- box-sizing: border-box;
- .tips {
- color: #999999;
- font-size: 24rpx;
- margin-top: 24rpx;
- }
- }
- </style>
|