Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
apaas-ui
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
gzga-jzapi
apaas-ui
Commits
51f918ff
Commit
51f918ff
authored
Feb 21, 2021
by
刘殿昕
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev'
parents
bbe42b9a
280c6c5a
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
19 additions
and
5 deletions
+19
-5
.beagle.yml
.beagle.yml
+1
-1
src/components/shopping-cart/shopping-cart-cell.vue
src/components/shopping-cart/shopping-cart-cell.vue
+16
-4
src/components/shopping-cart/shopping-cart-list.vue
src/components/shopping-cart/shopping-cart-list.vue
+2
-0
No files found.
.beagle.yml
View file @
51f918ff
...
...
@@ -265,7 +265,7 @@ pipeline:
-
master
deploy
:
image
:
registry.cn-qingdao.aliyuncs.com/wod
-devops/
kubernetes:1.0
image
:
registry.cn-qingdao.aliyuncs.com/wod
/devops-
kubernetes:1.0
namespace
:
apaas-v3
deployment
:
apaas-ui
container
:
apaas-ui
...
...
src/components/shopping-cart/shopping-cart-cell.vue
View file @
51f918ff
...
...
@@ -128,14 +128,22 @@
{{
item
.
money
}}
金币/
{{
item
.
spcs_count
}}
次
</el-button>
<el-button
v-if=
"cellItems.service.request_spcs_info.spcs_type_2 && cellItems.service.request_spcs_info.spcs_type_2.length != 0"
v-if=
"
cellItems.service.request_spcs_info.spcs_type_2 &&
cellItems.service.request_spcs_info.spcs_type_2
.length != 0
"
:class=
"
specificationPop.spcs_type == 2
? 'shopping_cell_specification_btn active'
: 'shopping_cell_specification_btn'
"
size=
"mini"
@
click=
"changeSpecification(cellItems.service.request_spcs_info.spcs_type_2[0])"
@
click=
"
changeSpecification(
cellItems.service.request_spcs_info.spcs_type_2[0]
)
"
>
{{
cellItems
.
service
.
request_spcs_info
.
spcs_type_2
[
0
]
.
money
...
...
@@ -301,10 +309,14 @@ export default {
!
this
.
cellItems
.
service
.
spcs_info
.
id
)
{
this
.
$message
({
message
:
"
该服务暂不支持购买
"
,
message
:
(
this
.
cellItems
.
service_id
==
0
?
this
.
cellItems
.
application
.
app_name
:
this
.
cellItems
.
service
.
name
)
+
"
暂不支持购买
"
,
type
:
"
error
"
,
});
this
.
checkedItem
=
false
;
this
.
$emit
(
"
changeState
"
,
{
state
:
false
,
index
:
this
.
cellIndex
});
}
else
{
this
.
$emit
(
"
changeState
"
,
{
state
:
val
,
index
:
this
.
cellIndex
});
}
...
...
@@ -322,7 +334,7 @@ export default {
},
setSpecificationPop
()
{
this
.
specificationPop
=
this
.
cellItems
.
service
.
spcs_info
;
console
.
log
(
this
.
specificationPop
)
console
.
log
(
this
.
specificationPop
)
;
// this.specificationApplicationPop = this.cellItems.duration_method;
},
changeSubscription
(
val
)
{
...
...
src/components/shopping-cart/shopping-cart-list.vue
View file @
51f918ff
...
...
@@ -2,6 +2,7 @@
<div>
<div
class=
"shopping_list_page"
>
<ShoppingCartCell
:ref=
"`cartcell_$
{index}`"
v-for="(item, index) in list"
:cellItem="item"
:cellIsService="item.app_id == 0"
...
...
@@ -59,6 +60,7 @@ export default {
setAllState
(
val
)
{
for
(
let
i
=
0
;
i
<
this
.
checkLists
.
length
;
i
++
)
{
this
.
$set
(
this
.
checkLists
,
i
,
val
);
this
.
$refs
[
"
cartcell_
"
+
i
][
0
].
getState
(
val
);
}
},
changeCellMsg
(
val
)
{
...
...
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