Commit 7756980e authored by liwei's avatar liwei

修改了图片路径

parent 1ce52950
......@@ -2,7 +2,7 @@
<view class="" style="background: #F4F5F9;">
<!-- 没登录-->
<view class="home-page-container" style="min-height: 100vh;" @touchmove.stop.prevent="() => {}" v-if="nologin==true">
<image class="bgc-imga" src="../../static/images/bg-c.png" mode="aspectFill"></image>
<image class="bgc-imga" :src="baseUrl+'/user/bg-c.png'" mode="aspectFill"></image>
<u-navbar leftText=" " title=" " :bgColor="bgColor" :fixed="false" :safeAreaInsetTop="true"
:placeholder="true">
<view class="u-nav-slot" slot="left">
......@@ -14,8 +14,7 @@
</u-navbar>
<view class="noimg">
<image src="../../static/images/nologin.png" style="width: 100%;height: 100%;" mode="aspectFill">
</image>
<image :src="baseUrl+'/user/nologin.png'" style="width: 100%;height: 100%;" mode="aspectFill"/>
</view>
<view class="text"> 登录后才能查看我的哦 </view>
<view class="nobutton" @click="login"> 点此登录 </view>
......@@ -25,22 +24,25 @@
<!-- 已登录-->
<view class="" v-if="nologin == false">
<!-- 顶部 背景-->
<image class="bgc-imga" src="../../static/images/my2.png" mode="aspectFill"></image>
<image class="bgc-imga" :src="baseUrl+'/user/my2.png'" mode="aspectFill"/>
<!-- 顶部 第一部分-->
<view class="logion">
<image class="bgc-imgas" src="../../static/images/my22.png" mode="aspectFill"></image>
<image class="bgc-imgas" :src="baseUrl+'/user/my22.png'" mode="aspectFill"></image>
<view class="sss">
<view class="logo">
<image :src="info.headPortrait" style="width: 100%;height: 100%;border-radius: 50%;"
mode="aspectFill">
</image>
<view class="logola">
<image src="../../static/images/myrz.png" class="cuo" mode="aspectFill"
v-if="info.waitApprovedStatus=='EXAMINE' || info.waitApprovedStatus=='REFUSE'"></image>
<image src="../../static/images/yrz.png" class="cuo" mode="aspectFill" v-else></image>
<image :src="baseUrl+'/user/myrz.png'" class="cuo" mode="aspectFill"
v-if="info.waitApprovedStatus == 'EXAMINE' || info.waitApprovedStatus=='REFUSE'"/>
<image :src="baseUrl+'/user/yrz.png'" class="cuo" mode="aspectFill" v-else/>
<view class="shenhe">
{{info.waitApprovedStatus=='EXAMINE' ? "审核中":info.waitApprovedStatus=='PASS'?"已认证":info.waitApprovedStatus=='REFUSE'?"已拒绝":''}}
{{ info.waitApprovedStatus == 'EXAMINE' ?
"审核中": info.waitApprovedStatus == 'PASS' ?
"已认证": info.waitApprovedStatus == 'REFUSE' ?
"已拒绝": ''}}
</view>
</view>
</view>
......@@ -117,7 +119,7 @@
<!-- 动态 第三部分-->
<view class="box" @click="goCommunity" v-if="(info.userArticleViewResponse.articleImg !== null && info.userArticleViewResponse.articleImg.length) || info.userArticleViewResponse.articleContent !== null">
<view class="boxsing">
<image src="../../static/images/106.svg" style="width: 42rpx;height: 42rpx;margin-left: 42rpx;;"
<image :src="baseUrl+'/user/106.svg'" style="width: 42rpx;height: 42rpx;margin-left: 42rpx;;"
mode="aspectFill">
</image>
<view class="boxsname">
......@@ -159,7 +161,7 @@
{{item.la}}
</u-button>
</view>
<image src="../../static/right.png" class="box-bottom-right-img" mode="aspectFill"></image>
<image :src="baseUrl+'/common/right.png'" class="box-bottom-right-img" mode="aspectFill"></image>
</view>
</view>
</view>
......@@ -168,7 +170,7 @@
<!-- 授权弹窗-->
<u-popup u-popup :show="tipsShow" mode="center" round="12" :safeAreaInsetBottom="false">
<view class="popup-container">
<image class="pop-bgc" src="../../static/images/me/home-pop-bg.png"></image>
<image class="pop-bgc" :src="baseUrl+'/common/home-pop-bg.png'"></image>
<view class="div-popo">
<view class="pop-title">温馨提示</view>
<view class="tips-content">
......@@ -191,6 +193,8 @@ import {setUserProfile} from '../../api/login/index'
export default {
data() {
return {
//图片路径
baseUrl: 'http://192.168.1.80/static/images',
tipsShow:false,//授权弹窗
nologin: '',//登录标志
userInfo:{},//用户信息
......@@ -202,22 +206,22 @@ import {setUserProfile} from '../../api/login/index'
name: "金币",
num: 0,
la: "立即充值",
img: "../../static/images/mymoney.png",
img: baseUrl+"/user/mymoney.png",
}, {
name: "个人资料",
num: '',
la: "",
img: "../../static/images/myren.png",
img: baseUrl+"/user/myren.png",
}, {
name: "推荐给好友",
num: '',
la: "",
img: "../../static/images/myshare.png",
img: baseUrl+"/user/myshare.png",
}, {
name: "设置",
num: '',
la: "",
img: "../../static/images/myset.png",
img: baseUrl+'/user/myset.png',
}],
info: {
headPortrait:'http://192.168.1.80/upload/CmsBanner/20241230/18E63B570FF04DB3A8EFE277D58256C4.jpg',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment