Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
G
group-buy-ui
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
ui
group-buy-ui
Commits
c0a62dba
Commit
c0a62dba
authored
Sep 26, 2021
by
beisir
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat:修改baseurl
parent
8c84c6af
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
4 additions
and
4 deletions
+4
-4
groupShare.vue
src/components/groupShare.vue
+1
-1
env.config.js
src/config/env.config.js
+1
-1
index.js
src/router/index.js
+1
-1
utils.service.js
src/service/utils.service.js
+0
-1
index.vue
src/views/goodsList/index.vue
+1
-0
No files found.
src/components/groupShare.vue
View file @
c0a62dba
...
@@ -191,7 +191,7 @@ export default {
...
@@ -191,7 +191,7 @@ export default {
const
{
posterUrl
}
=
this
.
shareInfo
;
const
{
posterUrl
}
=
this
.
shareInfo
;
console
.
log
(
posterUrl
);
console
.
log
(
posterUrl
);
this
.
nativeBridge
.
openNewUrl
({
this
.
nativeBridge
.
openNewUrl
({
newUrl
:
`/pages/groupbuy/goodshare?url=
${
JSON
.
stringify
(
posterUrl
)}
`
newUrl
:
`/pages/groupbuy/goodshare?url=
${
encodeURIComponent
(
JSON
.
stringify
(
posterUrl
)
)}
`
});
});
},
},
shareDialogConfirm
()
{
shareDialogConfirm
()
{
...
...
src/config/env.config.js
View file @
c0a62dba
...
@@ -10,7 +10,7 @@ const shenceHost = 'https://bn.xyqb.com/sa?project=default'; // 测试地址
...
@@ -10,7 +10,7 @@ const shenceHost = 'https://bn.xyqb.com/sa?project=default'; // 测试地址
const
talosHost
=
'
https://talos-test1.liangkebang.net
'
;
const
talosHost
=
'
https://talos-test1.liangkebang.net
'
;
const
faceHost
=
'
https://auth-test1.liangkebang.net
'
;
const
faceHost
=
'
https://auth-test1.liangkebang.net
'
;
const
kdspHost
=
'
https://kdsp-api-test1.liangkebang.net
'
;
const
kdspHost
=
'
https://kdsp-api-test1.liangkebang.net
'
;
const
localHost
=
'
https://group-buy-test1.liangkebang.net
'
;
// 测试环境页面地址
const
localHost
=
'
https://group-buy-test1.liangkebang.net
/group-buying
'
;
// 测试环境页面地址
// const talosHost = 'http://192.168.29.89:8098'; // 唐峰
// const talosHost = 'http://192.168.29.89:8098'; // 唐峰
// const talosHost = 'http://192.168.25.210:8080'; // 张超
// const talosHost = 'http://192.168.25.210:8080'; // 张超
// const talosHost = 'http://192.168.28.83:80'; // 董彪
// const talosHost = 'http://192.168.28.83:80'; // 董彪
...
...
src/router/index.js
View file @
c0a62dba
...
@@ -28,7 +28,7 @@ const scrollBehavior = (to, from, savedPosition) => {
...
@@ -28,7 +28,7 @@ const scrollBehavior = (to, from, savedPosition) => {
const
router
=
new
VueRouter
({
const
router
=
new
VueRouter
({
mode
:
'
history
'
,
mode
:
'
history
'
,
base
:
process
.
env
.
BASE_URL
,
base
:
'
/group-buying
'
,
routes
,
routes
,
scrollBehavior
scrollBehavior
});
});
...
...
src/service/utils.service.js
View file @
c0a62dba
...
@@ -376,6 +376,5 @@ export function paramsParentheses(pointer) {
...
@@ -376,6 +376,5 @@ export function paramsParentheses(pointer) {
if
(
tempString
.
length
)
{
if
(
tempString
.
length
)
{
tempString
=
`
${
config
.
localHost
}${
path
}
!`
+
tempString
.
slice
(
1
);
tempString
=
`
${
config
.
localHost
}${
path
}
!`
+
tempString
.
slice
(
1
);
}
}
console
.
log
(
tempString
);
return
tempString
;
return
tempString
;
}
}
src/views/goodsList/index.vue
View file @
c0a62dba
...
@@ -212,6 +212,7 @@ export default {
...
@@ -212,6 +212,7 @@ export default {
});
});
},
},
setTitleColor
(
bgcolor
=
'
#fff
'
)
{
setTitleColor
(
bgcolor
=
'
#fff
'
)
{
// alert('not color');
setAppTitleColor
(
bgcolor
);
setAppTitleColor
(
bgcolor
);
},
},
handleBtnClick
(
item
)
{
handleBtnClick
(
item
)
{
...
...
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