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
bdf0190f
Commit
bdf0190f
authored
Jul 14, 2020
by
徐一鸣
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
服务超市详情优化
parent
e8ba6a5e
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
46 additions
and
21 deletions
+46
-21
src/assets/css/index.css
src/assets/css/index.css
+20
-0
src/components/service-info/service-info.vue
src/components/service-info/service-info.vue
+26
-19
src/pages/workbench/fwgl/approveWorkspace.vue
src/pages/workbench/fwgl/approveWorkspace.vue
+0
-1
src/pages/workbench/fwgl/organizationCloudResource.vue
src/pages/workbench/fwgl/organizationCloudResource.vue
+0
-1
No files found.
src/assets/css/index.css
View file @
bdf0190f
...
...
@@ -551,6 +551,26 @@ width: 620px!important;
.apass_button
.el-button.is-disabled
:hover
{
cursor
:
not-allowed
;
}
.apass_button
.el-button--warning.is-plain
{
background-color
:
#fcefd6
;
border-color
:
#fac266
;
color
:
#e56600
;
}
.apass_button
.el-button--warning
{
background-color
:
#e56600
;
border-color
:
#e56600
;
color
:
#fff
;
}
.apass_button
.el-button.is-disabled
,
.apass_button
.el-button.is-disabled
:focus
,
.apass_button
.el-button.is-disabled
:hover
{
color
:
#C0C4CC
;
cursor
:
not-allowed
;
background-image
:
none
;
background-color
:
#FFF
;
border-color
:
#EBEEF5
;
}
.apass_table
.el-table
th
>
.cell
{
color
:
#1a2236
;
}
...
...
src/components/service-info/service-info.vue
View file @
bdf0190f
...
...
@@ -49,7 +49,8 @@
</ul>
<div
class=
"commodity_information"
>
<span>
规
  
格:
</span>
<div
class=
"btn_container"
>
<span
v-if=
"actionDisabled"
class=
"commodity_text"
>
暂无
</span>
<div
v-else
class=
"btn_container"
>
<el-button
v-for=
"(item, index) in specifications"
:key=
"'spcs_' + index"
...
...
@@ -62,14 +63,17 @@
</div>
<div
class=
"commodity_information"
>
<span>
规格说明:
</span>
<span
v-if=
"actionDisabled"
class=
"commodity_text"
>
暂无
</span>
<span
v-else
class=
"commodity_text"
v-text=
"(specification && specification.descript) || '-'"
></span>
</div>
<div
class=
"commodity_information"
>
<span>
购买方式:
</span>
<div
class=
"btn_container"
>
<span
v-if=
"actionDisabled"
class=
"commodity_text"
>
暂无
</span>
<div
v-else
class=
"btn_container"
>
<el-button
v-for=
"(item, index) in types"
v-text=
"item.name"
...
...
@@ -83,14 +87,27 @@
<div
class=
"commodity_information"
>
<span>
购买时长:
</span>
<div
class=
"btn_container"
>
<el-input-number
v-model=
"duration"
:min=
"1"
></el-input-number>
<el-input-number
v-model=
"duration"
:min=
"1"
:disabled=
"actionDisabled"
></el-input-number>
</div>
</div>
<div
class=
"commodity_action"
>
<el-button
type=
"warning"
plain
@
click=
"addToCart"
>
<div
class=
"apass_button commodity_action"
>
<el-button
type=
"warning"
plain
@
click=
"addToCart"
:disabled=
"actionDisabled"
>
加入购物车
</el-button>
<el-button
type=
"warning"
@
click=
"applyImmediately"
>
<el-button
type=
"warning"
@
click=
"applyImmediately"
:disabled=
"actionDisabled"
>
立即申请
</el-button>
</div>
...
...
@@ -123,6 +140,9 @@ export default {
return
specifications
;
},
actionDisabled
()
{
return
this
.
specifications
.
length
==
0
;
},
},
watch
:
{
specifications
:
{
...
...
@@ -363,17 +383,4 @@ export default {
width
:
220px
;
margin-left
:
20px
;
}
.service_info
.el-button--primary
{
background-color
:
#515fe7
;
border-color
:
#515fe7
;
}
.service_info
.el-button--warning.is-plain
{
background-color
:
#fcefd6
;
border-color
:
#fac266
;
color
:
#e56600
;
}
.service_info
.el-button--warning
{
background-color
:
#e56600
;
border-color
:
#e56600
;
}
</
style
>
src/pages/workbench/fwgl/approveWorkspace.vue
View file @
bdf0190f
...
...
@@ -61,7 +61,6 @@ export default {
},
tempFilter
:
null
,
}),
computed
:
{},
methods
:
{
init
(
filter
)
{
// console.log(filter);
...
...
src/pages/workbench/fwgl/organizationCloudResource.vue
View file @
bdf0190f
...
...
@@ -85,7 +85,6 @@ export default {
},
tempFilter
:
null
,
}),
computed
:
{},
methods
:
{
init
(
filter
)
{
// console.log(filter);
...
...
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