Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
cust-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
李伟
cust-app
Commits
9a7fe5bf
Commit
9a7fe5bf
authored
Jan 15, 2025
by
liwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改了静态图片路径
parent
aa9dfc91
Changes
29
Hide whitespace changes
Inline
Side-by-side
Showing
29 changed files
with
36 additions
and
35 deletions
+36
-35
login.vue
components/login/login.vue
+1
-1
config.js
config.js
+4
-1
main.js
main.js
+2
-3
Item.vue
pages/components/article/Item.vue
+1
-1
List.vue
pages/components/article/List.vue
+1
-1
activity.vue
pages/tab/activity.vue
+1
-1
article.vue
pages/tab/article.vue
+1
-1
index.vue
pages/tab/index.vue
+1
-1
my.vue
pages/tab/my.vue
+5
-5
rank.vue
pages/tab/rank.vue
+1
-1
index.vue
pages2/components/elm/index.vue
+1
-1
activityDetail.vue
pagesActivity/activityDetail.vue
+1
-1
articleDetail.vue
pagesArticle/articleDetail.vue
+1
-1
articleItem.vue
pagesArticle/components/articleItem.vue
+1
-1
Item.vue
pagesUser/component/Item.vue
+1
-1
userArticleList.vue
pagesUser/userArticleList.vue
+1
-1
userInfo.vue
pagesUser/userInfo.vue
+1
-1
userList.vue
pagesUser/userList.vue
+1
-1
index.vue
pageslogin/index.vue
+1
-1
index.vue
pagesme/components/elm/index.vue
+1
-1
doubleauth.vue
pagesme/me/doubleauth.vue
+1
-1
identityauthentication.vue
pagesme/me/identityauthentication.vue
+1
-1
likeList.vue
pagesme/me/likeList.vue
+1
-1
updateInformation.vue
pagesme/me/updateInformation.vue
+1
-1
aboutme.vue
pagesme/set/aboutme.vue
+1
-1
contact.vue
pagesme/set/contact.vue
+1
-1
set.vue
pagesme/set/set.vue
+1
-1
preference.vue
pagespreference/preference/preference.vue
+1
-1
index.js
store/index.js
+0
-1
No files found.
components/login/login.vue
View file @
9a7fe5bf
...
@@ -42,7 +42,7 @@
...
@@ -42,7 +42,7 @@
data
()
{
data
()
{
return
{
return
{
//图片路径
//图片路径
baseUrl
:
this
.
$
store
.
state
.
imgUrl
,
baseUrl
:
this
.
$
IMG_URL
,
};
};
},
},
methods
:
{
methods
:
{
...
...
config.js
View file @
9a7fe5bf
// 应用全局配置
// 应用全局配置
module
.
exports
=
{
module
.
exports
=
{
baseUrl
:
'http://localhost:8092'
// baseUrl: 'http://106.3.97.198:20162'
baseUrl
:
'http://192.168.1.7:8092'
,
//接口地址
imgUrl
:
'http://192.168.1.7/static/images'
//图片URL
}
}
// module.exports = {
// module.exports = {
// devServer: {
// devServer: {
// proxy: {
// proxy: {
...
...
main.js
View file @
9a7fe5bf
import
App
from
'./App'
import
App
from
'./App'
import
config
from
'@/config'
import
{
import
{
request
,
request
,
BASE_URL
,
}
from
'util/api.js'
;
}
from
'util/api.js'
;
// 导入并挂载全局的分享方法
// 导入并挂载全局的分享方法
import
share
from
'@/common/share.js'
import
share
from
'@/common/share.js'
...
@@ -15,12 +15,11 @@ App.mpType = 'app'
...
@@ -15,12 +15,11 @@ App.mpType = 'app'
Vue
.
use
(
uView
)
Vue
.
use
(
uView
)
Vue
.
prototype
.
$myRequest
=
request
;
// 接口请求
Vue
.
prototype
.
$myRequest
=
request
;
// 接口请求
Vue
.
prototype
.
$
BASE_URL
=
BASE_URL
;
//正式接口
Vue
.
prototype
.
$
IMG_URL
=
config
.
imgUrl
;
//图片地址
Vue
.
prototype
.
$store
=
store
;
//正式接口
Vue
.
prototype
.
$store
=
store
;
//正式接口
Vue
.
mixin
(
share
)
Vue
.
mixin
(
share
)
const
app
=
new
Vue
({
const
app
=
new
Vue
({
store
,
...
App
...
App
})
})
app
.
$mount
()
app
.
$mount
()
pages/components/article/Item.vue
View file @
9a7fe5bf
...
@@ -148,7 +148,7 @@
...
@@ -148,7 +148,7 @@
//登录弹窗
//登录弹窗
isLoginPop
:
false
,
isLoginPop
:
false
,
//图片路径
//图片路径
baseUrl
:
this
.
$
store
.
state
.
imgUrl
,
baseUrl
:
this
.
$
IMG_URL
,
imgs
:
[],
imgs
:
[],
imgLayout1
:
[
450
,
450
],
imgLayout1
:
[
450
,
450
],
imgLayout2
:
[
220
,
220
],
imgLayout2
:
[
220
,
220
],
...
...
pages/components/article/List.vue
View file @
9a7fe5bf
...
@@ -57,7 +57,7 @@
...
@@ -57,7 +57,7 @@
//话题列表
//话题列表
topicList
:[],
topicList
:[],
//图片路径
//图片路径
baseUrl
:
this
.
$
store
.
state
.
imgUrl
,
baseUrl
:
this
.
$
IMG_URL
,
// v-model绑定的这个变量不要在分页请求结束中自己赋值!!!
// v-model绑定的这个变量不要在分页请求结束中自己赋值!!!
dataList
:
[],
dataList
:
[],
// 当前组件是否已经加载过了
// 当前组件是否已经加载过了
...
...
pages/tab/activity.vue
View file @
9a7fe5bf
...
@@ -50,7 +50,7 @@ export default {
...
@@ -50,7 +50,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
//图片路径
//图片路径
baseUrl
:
this
.
$
store
.
state
.
imgUrl
,
baseUrl
:
this
.
$
IMG_URL
,
//分页查询参数
//分页查询参数
queryParam
:{
queryParam
:{
page
:
1
,
page
:
1
,
...
...
pages/tab/article.vue
View file @
9a7fe5bf
...
@@ -56,7 +56,7 @@
...
@@ -56,7 +56,7 @@
data
()
{
data
()
{
return
{
return
{
//图片路径
//图片路径
baseUrl
:
this
.
$
store
.
state
.
imgUrl
,
baseUrl
:
this
.
$
IMG_URL
,
//tab标签
//tab标签
list
:
[
list
:
[
{
{
...
...
pages/tab/index.vue
View file @
9a7fe5bf
...
@@ -86,7 +86,7 @@
...
@@ -86,7 +86,7 @@
data
()
{
data
()
{
return
{
return
{
//图片路径
//图片路径
baseUrl
:
this
.
$
store
.
state
.
imgUrl
,
baseUrl
:
this
.
$
IMG_URL
,
// 商家列表
// 商家列表
notice
:{},
notice
:{},
//banner列表
//banner列表
...
...
pages/tab/my.vue
View file @
9a7fe5bf
...
@@ -189,7 +189,7 @@ import {setUserProfile} from '../../api/login/index'
...
@@ -189,7 +189,7 @@ import {setUserProfile} from '../../api/login/index'
data
()
{
data
()
{
return
{
return
{
//图片路径
//图片路径
baseUrl
:
this
.
$
store
.
state
.
imgUrl
,
baseUrl
:
this
.
$
IMG_URL
,
tipsShow
:
false
,
//授权弹窗
tipsShow
:
false
,
//授权弹窗
nologin
:
''
,
//登录标志
nologin
:
''
,
//登录标志
userInfo
:{},
//用户信息
userInfo
:{},
//用户信息
...
@@ -199,22 +199,22 @@ import {setUserProfile} from '../../api/login/index'
...
@@ -199,22 +199,22 @@ import {setUserProfile} from '../../api/login/index'
name
:
"金币"
,
name
:
"金币"
,
num
:
0
,
num
:
0
,
la
:
"立即充值"
,
la
:
"立即充值"
,
img
:
this
.
$
store
.
state
.
imgUrl
+
"/user/mymoney.png"
,
img
:
this
.
$
IMG_URL
+
"/user/mymoney.png"
,
},
{
},
{
name
:
"个人资料"
,
name
:
"个人资料"
,
num
:
''
,
num
:
''
,
la
:
""
,
la
:
""
,
img
:
this
.
$
store
.
state
.
imgUrl
+
"/user/myren.png"
,
img
:
this
.
$
IMG_URL
+
"/user/myren.png"
,
},
{
},
{
name
:
"推荐给好友"
,
name
:
"推荐给好友"
,
num
:
''
,
num
:
''
,
la
:
""
,
la
:
""
,
img
:
this
.
$
store
.
state
.
imgUrl
+
"/user/myshare.png"
,
img
:
this
.
$
IMG_URL
+
"/user/myshare.png"
,
},
{
},
{
name
:
"设置"
,
name
:
"设置"
,
num
:
''
,
num
:
''
,
la
:
""
,
la
:
""
,
img
:
this
.
$
store
.
state
.
imgUrl
+
'/user/myset.png'
,
img
:
this
.
$
IMG_URL
+
'/user/myset.png'
,
}],
}],
info
:
{
info
:
{
headPortrait
:
'http://192.168.1.7/upload/CmsBanner/20241230/18E63B570FF04DB3A8EFE277D58256C4.jpg'
,
headPortrait
:
'http://192.168.1.7/upload/CmsBanner/20241230/18E63B570FF04DB3A8EFE277D58256C4.jpg'
,
...
...
pages/tab/rank.vue
View file @
9a7fe5bf
...
@@ -121,7 +121,7 @@ export default {
...
@@ -121,7 +121,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
//图片路径
//图片路径
baseUrl
:
this
.
$
store
.
state
.
imgUrl
,
baseUrl
:
this
.
$
IMG_URL
,
subList
:
[
subList
:
[
{
{
name
:
'女生榜'
name
:
'女生榜'
...
...
pages2/components/elm/index.vue
View file @
9a7fe5bf
...
@@ -23,7 +23,7 @@ export default {
...
@@ -23,7 +23,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
//图片路径
//图片路径
baseUrl
:
this
.
$
store
.
state
.
imgUrl
,
baseUrl
:
this
.
$
IMG_URL
,
show
:
false
,
show
:
false
,
info
:
this
.
dataInfo
info
:
this
.
dataInfo
};
};
...
...
pagesActivity/activityDetail.vue
View file @
9a7fe5bf
...
@@ -55,7 +55,7 @@
...
@@ -55,7 +55,7 @@
data
()
{
data
()
{
return
{
return
{
//图片路径
//图片路径
baseUrl
:
this
.
$
store
.
state
.
imgUrl
,
baseUrl
:
this
.
$
IMG_URL
,
show
:
false
,
//报名弹窗
show
:
false
,
//报名弹窗
activityDetail
:
{},
//活动详情
activityDetail
:
{},
//活动详情
activityId
:
''
,
// 活动id
activityId
:
''
,
// 活动id
...
...
pagesArticle/articleDetail.vue
View file @
9a7fe5bf
...
@@ -202,7 +202,7 @@ export default{
...
@@ -202,7 +202,7 @@ export default{
data
()
{
data
()
{
return
{
return
{
//图片路径
//图片路径
baseUrl
:
this
.
$
store
.
state
.
imgUrl
,
baseUrl
:
this
.
$
IMG_URL
,
item
:{
item
:{
createTime
:
'2024-12-28 15:02:01'
,
createTime
:
'2024-12-28 15:02:01'
,
headPortrait
:
'http://192.168.1.80/upload/CmsBanner/20241230/18E63B570FF04DB3A8EFE277D58256C4.jpg'
,
//头像
headPortrait
:
'http://192.168.1.80/upload/CmsBanner/20241230/18E63B570FF04DB3A8EFE277D58256C4.jpg'
,
//头像
...
...
pagesArticle/components/articleItem.vue
View file @
9a7fe5bf
...
@@ -83,7 +83,7 @@
...
@@ -83,7 +83,7 @@
data
()
{
data
()
{
return
{
return
{
//图片路径
//图片路径
baseUrl
:
this
.
$
store
.
state
.
imgUrl
,
baseUrl
:
this
.
$
IMG_URL
,
tagStyle
:
{
tagStyle
:
{
text
:
'line-height:1em'
text
:
'line-height:1em'
},
},
...
...
pagesUser/component/Item.vue
View file @
9a7fe5bf
...
@@ -145,7 +145,7 @@
...
@@ -145,7 +145,7 @@
//登录弹窗
//登录弹窗
isLoginPop
:
false
,
isLoginPop
:
false
,
//图片路径
//图片路径
baseUrl
:
this
.
$
store
.
state
.
imgUrl
,
baseUrl
:
this
.
$
IMG_URL
,
imgs
:
[],
imgs
:
[],
imgLayout1
:
[
450
,
450
],
imgLayout1
:
[
450
,
450
],
imgLayout2
:
[
220
,
220
],
imgLayout2
:
[
220
,
220
],
...
...
pagesUser/userArticleList.vue
View file @
9a7fe5bf
...
@@ -47,7 +47,7 @@ export default {
...
@@ -47,7 +47,7 @@ export default {
//话题列表
//话题列表
topicList
:[],
topicList
:[],
//图片路径
//图片路径
baseUrl
:
this
.
$
store
.
state
.
imgUrl
,
baseUrl
:
this
.
$
IMG_URL
,
// v-model绑定的这个变量不要在分页请求结束中自己赋值!!!
// v-model绑定的这个变量不要在分页请求结束中自己赋值!!!
dataList
:
[],
dataList
:
[],
menuButtonInfo
:
''
,
menuButtonInfo
:
''
,
...
...
pagesUser/userInfo.vue
View file @
9a7fe5bf
...
@@ -232,7 +232,7 @@
...
@@ -232,7 +232,7 @@
data
()
{
data
()
{
return
{
return
{
//图片路径
//图片路径
baseUrl
:
this
.
$
store
.
state
.
imgUrl
,
baseUrl
:
this
.
$
IMG_URL
,
//用户头像
//用户头像
imgList
:[],
imgList
:[],
//用户信息
//用户信息
...
...
pagesUser/userList.vue
View file @
9a7fe5bf
...
@@ -40,7 +40,7 @@ export default {
...
@@ -40,7 +40,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
//图片路径
//图片路径
baseUrl
:
this
.
$
store
.
state
.
imgUrl
,
baseUrl
:
this
.
$
IMG_URL
,
//分页查询参数
//分页查询参数
queryParam
:{
queryParam
:{
page
:
1
,
page
:
1
,
...
...
pageslogin/index.vue
View file @
9a7fe5bf
...
@@ -18,7 +18,7 @@
...
@@ -18,7 +18,7 @@
export
default
{
export
default
{
data
()
{
data
()
{
return
{
return
{
baseUrl
:
this
.
$
store
.
state
.
imgUrl
,
baseUrl
:
this
.
$
IMG_URL
,
//用户初始化登录 (可能用户类型传参错误)
//用户初始化登录 (可能用户类型传参错误)
initLoginError
:
false
,
initLoginError
:
false
,
tipMsg
:
''
,
tipMsg
:
''
,
...
...
pagesme/components/elm/index.vue
View file @
9a7fe5bf
...
@@ -23,7 +23,7 @@ export default {
...
@@ -23,7 +23,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
//图片路径
//图片路径
baseUrl
:
this
.
$
store
.
state
.
imgUrl
,
baseUrl
:
this
.
$
IMG_URL
,
show
:
false
,
show
:
false
,
info
:
this
.
dataInfo
info
:
this
.
dataInfo
};
};
...
...
pagesme/me/doubleauth.vue
View file @
9a7fe5bf
...
@@ -38,7 +38,7 @@
...
@@ -38,7 +38,7 @@
data
()
{
data
()
{
return
{
return
{
//图片路径
//图片路径
baseUrl
:
this
.
$
store
.
state
.
imgUrl
,
baseUrl
:
this
.
$
IMG_URL
,
userInfo
:
{},
userInfo
:
{},
tipMsg
:
''
,
tipMsg
:
''
,
isConfirm
:
false
isConfirm
:
false
...
...
pagesme/me/identityauthentication.vue
View file @
9a7fe5bf
...
@@ -54,7 +54,7 @@
...
@@ -54,7 +54,7 @@
return
{
return
{
form
:{},
form
:{},
//图片路径
//图片路径
baseUrl
:
this
.
$
store
.
state
.
imgUrl
,
baseUrl
:
this
.
$
IMG_URL
,
updatezImg
:
""
,
updatezImg
:
""
,
updatefImg
:
""
,
updatefImg
:
""
,
newImageSrc
:
""
,
newImageSrc
:
""
,
...
...
pagesme/me/likeList.vue
View file @
9a7fe5bf
...
@@ -37,7 +37,7 @@ export default {
...
@@ -37,7 +37,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
//图片路径
//图片路径
baseUrl
:
this
.
$
store
.
state
.
imgUrl
,
baseUrl
:
this
.
$
IMG_URL
,
//用户列表
//用户列表
userList
:[
userList
:[
{
{
...
...
pagesme/me/updateInformation.vue
View file @
9a7fe5bf
...
@@ -259,7 +259,7 @@ import {updateUser, userDetail} from "../../api/user";
...
@@ -259,7 +259,7 @@ import {updateUser, userDetail} from "../../api/user";
data
()
{
data
()
{
return
{
return
{
//图片路径
//图片路径
baseUrl
:
this
.
$
store
.
state
.
imgUrl
,
baseUrl
:
this
.
$
IMG_URL
,
//用户资料
//用户资料
userInfo
:
{},
userInfo
:
{},
uploadImgJSON
:{
uploadImgJSON
:{
...
...
pagesme/set/aboutme.vue
View file @
9a7fe5bf
...
@@ -21,7 +21,7 @@
...
@@ -21,7 +21,7 @@
data
()
{
data
()
{
return
{
return
{
//图片路径
//图片路径
baseUrl
:
this
.
$
store
.
state
.
imgUrl
,
baseUrl
:
this
.
$
IMG_URL
,
}
}
},
},
methods
:
{
methods
:
{
...
...
pagesme/set/contact.vue
View file @
9a7fe5bf
...
@@ -13,7 +13,7 @@ export default {
...
@@ -13,7 +13,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
//图片路径
//图片路径
baseUrl
:
this
.
$
store
.
state
.
imgUrl
,
baseUrl
:
this
.
$
IMG_URL
,
};
};
},
},
onLoad
()
{
onLoad
()
{
...
...
pagesme/set/set.vue
View file @
9a7fe5bf
...
@@ -24,7 +24,7 @@
...
@@ -24,7 +24,7 @@
data
()
{
data
()
{
return
{
return
{
//图片路径
//图片路径
baseUrl
:
this
.
$
store
.
state
.
imgUrl
,
baseUrl
:
this
.
$
IMG_URL
,
list
:
[{
list
:
[{
name
:
"推荐设置"
,
name
:
"推荐设置"
,
url
:
"/pagespreference/preference/preference"
url
:
"/pagespreference/preference/preference"
...
...
pagespreference/preference/preference.vue
View file @
9a7fe5bf
...
@@ -53,7 +53,7 @@ export default {
...
@@ -53,7 +53,7 @@ export default {
data
()
{
data
()
{
return
{
return
{
//图片路径
//图片路径
baseUrl
:
this
.
$
store
.
state
.
imgUrl
,
baseUrl
:
this
.
$
IMG_URL
,
falg
:
false
,
falg
:
false
,
minValue
:
1
,
minValue
:
1
,
maxValue
:
100
,
maxValue
:
100
,
...
...
store/index.js
View file @
9a7fe5bf
...
@@ -6,7 +6,6 @@ Vue.use(Vuex)
...
@@ -6,7 +6,6 @@ Vue.use(Vuex)
const
store
=
new
Vuex
.
Store
({
const
store
=
new
Vuex
.
Store
({
state
:
{
state
:
{
imgUrl
:
'http://192.168.1.7/static/images'
//公共的变量,这里的变量不能随便修改,只能通过触发mutations的方法才能改变
//公共的变量,这里的变量不能随便修改,只能通过触发mutations的方法才能改变
},
},
mutations
:
{
mutations
:
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment