Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
mongo-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
mongo-ui
Commits
b5b28c06
Commit
b5b28c06
authored
Jul 24, 2020
by
郭志伟
Committed by
郝聪敏
Jul 27, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
refactor: 详情组件
parent
c877c062
Changes
9
Hide whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
37 additions
and
5 deletions
+37
-5
Card.vue
src/components/Card.vue
+5
-0
Collapse.vue
src/components/Collapse.vue
+1
-0
CompactCellGroup.vue
src/components/CompactCellGroup.vue
+5
-0
Copyright.vue
src/components/Copyright.vue
+2
-1
CrRadioBtn.vue
src/components/CrRadioBtn.vue
+5
-0
GoodAction.vue
src/components/GoodAction.vue
+5
-0
index.vue
src/components/GoodList/index.vue
+5
-0
PopupWithIframe.vue
src/components/PopupWithIframe.vue
+6
-1
index.vue
src/views/Goods/Plan/index.vue
+3
-3
No files found.
src/components/Card.vue
View file @
b5b28c06
...
@@ -29,6 +29,11 @@
...
@@ -29,6 +29,11 @@
</
template
>
</
template
>
<
script
>
<
script
>
/**
* @description: 面板组件
* @param {type}
* @return:
*/
const
OPTION_CLICK_EVENT
=
"
option-click
"
;
const
OPTION_CLICK_EVENT
=
"
option-click
"
;
export
default
{
export
default
{
name
:
"
Card
"
,
name
:
"
Card
"
,
...
...
src/components/Collapse.vue
View file @
b5b28c06
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
</
template
>
</
template
>
<
script
>
<
script
>
// TODO
export
default
{
export
default
{
name
:
"
Collapse
"
,
name
:
"
Collapse
"
,
props
:
{
props
:
{
...
...
src/components/CompactCellGroup.vue
View file @
b5b28c06
...
@@ -25,6 +25,11 @@
...
@@ -25,6 +25,11 @@
</template>
</template>
<
script
>
<
script
>
/**
* @description: cr-cell样式调整版,缩小了间距
* @param {type}
* @return:
*/
const
CELL_CLICK_EVENT
=
"
click
"
;
const
CELL_CLICK_EVENT
=
"
click
"
;
export
default
{
export
default
{
name
:
"
CompactCellGroup
"
,
name
:
"
CompactCellGroup
"
,
...
...
src/components/Copyright.vue
View file @
b5b28c06
<
template
functional
>
<
template
>
<div
class=
"copyright"
>
<div
class=
"copyright"
>
<p
class=
"copyright-logo"
v-if=
"props.logo"
>
<p
class=
"copyright-logo"
v-if=
"props.logo"
>
<img
src=
"../assets/logo-foot.png"
alt=
"logo"
/>
<img
src=
"../assets/logo-foot.png"
alt=
"logo"
/>
...
@@ -11,6 +11,7 @@
...
@@ -11,6 +11,7 @@
<
script
>
<
script
>
export
default
{
export
default
{
name
:
"
Copyright
"
,
name
:
"
Copyright
"
,
functional
:
true
,
props
:
[
"
logo
"
]
props
:
[
"
logo
"
]
};
};
</
script
>
</
script
>
...
...
src/components/CrRadioBtn.vue
View file @
b5b28c06
...
@@ -11,6 +11,11 @@
...
@@ -11,6 +11,11 @@
</cr-radio-group>
</cr-radio-group>
</
template
>
</
template
>
<
script
>
<
script
>
/**
* @description: 针对cr-radio组件的样式调整
* @param {type}
* @return:
*/
const
CHANGE_EVENT
=
"
input
"
;
const
CHANGE_EVENT
=
"
input
"
;
export
default
{
export
default
{
name
:
"
CrRadioBtn
"
,
name
:
"
CrRadioBtn
"
,
...
...
src/components/GoodAction.vue
View file @
b5b28c06
...
@@ -17,6 +17,11 @@
...
@@ -17,6 +17,11 @@
</
template
>
</
template
>
<
script
>
<
script
>
/**
* @description: 底部购买
* @param {type}
* @return:
*/
const
LEFT_BTN_CLICK_EVENT
=
"
leftClick
"
;
const
LEFT_BTN_CLICK_EVENT
=
"
leftClick
"
;
const
RIGHT_BTN_CLICK_EVENT
=
"
click
"
;
const
RIGHT_BTN_CLICK_EVENT
=
"
click
"
;
export
default
{
export
default
{
...
...
src/components/GoodList/index.vue
View file @
b5b28c06
...
@@ -67,6 +67,11 @@
...
@@ -67,6 +67,11 @@
</div>
</div>
</template>
</template>
<
script
>
<
script
>
/**
* @description: 商品列表,可以实现一级、二级嵌套显示
* @param {type}
* @return:
*/
export
default
{
export
default
{
name
:
"
GoodsList
"
,
name
:
"
GoodsList
"
,
props
:
{
props
:
{
...
...
src/components/P
rotocol
Iframe.vue
→
src/components/P
opupWith
Iframe.vue
View file @
b5b28c06
...
@@ -29,9 +29,14 @@
...
@@ -29,9 +29,14 @@
</
template
>
</
template
>
<
script
>
<
script
>
/**
* @description: 弹框,基于cr-pupop,针对iframe等业务场景进行简单封装
* @param {type}
* @return:
*/
const
CHANGE_EVENT
=
"
input
"
;
const
CHANGE_EVENT
=
"
input
"
;
export
default
{
export
default
{
name
:
"
SvgIcon
"
,
name
:
"
PopupWithIframe
"
,
props
:
{
props
:
{
value
:
null
,
value
:
null
,
title
:
{
title
:
{
...
...
src/views/Goods/Plan/index.vue
View file @
b5b28c06
...
@@ -12,11 +12,11 @@
...
@@ -12,11 +12,11 @@
{{
item
.
url
}}
{{
item
.
url
}}
</a>
</a>
</card>
</card>
<p
rotocol-iframe
v-model=
"popupShow"
:title=
"pupopData.title"
:url=
"pupopData.path
"
/>
<p
opup-with-iframe
v-model=
"popupShow"
:title=
"pupopData.title"
:content=
"pupopData.list
"
/>
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
import
protocolIframe
from
"
../modules/Protocol
Iframe
"
;
import
PopupWithIframe
from
"
@/components/PopupWith
Iframe
"
;
import
card
from
"
@/components/Card
"
;
import
card
from
"
@/components/Card
"
;
import
detail
from
"
@/api/detail.plan.mock
"
;
import
detail
from
"
@/api/detail.plan.mock
"
;
...
@@ -24,7 +24,7 @@ export default {
...
@@ -24,7 +24,7 @@ export default {
name
:
"
GoodsDetail
"
,
name
:
"
GoodsDetail
"
,
components
:
{
components
:
{
card
,
card
,
protocol
Iframe
PopupWith
Iframe
},
},
data
()
{
data
()
{
return
{
return
{
...
...
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