Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
O
op-web-service
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
bp
op-web-service
Commits
86cc8d17
Commit
86cc8d17
authored
Aug 27, 2021
by
liwenhong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'lihui/distributionRoute'
parents
099c2f43
9a865dc9
Changes
6
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
210 additions
and
142 deletions
+210
-142
config.js
server/config.js
+2
-2
index.vue
src/pages/Activity/ActivityDetail/index.vue
+17
-14
myMap.vue
src/pages/Activity/releaseProduc/components/myMap.vue
+35
-26
spellOrderSet.vue
...pages/Activity/releaseProduc/components/spellOrderSet.vue
+9
-8
index.vue
src/pages/Activity/releaseProduc/index.vue
+1
-1
index.vue
src/pages/Groupmeal/newOrderManagement/index.vue
+146
-91
No files found.
server/config.js
View file @
86cc8d17
...
...
@@ -10,8 +10,8 @@ const PANDORA_URI = {
};
const
API_INTERNAL_URI
=
{
developmen
t
:
"http://bp-dev.ini.yidian-inc.com"
,
tes
t
:
"http://bp-test.ini.yidian-inc.com"
,
tes
t
:
"http://bp-dev.ini.yidian-inc.com"
,
developmen
t
:
"http://bp-test.ini.yidian-inc.com"
,
production
:
"http://bp.int.yidian-inc.com"
};
...
...
src/pages/Activity/ActivityDetail/index.vue
View file @
86cc8d17
...
...
@@ -50,8 +50,8 @@
</p>
<p
class=
"endTime"
>
{{
showTimer
}}
</p>
</div>
<
p
class=
"title"
>
拼单商品
</p
>
<div
class=
"images-wrapper"
>
<
!--
<p
class=
"title"
>
拼单商品
</p>
--
>
<
!--
<
div
class=
"images-wrapper"
>
<div
class=
"image-block"
v-for=
"picItem in goodsList"
...
...
@@ -65,7 +65,7 @@
></el-image>
<span
class=
"goodsPrice"
>
{{
`¥${picItem.price
}
`
}}
<
/span
>
<
/div
>
<
/div
>
<
/div>
--
>
<
/el-card
>
<!--
商品描述
-->
<
el
-
card
class
=
"activityIntroduce box-card"
>
...
...
@@ -100,8 +100,11 @@
<
span
class
=
"originPrice"
>
{{
`¥${goodsItem.original_price
}
`
}}
<
/span
>
<
span
class
=
"sold"
v
-
if
=
"goodsItem.inventory_rest==0"
>
抢光了
<
/span
>
<
span
class
=
"sold"
v
-
else
>
已售
{{
goodsItem
.
all_have_buy_goods_count
}}
<
/spa
n
<
span
class
=
"sold"
v
-
if
=
"goodsItem.inventory_rest == 0"
>
抢光了
<
/spa
n
>
<
span
class
=
"sold"
v
-
else
>
已售
{{
goodsItem
.
all_have_buy_goods_count
}}
<
/spa
n
>
<
/p
>
<
/div
>
...
...
@@ -135,7 +138,7 @@ export default {
marketingInfo
:
{
}
,
endTime
:
""
,
showTimer
:
""
,
detailInfo
:
{
}
,
detailInfo
:
{
}
}
;
}
,
watch
:
{
}
,
...
...
@@ -147,11 +150,11 @@ export default {
let
dataArr
=
await
Promise
.
all
([
ActivityService
.
checkActivityDetail
({
marketing_id
:
this
.
$route
.
query
.
marketing_id
,
marketing_type
:
this
.
$route
.
query
.
marketing_type
,
marketing_type
:
this
.
$route
.
query
.
marketing_type
}
),
ActivityService
.
checkActivityDetailInfo
({
marketing_id
:
this
.
$route
.
query
.
marketing_id
,
}
)
,
marketing_id
:
this
.
$route
.
query
.
marketing_id
}
)
]);
this
.
pageLoading
=
false
;
this
.
goodsList
=
dataArr
[
0
].
result
.
goods_list
;
...
...
@@ -203,7 +206,7 @@ export default {
closePage
()
{
this
.
$router
.
go
(
-
1
);
}
,
}
}
,
async
created
()
{
await
this
.
checkActivityDetail
();
...
...
@@ -211,7 +214,7 @@ export default {
}
,
beforeUnmount
()
{
clearInterval
(
this
.
timer
);
}
,
}
}
;
<
/script
>
<
style
lang
=
"less"
scoped
>
...
...
@@ -306,9 +309,9 @@ export default {
}
}
.
sold
{
position
:
absolute
;
right
:
20
px
;
;
color
:
#
d44549
;
position
:
absolute
;
right
:
20
px
;
color
:
#
d44549
;
font
-
weight
:
500
;
}
}
...
...
src/pages/Activity/releaseProduc/components/myMap.vue
View file @
86cc8d17
...
...
@@ -2,7 +2,7 @@
<div
id=
"map"
class=
"mapContainer"
>
<div
class=
"mapWrapper"
>
<div
class=
"search"
>
<el-form
ref=
"form"
label-width=
"80px"
@
submit
.
prevent
>
<el-form
ref=
"form"
@
submit
.
prevent
>
<el-form-item
label-position=
"left"
>
<el-button
@
click=
"handleSearch"
>
搜索
</el-button>
<el-input
...
...
@@ -28,6 +28,7 @@
</div>
<div
class=
"mapInfo"
>
<div
class=
"infoAll"
>
<h3
class=
"title"
>
拖拽选址
</h3>
<ul
class=
"info"
>
<li><span>
经度:
</span>
{{ dragData.lng }}
</li>
...
...
@@ -36,9 +37,16 @@
</ul>
</div>
<div
class=
"confirmButton"
>
<el-button
class=
"button_pre"
@
click=
"cancel"
>
取 消
</el-button>
<el-button
class=
"button_next"
type=
"primary"
@
click=
"confirm"
>
确 定
</el-button
>
</div>
</div>
<!-- <div class="confirmButton">
<el-button @click="cancel">取 消</el-button>
<el-button type="primary" @click="confirm">确 定</el-button>
</div>
</div>
-->
</div>
</template>
...
...
@@ -193,15 +201,6 @@ export default {
</
script
>
<
style
lang=
"less"
scoped
>
// .mapDialog {
// margin-top: 11vh !important;
// display: flex !important;
// flex-direction: column !important;
// background: red !important;
// /deep/ .el-dialog__body {
// height: 90%;
// }
// }
.mapContainer {
height: 100%;
width: 100%;
...
...
@@ -229,6 +228,10 @@ export default {
width: 20%;
padding-left: 20px;
display: flex;
flex-direction: column;
justify-content: space-between;
align-items: flex-start;
.infoAll {
flex-direction: column;
justify-content: start;
align-items: flex-start;
...
...
@@ -237,9 +240,15 @@ export default {
}
}
.confirmButton {
position: absolute;
bottom: 100px;
right: 100px;
display: flex;
flex-wrap: wrap;
.button_pre {
margin-right: 15px;
}
.button_next {
margin-left: 0;
}
}
}
}
.m-map .search {
...
...
src/pages/Activity/releaseProduc/components/spellOrderSet.vue
View file @
86cc8d17
...
...
@@ -627,15 +627,16 @@ export default {
justify
-
content
:
center
;
align
-
items
:
center
;
}
.
mapDialog
{
height
:
80
%
;
margin
-
top
:
10
vh
!
important
;
.
my
-
map
{
height
:
100
%
;
}
}
/deep/
.
el
-
dialog__body
{
height
:
85
%
!
important
;
}
/deep/
.
mapDialog
{
margin
-
top
:
10
vh
!
important
;
height
:
80
%
;
display
:
flex
!
important
;
flex
-
direction
:
column
!
important
;
/deep/
.
el
-
dialog__body
{
height
:
90
%
;
}
}
<
/style
>
src/pages/Activity/releaseProduc/index.vue
View file @
86cc8d17
...
...
@@ -72,7 +72,7 @@ export default {
},
data
()
{
return
{
active
:
1
,
// 步骤条状态
active
:
3
,
// 步骤条状态
infoEditArr
:
[],
// 信息编辑数据
addProducArr
:
[],
// 添加商品
goodsSkuIDArr
:
[],
// 接收goods_sku_id
...
...
src/pages/Groupmeal/newOrderManagement/index.vue
View file @
86cc8d17
This diff is collapsed.
Click to expand it.
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