Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas
/
scrm-micro-marketing
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 cc0aed2e
authored
Mar 21, 2022
by
匡雅琴
Committed by
chenwq
Mar 23, 2022
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fixed
1 parent
fbeb0d07
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
39 additions
and
15 deletions
src/config/index.js
src/views/friendGroup/components/preview.vue
src/views/friendGroup/index.vue
src/config/index.js
View file @
cc0aed2
...
@@ -19,8 +19,8 @@ export const fetchConfig = function (isEnv = true) {
...
@@ -19,8 +19,8 @@ export const fetchConfig = function (isEnv = true) {
// }
// }
//return window.fetch('https://', {}).then(res => res.json())
//return window.fetch('https://', {}).then(res => res.json())
// request({ url: 'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config/oss_commodity_center', method: 'get' })
// request({ url: 'https://oss-config.test.glsx.com.cn/mock/5be17454f31545347559d499/config/oss_commodity_center', method: 'get' })
return
new
Http
().
get
(
'https://oss-config.test.glsx.com.cn/mock/619c87331072f92988f05a29/marketing/config'
)
//
return new Http().get('https://oss-config.test.glsx.com.cn/mock/619c87331072f92988f05a29/marketing/config')
//
return new Http().get('http://192.168.3.171:7300/mock/619c87331072f92988f05a29/marketing/config')
return
new
Http
().
get
(
'http://192.168.3.171:7300/mock/619c87331072f92988f05a29/marketing/config'
)
}
}
export
const
config
=
{
export
const
config
=
{
install
(
vue
,
cfg
)
{
install
(
vue
,
cfg
)
{
...
...
src/views/friendGroup/components/preview.vue
View file @
cc0aed2
...
@@ -38,10 +38,12 @@
...
@@ -38,10 +38,12 @@
<div
class=
"preview-operation"
>
赞 | 评论
</div>
<div
class=
"preview-operation"
>
赞 | 评论
</div>
</div>
</div>
</div>
</div>
<el-dialog
:visible
.
sync=
"videoShow"
:before-close=
"handleClose"
class=
"video-dialog"
>
<div
class=
"video-dialog"
v-if=
"videoShow"
>
<div
slot=
"title"
style=
"height: 18px"
></div>
<div
class=
"video-dialog-panel"
>
<video
v-if=
"videoShow"
width=
"100%"
height=
"100%"
autoplay
controls
:src=
"this.videoUrl"
></video>
<div
class=
"video-close"
><i
class=
"el-icon-close"
@
click=
"videoShow = false"
></i></div>
</el-dialog>
<video
height=
"100%"
autoplay
controls
:src=
"this.videoUrl"
></video>
</div>
</div>
</div>
</div>
</template>
</template>
...
@@ -272,13 +274,34 @@ export default {
...
@@ -272,13 +274,34 @@ export default {
}
}
}
}
.video-dialog
{
.video-dialog
{
/deep/
{
z-index
:
2001
;
.el-dialog__header
{
position
:
fixed
;
border-bottom
:
0px
;
top
:
0
;
background-color
:
rgb
(
0
,
0
,
0
);
right
:
0
;
bottom
:
0
;
left
:
0
;
overflow
:
auto
;
background
:
rgba
(
$
color
:
#000000
,
$
alpha
:
0.5
);
&-panel
{
background
:
#000000
;
position
:
absolute
;
top
:
100px
;
left
:
50%
;
transform
:
translateX
(
-50%
);
height
:
calc
(
100%
-
200px
);
width
:
auto
;
box-sizing
:
border-box
;
padding
:
10px
20px
20px
;
overflow
:
hidden
;
.video-close
{
display
:
flex
;
justify-content
:
flex-end
;
height
:
40px
;
i
{
cursor
:
pointer
;
font-size
:
25px
;
color
:
#5850ff
;
}
}
.el-dialog__body
{
padding
:
0px
;
}
}
}
}
}
}
...
...
src/views/friendGroup/index.vue
View file @
cc0aed2
...
@@ -36,8 +36,8 @@
...
@@ -36,8 +36,8 @@
</div>
</div>
</div>
</div>
<div
slot=
"sendType"
slot-scope=
"scope"
>
<div
slot=
"sendType"
slot-scope=
"scope"
>
<span
style=
"color: #eb4e4e"
v-if=
"scope.scope.sendType ==
1
"
>
定时发送
</span>
<span
style=
"color: #eb4e4e"
v-if=
"scope.scope.sendType ==
2
"
>
定时发送
</span>
<span
v-if=
"scope.scope.sendType ==
2
"
>
立即发送
</span>
<span
v-if=
"scope.scope.sendType ==
1
"
>
立即发送
</span>
</div>
</div>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<div
class=
"table-btns"
slot=
"auth-button"
slot-scope=
"scope"
>
<el-button
type=
"text"
disabled
v-if=
"scope.scope.status == 2 || scope.scope.status == 1"
>
创建中
</el-button>
<el-button
type=
"text"
disabled
v-if=
"scope.scope.status == 2 || scope.scope.status == 1"
>
创建中
</el-button>
...
@@ -134,7 +134,8 @@ export default {
...
@@ -134,7 +134,8 @@ export default {
{
{
label
:
'内容'
,
label
:
'内容'
,
prop
:
'attachmentList'
,
prop
:
'attachmentList'
,
addHtml
:
'attachmentList'
addHtml
:
'attachmentList'
,
width
:
'240'
},
},
{
{
label
:
'发布方式'
,
label
:
'发布方式'
,
...
...
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