模块缝合完成
This commit is contained in:
parent
3ce5aa3711
commit
f4d0b4365a
@ -12,7 +12,7 @@
|
||||
<view class="address-label">
|
||||
<view class="tag">{{ address.type }}</view>
|
||||
<view class="address-detail">
|
||||
{{ address.name }} {{ address.phone }} -
|
||||
{{ address.name }} {{ address.mobile }} -
|
||||
{{ `${address['province']}-${address['city']}-${address['district']}` }}
|
||||
</view>
|
||||
</view>
|
||||
|
@ -49,7 +49,7 @@
|
||||
<view class="user-info text-sm text-gray-700 mb-4">
|
||||
<view>
|
||||
<text>下单用户:</text>
|
||||
{{ orderDetail.user.nickname }} ({{ orderDetail.user.phone }})
|
||||
{{ orderDetail.user.nickname }} ({{ orderDetail.user.mobile }})
|
||||
</view>
|
||||
<view>
|
||||
<text>用户地址:</text>
|
||||
|
@ -46,7 +46,7 @@
|
||||
</view>
|
||||
<view class="wd-cell" @click="goToBindPhone">
|
||||
<text class="text-gray-800">手机号绑定</text>
|
||||
<text class="text-gray-400 ml-auto">{{ sinfo.phone }}</text>
|
||||
<text class="text-gray-400 ml-auto">{{ sinfo.mobile }}</text>
|
||||
<wd-icon name="right" size="16" class="ml-2"></wd-icon>
|
||||
</view>
|
||||
<view class="wd-cell" @click="!sinfo.isAuth ? goToRealNameAuth() : toast('你已经实名了')">
|
||||
|
@ -3,8 +3,8 @@
|
||||
|
||||
// 字体文件
|
||||
@font-face {
|
||||
font-family: OPPOSANS;
|
||||
src: url('@/scss/font/OPPOSANS-M-subfont.ttf');
|
||||
// font-family: OPPOSANS;
|
||||
// src: url('@/scss/font/OPPOSANS-M-subfont.ttf');
|
||||
}
|
||||
.font-OPPOSANS {
|
||||
font-family: OPPOSANS;
|
||||
|
@ -7,7 +7,7 @@ import { httpGet } from "@/utils/http"
|
||||
export const getUserInfo = async () => {
|
||||
try {
|
||||
const userRes = await httpGet('/user/userinfo')
|
||||
if (userRes.code == 200) {
|
||||
if (userRes.code === 200) {
|
||||
useUserStore().setUserInfo(userRes.data)
|
||||
return userRes.data
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user