推广配置

master
yechenhao 6 years ago
parent c09d607bdf
commit 95a45f638e

@ -0,0 +1,27 @@
<template>
<div>
<Menu mode="horizontal" active-name="1">
<MenuItem name="1" to="/shop/increase/configure/welcome">
<Icon type="ios-paper" />
欢迎语设置
</MenuItem>
<MenuItem name="2" to="/shop/increase/configure/group">
<Icon type="ios-people" />
群发消息
</MenuItem>
</Menu>
<div>
<router-view/>
</div>
</div>
</template>
<script>
export default {
name: "IncreaseConfigure"
}
</script>
<style scoped>
</style>

@ -0,0 +1,55 @@
<template>
<div>
<p style="margin-top: 30px;margin-bottom: 30px">
由管理员或者业务负责人统一配置配置后客户将在添加成员为联系人后收到该欢迎语
</p>
<dic>
<i-input v-model="welcomeContent" maxlength="100" type="textarea" :rows="10" show-word-limit placeholder="最多100个字" style="width: 50%" />
</dic>
<div style="margin-top: 10px">
<i-input placeholder="添加图片/网页/小程序" readonly style="width: 50%">
<Icon type="md-add" slot="prefix" />
</i-input>
</div>
<div style="margin-top: 10px">
<p>
使用范围全体成员
</p>
</div>
<Row style="width: 50%;margin-top: 30px">
<i-col span="12">
<Button style="width: 142px;height: 46px;background-color: #1A80D2;color: #FFF;">{{typeName}}</Button>
</i-col>
<i-col span="12" style="text-align: right">
<Button v-show="showDel" style="width: 142px;height: 46px;background-color: #FFF;color: #FF0000;border: 0px"></Button>
</i-col>
</Row>
</div>
</template>
<script>
export default {
name: "IncreaseGroupSendConfigure",
data(){
return {
welcomeContent:'',
typeName:'保存',
showDel:false,
}
},
mounted() {
this.getWelcomeConfig();
},
methods:{
getWelcomeConfig(){
}
}
}
</script>
<style scoped>
</style>

@ -0,0 +1,46 @@
<template>
<div>
<p style="margin-top: 30px;margin-bottom: 30px">
<Button style="width: 112px;height: 20px;background-color: #FFF;color: #1A80D2;border: 0px">选择发送给的客户</Button>
</p>
<dic>
<i-input v-model="groupContent" type="textarea" :rows="10" show-word-limit placeholder="输入消息内容。。。" style="width: 50%" />
</dic>
<div style="margin-top: 10px">
<i-input placeholder="添加图片/网页/小程序" readonly style="width: 50%">
<Icon type="md-add" slot="prefix" />
</i-input>
</div>
<Row style="width: 50%;margin-top: 30px">
<i-col span="12">
<Button style="width: 142px;height: 46px;background-color: #1A80D2;color: #FFF;">通知成员发送</Button>
</i-col>
<i-col span="12" style="text-align: left">
通知成员向选中的客户发送以上企业消息
</i-col>
</Row>
</div>
</template>
<script>
export default {
name: "IncreaseGroupSendConfigureAdd",
data(){
return {
groupContent:'',
}
},
mounted() {
},
methods:{
}
}
</script>
<style scoped>
</style>

@ -0,0 +1,55 @@
<template>
<div>
<p style="margin-top: 30px;margin-bottom: 30px">
由管理员或者业务负责人统一配置配置后客户将在添加成员为联系人后收到该欢迎语
</p>
<dic>
<i-input v-model="welcomeContent" maxlength="100" type="textarea" :rows="10" show-word-limit placeholder="最多100个字" style="width: 50%" />
</dic>
<div style="margin-top: 10px">
<i-input placeholder="添加图片/网页/小程序" readonly style="width: 50%">
<Icon type="md-add" slot="prefix" />
</i-input>
</div>
<div style="margin-top: 10px">
<p>
使用范围全体成员
</p>
</div>
<Row style="width: 50%;margin-top: 30px">
<i-col span="12">
<Button style="width: 142px;height: 46px;background-color: #1A80D2;color: #FFF;">{{typeName}}</Button>
</i-col>
<i-col span="12" style="text-align: right">
<Button v-show="showDel" style="width: 142px;height: 46px;background-color: #FFF;color: #FF0000;border: 0px"></Button>
</i-col>
</Row>
</div>
</template>
<script>
export default {
name: "IncreaseWelcomeConfigure",
data(){
return {
welcomeContent:'',
typeName:'保存',
showDel:false,
}
},
mounted() {
this.getWelcomeConfig();
},
methods:{
getWelcomeConfig(){
}
}
}
</script>
<style scoped>
</style>

@ -18,6 +18,10 @@ import IncreaseDataStore from '@/pages/shop/IncreaseDataStore';
import IncreaseStaffManager from '@/pages/shop/IncreaseStaffManager';
import IncreaseStaffManagerBatchAdd from '@/pages/shop/IncreaseStaffManagerBatchAdd';
import IncreaseStoreManager from '@/pages/shop/IncreaseStoreManager';
import IncreaseConfigure from '@/pages/shop/IncreaseConfigure';
import IncreaseGroupSendConfigure from '@/pages/shop/IncreaseGroupSendConfigure';
import IncreaseWelcomeConfigure from '@/pages/shop/IncreaseWelcomeConfigure';
import IncreaseGroupSendConfigureAdd from '@/pages/shop/IncreaseGroupSendConfigureAdd';
Vue.use(Router);
@ -96,6 +100,32 @@ const router = new Router({
}
]
},
{
path: '/shop/increase/configure',
name: 'IncreaseConfigure',
component: IncreaseConfigure,
children: [
{
path: '/',
redirect: '/shop/increase/configure/welcome'
},
{
path: '/shop/increase/configure/group',
name: 'IncreaseGroupSendConfigure',
component: IncreaseGroupSendConfigure
},
{
path: '/shop/increase/configure/welcome',
name: 'IncreaseWelcomeConfigure',
component: IncreaseWelcomeConfigure
},
{
path: '/shop/increase/configure/group/add',
name: 'IncreaseGroupSendConfigureAdd',
component: IncreaseGroupSendConfigureAdd
},
]
},
{
path: '/shop/increase/data',
name: 'IncreaseData',

Loading…
Cancel
Save