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
c219b020
Commit
c219b020
authored
Dec 01, 2022
by
Xuguangxing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 增加活动规则、调整我的拼团按钮
parent
63148cf8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
43 additions
and
33 deletions
+43
-33
package-lock.json
package-lock.json
+0
-23
package.json
package.json
+1
-1
env.config.js
src/config/env.config.js
+5
-5
index.less
src/views/goodsList/index.less
+33
-4
index.vue
src/views/goodsList/index.vue
+4
-0
No files found.
package-lock.json
View file @
c219b020
...
...
@@ -4005,24 +4005,6 @@
}
}
},
"@sentry/tracing"
:
{
"version"
:
"7.8.1"
,
"resolved"
:
"http://npmprivate.quantgroups.com/@sentry%2ftracing/-/tracing-7.8.1.tgz"
,
"integrity"
:
"sha512-orNVCsMtQUKhvh7GmyJzjOhU6oT7lC7TRT7tTRlyXQVrUmfJZsthmBtyfrTC7QWJ9vXQ0mB4jab8kMT3xE4ltg=="
,
"requires"
:
{
"@sentry/hub"
:
"7.8.1"
,
"@sentry/types"
:
"7.8.1"
,
"@sentry/utils"
:
"7.8.1"
,
"tslib"
:
"^1.9.3"
},
"dependencies"
:
{
"tslib"
:
{
"version"
:
"1.14.1"
,
"resolved"
:
"http://npmprivate.quantgroups.com/tslib/-/tslib-1.14.1.tgz"
,
"integrity"
:
"sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="
}
}
},
"@sentry/types"
:
{
"version"
:
"7.8.1"
,
"resolved"
:
"http://npmprivate.quantgroups.com/@sentry%2ftypes/-/types-7.8.1.tgz"
,
...
...
@@ -14752,11 +14734,6 @@
"integrity"
:
"sha512-Hrgsx+orqoygnmhFbKaHE6c296J+HTAQXoxEF6gNupROmmGJRoyzfG3ccAveqCBrwr/2yxQ5BVd/GTl5agOwSg=="
,
"dev"
:
true
},
"raven-js"
:
{
"version"
:
"3.27.2"
,
"resolved"
:
"http://npmprivate.quantgroups.com/raven-js/-/raven-js-3.27.2.tgz"
,
"integrity"
:
"sha512-mFWQcXnhRFEQe5HeFroPaEghlnqy7F5E2J3Fsab189ondqUzcjwSVi7el7F36cr6PvQYXoZ1P2F5CSF2/azeMQ=="
},
"raw-body"
:
{
"version"
:
"2.4.0"
,
"resolved"
:
"http://npmprivate.quantgroups.com/raw-body/-/raw-body-2.4.0.tgz"
,
...
...
package.json
View file @
c219b020
...
...
@@ -70,4 +70,4 @@
"commit-msg"
:
"commitlint -e $HUSKY_GIT_PARAMS"
}
}
}
\ No newline at end of file
}
src/config/env.config.js
View file @
c219b020
...
...
@@ -7,10 +7,10 @@
const
protocol
=
window
.
location
.
protocol
;
const
qiniuHost
=
protocol
+
'
//kdspstatic.q-gp.com/
'
;
const
shenceHost
=
'
https://bn.xyqb.com/sa?project=default
'
;
// 测试地址
const
talosHost
=
'
https://talos-
test1
.liangkebang.net
'
;
const
faceHost
=
'
https://auth-
test1
.liangkebang.net
'
;
const
kdspHost
=
'
https://kdsp-api-
test1
.liangkebang.net
'
;
const
localHost
=
'
https://group-buy-
test1
.liangkebang.net
'
;
// 测试环境页面地址
const
talosHost
=
'
https://talos-
yxm2
.liangkebang.net
'
;
const
faceHost
=
'
https://auth-
yxm2
.liangkebang.net
'
;
const
kdspHost
=
'
https://kdsp-api-
yxm2
.liangkebang.net
'
;
const
localHost
=
'
https://group-buy-
yxm2
.liangkebang.net
'
;
// 测试环境页面地址
const
openLink
=
'
https://mall.q-gp.com
'
;
// const talosHost = 'http://192.168.29.89:8098'; // 唐峰
// const talosHost = 'http://192.168.25.210:8080'; // 张超
...
...
@@ -18,7 +18,7 @@ const openLink = 'https://mall.q-gp.com';
// const talosHost = 'http://192.168.25.122:8098'; // 王永杰
// const talosHost = protocol + '//192.168.28.41'; // 超人
const
shenceUrl
=
protocol
+
'
//bn.xyqb.com/sa?project=default
'
;
const
yxmGateway
=
'
https://
yxm-gateway-yxm
.liangkebang.net
'
;
const
yxmGateway
=
'
https://
gw-yxm2
.liangkebang.net
'
;
const
VCC_CHANNEL
=
''
;
const
TERMINAL
=
'
H5
'
;
const
VERSION
=
'
7.9.00
'
;
...
...
src/views/goodsList/index.less
View file @
c219b020
...
...
@@ -8,15 +8,44 @@
&-puzzle {
position: absolute;
right: 0;
top:
0
;
top:
12px
;
z-index: 1;
// border-radius: 16px 0 0 16px;
// color: #e92615;
// background-image: linear-gradient(180deg, #ffd545 0%, #ffcc79 100%);
// padding: 6px 12px 6px 16px;
padding: 24px; // 线上使用背景遮罩层
opacity: 0;
color: @white;
display: flex;
align-items: center;
justify-content: center;
width: 68px;
height: 25px;
font-size: 12px;
background: rgba(0, 0, 0, .25);
border-radius: 16px 0px 0px 16px;
box-sizing: border-box;
padding-left: 4px;
}
&-rules {
position: absolute;
right: 0;
top: 48px;
z-index: 1;
// border-radius: 16px 0 0 16px;
// color: #e92615;
// background-image: linear-gradient(180deg, #ffd545 0%, #ffcc79 100%);
// padding: 6px 12px 6px 16px;
color: @white;
display: flex;
align-items: center;
justify-content: center;
width: 68px;
height: 25px;
font-size: 12px;
background: rgba(0, 0, 0, .25);
border-radius: 16px 0px 0px 16px;
box-sizing: border-box;
padding-left: 4px;
}
&-share {
width: 44px;
...
...
src/views/goodsList/index.vue
View file @
c219b020
...
...
@@ -3,6 +3,7 @@
<div
class=
"group"
:style=
"
{ backgroundColor: goodsTemp.bgcolor }">
<!--
<cr-skeleton
v-if=
"showLoading"
class=
"loading"
/>
-->
<div
class=
"group-puzzle"
@
click=
"goToMyorder"
>
我的拼团
</div>
<div
class=
"group-rules"
@
click=
"goToRules"
>
活动规则
</div>
<!-- 配置头部动态信息 start -->
<div
class=
"group-top"
>
<!-- 动态活动背景图 -->
...
...
@@ -164,6 +165,9 @@ export default {
}
this
.
$router
.
push
(
'
/orderList/0
'
);
},
goToRules
()
{
window
.
location
.
href
=
'
https://page.q-gp.com/0yuan-gou-huo-dong-gui-ze-2/
'
;
},
async
openShareEvent
()
{
const
shareInfo
=
await
this
.
getShareData
();
EventBus
.
$emit
(
'
goods_share_info
'
,
{
...
...
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