Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
npm
/
glsx-components
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit e5da3922
authored
Aug 17, 2022
by
杨明
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
d5f87b35
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
19 additions
and
10 deletions
src/packages/Editor/src/activityModel.vue
src/packages/Editor/src/materialModel.vue
src/packages/Editor/src/activityModel.vue
View file @
e5da392
<
template
>
<div
class=
"square-main"
>
<GLDialog
bigTitle=
"选择活动"
:append-to-body=
"true"
:hasFooter=
"true"
:visible
.
sync=
"dialogVisible"
width=
"10
88px"
:before-close=
"handleClose
"
mode=
"big"
>
<GLDialog
bigTitle=
"选择活动"
:append-to-body=
"true"
:hasFooter=
"true"
:visible
.
sync=
"dialogVisible"
width=
"10
98px
"
mode=
"big"
>
<div
class=
"model-panel"
v-loading=
"loading"
>
<div
class=
"model-panel-tab"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
...
...
@@ -263,6 +263,9 @@ export default {
.el-dialog__footer
{
text-align
:
center
;
}
.el-dialog__body
{
padding
:
14px
30px
20px
;
}
}
}
.model-panel
{
...
...
@@ -328,16 +331,14 @@ export default {
align-items
:
stretch
;
flex-direction
:
row
;
.model-item
{
width
:
240px
;
margin-right
:
24px
;
margin-bottom
:
24px
;
padding
:
12px
16px
;
width
:
248px
;
margin-right
:
16px
;
margin-bottom
:
16px
;
position
:
relative
;
height
:
128px
;
background
:
#f9f9f9
;
border-radius
:
4px
;
border
:
1px
solid
#e6e6e6
;
padding
:
14px
24px
;
padding
:
14px
16px
;
box-sizing
:
border-box
;
.item-icon
{
position
:
absolute
;
...
...
@@ -378,7 +379,7 @@ export default {
border
:
1px
solid
#979797
;
}
&
-title
{
font-size
:
1
8
px
;
font-size
:
1
6
px
;
font-weight
:
600
;
color
:
#333333
;
line-height
:
25px
;
...
...
src/packages/Editor/src/materialModel.vue
View file @
e5da392
<!-- 素材弹窗 -->
<
template
>
<GLDialog
bigTitle=
"选择素材"
:append-to-body=
"true"
:hasFooter=
"true"
:visible
.
sync=
"isMaterialVisible"
width=
"
70%
"
class=
"relateStore"
mode=
"big"
>
<GLCombiForm
:rowNumber=
"1"
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<GLDialog
bigTitle=
"选择素材"
:append-to-body=
"true"
:hasFooter=
"true"
:visible
.
sync=
"isMaterialVisible"
width=
"
1088px
"
class=
"relateStore"
mode=
"big"
>
<GLCombiForm
:rowNumber=
"1"
class=
"material-search"
ref=
"showSearch"
:formObj=
"searchForm"
:formData=
"searchFormData"
@
handleOk=
"handleSearch"
@
handleRest=
"handleReset"
></GLCombiForm>
<div
class=
"model-panel"
>
<div
class=
"model-item-panel"
v-if=
"modelList.length > 0"
v-loading=
"loading"
>
<div
class=
"model-item"
:class=
"
{ checked: selectItem.id == item.id }" v-for="(item, index) in modelList" :key="index" @click="handleSelectItem(item)">
...
...
@@ -27,6 +27,7 @@
<div
class=
"model-content-html"
v-html=
"item.htmlText"
></div>
</div>
</div>
<!-- </div> -->
</div>
<div
class=
"model-item-empty"
v-else
v-loading=
"loading"
>
<img
src=
"../../../assets/empty.png"
/>
...
...
@@ -257,6 +258,13 @@ export default {
}
}
}
.material-search
{
/deep/
{
.el-form-item--small
{
width
:
auto
!important
;
}
}
}
.model-panel
{
.model-panel-tab
{
display
:
flex
;
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment