完善定位功能

This commit is contained in:
2025-05-02 14:41:47 +08:00
parent 05aaed3b16
commit c7b6aacafb
268 changed files with 8649 additions and 3000 deletions

View File

@ -23,7 +23,7 @@
<view class="u-flex u-row-center">
<u-image :src="cloudPath + 'img/icon_balance.png'" width="52" height="52"></u-image>
<view class="u-m-l-60 u-text-center">
<view class="nr">0.00</view>
<view class="nr">{{userInfo.user_money || 0.00}}</view>
<view class="text-default xs">余额</view>
</view>
</view>
@ -31,7 +31,7 @@
<view class="u-flex u-row-center">
<u-image :src="cloudPath + 'img/icon_points.png'" width="52" height="52"></u-image>
<view class="u-m-l-60 u-text-center">
<view class="nr">0.00</view>
<view class="nr">{{ userInfo.user_integral || 0}}</view>
<view class="text-default xs">积分</view>
</view>
</view>
@ -39,7 +39,7 @@
<view class="u-flex u-row-center">
<u-image :src="cloudPath + 'img/icon_coupon.png'" width="52" height="52"></u-image>
<view class="u-m-l-60 u-text-center">
<view class="nr">0</view>
<view class="nr">{{ userInfo.coupon || 0}}</view>
<view class="text-default xs u-text-center"></view>
</view>
</view>
@ -72,6 +72,7 @@
</template>
<script>
import { mapGetters, mapActions } from 'vuex'
import { getConfig } from '@/api/app'
import { getMenu } from '@/api/store'
import { setTabbar } from '@/utils/tools'
@ -120,6 +121,12 @@
url: '/pages/signin/signin'
})
}
},
computed: {
...mapGetters(['cartNum', 'userInfo', 'inviteCode', 'appConfig', 'cityInfo']),
statusBar() {
return uni.getSystemInfoSync().statusBarHeight + 10
}
}
}
</script>