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 c5429205
authored
Aug 23, 2022
by
chenwq
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
表单改版,朋友圈营销,会员中心
1 parent
dd1b09a6
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
30 additions
and
26 deletions
src/views/friendGroup/friendGroupAdd.vue
src/views/guestGroup/components/welcomeWords.vue
src/views/memberCenter/center.vue
src/views/memberCenter/setmealAddUpdate.vue
src/views/friendGroup/friendGroupAdd.vue
View file @
c542920
...
...
@@ -8,10 +8,10 @@
<span>
创建的朋友圈任务类型为企业发表,员工可在企业微信自主发送类型为个人发表的朋友圈。
</span>
</div>
<div
class=
"info-box"
>
<div
class=
"info-content"
>
<el-form
class=
"basic-form"
:model=
"basicForm"
:rules=
"basicRules"
ref=
"basicForm"
label-width=
"120px"
>
<div
class=
"info-content
gl-form-page
"
>
<el-form
class=
"basic-form"
:model=
"basicForm"
:rules=
"basicRules"
ref=
"basicForm"
>
<el-form-item
prop=
"userList"
>
<label
slot=
"label"
class=
"required"
>
发表成员
</label>
<label
slot=
"label"
class=
"required"
>
发表成员
:
</label>
<el-button
size=
"small"
@
click=
"openMembers"
>
<i
class=
"el-icon-plus"
></i>
选择成员
...
...
@@ -37,10 +37,10 @@
</el-form>
<!-- 编辑入群欢迎语 -->
<div
class=
"title"
>
编辑朋友圈消息
</div>
<div
class=
"group-content"
>
<el-form
:model=
"basicForm"
:rules=
"basicRules"
ref=
"groupForm"
label-width=
"120px"
>
<div
class=
"group-content
gl-form-page
"
>
<el-form
:model=
"basicForm"
:rules=
"basicRules"
ref=
"groupForm"
>
<el-form-item
prop=
"attachmentList"
>
<label
slot=
"label"
class=
"required"
>
内容正文
</label>
<label
slot=
"label"
class=
"required"
>
内容正文
:
</label>
<GLEditor
ref=
"welcome"
:form=
"'customer'"
:btnList=
"btnList"
@
previewWord=
"previewForm"
></GLEditor>
<div
v-show=
"attachmentShow"
class=
"el-form-item__error"
>
{{
attachmentText
}}
</div>
<div
class=
"tips-text"
>
...
...
@@ -48,7 +48,7 @@
<span>
因企业微信限制,普通图片:总像素不超过1555200,大小不超过10M,数量不超过9张。视频建议不超过1280x720,帧率30FPS,视频码率1.67 Mbps,最长不超过30S,最大不超过10MB
</span>
</div>
</el-form-item>
<el-form-item
label=
"发送时间"
prop=
"sendType"
>
<el-form-item
label=
"发送时间
:
"
prop=
"sendType"
>
<el-radio-group
v-model=
"basicForm.sendType"
>
<el-radio
:label=
"1"
>
立即发送
</el-radio>
<el-radio
:label=
"2"
>
定时发送
</el-radio>
...
...
@@ -235,7 +235,7 @@ export default {
deep
:
true
}
},
mounted
()
{},
mounted
()
{
},
methods
:
{
previewForm
(
val
)
{
console
.
log
(
val
)
...
...
@@ -254,7 +254,7 @@ export default {
.
then
(()
=>
{
this
.
$router
.
push
(
'/friendGroup/index'
)
})
.
catch
(()
=>
{})
.
catch
(()
=>
{
})
}
else
{
this
.
$router
.
push
(
'/friendGroup/index'
)
}
...
...
@@ -432,8 +432,9 @@ export default {
}
.tips-text
{
display
:
flex
;
align-items
:
center
;
//
align-items
:
center
;
justify-self
:
center
;
margin-left
:
154px
;
color
:
#000
;
font-size
:
14px
;
padding
:
6px
16px
;
...
...
@@ -445,7 +446,7 @@ export default {
.tips-icon
{
width
:
14px
;
height
:
14px
;
margin
-right
:
8px
;
margin
:
6px
8px
0
0
;
}
}
.info-box
{
...
...
@@ -477,6 +478,7 @@ export default {
justify-content
:
space-between
;
align-items
:
center
;
color
:
#999
;
margin-left
:
80px
;
font-size
:
14px
;
.filter-number
{
display
:
inline-block
;
...
...
@@ -529,6 +531,7 @@ export default {
.sale-select
{
display
:
flex
;
align-items
:
center
;
margin-left
:
80px
;
}
.input-tag-wrapper
{
max-height
:
75px
;
...
...
src/views/guestGroup/components/welcomeWords.vue
View file @
c542920
...
...
@@ -342,13 +342,14 @@ export default {
<
style
lang=
"scss"
scoped
>
.welcome-box
{
display
:
inline-block
!important
;
//
padding-top
:
20px
;
//
margin-left
:
87px
;
}
.content
{
display
:
inline-block
;
vertical-align
:
text-top
;
width
:
calc
(
100%
-
103px
);
width
:
calc
(
100%
-
103px
)
!important
;
//
margin-left
:
12px
;
.content-bg
{
background-color
:
#f7f7f7
;
...
...
src/views/memberCenter/center.vue
View file @
c542920
...
...
@@ -43,10 +43,10 @@
</div>
<el-button
class=
"seeEquity"
size=
"small"
type=
"primary"
@
click=
"openDialog"
>
查看权益
</el-button>
</div>
<div
class=
"cardDetail editForm"
v-else
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
label-width=
"90px"
class=
"demo-ruleForm"
style=
"width: 500px
"
>
<div
class=
"cardDetail editForm
gl-form-page
"
v-else
>
<el-form
:model=
"ruleForm"
:rules=
"rules"
ref=
"ruleForm"
class=
"demo-ruleForm
"
>
<
template
v-if=
"!showGh"
>
<el-form-item
label=
"会员卡名"
prop=
"cardName"
size=
"small"
>
<el-form-item
label=
"会员卡名
:
"
prop=
"cardName"
size=
"small"
>
<el-input
v-model
.
trim=
"ruleForm.cardName"
size=
"small"
class=
"cardNameInput"
show-word-limit
placeholder=
"请输入会员卡名"
maxlength=
"15"
></el-input>
</el-form-item>
</
template
>
...
...
@@ -60,13 +60,13 @@
</
template
>
<div
class=
"pricesMerge"
>
<el-form-item
label=
"售价"
size=
"small"
prop=
"price"
style=
"width: 300px"
>
<el-input
v-model=
"ruleForm.price"
size=
"small"
placeholder=
"请输入售价"
@
keyup
.
native=
"ruleForm.price = oninput(ruleForm.price)"
>
<el-form-item
label=
"售价
:
"
size=
"small"
prop=
"price"
style=
"width: 300px"
>
<el-input
v-model=
"ruleForm.price"
size=
"small"
style=
"width: 136px;"
placeholder=
"请输入售价"
@
keyup
.
native=
"ruleForm.price = oninput(ruleForm.price)"
>
<span
slot=
"suffix"
class=
"suffix-label"
>
元
</span>
</el-input>
</el-form-item>
<el-form-item
label=
"市场价"
prop=
"marketPrice"
size=
"small"
style=
"width: 300px"
>
<el-input
v-model=
"ruleForm.marketPrice"
size=
"small"
placeholder=
"请输入市场价"
@
keyup
.
native=
"ruleForm.marketPrice = oninput(ruleForm.marketPrice)"
>
<el-form-item
label=
"市场价
:
"
prop=
"marketPrice"
size=
"small"
style=
"width: 300px"
>
<el-input
v-model=
"ruleForm.marketPrice"
size=
"small"
style=
"width: 136px;"
placeholder=
"请输入市场价"
@
keyup
.
native=
"ruleForm.marketPrice = oninput(ruleForm.marketPrice)"
>
<span
slot=
"suffix"
class=
"suffix-label"
>
元
</span>
</el-input>
</el-form-item>
...
...
src/views/memberCenter/setmealAddUpdate.vue
View file @
c542920
...
...
@@ -5,14 +5,14 @@
<p
class=
"pageTitle"
v-else
>
编辑套餐
</p>
<!--
<el-button
type=
"primary"
size=
"small"
@
click=
"goBack"
>
返回
</el-button>
-->
</div>
<div
class=
"live-room container marketing "
>
<el-form
ref=
"ruleForm"
:rules=
"rules"
:model=
"ruleForm"
label-width=
"120px"
class=
"demo-ruleForm"
>
<el-form-item
size=
"small"
label=
"套餐名称
"
prop=
"packageName"
style=
"width: 440px
"
>
<div
class=
"live-room container marketing
gl-form-page
"
>
<el-form
ref=
"ruleForm"
:rules=
"rules"
:model=
"ruleForm"
class=
"demo-ruleForm"
>
<el-form-item
size=
"small"
label=
"套餐名称
:"
prop=
"packageName
"
>
<el-input
size=
"small"
v-model=
"ruleForm.packageName"
maxlength=
"15"
placeholder=
"请输入套餐名称"
></el-input>
</el-form-item>
<el-form-item
size=
"small"
label=
"服务内容"
class=
"is-required"
>
<el-form-item
size=
"small"
label=
"服务内容
:
"
class=
"is-required"
>
<el-button
@
click=
"handleGiftAdd"
size=
"small"
class=
"default-blue-btn"
>
选择服务
</el-button>
<div
class=
"gift-block m-t-10"
:style=
"
{ 'margin-left':
l
abelWidth }" v-show="choseItemList.length != 0">
<div
class=
"gift-block m-t-10"
:style=
"
{ 'margin-left':
defaultL
abelWidth }" v-show="choseItemList.length != 0">
<div
v-for=
"(item, index) in orderShow"
:key=
"index"
>
<div
class=
"gift-box flex-top"
v-show=
"couponObj[item].list.length"
>
<img
class=
"gift-logo"
:src=
"couponObj[item].logo"
alt=
""
/>
...
...
@@ -30,7 +30,7 @@
<div
class=
"el-form-item__error"
v-if=
"setmealContentRules"
>
请选择套餐
</div>
</el-form-item>
<el-form-item
size=
"small"
label=
"套餐售价
"
prop=
"packagePrice"
style=
"width: 315px
"
>
<el-form-item
size=
"small"
label=
"套餐售价
:"
prop=
"packagePrice
"
>
<el-input
size=
"small"
v-model=
"ruleForm.packagePrice"
placeholder=
"请输入套餐售价"
@
keyup
.
native=
"ruleForm.packagePrice = oninput(ruleForm.packagePrice)"
>
<span
slot=
"suffix"
class=
"suffix-label"
>
元
</span>
</el-input>
...
...
@@ -60,7 +60,7 @@
<span class="price">{{ totalShopPrice }}元</span>
</div>
</template> -->
<el-form-item
size=
"small"
label=
"说明
"
prop=
"notes"
style=
"width: 670px
"
>
<el-form-item
size=
"small"
label=
"说明
:"
prop=
"notes
"
>
<el-input
size=
"small"
:rows=
"6"
type=
"textarea"
v-model=
"ruleForm.notes"
placeholder=
"请输入"
maxlength=
"200"
show-word-limit
></el-input>
</el-form-item>
</el-form>
...
...
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