模块缝合完成

This commit is contained in:
aiShuiJiaoDeXioShou 2024-09-19 01:44:47 +08:00
parent 3ce5aa3711
commit f4d0b4365a
5 changed files with 6 additions and 6 deletions

View File

@ -12,7 +12,7 @@
<view class="address-label"> <view class="address-label">
<view class="tag">{{ address.type }}</view> <view class="tag">{{ address.type }}</view>
<view class="address-detail"> <view class="address-detail">
{{ address.name }} {{ address.phone }} - {{ address.name }} {{ address.mobile }} -
{{ `${address['province']}-${address['city']}-${address['district']}` }} {{ `${address['province']}-${address['city']}-${address['district']}` }}
</view> </view>
</view> </view>

View File

@ -49,7 +49,7 @@
<view class="user-info text-sm text-gray-700 mb-4"> <view class="user-info text-sm text-gray-700 mb-4">
<view> <view>
<text>下单用户:</text> <text>下单用户:</text>
{{ orderDetail.user.nickname }} ({{ orderDetail.user.phone }}) {{ orderDetail.user.nickname }} ({{ orderDetail.user.mobile }})
</view> </view>
<view> <view>
<text>用户地址:</text> <text>用户地址:</text>

View File

@ -46,7 +46,7 @@
</view> </view>
<view class="wd-cell" @click="goToBindPhone"> <view class="wd-cell" @click="goToBindPhone">
<text class="text-gray-800">手机号绑定</text> <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> <wd-icon name="right" size="16" class="ml-2"></wd-icon>
</view> </view>
<view class="wd-cell" @click="!sinfo.isAuth ? goToRealNameAuth() : toast('你已经实名了')"> <view class="wd-cell" @click="!sinfo.isAuth ? goToRealNameAuth() : toast('你已经实名了')">

View File

@ -3,8 +3,8 @@
// 字体文件 // 字体文件
@font-face { @font-face {
font-family: OPPOSANS; // font-family: OPPOSANS;
src: url('@/scss/font/OPPOSANS-M-subfont.ttf'); // src: url('@/scss/font/OPPOSANS-M-subfont.ttf');
} }
.font-OPPOSANS { .font-OPPOSANS {
font-family: OPPOSANS; font-family: OPPOSANS;

View File

@ -7,7 +7,7 @@ import { httpGet } from "@/utils/http"
export const getUserInfo = async () => { export const getUserInfo = async () => {
try { try {
const userRes = await httpGet('/user/userinfo') const userRes = await httpGet('/user/userinfo')
if (userRes.code == 200) { if (userRes.code === 200) {
useUserStore().setUserInfo(userRes.data) useUserStore().setUserInfo(userRes.data)
return userRes.data return userRes.data
} }