Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
江名洋
/
linkwe-scrm
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 b786080d
authored
Oct 29, 2023
by
xinla
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
新客拉群等升级优化
1 parent
54ec7e9b
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
29 additions
and
14 deletions
vue3-lw-pc/src/components/Pagination.vue
vue3-lw-pc/src/components/RequestChartTable.vue
vue3-lw-pc/src/styles/element-ui.scss
vue3-lw-pc/src/views/communityOperating/newCustomer/aev.vue
vue3-lw-pc/src/views/communityOperating/newCustomer/list.vue
vue3-lw-pc/src/components/Pagination.vue
View file @
b786080
...
@@ -4,7 +4,7 @@
...
@@ -4,7 +4,7 @@
ref=
"pagination"
ref=
"pagination"
v-if=
"['false', 'undefined'].includes($attrs['hide-on-single-page'] + '') || $attrs.total > limit"
>
v-if=
"['false', 'undefined'].includes($attrs['hide-on-single-page'] + '') || $attrs.total > limit"
>
<el-pagination
<el-pagination
v-bind=
"
$attrs
"
v-bind=
"
Object.assign(
{}, this.$attrs, { style: undefined, class: undefined })
"
:background="background"
:background="background"
v-model:current-page="currentPage"
v-model:current-page="currentPage"
v-model:page-size="pageSize"
v-model:page-size="pageSize"
...
...
vue3-lw-pc/src/components/RequestChartTable.vue
View file @
b786080
...
@@ -165,6 +165,7 @@ export default {
...
@@ -165,6 +165,7 @@ export default {
<slot
:data=
"data"
></slot>
<slot
:data=
"data"
></slot>
<pagination
<pagination
style=
"margin-bottom: -20px"
:total=
"total"
:total=
"total"
v-model:page=
"query.pageNum"
v-model:page=
"query.pageNum"
v-model:limit=
"query.pageSize"
v-model:limit=
"query.pageSize"
...
...
vue3-lw-pc/src/styles/element-ui.scss
View file @
b786080
...
@@ -37,10 +37,11 @@
...
@@ -37,10 +37,11 @@
// }
// }
.el-button
:not
(
.el-button--small
,
.el-button--large
)
{
.el-button
:not
(
.el-button--small
,
.el-button--large
)
{
padding
:
9px
19px
;
padding
:
9px
19px
;
}
.el-button
:not
(
.is-text
)
{
font-size
:
13px
;
font-size
:
13px
;
}
}
.el-button.is-circle
{
padding
:
9px
;
}
.el-button
:not
(
.is-text
,
.is-circle
,
.is-round
)
{
.el-button
:not
(
.is-text
,
.is-circle
,
.is-round
)
{
border-radius
:
var
(
--
border-radius-small
);
border-radius
:
var
(
--
border-radius-small
);
}
}
...
@@ -49,7 +50,7 @@
...
@@ -49,7 +50,7 @@
padding-left
:
0
;
padding-left
:
0
;
padding-right
:
0
;
padding-right
:
0
;
height
:
auto
;
height
:
auto
;
font-size
:
1
2
px
;
font-size
:
1
3
px
;
background-clip
:
content-box
;
background-clip
:
content-box
;
outline
:
0
!
important
;
outline
:
0
!
important
;
}
}
...
@@ -348,6 +349,7 @@
...
@@ -348,6 +349,7 @@
// 表单禁用详情数据展示
// 表单禁用详情数据展示
.form-detail
{
.form-detail
{
.el-input.is-disabled
.el-input__inner
,
.el-input.is-disabled
.el-input__inner
,
.el-input.is-disabled
.el-input__wrapper
,
.el-textarea.is-disabled
.el-textarea__inner
{
.el-textarea.is-disabled
.el-textarea__inner
{
background-color
:
transparent
;
background-color
:
transparent
;
// border-color: transparent;
// border-color: transparent;
...
...
vue3-lw-pc/src/views/communityOperating/newCustomer/aev.vue
View file @
b786080
...
@@ -139,19 +139,22 @@ export default {
...
@@ -139,19 +139,22 @@ export default {
<
template
>
<
template
>
<div
v-loading=
"loading"
>
<div
v-loading=
"loading"
>
<div
class=
"flex"
>
<div
class=
"flex"
>
<el-form
:model=
"form"
ref=
"form"
:rules=
"rules"
label-width=
"100px"
class=
"fxauto g-margin-r"
>
<el-form
:model=
"form"
ref=
"form"
:rules=
"rules"
label-width=
"100px"
scroll-to-error
class=
"fxauto g-margin-r"
:class=
"isDetail && 'form-detail'"
:disabled=
"isDetail"
>
<div
class=
"g-card"
>
<div
class=
"g-card"
>
<div
class=
"g-card-title fxbw"
>
<div
class=
"g-card-title fxbw"
>
基础信息
基础信息
<el-button
<el-button
v-if=
"isDetail"
v-if=
"isDetail"
type=
"primary"
type=
"primary"
@
click=
"
@
click=
"$router.push(
{ path: './aev', query: { id: $route.query.id } })">
$router.push(
{
path: './aev',
query: { id: $route.query.id },
})
">
编辑
编辑
</el-button>
</el-button>
</div>
</div>
...
@@ -235,15 +238,24 @@ export default {
...
@@ -235,15 +238,24 @@ export default {
</div>
</div>
</el-form>
</el-form>
<div>
<div>
<div
class=
"g-card"
v-if=
"isDetail"
></div>
<div
class=
"g-card"
v-if=
"isDetail"
>
<div
class=
"g-card-title"
>
活码
</div>
<div
class=
"ac"
>
<el-image
class=
""
:src=
"form.groupCodeUrl"
fit=
"contain"
style=
"width: 120px"
></el-image>
<div
class=
"mt10"
>
<el-button
text
@
click=
"downloadBlob(form.groupCodeUrl, '新客拉群活码.png', 'image')"
>
下载活码
</el-button>
<el-button
class=
"copy"
text
@
click=
"$copyText(form.groupCodeUrl)"
>
复制链接
</el-button>
</div>
</div>
</div>
<div
class=
"preview-wrap g-card"
>
<div
class=
"preview-wrap g-card"
>
<
!-- 预览 --
>
<
div
class=
"g-card-title"
>
预览
</div
>
<PhoneDialog
:message=
"form.welcomeMsg || '请输入加群引导语'"
isOther
>
<PhoneDialog
:message=
"form.welcomeMsg || '请输入加群引导语'"
isOther
>
<div
style=
"line-height: 1.5"
>
<div
style=
"line-height: 1.5"
>
<div
class=
"msg-title"
>
{{ form.linkTitle }}
</div>
<div
class=
"msg-title"
>
{{ form.linkTitle }}
</div>
<div
class=
"msg-content"
>
<div
class=
"msg-content"
>
<div
class=
"msg-desc"
>
{{ form.linkDesc }}
</div>
<div
class=
"msg-desc"
>
{{ form.linkDesc }}
</div>
<el-image
class=
"
phone-dialog-image
fxnone"
:src=
"form.linkCoverUrl"
fit=
"contain"
></el-image>
<el-image
class=
"fxnone"
:src=
"form.linkCoverUrl"
fit=
"contain"
></el-image>
</div>
</div>
</div>
</div>
</PhoneDialog>
</PhoneDialog>
...
...
vue3-lw-pc/src/views/communityOperating/newCustomer/list.vue
View file @
b786080
This diff is collapsed.
Click to expand it.
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