Commit 3b71fd90 by 杨明

fixed

2 parents 3f1fd73f e7878e3b
...@@ -84,7 +84,6 @@ ...@@ -84,7 +84,6 @@
<SelectCrowd ref="selectCrowd" @crowdData="getCrowdData" :resetMerchantId="resetMerchantId" :selectCrowdData="basicForm.crowdList"></SelectCrowd> <SelectCrowd ref="selectCrowd" @crowdData="getCrowdData" :resetMerchantId="resetMerchantId" :selectCrowdData="basicForm.crowdList"></SelectCrowd>
</div> </div>
</template> </template>
<script> <script>
const combineType = { const combineType = {
label: 2, label: 2,
...@@ -94,9 +93,7 @@ import emoji from '@/utils/emo' ...@@ -94,9 +93,7 @@ import emoji from '@/utils/emo'
import SelectCrowd from './components/selectCrowd.vue' import SelectCrowd from './components/selectCrowd.vue'
import SelectLabel from './components/SelectLabel.vue' import SelectLabel from './components/SelectLabel.vue'
// import SearchDropDown from './components/searchDropDown/index' // import SearchDropDown from './components/searchDropDown/index'
import * as dayjs from 'dayjs' import * as dayjs from 'dayjs'
export default { export default {
components: { components: {
SelectLabel, SelectLabel,
...@@ -201,7 +198,7 @@ export default { ...@@ -201,7 +198,7 @@ export default {
groupListApi: this.$apis.welcomeword.getGroupListApi, groupListApi: this.$apis.welcomeword.getGroupListApi,
materialListApi: this.$apis.welcomeword.getMaterialListApi, materialListApi: this.$apis.welcomeword.getMaterialListApi,
params: { params: {
merchantId: this.$globalState.session.merchantId merchant: this.$globalState.session.merchantId
} }
}, },
{ {
...@@ -214,7 +211,7 @@ export default { ...@@ -214,7 +211,7 @@ export default {
templateSaveApi: this.$apis.welcomeword.templateSave, templateSaveApi: this.$apis.welcomeword.templateSave,
templateDetailApi: this.$apis.welcomeword.templateDetail, templateDetailApi: this.$apis.welcomeword.templateDetail,
params: { params: {
merchantId: this.$globalState.session.merchantId merchant: this.$globalState.session.merchantId
} }
} }
], ],
...@@ -325,7 +322,6 @@ export default { ...@@ -325,7 +322,6 @@ export default {
}) })
this.dataItems = [...this.dataItems, ...this.arrBack] this.dataItems = [...this.dataItems, ...this.arrBack]
}, },
async remoteMethod(searchValue) { async remoteMethod(searchValue) {
if (searchValue !== '') { if (searchValue !== '') {
this.searchContentStorage = searchValue this.searchContentStorage = searchValue
...@@ -351,8 +347,8 @@ export default { ...@@ -351,8 +347,8 @@ export default {
selectChange(val) { selectChange(val) {
// 选择门店时,替换欢迎语组件当中的所有merchantId // 选择门店时,替换欢迎语组件当中的所有merchantId
this.btnList.forEach(item => { this.btnList.forEach(item => {
if (item.params && item.params.hasOwnProperty('merchantId')) { if (item.params && item.params.hasOwnProperty('merchant')) {
item.params.merchantId = val item.params.merchant = val
} }
if (item.funParams && Object.prototype.toString.call(item.funParams) === '[object Array]') { if (item.funParams && Object.prototype.toString.call(item.funParams) === '[object Array]') {
item.funParams.forEach(funArr => { item.funParams.forEach(funArr => {
...@@ -635,13 +631,11 @@ export default { ...@@ -635,13 +631,11 @@ export default {
} }
} }
</script> </script>
<style lang="scss" scoped> <style lang="scss" scoped>
.container { .container {
margin-bottom: 20px; margin-bottom: 20px;
background: #ffffff; background: #ffffff;
box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1); box-shadow: 0 10px 20px 0 rgba(88, 80, 255, 0.1);
// padding: 20px; // padding: 20px;
.title { .title {
padding: 20px 0 17px 20px; padding: 20px 0 17px 20px;
...@@ -650,19 +644,16 @@ export default { ...@@ -650,19 +644,16 @@ export default {
font-weight: 600; font-weight: 600;
border-bottom: 1px solid #d8d8d8; border-bottom: 1px solid #d8d8d8;
} }
.info-box { .info-box {
display: inline-flex; display: inline-flex;
width: 100%; width: 100%;
padding-bottom: 30px; padding-bottom: 30px;
align-items: flex-end; align-items: flex-end;
justify-content: space-between; justify-content: space-between;
.info-content { .info-content {
// width: calc(100% - 360px); // width: calc(100% - 360px);
width: 66%; width: 66%;
padding-right: 20px; padding-right: 20px;
//.filter-box { //.filter-box {
// // margin-left: 120px; // // margin-left: 120px;
// margin-bottom: 10px; // margin-bottom: 10px;
...@@ -678,7 +669,6 @@ export default { ...@@ -678,7 +669,6 @@ export default {
// } // }
// } // }
//} //}
.filter-footer { .filter-footer {
display: flex; display: flex;
// padding: 14px 20px; // padding: 14px 20px;
...@@ -686,7 +676,6 @@ export default { ...@@ -686,7 +676,6 @@ export default {
align-items: center; align-items: center;
color: #999; color: #999;
font-size: 14px; font-size: 14px;
.filter-number { .filter-number {
display: inline-block; display: inline-block;
line-height: 20px; line-height: 20px;
...@@ -694,31 +683,25 @@ export default { ...@@ -694,31 +683,25 @@ export default {
background-color: #e6e9ff; background-color: #e6e9ff;
color: #333; color: #333;
margin-top: 8px; margin-top: 8px;
span { span {
color: #5850ff; color: #5850ff;
cursor: pointer; cursor: pointer;
} }
} }
} }
.basic-form { .basic-form {
padding: 32px 0 20px 20px; padding: 32px 0 20px 20px;
.settingSelect { .settingSelect {
/deep/ input { /deep/ input {
height: 35px; height: 35px;
} }
} }
.selectedLabel { .selectedLabel {
display: flex; display: flex;
.selectLen { .selectLen {
margin-left: 20px; margin-left: 20px;
font-size: 14px; font-size: 14px;
color: #666666; color: #666666;
.num { .num {
color: #5850ff; color: #5850ff;
} }
...@@ -727,19 +710,16 @@ export default { ...@@ -727,19 +710,16 @@ export default {
} }
} }
} }
.form-tips { .form-tips {
font-size: 12px; font-size: 12px;
color: #999; color: #999;
} }
.preview { .preview {
flex: 1; flex: 1;
margin-right: 24px; margin-right: 24px;
margin-bottom: 58px; margin-bottom: 58px;
} }
} }
.footer-panel { .footer-panel {
display: flex; display: flex;
align-items: center; align-items: center;
...@@ -751,22 +731,18 @@ export default { ...@@ -751,22 +731,18 @@ export default {
background: #ffffff; background: #ffffff;
box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1); box-shadow: 0px -1px 1px 0px rgba(88, 80, 255, 0.1);
} }
.label-text { .label-text {
margin-left: 10px; margin-left: 10px;
font-size: 14px; font-size: 14px;
span { span {
color: #5850ff; color: #5850ff;
} }
} }
.sale-select { .sale-select {
display: flex; display: flex;
align-items: center; align-items: center;
// width: 50%; // width: 50%;
} }
.input-tag-wrapper { .input-tag-wrapper {
max-height: 75px; max-height: 75px;
min-width: 488px; min-width: 488px;
...@@ -791,14 +767,12 @@ export default { ...@@ -791,14 +767,12 @@ export default {
align-items: center; align-items: center;
margin-top: 6px; margin-top: 6px;
font-size: 14px; font-size: 14px;
i { i {
color: #75acff; color: #75acff;
margin-right: 3px; margin-right: 3px;
font-size: 14px; font-size: 14px;
} }
} }
.el-tag { .el-tag {
margin-right: 4px; margin-right: 4px;
height: 26px; height: 26px;
...@@ -806,7 +780,6 @@ export default { ...@@ -806,7 +780,6 @@ export default {
margin-bottom: 6px; margin-bottom: 6px;
// background: #fff !important; // background: #fff !important;
} }
.tag-input { .tag-input {
background: transparent; background: transparent;
border: none !important; border: none !important;
...@@ -816,49 +789,40 @@ export default { ...@@ -816,49 +789,40 @@ export default {
padding-left: 0; padding-left: 0;
width: 100px; width: 100px;
} }
.form-error { .form-error {
color: #f56c6c; color: #f56c6c;
font-size: 12px; font-size: 12px;
margin-left: 186px; margin-left: 186px;
margin-top: 10px; margin-top: 10px;
} }
/deep/ { /deep/ {
//.el-form-item .el-form-item { //.el-form-item .el-form-item {
// margin-bottom: 22px; // margin-bottom: 22px;
//} //}
.required { .required {
display: inline-block; display: inline-block;
line-height: 40px; line-height: 40px;
} }
.required::before { .required::before {
content: '*'; content: '*';
color: #f56c6c; color: #f56c6c;
margin-right: 4px; margin-right: 4px;
} }
.el-loading-spinner { .el-loading-spinner {
transform: translateY(8px); transform: translateY(8px);
} }
.el-scrollbar { .el-scrollbar {
padding-bottom: 10px; padding-bottom: 10px;
} }
.gl-form-page .el-form .welcome-box { .gl-form-page .el-form .welcome-box {
min-width: 488px; min-width: 488px;
max-width: 844px; max-width: 844px;
width: auto; width: auto;
} }
} }
.group-content { .group-content {
padding: 0 0 20px 0; padding: 0 0 20px 0;
} }
.tips-text { .tips-text {
font-size: 12px; font-size: 12px;
color: #f56c6c; color: #f56c6c;
...@@ -866,22 +830,18 @@ export default { ...@@ -866,22 +830,18 @@ export default {
line-height: 20px; line-height: 20px;
padding-bottom: 4px; padding-bottom: 4px;
} }
.crowd-tips { .crowd-tips {
color: #999999; color: #999999;
font-size: 12px; font-size: 12px;
line-height: 16px; line-height: 16px;
} }
/deep/ .content .btn-group { /deep/ .content .btn-group {
line-height: 14px; line-height: 14px;
} }
/deep/ .el-select { /deep/ .el-select {
.el-select__caret:first-child::before { .el-select__caret:first-child::before {
content: '\e6e1'; content: '\e6e1';
} }
.is-focus { .is-focus {
.el-select__caret:first-child { .el-select__caret:first-child {
transform: rotateZ(0deg); transform: rotateZ(0deg);
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!