Commit 3b71fd90 by 杨明

fixed

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