Commit a6427f66 by 庄冰

ui

parent 730b46f4
.demo-upload-list{display:inline-block;width:60px;height:60px;text-align:center;line-height:60px;border:1px solid transparent;border-radius:4px;overflow:hidden;background:#fff;position:relative;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.2);box-shadow:0 1px 1px rgba(0,0,0,.2);margin-right:4px}.ivu-message,.ivu-notice{z-index:9999!important}.demo-upload-list img{width:100%;height:100%}.demo-upload-list-cover{display:none;position:absolute;top:0;bottom:0;left:0;right:0;background:rgba(0,0,0,.6)}.demo-upload-list:hover .demo-upload-list-cover{display:block}.demo-upload-list-cover i{color:#fff;font-size:20px;cursor:pointer;margin:0 2px}.upload-img button[data-v-382f162a]{width:90px;height:32px;background:#1890ff;border-radius:1px;outline:none;border:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;cursor:pointer}.upload-img .box[data-v-382f162a]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:20px;min-width:580px}.upload-img .box .image-box[data-v-382f162a]{width:108px;height:90px;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:1px;padding:10px 0;margin-bottom:10px;background:#f3f3f3}.upload-img .box .image-box img[data-v-382f162a]{width:100%;height:100%}.upload-img .box .checkedActive[data-v-382f162a]{background:#eff7ff;border:1px solid #1890ff}.upload-img .box .image-box[data-v-382f162a]:not(:nth-child(5n+1)){margin-left:10px}.ivu-modal-wrap[data-v-77057800]{z-index:9999!important}.show_piclist>li[data-v-77057800]{width:200px;height:200px;display:inline-block;margin-left:20px}.show_piclist>li>img[data-v-77057800]{width:100%;height:100%}.pic-icon[data-v-77057800]{display:inline-block;width:35px;height:35px;vertical-align:middle;margin-right:20px}.pic-icon img[data-v-77057800]{width:100%;height:100%}.add-input>li:hover i[data-v-77057800]{display:inline-block!important}
\ No newline at end of file
.demo-upload-list{display:inline-block;width:60px;height:60px;text-align:center;line-height:60px;border:1px solid transparent;border-radius:4px;overflow:hidden;background:#fff;position:relative;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.2);box-shadow:0 1px 1px rgba(0,0,0,.2);margin-right:4px}.ivu-message,.ivu-notice{z-index:9999!important}.demo-upload-list img{width:100%;height:100%}.demo-upload-list-cover{display:none;position:absolute;top:0;bottom:0;left:0;right:0;background:rgba(0,0,0,.6)}.demo-upload-list:hover .demo-upload-list-cover{display:block}.demo-upload-list-cover i{color:#fff;font-size:20px;cursor:pointer;margin:0 2px}.upload-img button[data-v-358d351a]{width:90px;height:32px;background:#1890ff;border-radius:1px;outline:none;border:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;cursor:pointer}.upload-img .box[data-v-358d351a]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:20px;min-width:580px}.upload-img .box .image-box[data-v-358d351a]{width:108px;height:90px;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:1px;padding:10px 0;margin-bottom:10px;background:#f3f3f3}.upload-img .box .image-box img[data-v-358d351a]{width:100%;height:100%}.upload-img .box .checkedActive[data-v-358d351a]{background:#eff7ff;border:1px solid #1890ff}.upload-img .box .image-box[data-v-358d351a]:not(:nth-child(5n+1)){margin-left:10px}.ivu-modal-wrap[data-v-7fb8f517]{z-index:9999!important}.show_piclist>li[data-v-7fb8f517]{width:200px;height:200px;display:inline-block;margin-left:20px}.show_piclist>li>img[data-v-7fb8f517]{width:100%;height:100%}.pic-icon[data-v-7fb8f517]{display:inline-block;width:35px;height:35px;vertical-align:middle;margin-right:20px}.pic-icon img[data-v-7fb8f517]{width:100%;height:100%}.add-input>li:hover i[data-v-7fb8f517]{display:inline-block!important}
\ No newline at end of file
.dialog_href[data-v-40e2156b]{width:100%}.dialog_href .dialog_href_item[data-v-40e2156b]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:10px}.dialog_href .dialog_href_item .dialog_href_item_left[data-v-40e2156b]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;padding-top:9px;margin-right:10px;min-width:60px}.dialog_href .dialog_href_item .dialog_href_item_right[data-v-40e2156b]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.dialog_href .dialog_href_item .dialog_href_item_right .href_set_radio[data-v-40e2156b]{width:100%;padding-top:7px;margin-left:10px}.dialog_href .dialog_href_item .dialog_href_item_right[data-v-40e2156b] .ivu-radio-inner:after{width:4.67px;height:4.67px;left:4px;top:4px}.dialog_href .dialog_href_item .dialog_href_item_right[data-v-40e2156b] .ivu-radio-wrapper{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;margin-right:30px}.dialog_href .dialog_href_item .dialog_href_item_right[data-v-40e2156b] .ivu-input,.dialog_href .dialog_href_item .dialog_href_item_right[data-v-40e2156b] .ivu-select-selection{margin-left:10px;background:#fff;border-radius:1px;border:1px solid #d9d9d9;font-size:14px;font-family:MicrosoftYaHeiUI;line-height:14px}.dialog_href .dialog_href_item .dialog_href_item_right[data-v-40e2156b] .ivu-select-selected-value{font-size:14px}.dialog_href .dialog_href_item2[data-v-40e2156b]{margin-top:20px}.photo_gallery .photo_gallery_main .photo_gallery_main_btns[data-v-474cd917],.photo_gallery .photo_gallery_main[data-v-474cd917],.photo_gallery[data-v-474cd917]{width:100%}.photo_gallery .photo_gallery_main .photo_gallery_main_btns .uploadBtn[data-v-474cd917]:hover{background:#3faaff}.photo_gallery .photo_gallery_main .photo_gallery_main_btns .uploadBtn[data-v-474cd917]{width:90px;height:32px;background:#1890ff;border-radius:1px;border:none;outline:none;font-size:14px;font-family:MicrosoftYaHeiUI;color:#fff;line-height:14px;cursor:pointer}.photo_gallery .photo_gallery_main .photo_gallery_main_pics[data-v-474cd917]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:20px 0 0}.photo_gallery .photo_gallery_main .photo_gallery_main_pics .photo_gallery_main_pics_w[data-v-474cd917]:hover{border:1px solid #1890ff}.photo_gallery .photo_gallery_main .photo_gallery_main_pics .photo_gallery_main_pics_w[data-v-474cd917]:nth-child(5n+1){margin-left:0}.photo_gallery .photo_gallery_main .photo_gallery_main_pics .photo_gallery_main_pics_w[data-v-474cd917]{width:108px;height:90px;background:#f3f3f3;border-radius:1px;margin-left:10px;margin-bottom:20px;overflow:hidden;position:relative;cursor:pointer}.photo_gallery .photo_gallery_main .photo_gallery_main_pics .photo_gallery_main_pics_w .photo_gallery_main_pics_silde[data-v-474cd917]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.photo_gallery .photo_gallery_main .photo_gallery_main_pics .photo_gallery_main_pics_w .photo_gallery_main_pics_silde img[data-v-474cd917]{max-width:100%;max-height:100%}.photo_gallery .photo_gallery_main .photo_gallery_main_pics .photo_gallery_main_pics_w .photo_gallery_main_pics_w_dui[data-v-474cd917]{width:24px;height:24px;background:#1890ff;color:#fff;border-radius:100px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;padding:1px;position:absolute;right:-12px;bottom:-12px}.photo_gallery .photo_gallery_main .photo_gallery_main_pics .photo_gallery_main_pics_w_actived[data-v-474cd917]{border:1px solid #1890ff}.photo_gallery .photo_gallery_main .photo_gallery_main_page[data-v-474cd917]{width:100%}.photo_gallery .photo_gallery_main .photo_gallery_main_none[data-v-474cd917]{width:100%;height:100%;min-height:400px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.photo_gallery .photo_gallery_main .photo_gallery_main_none .svg-icon[data-v-474cd917]{width:90px;height:96px}[data-v-474cd917] .ivu-page{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}[data-v-474cd917] .ivu-page .ivu-page-item-active{background:#1890ff}[data-v-474cd917] .ivu-page .ivu-page-item-active a{color:#fff}[data-v-474cd917] .ivu-page a{margin:0}[data-v-474cd917] .ivu-upload-list{display:none}.dialog_acrao[data-v-5a361e45]{width:100%}.dialog_acrao .dialog_acrao_item[data-v-5a361e45]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:10px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_left[data-v-5a361e45]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;padding-top:9px;margin-right:10px;min-width:60px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right[data-v-5a361e45]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .dialog_acrao_addpic[data-v-5a361e45]{-webkit-box-flex:1;-ms-flex:1;flex:1;max-width:100px;height:90px;border-radius:1px;background:#f8f8f8;border:1px solid #d9d9d9;margin-left:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:55px;color:#d9d9d9;font-weight:100;cursor:pointer;margin-bottom:10px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .activeAcrao[data-v-5a361e45]{background:#eff7ff;border:1px solid #1890ff}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .dialog_acrao_img:hover .acrao_close[data-v-5a361e45],.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .dialog_acrao_img:hover .acrao_set[data-v-5a361e45]{display:-webkit-box;display:-ms-flexbox;display:flex}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .dialog_acrao_img[data-v-5a361e45]{width:84px;height:84px;margin-left:10px;position:relative;background:#d9d9d9;margin-bottom:10px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .dialog_acrao_img img[data-v-5a361e45]{width:100%;height:100%}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .dialog_acrao_img .acrao_close[data-v-5a361e45]{width:14px;height:14px;position:absolute;top:-6px;right:-6px;cursor:pointer;display:none}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .dialog_acrao_img .acrao_set[data-v-5a361e45]{width:100%;height:25px;background:rgba(26,144,255,.7);position:absolute;left:0;bottom:0;font-size:14px;font-family:MicrosoftYaHeiUI;color:#fff;line-height:14px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;display:none}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right[data-v-5a361e45] .ivu-input{background:#fff;border-radius:1px;border:1px solid #d9d9d9}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right[data-v-5a361e45] .ivu-btn-default{border-radius:2px;border:1px solid #ddd;margin-left:12px;font-size:14px;font-family:PingFangTC-Regular,PingFangTC;font-weight:400;color:#333;line-height:14px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right[data-v-5a361e45] .ivu-radio{margin-right:10px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .acrao_set_radio[data-v-5a361e45]{width:100%;padding-top:7px;margin-left:10px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right[data-v-5a361e45] .ivu-radio-inner:after{width:4.67px;height:4.67px;left:4px;top:4px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right[data-v-5a361e45] .ivu-radio-wrapper{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;margin-right:30px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .acrao_set_detail[data-v-5a361e45]{width:100%;padding-top:20px;margin-left:10px;display:-webkit-box;display:-ms-flexbox;display:flex}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .acrao_set_detail .acrao_set_detail_item[data-v-5a361e45]{margin-right:40px;display:-webkit-box;display:-ms-flexbox;display:flex}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .acrao_set_detail .acrao_set_detail_item .ivu-btn-default1[data-v-5a361e45]{height:32px;border:1px solid #d9d9d9;border-radius:1px;font-size:14px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .acrao_set_detail .acrao_set_detail_item .acrao_set_detail_item_img[data-v-5a361e45]{width:80px;height:80px;margin-left:10px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .acrao_set_detail .acrao_set_detail_item .acrao_set_detail_item_img img[data-v-5a361e45]{max-width:100%;max-height:100%}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .acrao_set_detail span[data-v-5a361e45]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:18px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .acrao_set_detail[data-v-5a361e45] .ivu-input-wrapper{margin-left:10px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .acrao_set_detail[data-v-5a361e45] .ivu-input-suffix span{line-height:28px;font-size:14px;font-family:MicrosoftYaHeiUI;color:#e0e0de}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .acrao_set_detail[data-v-5a361e45] .ivu-input{font-size:14px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .acrao_set_detail[data-v-5a361e45] .ivu-input-with-suffix{padding-right:25px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .acrao_set_detail[data-v-5a361e45] .ivu-input-suffix{width:25px}.dialog_acrao .dialog_acrao_title[data-v-5a361e45]{width:100%;padding:13px 14px;background:#f7f7f7;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin:20px 0}.dialog_acrao .dialog_acrao_title h3[data-v-5a361e45]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;font-weight:500}.dialog_acrao .dialog_acrao_style[data-v-5a361e45]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.dialog_acrao .dialog_acrao_style .dialog_acrao_style_item[data-v-5a361e45],.dialog_acrao .dialog_acrao_style .dialog_acrao_style_item_active[data-v-5a361e45]{width:140px;height:90px;padding:5px;background:#fff;border-radius:1px;border:1px solid #d9d9d9;margin-right:10px;cursor:pointer}.dialog_acrao .dialog_acrao_style .dialog_acrao_style_item .style_main[data-v-5a361e45],.dialog_acrao .dialog_acrao_style .dialog_acrao_style_item_active .style_main[data-v-5a361e45]{width:100%;height:100%;background:hsla(0,0%,85.1%,.5);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0 16px}.dialog_acrao .dialog_acrao_style .dialog_acrao_style_item .style_main h3[data-v-5a361e45],.dialog_acrao .dialog_acrao_style .dialog_acrao_style_item_active .style_main h3[data-v-5a361e45]{margin-bottom:7px;font-size:14px;font-family:MicrosoftYaHeiUI-Bold,MicrosoftYaHeiUI;font-weight:700;color:#7a8b9c;line-height:14px}.dialog_acrao .dialog_acrao_style .dialog_acrao_style_item .style_main p[data-v-5a361e45],.dialog_acrao .dialog_acrao_style .dialog_acrao_style_item_active .style_main p[data-v-5a361e45]{font-size:11px;font-family:MicrosoftYaHeiUI;color:#8e9eaf;line-height:11px}.dialog_acrao .dialog_acrao_style .dialog_acrao_style_item_active[data-v-5a361e45]{border:1px solid #1890ff}.dialog_acrao .dialog_acrao_style .dialog_acrao_style_item_active .style_main[data-v-5a361e45]{width:100%;height:100%;background:rgba(24,144,255,.07);border-radius:1px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0 16px}.dialog_acrao .dialog_acrao_style .dialog_acrao_style_item_active .style_main h3[data-v-5a361e45]{margin-bottom:7px;font-size:14px;font-family:MicrosoftYaHeiUI-Bold,MicrosoftYaHeiUI;font-weight:700;color:#7a8b9c;line-height:14px}.dialog_acrao .dialog_acrao_style .dialog_acrao_style_item_active .style_main p[data-v-5a361e45]{font-size:11px;font-family:MicrosoftYaHeiUI;color:#8e9eaf;line-height:11px}.dialog_acrao[data-v-5a361e45] .ivu-color-picker-picker-panel{min-width:303px}.dialog_banner[data-v-7b09bed5]{width:100%}.dialog_banner .dialog_banner_item[data-v-7b09bed5]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:10px}.dialog_banner .dialog_banner_item .dialog_banner_item_left[data-v-7b09bed5]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;padding-top:9px;margin-right:10px;min-width:60px}.dialog_banner .dialog_banner_item .dialog_banner_item_right[data-v-7b09bed5]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.dialog_banner .dialog_banner_item .dialog_banner_item_right .dialog_banner_addpic[data-v-7b09bed5]{width:84px;height:84px;background:#fff;border:1px dashed #d9d9d9;margin-left:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:55px;color:#d9d9d9;font-weight:100;cursor:pointer;margin-bottom:10px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .dialog_banner_img:hover .banner_close[data-v-7b09bed5],.dialog_banner .dialog_banner_item .dialog_banner_item_right .dialog_banner_img:hover .banner_set[data-v-7b09bed5]{display:-webkit-box;display:-ms-flexbox;display:flex}.dialog_banner .dialog_banner_item .dialog_banner_item_right .dialog_banner_img[data-v-7b09bed5]{width:84px;height:84px;margin-left:10px;position:relative;background:#d9d9d9;margin-bottom:10px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .dialog_banner_img img[data-v-7b09bed5]{width:100%;height:100%}.dialog_banner .dialog_banner_item .dialog_banner_item_right .dialog_banner_img .banner_close[data-v-7b09bed5]{width:14px;height:14px;position:absolute;top:-6px;right:-6px;cursor:pointer;display:none}.dialog_banner .dialog_banner_item .dialog_banner_item_right .dialog_banner_img .banner_set[data-v-7b09bed5]{width:100%;height:25px;background:rgba(26,144,255,.7);position:absolute;left:0;bottom:0;font-size:14px;font-family:MicrosoftYaHeiUI;color:#fff;line-height:14px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;display:none}.dialog_banner .dialog_banner_item .dialog_banner_item_right[data-v-7b09bed5] .ivu-input{background:#fff;border-radius:1px;border:1px solid #d9d9d9}.dialog_banner .dialog_banner_item .dialog_banner_item_right[data-v-7b09bed5] .ivu-btn-default{width:70px;height:32px;border-radius:2px;border:1px solid #ddd;margin-left:12px;font-size:14px;font-family:PingFangTC-Regular,PingFangTC;font-weight:400;color:#333;line-height:14px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_radio[data-v-7b09bed5]{width:100%;padding-top:7px;margin-left:10px}.dialog_banner .dialog_banner_item .dialog_banner_item_right[data-v-7b09bed5] .ivu-radio{margin-right:10px}.dialog_banner .dialog_banner_item .dialog_banner_item_right[data-v-7b09bed5] .ivu-radio-inner:after{width:4.67px;height:4.67px;left:4px;top:4px}.dialog_banner .dialog_banner_item .dialog_banner_item_right[data-v-7b09bed5] .ivu-radio-wrapper{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;margin-right:30px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail[data-v-7b09bed5]{width:100%;padding-top:20px;margin-left:10px;display:-webkit-box;display:-ms-flexbox;display:flex}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail .banner_set_detail_item[data-v-7b09bed5]{margin-right:40px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail span[data-v-7b09bed5]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:18px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail[data-v-7b09bed5] .ivu-input-wrapper{margin-left:10px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail[data-v-7b09bed5] .ivu-input-suffix span{line-height:28px;font-size:14px;font-family:MicrosoftYaHeiUI;color:#e0e0de}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail[data-v-7b09bed5] .ivu-input{font-size:14px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail[data-v-7b09bed5] .ivu-input-with-suffix{padding-right:25px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail[data-v-7b09bed5] .ivu-input-suffix{width:25px}.dialog_banner .dialog_banner_title[data-v-7b09bed5]{width:100%;padding:13px 14px;background:#f7f7f7;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin:20px 0}.dialog_banner .dialog_banner_title h3[data-v-7b09bed5]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;font-weight:500}.dialog_banner .dialog_banner_style[data-v-7b09bed5]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.dialog_banner .dialog_banner_style .dialog_banner_style_item[data-v-7b09bed5],.dialog_banner .dialog_banner_style .dialog_banner_style_item_active[data-v-7b09bed5]{width:140px;height:90px;padding:5px;background:#fff;border-radius:1px;border:1px solid #d9d9d9;margin-right:10px;cursor:pointer}.dialog_banner .dialog_banner_style .dialog_banner_style_item .style_main[data-v-7b09bed5],.dialog_banner .dialog_banner_style .dialog_banner_style_item_active .style_main[data-v-7b09bed5]{width:100%;height:100%;background:hsla(0,0%,85.1%,.5);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0 16px}.dialog_banner .dialog_banner_style .dialog_banner_style_item .style_main h3[data-v-7b09bed5],.dialog_banner .dialog_banner_style .dialog_banner_style_item_active .style_main h3[data-v-7b09bed5]{margin-bottom:7px;font-size:14px;font-family:MicrosoftYaHeiUI-Bold,MicrosoftYaHeiUI;font-weight:700;color:#7a8b9c;line-height:14px}.dialog_banner .dialog_banner_style .dialog_banner_style_item .style_main p[data-v-7b09bed5],.dialog_banner .dialog_banner_style .dialog_banner_style_item_active .style_main p[data-v-7b09bed5]{font-size:11px;font-family:MicrosoftYaHeiUI;color:#8e9eaf;line-height:11px}.dialog_banner .dialog_banner_style .dialog_banner_style_item_active[data-v-7b09bed5]{border:1px solid #1890ff}.dialog_banner .dialog_banner_style .dialog_banner_style_item_active .style_main[data-v-7b09bed5]{width:100%;height:100%;background:rgba(24,144,255,.07);border-radius:1px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0 16px}.dialog_banner .dialog_banner_style .dialog_banner_style_item_active .style_main h3[data-v-7b09bed5]{margin-bottom:7px;font-size:14px;font-family:MicrosoftYaHeiUI-Bold,MicrosoftYaHeiUI;font-weight:700;color:#7a8b9c;line-height:14px}.dialog_banner .dialog_banner_style .dialog_banner_style_item_active .style_main p[data-v-7b09bed5]{font-size:11px;font-family:MicrosoftYaHeiUI;color:#8e9eaf;line-height:11px}[data-v-7b09bed5] .vertical-center-modal{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}[data-v-7b09bed5] .vertical-center-modal /deep/ .ivu-modal{top:0}[data-v-7b09bed5] .ivu-modal-body{padding:20px 50px 30px}.dialog_button[data-v-7f88830d]{width:100%}.dialog_button .dialog_button_title[data-v-7f88830d]{width:100%;padding:13px 14px;background:#f7f7f7;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin:20px 0}.dialog_button .dialog_button_title h3[data-v-7f88830d]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;font-weight:500}.dialog_button .dialog_button_btns[data-v-7f88830d]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.dialog_button .dialog_button_btns .dialog_button_btns_ite[data-v-7f88830d]:hover{border:1px solid #1890ff}.dialog_button .dialog_button_btns .dialog_button_btns_ite[data-v-7f88830d]{width:147px;height:60px;padding:10px;margin-right:50px;margin-bottom:15px;border:1px solid #d9d9d9;cursor:pointer;position:relative;overflow:hidden}.dialog_button .dialog_button_btns .dialog_button_btns_ite button[data-v-7f88830d]{width:100%;height:100%;border-radius:2px;border:1px solid;outline:none;cursor:pointer}.dialog_button .dialog_button_btns .dialog_button_btns_ite_actived[data-v-7f88830d]{border:1px solid #1890ff}.dialog_button .dialog_button_btns .dialog_button_btns_ite[data-v-7f88830d]:nth-child(3n){margin-right:0}.dialog_button .dialog_button_btns .photo_gallery_main_pics_w_dui[data-v-7f88830d]{width:24px;height:24px;background:#1890ff;color:#fff;border-radius:100px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;padding:1px;position:absolute;right:-12px;bottom:-12px}.dialog_button .dialog_button_item[data-v-7f88830d]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:10px}.dialog_button .dialog_button_item .dialog_button_item_left[data-v-7f88830d]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;padding-top:9px;margin-right:10px;min-width:60px}.dialog_button .dialog_button_item .dialog_button_item_right[data-v-7f88830d]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.dialog_button .dialog_button_item .dialog_button_item_right .dialog_button_addpic[data-v-7f88830d]{width:84px;height:84px;background:#fff;border:1px dashed #d9d9d9;margin-left:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:55px;color:#d9d9d9;font-weight:100;cursor:pointer;margin-bottom:10px}.dialog_button .dialog_button_item .dialog_button_item_right[data-v-7f88830d] .ivu-input{background:#fff;border-radius:1px;border:1px solid #d9d9d9}.dialog_button .dialog_button_item .dialog_button_item_right[data-v-7f88830d] .ivu-btn-default{width:70px;height:32px;border-radius:2px;border:1px solid #ddd;margin-left:12px;font-size:14px;font-family:PingFangTC-Regular,PingFangTC;font-weight:400;color:#333;line-height:14px}.dialog_button .dialog_button_item .dialog_button_item_right[data-v-7f88830d] .ivu-radio{margin-right:10px}.dialog_button .dialog_button_item .dialog_button_item_right[data-v-7f88830d] .ivu-radio-inner:after{width:4.67px;height:4.67px;left:4px;top:4px}.dialog_button .dialog_button_item .dialog_button_item_right[data-v-7f88830d] .ivu-radio-wrapper{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;margin-right:30px}.dialog_button .dialog_button_item .dialog_button_item_right .banner_set_radio[data-v-7f88830d]{width:100%;padding-top:7px;margin-left:10px}.dialog_button .dialog_button_item .dialog_button_item_right .banner_set_detail[data-v-7f88830d]{width:100%;padding-top:20px;margin-left:10px;display:-webkit-box;display:-ms-flexbox;display:flex}.dialog_button .dialog_button_item .dialog_button_item_right .banner_set_detail .banner_set_detail_item[data-v-7f88830d]{margin-right:40px}.dialog_button .dialog_button_item .dialog_button_item_right .banner_set_detail span[data-v-7f88830d]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:18px}.dialog_button .dialog_button_item .dialog_button_item_right .banner_set_detail[data-v-7f88830d] .ivu-input-wrapper{margin-left:10px}.dialog_button .dialog_button_item .dialog_button_item_right .banner_set_detail[data-v-7f88830d] .ivu-input-suffix span{line-height:28px;font-size:14px;font-family:MicrosoftYaHeiUI;color:#e0e0de}.dialog_button .dialog_button_item .dialog_button_item_right .banner_set_detail[data-v-7f88830d] .ivu-input{font-size:14px}.dialog_button .dialog_button_item .dialog_button_item_right .banner_set_detail[data-v-7f88830d] .ivu-input-with-suffix{padding-right:25px}.dialog_button .dialog_button_item .dialog_button_item_right .banner_set_detail[data-v-7f88830d] .ivu-input-suffix{width:25px}.dialog_button .dialog_button_item .dialog_button_item_right[data-v-7f88830d] .ivu-color-picker-picker-panel{min-width:303px}.dialog_button .dialog_button_item .dialog_button_item_right[data-v-7f88830d] .ivu-color-picker-confirm /deep/ .ivu-btn-default{width:40px;height:24px}.dialog_form[data-v-7a0c0853]{width:100%}.dialog_form .dialog_form_title[data-v-7a0c0853]{width:100%;padding:13px 14px;background:#f7f7f7;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin:20px 0}.dialog_form .dialog_form_title h3[data-v-7a0c0853]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;font-weight:500}.dialog_form .dialog_form_item[data-v-7a0c0853]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:10px}.dialog_form .dialog_form_item .dialog_form_item_left[data-v-7a0c0853]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;padding-top:9px;margin-right:10px;min-width:60px}.dialog_form .dialog_form_item .dialog_form_item_right[data-v-7a0c0853]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.dialog_form .dialog_form_item .dialog_form_item_right[data-v-7a0c0853] .ivu-select-selection{border-radius:1px}.dialog_form .dialog_form_check[data-v-7a0c0853]{width:100%}.dialog_form .dialog_form_check .dialog_form_check_main[data-v-7a0c0853]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.dialog_form .dialog_form_check .dialog_form_check_main .dialog_form_chack_main_item[data-v-7a0c0853]:hover{border:1px solid #1890ff}.dialog_form .dialog_form_check .dialog_form_check_main .dialog_form_chack_main_item[data-v-7a0c0853]{padding:10px;border-radius:2px;border:1px solid #d9d9d9;position:relative;overflow:hidden;cursor:pointer}.dialog_form .dialog_form_check .dialog_form_check_main .dialog_form_chack_main_item input[data-v-7a0c0853]{width:121px;height:40px;outline:none;border-radius:2px;font-size:14px;font-family:MicrosoftYaHei;color:#333;line-height:14px;text-align:center;cursor:pointer}.dialog_form .dialog_form_check .dialog_form_check_main .dialog_form_chack_main_item .photo_gallery_main_pics_w_dui[data-v-7a0c0853]{width:24px;height:24px;background:#1890ff;color:#fff;border-radius:100px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;padding:1px;position:absolute;right:-12px;bottom:-12px}.dialog_form .dialog_form_check .dialog_form_check_main .dialog_form_chack_main_item_actived[data-v-7a0c0853]{border:1px solid #1890ff}.upload-img button[data-v-d1062a58]{width:90px;height:32px;background:#1890ff;border-radius:1px;outline:none;border:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;cursor:pointer}.upload-img .box[data-v-d1062a58]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:20px;min-width:580px}.upload-img .box .image-box[data-v-d1062a58]{width:108px;height:90px;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:1px;padding:10px 0;margin-bottom:10px;background:#f3f3f3}.upload-img .box .image-box img[data-v-d1062a58]{width:100%;height:100%}.upload-img .box .checkedActive[data-v-d1062a58]{background:#eff7ff;border:1px solid #1890ff}.upload-img .box .image-box[data-v-d1062a58]:not(:nth-child(5n+1)){margin-left:10px}.picbox-wrap[data-v-5480fb92]{width:380px;display:inline-block}.picbox-wrap .addicon-box[data-v-5480fb92]{border:1px dashed #e6e8e9}.picbox-wrap .addicon-box[data-v-5480fb92],.picbox-wrap .pic-wrap[data-v-5480fb92]{display:inline-block;width:84px;height:84px;line-height:84px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;margin-left:10px;vertical-align:top}.picbox-wrap .pic-wrap[data-v-5480fb92]{margin-bottom:10px;position:relative;cursor:pointer}.picbox-wrap .pic-wrap:hover .close-icon[data-v-5480fb92],.picbox-wrap .pic-wrap:hover .edit-style[data-v-5480fb92]{display:-webkit-box;display:-ms-flexbox;display:flex}.picbox-wrap .close-icon[data-v-5480fb92]{width:14px;height:14px;position:absolute;top:-6px;right:-6px;cursor:pointer;display:none}.picbox-wrap .edit-style[data-v-5480fb92]{width:100%;height:25px;background:rgba(26,144,255,.7);position:absolute;left:0;bottom:0;font-size:14px;font-family:MicrosoftYaHeiUI;color:#fff;line-height:14px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;display:none}.picstyle-radios[data-v-5480fb92]{margin-bottom:20px}.picstyle-radios .style-radio[data-v-5480fb92]{font-size:0;width:140px;height:90px;padding:0;position:relative}.picstyle-radios .style-radio .style-normal-partone[data-v-5480fb92]{width:55px;height:60px;position:absolute;left:10px;top:15px;background:#1890ff;opacity:.07}.picstyle-radios .style-radio .style-normal-parttwo[data-v-5480fb92]{width:55px;height:60px;position:absolute;right:10px;top:15px;background:#1890ff;opacity:.07}.picstyle-radios .style-radio .style-slide-partone[data-v-5480fb92]{position:absolute;left:10px;top:35px;z-index:5}.picstyle-radios .style-radio .style-slide-parttwo[data-v-5480fb92]{width:26px;height:60px;position:absolute;left:10px;top:15px;background:#f0f0f0}.picstyle-radios .style-radio .style-slide-partthree[data-v-5480fb92]{width:26px;height:60px;position:absolute;left:41px;top:15px;background:#f0f0f0}.picstyle-radios .style-radio .style-slide-partfour[data-v-5480fb92]{width:26px;height:60px;position:absolute;left:73px;top:15px;background:#f0f0f0}.picstyle-radios .style-radio .style-slide-partfive[data-v-5480fb92]{width:26px;height:60px;position:absolute;right:10px;top:15px;background:#f0f0f0}.picstyle-radios .style-radio .style-slide-partsix[data-v-5480fb92]{position:absolute;right:10px;top:35px;z-index:5}.edititems-style[data-v-5480fb92]{background:#f7f7f7;font-size:14px;color:#333;margin-bottom:20px}[data-v-5480fb92] .ivu-input,[data-v-5480fb92] .ivu-radio-group-button .ivu-radio-wrapper:first-child,[data-v-5480fb92] .ivu-radio-group-button .ivu-radio-wrapper:last-child,[data-v-5480fb92] .ivu-select-selection{border-radius:0}[data-v-5480fb92] .ivu-btn-default{width:70px;height:32px;border-radius:2px;border:1px solid #ddd;margin-left:12px;font-size:14px;font-family:PingFangTC-Regular,PingFangTC;font-weight:400;color:#333;line-height:14px}.dialog_banner[data-v-35538fb4]{width:100%}.dialog_banner .dialog_banner_item[data-v-35538fb4]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:10px}.dialog_banner .dialog_banner_item .dialog_banner_item_left[data-v-35538fb4]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;padding-top:9px;margin-right:10px;min-width:60px}.dialog_banner .dialog_banner_item .dialog_banner_item_right[data-v-35538fb4]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.dialog_banner .dialog_banner_item .dialog_banner_item_right .dialog_banner_addpic[data-v-35538fb4]{width:84px;height:84px;background:#fff;border:1px dashed #d9d9d9;margin-left:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:55px;color:#d9d9d9;font-weight:100;cursor:pointer;margin-bottom:10px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .dialog_banner_img:hover .banner_close[data-v-35538fb4],.dialog_banner .dialog_banner_item .dialog_banner_item_right .dialog_banner_img:hover .banner_set[data-v-35538fb4]{display:-webkit-box;display:-ms-flexbox;display:flex}.dialog_banner .dialog_banner_item .dialog_banner_item_right .dialog_banner_img[data-v-35538fb4]{width:84px;height:84px;margin-left:10px;position:relative;background:#d9d9d9;margin-bottom:10px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .dialog_banner_img img[data-v-35538fb4]{width:100%;height:100%}.dialog_banner .dialog_banner_item .dialog_banner_item_right .dialog_banner_img .banner_close[data-v-35538fb4]{width:14px;height:14px;position:absolute;top:-6px;right:-6px;cursor:pointer;display:none}.dialog_banner .dialog_banner_item .dialog_banner_item_right .dialog_banner_img .banner_set[data-v-35538fb4]{width:100%;height:25px;background:rgba(26,144,255,.7);position:absolute;left:0;bottom:0;font-size:14px;font-family:MicrosoftYaHeiUI;color:#fff;line-height:14px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;display:none}.dialog_banner .dialog_banner_item .dialog_banner_item_right[data-v-35538fb4] .ivu-input{background:#fff;border-radius:1px;border:1px solid #d9d9d9}.dialog_banner .dialog_banner_item .dialog_banner_item_right[data-v-35538fb4] .ivu-btn-default{width:70px;height:32px;border-radius:2px;border:1px solid #ddd;margin-left:12px;font-size:14px;font-family:PingFangTC-Regular,PingFangTC;font-weight:400;color:#333;line-height:14px}.dialog_banner .dialog_banner_item .dialog_banner_item_right[data-v-35538fb4] .ivu-radio{margin-right:10px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_radio[data-v-35538fb4]{width:100%;padding-top:7px;margin-left:10px}.dialog_banner .dialog_banner_item .dialog_banner_item_right[data-v-35538fb4] .ivu-radio-inner:after{width:4.67px;height:4.67px;left:4px;top:4px}.dialog_banner .dialog_banner_item .dialog_banner_item_right[data-v-35538fb4] .ivu-radio-wrapper{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;margin-right:30px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail[data-v-35538fb4]{width:100%;padding-top:20px;margin-left:10px;display:-webkit-box;display:-ms-flexbox;display:flex}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail .banner_set_detail_item[data-v-35538fb4]{margin-right:40px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail span[data-v-35538fb4]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:18px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail[data-v-35538fb4] .ivu-input-wrapper{margin-left:10px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail[data-v-35538fb4] .ivu-input-suffix span{line-height:28px;font-size:14px;font-family:MicrosoftYaHeiUI;color:#e0e0de}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail[data-v-35538fb4] .ivu-input{font-size:14px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail[data-v-35538fb4] .ivu-input-with-suffix{padding-right:25px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail[data-v-35538fb4] .ivu-input-suffix{width:25px}.dialog_banner .dialog_banner_title[data-v-35538fb4]{width:100%;padding:13px 14px;background:#f7f7f7;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin:20px 0}.dialog_banner .dialog_banner_title h3[data-v-35538fb4]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;font-weight:500}.dialog_banner .dialog_banner_style[data-v-35538fb4]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.dialog_banner .dialog_banner_style .dialog_banner_style_item[data-v-35538fb4],.dialog_banner .dialog_banner_style .dialog_banner_style_item_active[data-v-35538fb4]{width:140px;height:90px;padding:5px;background:#fff;border-radius:1px;border:1px solid #d9d9d9;margin-right:10px;cursor:pointer}.dialog_banner .dialog_banner_style .dialog_banner_style_item .style_main[data-v-35538fb4],.dialog_banner .dialog_banner_style .dialog_banner_style_item_active .style_main[data-v-35538fb4]{width:100%;height:100%;background:hsla(0,0%,85.1%,.5);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0 16px}.dialog_banner .dialog_banner_style .dialog_banner_style_item .style_main h3[data-v-35538fb4],.dialog_banner .dialog_banner_style .dialog_banner_style_item_active .style_main h3[data-v-35538fb4]{margin-bottom:7px;font-size:14px;font-family:MicrosoftYaHeiUI-Bold,MicrosoftYaHeiUI;font-weight:700;color:#7a8b9c;line-height:14px}.dialog_banner .dialog_banner_style .dialog_banner_style_item .style_main p[data-v-35538fb4],.dialog_banner .dialog_banner_style .dialog_banner_style_item_active .style_main p[data-v-35538fb4]{font-size:11px;font-family:MicrosoftYaHeiUI;color:#8e9eaf;line-height:11px}.dialog_banner .dialog_banner_style .dialog_banner_style_item_active[data-v-35538fb4]{border:1px solid #1890ff}.dialog_banner .dialog_banner_style .dialog_banner_style_item_active .style_main[data-v-35538fb4]{width:100%;height:100%;background:rgba(24,144,255,.07);border-radius:1px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0 16px}.dialog_banner .dialog_banner_style .dialog_banner_style_item_active .style_main h3[data-v-35538fb4]{margin-bottom:7px;font-size:14px;font-family:MicrosoftYaHeiUI-Bold,MicrosoftYaHeiUI;font-weight:700;color:#7a8b9c;line-height:14px}.dialog_banner .dialog_banner_style .dialog_banner_style_item_active .style_main p[data-v-35538fb4]{font-size:11px;font-family:MicrosoftYaHeiUI;color:#8e9eaf;line-height:11px}.repaire-linkinputstyle[data-v-35538fb4]{max-width:332px;height:32px;margin-left:10px}.repaire-numinputstyle[data-v-35538fb4]{width:70px;height:32px;text-align:right}.picbox-wrap[data-v-aa6f479e]{width:380px;display:inline-block}.picbox-wrap .addicon-box[data-v-aa6f479e]{border:1px dashed #e6e8e9}.picbox-wrap .addicon-box[data-v-aa6f479e],.picbox-wrap .pic-wrap[data-v-aa6f479e]{display:inline-block;width:84px;height:84px;line-height:84px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;margin-left:10px;vertical-align:top}.picbox-wrap .pic-wrap[data-v-aa6f479e]{margin-bottom:10px;position:relative;cursor:pointer}.picbox-wrap .pic-wrap:hover .close-icon[data-v-aa6f479e],.picbox-wrap .pic-wrap:hover .edit-style[data-v-aa6f479e]{display:-webkit-box;display:-ms-flexbox;display:flex}.picbox-wrap .close-icon[data-v-aa6f479e]{width:14px;height:14px;position:absolute;top:-6px;right:-6px;cursor:pointer;display:none}.picbox-wrap .edit-style[data-v-aa6f479e]{width:100%;height:25px;background:rgba(26,144,255,.7);position:absolute;left:0;bottom:0;font-size:14px;font-family:MicrosoftYaHeiUI;color:#fff;line-height:14px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;display:none}.picstyle-radios[data-v-aa6f479e]{margin-bottom:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.picstyle-radios .style-radio[data-v-aa6f479e]{font-size:0;width:140px;height:90px;padding:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.picstyle-radios .style-radio .img-left-partone[data-v-aa6f479e]{width:65px;height:80px;background:#1890ff;opacity:.07}.picstyle-radios .style-radio .img-text-styleone[data-v-aa6f479e]{width:65px;height:80px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.picstyle-radios .style-radio span[data-v-aa6f479e]{color:#8e9eaf;font-size:11px}.picstyle-radios .style-radio .img-right-partone[data-v-aa6f479e]{width:65px;height:80px;background:#f0f0f0}.picstyle-radios .style-radio .neat-four-wrap[data-v-aa6f479e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.picstyle-radios .style-radio .neat-four-wrap .neat-four-img[data-v-aa6f479e]{height:50px}.picstyle-radios .style-radio .neat-four-wrap .neat-four-img .img-top-partone[data-v-aa6f479e]{display:inline-block;width:25px;height:25px;margin:22px 3px 0;background:#f0f0f0}.picstyle-radios .style-radio .neat-four-wrap .neat-four-text span[data-v-aa6f479e]{display:inline-block;width:25px;margin:0 3px}.picstyle-radios .style-radio .img-two-left .img-little-item[data-v-aa6f479e]{width:65px;height:30px;background:#f0f0f0}.picstyle-radios .style-radio .img-two-left .img-little-item[data-v-aa6f479e]:first-child{margin-bottom:10px}.picstyle-radios .style-radio[data-v-aa6f479e]:not(first-child){margin-left:10px}.picstyle-radios .style-radio[data-v-aa6f479e]:nth-child(3){width:140px;height:90px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.picstyle-radios .style-radio[data-v-aa6f479e]:nth-child(4){margin-top:20px}.edititems-style[data-v-aa6f479e]{background:#f7f7f7;font-size:14px;color:#333;margin-bottom:20px}.half-block[data-v-aa6f479e]{display:inline-block;width:50%}.showHtmlText[data-v-aa6f479e]{width:332px;min-height:33px;clear:both;display:inline-block;vertical-align:top;border:1px solid #dcdee2;white-space:normal;word-break:break-all;word-wrap:break-word}[data-v-aa6f479e] .ivu-input,[data-v-aa6f479e] .ivu-radio-group-button .ivu-radio-wrapper:first-child,[data-v-aa6f479e] .ivu-radio-group-button .ivu-radio-wrapper:last-child,[data-v-aa6f479e] .ivu-select-selection{border-radius:0}[data-v-aa6f479e] .ivu-btn-default{width:70px;height:32px;border-radius:2px;border:1px solid #ddd;margin-left:12px;font-size:14px;font-family:PingFangTC-Regular,PingFangTC;font-weight:400;color:#333;line-height:14px}.my_module_item:hover .my_module_item_set[data-v-163a5498]{display:block}.my_module_item[data-v-163a5498]{width:100%;padding:10px;border:1px dashed #999;display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;margin-bottom:20px}.my_module_item .my_module_item_title[data-v-163a5498]{position:absolute;top:10px;left:10px;padding:10px 36px;background:#1890ff;opacity:.7;z-index:99;font-size:14px;font-family:MicrosoftYaHei;color:#fff;line-height:16px}.my_module_item .my_module_item_set[data-v-163a5498]{position:absolute;bottom:10px;right:10px;z-index:99;display:none}.my_module_item .my_module_item_set button[data-v-163a5498]{padding:11px 19px;border:none;border-right:1px solid hsla(0,0%,100%,.7);outline:none;background:rgba(0,0,0,.7);cursor:pointer;font-size:14px;font-family:MicrosoftYaHei;color:#fff;line-height:14px}.my_module_item .my_module_item_set button[data-v-163a5498]:hover{background:#1890ff}[data-v-163a5498] .ivu-modal-content{min-width:640px}[data-v-163a5498] .ivu-modal-body{padding:30px 50px;max-height:650px;min-height:450px;overflow:auto}[data-v-163a5498] .vertical-center-modal{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}[data-v-163a5498] .vertical-center-modal /deep/ .ivu-modal{top:0}[data-v-163a5498] .ivu-modal-body::-webkit-scrollbar{width:5px;height:1px}[data-v-163a5498] .ivu-modal-body::-webkit-scrollbar-thumb{border-radius:10px;-webkit-box-shadow:inset 0 0 5px hsla(0,0%,55.3%,.2);box-shadow:inset 0 0 5px hsla(0,0%,55.3%,.2);background:#535353}[data-v-163a5498] .ivu-modal-body::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 5px hsla(0,0%,55.3%,.2);box-shadow:inset 0 0 5px hsla(0,0%,55.3%,.2);border-radius:10px;background:#ededed}.module[data-v-0094ffe1]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.module .new_module[data-v-0094ffe1]{width:226px;min-width:226px;height:100%;background:#fff;padding:10px;margin-right:20px}.module .new_module h3[data-v-0094ffe1]{font-size:16px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#333;line-height:16px;margin-bottom:26px;padding:10px}.module .new_module .module_title[data-v-0094ffe1]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#666;line-height:14px;position:relative;padding:10px}.module .new_module .module_title .module_title_line[data-v-0094ffe1]{width:100%;position:absolute;border-top:1px solid #e8e8e8;top:50%;left:0}.module .new_module .module_title p[data-v-0094ffe1]{position:absolute;z-index:2;padding:0 5px;background:#fff}.module .new_module .basics_module[data-v-0094ffe1]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:10px 0 20px 0}.module .new_module .basics_module .basics_module_item[data-v-0094ffe1]:hover{-webkit-box-shadow:0 0 9px 0 hsla(0,0%,83.5%,.5);box-shadow:0 0 9px 0 hsla(0,0%,83.5%,.5);border-radius:5px;color:#1890ff}.module .new_module .basics_module .basics_module_item:hover .basics_module_item_main .svg-icon[data-v-0094ffe1]{fill:#1890ff}.module .new_module .basics_module .basics_module_item[data-v-0094ffe1]{width:33.333%;height:64px;color:#333;cursor:pointer;margin-bottom:12px;overflow:hidden}.module .new_module .basics_module .basics_module_item .basics_module_item_main[data-v-0094ffe1]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.module .new_module .basics_module .basics_module_item .basics_module_item_main .svg-icon[data-v-0094ffe1]{width:22px;height:22px;margin-bottom:8px;fill:#aaafc2}.module .new_module .basics_module .basics_module_item .basics_module_item_main p[data-v-0094ffe1]{font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400}.module .my_module[data-v-0094ffe1]{width:calc(100% - 246px);padding:20px;background:#fff;overflow:auto}.module .my_module .my_module_nav[data-v-0094ffe1]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.module .my_module .my_module_nav h3[data-v-0094ffe1]{font-size:16px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#333;line-height:16px;margin-bottom:26px}.module .my_module .my_module_nav button[data-v-0094ffe1]{width:90px;height:32px;background:#1890ff;border-radius:4px;border:none;outline:none;font-size:14px;font-family:PingFangTC-Regular,PingFangTC;font-weight:400;color:#fff;line-height:20px;margin-left:10px;cursor:pointer}.module .my_module .my_module_nav button[data-v-0094ffe1]:hover{background:#3faaff}.module .my_module .my_module_tip[data-v-0094ffe1]{width:100%;height:calc(100% - 180px);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.module .my_module .my_module_tip .svg-icon[data-v-0094ffe1]{width:36px;height:24px;fill:#aaafc2;margin-right:14px}.module .my_module .my_module_tip p[data-v-0094ffe1]{font-size:14px;font-family:MicrosoftYaHei;color:#2b2b2b;line-height:14px}.module .test-1[data-v-0094ffe1]::-webkit-scrollbar{width:10px;height:1px}.module .test-1[data-v-0094ffe1]::-webkit-scrollbar-thumb{border-radius:10px;-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2);box-shadow:inset 0 0 5px rgba(0,0,0,.2);background:#535353}.module .test-1[data-v-0094ffe1]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2);box-shadow:inset 0 0 5px rgba(0,0,0,.2);border-radius:10px;background:#ededed}
\ No newline at end of file
.dialog_href[data-v-40e2156b]{width:100%}.dialog_href .dialog_href_item[data-v-40e2156b]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:10px}.dialog_href .dialog_href_item .dialog_href_item_left[data-v-40e2156b]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;padding-top:9px;margin-right:10px;min-width:60px}.dialog_href .dialog_href_item .dialog_href_item_right[data-v-40e2156b]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.dialog_href .dialog_href_item .dialog_href_item_right .href_set_radio[data-v-40e2156b]{width:100%;padding-top:7px;margin-left:10px}.dialog_href .dialog_href_item .dialog_href_item_right[data-v-40e2156b] .ivu-radio-inner:after{width:4.67px;height:4.67px;left:4px;top:4px}.dialog_href .dialog_href_item .dialog_href_item_right[data-v-40e2156b] .ivu-radio-wrapper{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;margin-right:30px}.dialog_href .dialog_href_item .dialog_href_item_right[data-v-40e2156b] .ivu-input,.dialog_href .dialog_href_item .dialog_href_item_right[data-v-40e2156b] .ivu-select-selection{margin-left:10px;background:#fff;border-radius:1px;border:1px solid #d9d9d9;font-size:14px;font-family:MicrosoftYaHeiUI;line-height:14px}.dialog_href .dialog_href_item .dialog_href_item_right[data-v-40e2156b] .ivu-select-selected-value{font-size:14px}.dialog_href .dialog_href_item2[data-v-40e2156b]{margin-top:20px}.photo_gallery .photo_gallery_main .photo_gallery_main_btns[data-v-0fe0a65c],.photo_gallery .photo_gallery_main[data-v-0fe0a65c],.photo_gallery[data-v-0fe0a65c]{width:100%}.photo_gallery .photo_gallery_main .photo_gallery_main_btns .uploadBtn[data-v-0fe0a65c]:hover{background:#3faaff}.photo_gallery .photo_gallery_main .photo_gallery_main_btns .uploadBtn[data-v-0fe0a65c]{width:90px;height:32px;background:#1890ff;border-radius:1px;border:none;outline:none;font-size:14px;font-family:MicrosoftYaHeiUI;color:#fff;line-height:14px;cursor:pointer}.photo_gallery .photo_gallery_main .photo_gallery_main_pics[data-v-0fe0a65c]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:20px 0 0}.photo_gallery .photo_gallery_main .photo_gallery_main_pics .photo_gallery_main_pics_w[data-v-0fe0a65c]:hover{border:1px solid #1890ff}.photo_gallery .photo_gallery_main .photo_gallery_main_pics .photo_gallery_main_pics_w[data-v-0fe0a65c]:nth-child(5n+1){margin-left:0}.photo_gallery .photo_gallery_main .photo_gallery_main_pics .photo_gallery_main_pics_w[data-v-0fe0a65c]{width:108px;height:90px;background:#f3f3f3;border-radius:1px;margin-left:10px;margin-bottom:20px;overflow:hidden;position:relative;cursor:pointer}.photo_gallery .photo_gallery_main .photo_gallery_main_pics .photo_gallery_main_pics_w .photo_gallery_main_pics_silde[data-v-0fe0a65c]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.photo_gallery .photo_gallery_main .photo_gallery_main_pics .photo_gallery_main_pics_w .photo_gallery_main_pics_silde img[data-v-0fe0a65c]{max-width:100%;max-height:100%}.photo_gallery .photo_gallery_main .photo_gallery_main_pics .photo_gallery_main_pics_w .photo_gallery_main_pics_w_dui[data-v-0fe0a65c]{width:24px;height:24px;background:#1890ff;color:#fff;border-radius:100px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;padding:1px;position:absolute;right:-12px;bottom:-12px}.photo_gallery .photo_gallery_main .photo_gallery_main_pics .photo_gallery_main_pics_w_actived[data-v-0fe0a65c]{border:1px solid #1890ff}.photo_gallery .photo_gallery_main .photo_gallery_main_page[data-v-0fe0a65c]{width:100%}.photo_gallery .photo_gallery_main .photo_gallery_main_none[data-v-0fe0a65c]{width:100%;height:100%;min-height:400px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.photo_gallery .photo_gallery_main .photo_gallery_main_none .svg-icon[data-v-0fe0a65c]{width:90px;height:96px}[data-v-0fe0a65c] .ivu-page{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}[data-v-0fe0a65c] .ivu-page .ivu-page-item-active{background:#1890ff}[data-v-0fe0a65c] .ivu-page .ivu-page-item-active a{color:#fff}[data-v-0fe0a65c] .ivu-page a{margin:0}[data-v-0fe0a65c] .ivu-upload-list{display:none}.dialog_acrao[data-v-5a361e45]{width:100%}.dialog_acrao .dialog_acrao_item[data-v-5a361e45]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:10px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_left[data-v-5a361e45]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;padding-top:9px;margin-right:10px;min-width:60px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right[data-v-5a361e45]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .dialog_acrao_addpic[data-v-5a361e45]{-webkit-box-flex:1;-ms-flex:1;flex:1;max-width:100px;height:90px;border-radius:1px;background:#f8f8f8;border:1px solid #d9d9d9;margin-left:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:55px;color:#d9d9d9;font-weight:100;cursor:pointer;margin-bottom:10px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .activeAcrao[data-v-5a361e45]{background:#eff7ff;border:1px solid #1890ff}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .dialog_acrao_img:hover .acrao_close[data-v-5a361e45],.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .dialog_acrao_img:hover .acrao_set[data-v-5a361e45]{display:-webkit-box;display:-ms-flexbox;display:flex}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .dialog_acrao_img[data-v-5a361e45]{width:84px;height:84px;margin-left:10px;position:relative;background:#d9d9d9;margin-bottom:10px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .dialog_acrao_img img[data-v-5a361e45]{width:100%;height:100%}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .dialog_acrao_img .acrao_close[data-v-5a361e45]{width:14px;height:14px;position:absolute;top:-6px;right:-6px;cursor:pointer;display:none}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .dialog_acrao_img .acrao_set[data-v-5a361e45]{width:100%;height:25px;background:rgba(26,144,255,.7);position:absolute;left:0;bottom:0;font-size:14px;font-family:MicrosoftYaHeiUI;color:#fff;line-height:14px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;display:none}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right[data-v-5a361e45] .ivu-input{background:#fff;border-radius:1px;border:1px solid #d9d9d9}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right[data-v-5a361e45] .ivu-btn-default{border-radius:2px;border:1px solid #ddd;margin-left:12px;font-size:14px;font-family:PingFangTC-Regular,PingFangTC;font-weight:400;color:#333;line-height:14px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right[data-v-5a361e45] .ivu-radio{margin-right:10px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .acrao_set_radio[data-v-5a361e45]{width:100%;padding-top:7px;margin-left:10px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right[data-v-5a361e45] .ivu-radio-inner:after{width:4.67px;height:4.67px;left:4px;top:4px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right[data-v-5a361e45] .ivu-radio-wrapper{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;margin-right:30px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .acrao_set_detail[data-v-5a361e45]{width:100%;padding-top:20px;margin-left:10px;display:-webkit-box;display:-ms-flexbox;display:flex}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .acrao_set_detail .acrao_set_detail_item[data-v-5a361e45]{margin-right:40px;display:-webkit-box;display:-ms-flexbox;display:flex}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .acrao_set_detail .acrao_set_detail_item .ivu-btn-default1[data-v-5a361e45]{height:32px;border:1px solid #d9d9d9;border-radius:1px;font-size:14px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .acrao_set_detail .acrao_set_detail_item .acrao_set_detail_item_img[data-v-5a361e45]{width:80px;height:80px;margin-left:10px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .acrao_set_detail .acrao_set_detail_item .acrao_set_detail_item_img img[data-v-5a361e45]{max-width:100%;max-height:100%}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .acrao_set_detail span[data-v-5a361e45]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:18px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .acrao_set_detail[data-v-5a361e45] .ivu-input-wrapper{margin-left:10px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .acrao_set_detail[data-v-5a361e45] .ivu-input-suffix span{line-height:28px;font-size:14px;font-family:MicrosoftYaHeiUI;color:#e0e0de}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .acrao_set_detail[data-v-5a361e45] .ivu-input{font-size:14px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .acrao_set_detail[data-v-5a361e45] .ivu-input-with-suffix{padding-right:25px}.dialog_acrao .dialog_acrao_item .dialog_acrao_item_right .acrao_set_detail[data-v-5a361e45] .ivu-input-suffix{width:25px}.dialog_acrao .dialog_acrao_title[data-v-5a361e45]{width:100%;padding:13px 14px;background:#f7f7f7;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin:20px 0}.dialog_acrao .dialog_acrao_title h3[data-v-5a361e45]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;font-weight:500}.dialog_acrao .dialog_acrao_style[data-v-5a361e45]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.dialog_acrao .dialog_acrao_style .dialog_acrao_style_item[data-v-5a361e45],.dialog_acrao .dialog_acrao_style .dialog_acrao_style_item_active[data-v-5a361e45]{width:140px;height:90px;padding:5px;background:#fff;border-radius:1px;border:1px solid #d9d9d9;margin-right:10px;cursor:pointer}.dialog_acrao .dialog_acrao_style .dialog_acrao_style_item .style_main[data-v-5a361e45],.dialog_acrao .dialog_acrao_style .dialog_acrao_style_item_active .style_main[data-v-5a361e45]{width:100%;height:100%;background:hsla(0,0%,85.1%,.5);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0 16px}.dialog_acrao .dialog_acrao_style .dialog_acrao_style_item .style_main h3[data-v-5a361e45],.dialog_acrao .dialog_acrao_style .dialog_acrao_style_item_active .style_main h3[data-v-5a361e45]{margin-bottom:7px;font-size:14px;font-family:MicrosoftYaHeiUI-Bold,MicrosoftYaHeiUI;font-weight:700;color:#7a8b9c;line-height:14px}.dialog_acrao .dialog_acrao_style .dialog_acrao_style_item .style_main p[data-v-5a361e45],.dialog_acrao .dialog_acrao_style .dialog_acrao_style_item_active .style_main p[data-v-5a361e45]{font-size:11px;font-family:MicrosoftYaHeiUI;color:#8e9eaf;line-height:11px}.dialog_acrao .dialog_acrao_style .dialog_acrao_style_item_active[data-v-5a361e45]{border:1px solid #1890ff}.dialog_acrao .dialog_acrao_style .dialog_acrao_style_item_active .style_main[data-v-5a361e45]{width:100%;height:100%;background:rgba(24,144,255,.07);border-radius:1px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0 16px}.dialog_acrao .dialog_acrao_style .dialog_acrao_style_item_active .style_main h3[data-v-5a361e45]{margin-bottom:7px;font-size:14px;font-family:MicrosoftYaHeiUI-Bold,MicrosoftYaHeiUI;font-weight:700;color:#7a8b9c;line-height:14px}.dialog_acrao .dialog_acrao_style .dialog_acrao_style_item_active .style_main p[data-v-5a361e45]{font-size:11px;font-family:MicrosoftYaHeiUI;color:#8e9eaf;line-height:11px}.dialog_acrao[data-v-5a361e45] .ivu-color-picker-picker-panel{min-width:303px}.dialog_banner[data-v-7b09bed5]{width:100%}.dialog_banner .dialog_banner_item[data-v-7b09bed5]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:10px}.dialog_banner .dialog_banner_item .dialog_banner_item_left[data-v-7b09bed5]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;padding-top:9px;margin-right:10px;min-width:60px}.dialog_banner .dialog_banner_item .dialog_banner_item_right[data-v-7b09bed5]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.dialog_banner .dialog_banner_item .dialog_banner_item_right .dialog_banner_addpic[data-v-7b09bed5]{width:84px;height:84px;background:#fff;border:1px dashed #d9d9d9;margin-left:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:55px;color:#d9d9d9;font-weight:100;cursor:pointer;margin-bottom:10px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .dialog_banner_img:hover .banner_close[data-v-7b09bed5],.dialog_banner .dialog_banner_item .dialog_banner_item_right .dialog_banner_img:hover .banner_set[data-v-7b09bed5]{display:-webkit-box;display:-ms-flexbox;display:flex}.dialog_banner .dialog_banner_item .dialog_banner_item_right .dialog_banner_img[data-v-7b09bed5]{width:84px;height:84px;margin-left:10px;position:relative;background:#d9d9d9;margin-bottom:10px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .dialog_banner_img img[data-v-7b09bed5]{width:100%;height:100%}.dialog_banner .dialog_banner_item .dialog_banner_item_right .dialog_banner_img .banner_close[data-v-7b09bed5]{width:14px;height:14px;position:absolute;top:-6px;right:-6px;cursor:pointer;display:none}.dialog_banner .dialog_banner_item .dialog_banner_item_right .dialog_banner_img .banner_set[data-v-7b09bed5]{width:100%;height:25px;background:rgba(26,144,255,.7);position:absolute;left:0;bottom:0;font-size:14px;font-family:MicrosoftYaHeiUI;color:#fff;line-height:14px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;display:none}.dialog_banner .dialog_banner_item .dialog_banner_item_right[data-v-7b09bed5] .ivu-input{background:#fff;border-radius:1px;border:1px solid #d9d9d9}.dialog_banner .dialog_banner_item .dialog_banner_item_right[data-v-7b09bed5] .ivu-btn-default{width:70px;height:32px;border-radius:2px;border:1px solid #ddd;margin-left:12px;font-size:14px;font-family:PingFangTC-Regular,PingFangTC;font-weight:400;color:#333;line-height:14px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_radio[data-v-7b09bed5]{width:100%;padding-top:7px;margin-left:10px}.dialog_banner .dialog_banner_item .dialog_banner_item_right[data-v-7b09bed5] .ivu-radio{margin-right:10px}.dialog_banner .dialog_banner_item .dialog_banner_item_right[data-v-7b09bed5] .ivu-radio-inner:after{width:4.67px;height:4.67px;left:4px;top:4px}.dialog_banner .dialog_banner_item .dialog_banner_item_right[data-v-7b09bed5] .ivu-radio-wrapper{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;margin-right:30px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail[data-v-7b09bed5]{width:100%;padding-top:20px;margin-left:10px;display:-webkit-box;display:-ms-flexbox;display:flex}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail .banner_set_detail_item[data-v-7b09bed5]{margin-right:40px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail span[data-v-7b09bed5]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:18px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail[data-v-7b09bed5] .ivu-input-wrapper{margin-left:10px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail[data-v-7b09bed5] .ivu-input-suffix span{line-height:28px;font-size:14px;font-family:MicrosoftYaHeiUI;color:#e0e0de}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail[data-v-7b09bed5] .ivu-input{font-size:14px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail[data-v-7b09bed5] .ivu-input-with-suffix{padding-right:25px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail[data-v-7b09bed5] .ivu-input-suffix{width:25px}.dialog_banner .dialog_banner_title[data-v-7b09bed5]{width:100%;padding:13px 14px;background:#f7f7f7;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin:20px 0}.dialog_banner .dialog_banner_title h3[data-v-7b09bed5]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;font-weight:500}.dialog_banner .dialog_banner_style[data-v-7b09bed5]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.dialog_banner .dialog_banner_style .dialog_banner_style_item[data-v-7b09bed5],.dialog_banner .dialog_banner_style .dialog_banner_style_item_active[data-v-7b09bed5]{width:140px;height:90px;padding:5px;background:#fff;border-radius:1px;border:1px solid #d9d9d9;margin-right:10px;cursor:pointer}.dialog_banner .dialog_banner_style .dialog_banner_style_item .style_main[data-v-7b09bed5],.dialog_banner .dialog_banner_style .dialog_banner_style_item_active .style_main[data-v-7b09bed5]{width:100%;height:100%;background:hsla(0,0%,85.1%,.5);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0 16px}.dialog_banner .dialog_banner_style .dialog_banner_style_item .style_main h3[data-v-7b09bed5],.dialog_banner .dialog_banner_style .dialog_banner_style_item_active .style_main h3[data-v-7b09bed5]{margin-bottom:7px;font-size:14px;font-family:MicrosoftYaHeiUI-Bold,MicrosoftYaHeiUI;font-weight:700;color:#7a8b9c;line-height:14px}.dialog_banner .dialog_banner_style .dialog_banner_style_item .style_main p[data-v-7b09bed5],.dialog_banner .dialog_banner_style .dialog_banner_style_item_active .style_main p[data-v-7b09bed5]{font-size:11px;font-family:MicrosoftYaHeiUI;color:#8e9eaf;line-height:11px}.dialog_banner .dialog_banner_style .dialog_banner_style_item_active[data-v-7b09bed5]{border:1px solid #1890ff}.dialog_banner .dialog_banner_style .dialog_banner_style_item_active .style_main[data-v-7b09bed5]{width:100%;height:100%;background:rgba(24,144,255,.07);border-radius:1px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0 16px}.dialog_banner .dialog_banner_style .dialog_banner_style_item_active .style_main h3[data-v-7b09bed5]{margin-bottom:7px;font-size:14px;font-family:MicrosoftYaHeiUI-Bold,MicrosoftYaHeiUI;font-weight:700;color:#7a8b9c;line-height:14px}.dialog_banner .dialog_banner_style .dialog_banner_style_item_active .style_main p[data-v-7b09bed5]{font-size:11px;font-family:MicrosoftYaHeiUI;color:#8e9eaf;line-height:11px}[data-v-7b09bed5] .vertical-center-modal{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}[data-v-7b09bed5] .vertical-center-modal /deep/ .ivu-modal{top:0}[data-v-7b09bed5] .ivu-modal-body{padding:20px 50px 30px}.dialog_button[data-v-7f88830d]{width:100%}.dialog_button .dialog_button_title[data-v-7f88830d]{width:100%;padding:13px 14px;background:#f7f7f7;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin:20px 0}.dialog_button .dialog_button_title h3[data-v-7f88830d]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;font-weight:500}.dialog_button .dialog_button_btns[data-v-7f88830d]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.dialog_button .dialog_button_btns .dialog_button_btns_ite[data-v-7f88830d]:hover{border:1px solid #1890ff}.dialog_button .dialog_button_btns .dialog_button_btns_ite[data-v-7f88830d]{width:147px;height:60px;padding:10px;margin-right:50px;margin-bottom:15px;border:1px solid #d9d9d9;cursor:pointer;position:relative;overflow:hidden}.dialog_button .dialog_button_btns .dialog_button_btns_ite button[data-v-7f88830d]{width:100%;height:100%;border-radius:2px;border:1px solid;outline:none;cursor:pointer}.dialog_button .dialog_button_btns .dialog_button_btns_ite_actived[data-v-7f88830d]{border:1px solid #1890ff}.dialog_button .dialog_button_btns .dialog_button_btns_ite[data-v-7f88830d]:nth-child(3n){margin-right:0}.dialog_button .dialog_button_btns .photo_gallery_main_pics_w_dui[data-v-7f88830d]{width:24px;height:24px;background:#1890ff;color:#fff;border-radius:100px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;padding:1px;position:absolute;right:-12px;bottom:-12px}.dialog_button .dialog_button_item[data-v-7f88830d]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:10px}.dialog_button .dialog_button_item .dialog_button_item_left[data-v-7f88830d]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;padding-top:9px;margin-right:10px;min-width:60px}.dialog_button .dialog_button_item .dialog_button_item_right[data-v-7f88830d]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.dialog_button .dialog_button_item .dialog_button_item_right .dialog_button_addpic[data-v-7f88830d]{width:84px;height:84px;background:#fff;border:1px dashed #d9d9d9;margin-left:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:55px;color:#d9d9d9;font-weight:100;cursor:pointer;margin-bottom:10px}.dialog_button .dialog_button_item .dialog_button_item_right[data-v-7f88830d] .ivu-input{background:#fff;border-radius:1px;border:1px solid #d9d9d9}.dialog_button .dialog_button_item .dialog_button_item_right[data-v-7f88830d] .ivu-btn-default{width:70px;height:32px;border-radius:2px;border:1px solid #ddd;margin-left:12px;font-size:14px;font-family:PingFangTC-Regular,PingFangTC;font-weight:400;color:#333;line-height:14px}.dialog_button .dialog_button_item .dialog_button_item_right[data-v-7f88830d] .ivu-radio{margin-right:10px}.dialog_button .dialog_button_item .dialog_button_item_right[data-v-7f88830d] .ivu-radio-inner:after{width:4.67px;height:4.67px;left:4px;top:4px}.dialog_button .dialog_button_item .dialog_button_item_right[data-v-7f88830d] .ivu-radio-wrapper{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;margin-right:30px}.dialog_button .dialog_button_item .dialog_button_item_right .banner_set_radio[data-v-7f88830d]{width:100%;padding-top:7px;margin-left:10px}.dialog_button .dialog_button_item .dialog_button_item_right .banner_set_detail[data-v-7f88830d]{width:100%;padding-top:20px;margin-left:10px;display:-webkit-box;display:-ms-flexbox;display:flex}.dialog_button .dialog_button_item .dialog_button_item_right .banner_set_detail .banner_set_detail_item[data-v-7f88830d]{margin-right:40px}.dialog_button .dialog_button_item .dialog_button_item_right .banner_set_detail span[data-v-7f88830d]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:18px}.dialog_button .dialog_button_item .dialog_button_item_right .banner_set_detail[data-v-7f88830d] .ivu-input-wrapper{margin-left:10px}.dialog_button .dialog_button_item .dialog_button_item_right .banner_set_detail[data-v-7f88830d] .ivu-input-suffix span{line-height:28px;font-size:14px;font-family:MicrosoftYaHeiUI;color:#e0e0de}.dialog_button .dialog_button_item .dialog_button_item_right .banner_set_detail[data-v-7f88830d] .ivu-input{font-size:14px}.dialog_button .dialog_button_item .dialog_button_item_right .banner_set_detail[data-v-7f88830d] .ivu-input-with-suffix{padding-right:25px}.dialog_button .dialog_button_item .dialog_button_item_right .banner_set_detail[data-v-7f88830d] .ivu-input-suffix{width:25px}.dialog_button .dialog_button_item .dialog_button_item_right[data-v-7f88830d] .ivu-color-picker-picker-panel{min-width:303px}.dialog_button .dialog_button_item .dialog_button_item_right[data-v-7f88830d] .ivu-color-picker-confirm /deep/ .ivu-btn-default{width:40px;height:24px}.dialog_form[data-v-7a0c0853]{width:100%}.dialog_form .dialog_form_title[data-v-7a0c0853]{width:100%;padding:13px 14px;background:#f7f7f7;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin:20px 0}.dialog_form .dialog_form_title h3[data-v-7a0c0853]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;font-weight:500}.dialog_form .dialog_form_item[data-v-7a0c0853]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:10px}.dialog_form .dialog_form_item .dialog_form_item_left[data-v-7a0c0853]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;padding-top:9px;margin-right:10px;min-width:60px}.dialog_form .dialog_form_item .dialog_form_item_right[data-v-7a0c0853]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.dialog_form .dialog_form_item .dialog_form_item_right[data-v-7a0c0853] .ivu-select-selection{border-radius:1px}.dialog_form .dialog_form_check[data-v-7a0c0853]{width:100%}.dialog_form .dialog_form_check .dialog_form_check_main[data-v-7a0c0853]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.dialog_form .dialog_form_check .dialog_form_check_main .dialog_form_chack_main_item[data-v-7a0c0853]:hover{border:1px solid #1890ff}.dialog_form .dialog_form_check .dialog_form_check_main .dialog_form_chack_main_item[data-v-7a0c0853]{padding:10px;border-radius:2px;border:1px solid #d9d9d9;position:relative;overflow:hidden;cursor:pointer}.dialog_form .dialog_form_check .dialog_form_check_main .dialog_form_chack_main_item input[data-v-7a0c0853]{width:121px;height:40px;outline:none;border-radius:2px;font-size:14px;font-family:MicrosoftYaHei;color:#333;line-height:14px;text-align:center;cursor:pointer}.dialog_form .dialog_form_check .dialog_form_check_main .dialog_form_chack_main_item .photo_gallery_main_pics_w_dui[data-v-7a0c0853]{width:24px;height:24px;background:#1890ff;color:#fff;border-radius:100px;display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;padding:1px;position:absolute;right:-12px;bottom:-12px}.dialog_form .dialog_form_check .dialog_form_check_main .dialog_form_chack_main_item_actived[data-v-7a0c0853]{border:1px solid #1890ff}.upload-img button[data-v-52174644]{width:90px;height:32px;background:#1890ff;border-radius:1px;outline:none;border:none;-webkit-box-sizing:border-box;box-sizing:border-box;color:#fff;cursor:pointer}.upload-img .box[data-v-52174644]{display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin-top:20px;min-width:580px}.upload-img .box .image-box[data-v-52174644]{width:108px;height:90px;-webkit-box-sizing:border-box;box-sizing:border-box;border-radius:1px;padding:10px 0;margin-bottom:10px;background:#f3f3f3}.upload-img .box .image-box img[data-v-52174644]{width:100%;height:100%}.upload-img .box .checkedActive[data-v-52174644]{background:#eff7ff;border:1px solid #1890ff}.upload-img .box .image-box[data-v-52174644]:not(:nth-child(5n+1)){margin-left:10px}.picbox-wrap[data-v-5480fb92]{width:380px;display:inline-block}.picbox-wrap .addicon-box[data-v-5480fb92]{border:1px dashed #e6e8e9}.picbox-wrap .addicon-box[data-v-5480fb92],.picbox-wrap .pic-wrap[data-v-5480fb92]{display:inline-block;width:84px;height:84px;line-height:84px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;margin-left:10px;vertical-align:top}.picbox-wrap .pic-wrap[data-v-5480fb92]{margin-bottom:10px;position:relative;cursor:pointer}.picbox-wrap .pic-wrap:hover .close-icon[data-v-5480fb92],.picbox-wrap .pic-wrap:hover .edit-style[data-v-5480fb92]{display:-webkit-box;display:-ms-flexbox;display:flex}.picbox-wrap .close-icon[data-v-5480fb92]{width:14px;height:14px;position:absolute;top:-6px;right:-6px;cursor:pointer;display:none}.picbox-wrap .edit-style[data-v-5480fb92]{width:100%;height:25px;background:rgba(26,144,255,.7);position:absolute;left:0;bottom:0;font-size:14px;font-family:MicrosoftYaHeiUI;color:#fff;line-height:14px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;display:none}.picstyle-radios[data-v-5480fb92]{margin-bottom:20px}.picstyle-radios .style-radio[data-v-5480fb92]{font-size:0;width:140px;height:90px;padding:0;position:relative}.picstyle-radios .style-radio .style-normal-partone[data-v-5480fb92]{width:55px;height:60px;position:absolute;left:10px;top:15px;background:#1890ff;opacity:.07}.picstyle-radios .style-radio .style-normal-parttwo[data-v-5480fb92]{width:55px;height:60px;position:absolute;right:10px;top:15px;background:#1890ff;opacity:.07}.picstyle-radios .style-radio .style-slide-partone[data-v-5480fb92]{position:absolute;left:10px;top:35px;z-index:5}.picstyle-radios .style-radio .style-slide-parttwo[data-v-5480fb92]{width:26px;height:60px;position:absolute;left:10px;top:15px;background:#f0f0f0}.picstyle-radios .style-radio .style-slide-partthree[data-v-5480fb92]{width:26px;height:60px;position:absolute;left:41px;top:15px;background:#f0f0f0}.picstyle-radios .style-radio .style-slide-partfour[data-v-5480fb92]{width:26px;height:60px;position:absolute;left:73px;top:15px;background:#f0f0f0}.picstyle-radios .style-radio .style-slide-partfive[data-v-5480fb92]{width:26px;height:60px;position:absolute;right:10px;top:15px;background:#f0f0f0}.picstyle-radios .style-radio .style-slide-partsix[data-v-5480fb92]{position:absolute;right:10px;top:35px;z-index:5}.edititems-style[data-v-5480fb92]{background:#f7f7f7;font-size:14px;color:#333;margin-bottom:20px}[data-v-5480fb92] .ivu-input,[data-v-5480fb92] .ivu-radio-group-button .ivu-radio-wrapper:first-child,[data-v-5480fb92] .ivu-radio-group-button .ivu-radio-wrapper:last-child,[data-v-5480fb92] .ivu-select-selection{border-radius:0}[data-v-5480fb92] .ivu-btn-default{width:70px;height:32px;border-radius:2px;border:1px solid #ddd;margin-left:12px;font-size:14px;font-family:PingFangTC-Regular,PingFangTC;font-weight:400;color:#333;line-height:14px}.dialog_banner[data-v-35538fb4]{width:100%}.dialog_banner .dialog_banner_item[data-v-35538fb4]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:10px}.dialog_banner .dialog_banner_item .dialog_banner_item_left[data-v-35538fb4]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;padding-top:9px;margin-right:10px;min-width:60px}.dialog_banner .dialog_banner_item .dialog_banner_item_right[data-v-35538fb4]{-webkit-box-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.dialog_banner .dialog_banner_item .dialog_banner_item_right .dialog_banner_addpic[data-v-35538fb4]{width:84px;height:84px;background:#fff;border:1px dashed #d9d9d9;margin-left:10px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;font-size:55px;color:#d9d9d9;font-weight:100;cursor:pointer;margin-bottom:10px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .dialog_banner_img:hover .banner_close[data-v-35538fb4],.dialog_banner .dialog_banner_item .dialog_banner_item_right .dialog_banner_img:hover .banner_set[data-v-35538fb4]{display:-webkit-box;display:-ms-flexbox;display:flex}.dialog_banner .dialog_banner_item .dialog_banner_item_right .dialog_banner_img[data-v-35538fb4]{width:84px;height:84px;margin-left:10px;position:relative;background:#d9d9d9;margin-bottom:10px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .dialog_banner_img img[data-v-35538fb4]{width:100%;height:100%}.dialog_banner .dialog_banner_item .dialog_banner_item_right .dialog_banner_img .banner_close[data-v-35538fb4]{width:14px;height:14px;position:absolute;top:-6px;right:-6px;cursor:pointer;display:none}.dialog_banner .dialog_banner_item .dialog_banner_item_right .dialog_banner_img .banner_set[data-v-35538fb4]{width:100%;height:25px;background:rgba(26,144,255,.7);position:absolute;left:0;bottom:0;font-size:14px;font-family:MicrosoftYaHeiUI;color:#fff;line-height:14px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;display:none}.dialog_banner .dialog_banner_item .dialog_banner_item_right[data-v-35538fb4] .ivu-input{background:#fff;border-radius:1px;border:1px solid #d9d9d9}.dialog_banner .dialog_banner_item .dialog_banner_item_right[data-v-35538fb4] .ivu-btn-default{width:70px;height:32px;border-radius:2px;border:1px solid #ddd;margin-left:12px;font-size:14px;font-family:PingFangTC-Regular,PingFangTC;font-weight:400;color:#333;line-height:14px}.dialog_banner .dialog_banner_item .dialog_banner_item_right[data-v-35538fb4] .ivu-radio{margin-right:10px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_radio[data-v-35538fb4]{width:100%;padding-top:7px;margin-left:10px}.dialog_banner .dialog_banner_item .dialog_banner_item_right[data-v-35538fb4] .ivu-radio-inner:after{width:4.67px;height:4.67px;left:4px;top:4px}.dialog_banner .dialog_banner_item .dialog_banner_item_right[data-v-35538fb4] .ivu-radio-wrapper{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;margin-right:30px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail[data-v-35538fb4]{width:100%;padding-top:20px;margin-left:10px;display:-webkit-box;display:-ms-flexbox;display:flex}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail .banner_set_detail_item[data-v-35538fb4]{margin-right:40px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail span[data-v-35538fb4]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:18px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail[data-v-35538fb4] .ivu-input-wrapper{margin-left:10px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail[data-v-35538fb4] .ivu-input-suffix span{line-height:28px;font-size:14px;font-family:MicrosoftYaHeiUI;color:#e0e0de}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail[data-v-35538fb4] .ivu-input{font-size:14px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail[data-v-35538fb4] .ivu-input-with-suffix{padding-right:25px}.dialog_banner .dialog_banner_item .dialog_banner_item_right .banner_set_detail[data-v-35538fb4] .ivu-input-suffix{width:25px}.dialog_banner .dialog_banner_title[data-v-35538fb4]{width:100%;padding:13px 14px;background:#f7f7f7;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between;margin:20px 0}.dialog_banner .dialog_banner_title h3[data-v-35538fb4]{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;font-weight:500}.dialog_banner .dialog_banner_style[data-v-35538fb4]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.dialog_banner .dialog_banner_style .dialog_banner_style_item[data-v-35538fb4],.dialog_banner .dialog_banner_style .dialog_banner_style_item_active[data-v-35538fb4]{width:140px;height:90px;padding:5px;background:#fff;border-radius:1px;border:1px solid #d9d9d9;margin-right:10px;cursor:pointer}.dialog_banner .dialog_banner_style .dialog_banner_style_item .style_main[data-v-35538fb4],.dialog_banner .dialog_banner_style .dialog_banner_style_item_active .style_main[data-v-35538fb4]{width:100%;height:100%;background:hsla(0,0%,85.1%,.5);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0 16px}.dialog_banner .dialog_banner_style .dialog_banner_style_item .style_main h3[data-v-35538fb4],.dialog_banner .dialog_banner_style .dialog_banner_style_item_active .style_main h3[data-v-35538fb4]{margin-bottom:7px;font-size:14px;font-family:MicrosoftYaHeiUI-Bold,MicrosoftYaHeiUI;font-weight:700;color:#7a8b9c;line-height:14px}.dialog_banner .dialog_banner_style .dialog_banner_style_item .style_main p[data-v-35538fb4],.dialog_banner .dialog_banner_style .dialog_banner_style_item_active .style_main p[data-v-35538fb4]{font-size:11px;font-family:MicrosoftYaHeiUI;color:#8e9eaf;line-height:11px}.dialog_banner .dialog_banner_style .dialog_banner_style_item_active[data-v-35538fb4]{border:1px solid #1890ff}.dialog_banner .dialog_banner_style .dialog_banner_style_item_active .style_main[data-v-35538fb4]{width:100%;height:100%;background:rgba(24,144,255,.07);border-radius:1px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;padding:0 16px}.dialog_banner .dialog_banner_style .dialog_banner_style_item_active .style_main h3[data-v-35538fb4]{margin-bottom:7px;font-size:14px;font-family:MicrosoftYaHeiUI-Bold,MicrosoftYaHeiUI;font-weight:700;color:#7a8b9c;line-height:14px}.dialog_banner .dialog_banner_style .dialog_banner_style_item_active .style_main p[data-v-35538fb4]{font-size:11px;font-family:MicrosoftYaHeiUI;color:#8e9eaf;line-height:11px}.repaire-linkinputstyle[data-v-35538fb4]{max-width:332px;height:32px;margin-left:10px}.repaire-numinputstyle[data-v-35538fb4]{width:70px;height:32px;text-align:right}.picbox-wrap[data-v-aa6f479e]{width:380px;display:inline-block}.picbox-wrap .addicon-box[data-v-aa6f479e]{border:1px dashed #e6e8e9}.picbox-wrap .addicon-box[data-v-aa6f479e],.picbox-wrap .pic-wrap[data-v-aa6f479e]{display:inline-block;width:84px;height:84px;line-height:84px;text-align:center;-webkit-box-sizing:border-box;box-sizing:border-box;margin-left:10px;vertical-align:top}.picbox-wrap .pic-wrap[data-v-aa6f479e]{margin-bottom:10px;position:relative;cursor:pointer}.picbox-wrap .pic-wrap:hover .close-icon[data-v-aa6f479e],.picbox-wrap .pic-wrap:hover .edit-style[data-v-aa6f479e]{display:-webkit-box;display:-ms-flexbox;display:flex}.picbox-wrap .close-icon[data-v-aa6f479e]{width:14px;height:14px;position:absolute;top:-6px;right:-6px;cursor:pointer;display:none}.picbox-wrap .edit-style[data-v-aa6f479e]{width:100%;height:25px;background:rgba(26,144,255,.7);position:absolute;left:0;bottom:0;font-size:14px;font-family:MicrosoftYaHeiUI;color:#fff;line-height:14px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;cursor:pointer;display:none}.picstyle-radios[data-v-aa6f479e]{margin-bottom:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap}.picstyle-radios .style-radio[data-v-aa6f479e]{font-size:0;width:140px;height:90px;padding:0;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.picstyle-radios .style-radio .img-left-partone[data-v-aa6f479e]{width:65px;height:80px;background:#1890ff;opacity:.07}.picstyle-radios .style-radio .img-text-styleone[data-v-aa6f479e]{width:65px;height:80px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.picstyle-radios .style-radio span[data-v-aa6f479e]{color:#8e9eaf;font-size:11px}.picstyle-radios .style-radio .img-right-partone[data-v-aa6f479e]{width:65px;height:80px;background:#f0f0f0}.picstyle-radios .style-radio .neat-four-wrap[data-v-aa6f479e]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.picstyle-radios .style-radio .neat-four-wrap .neat-four-img[data-v-aa6f479e]{height:50px}.picstyle-radios .style-radio .neat-four-wrap .neat-four-img .img-top-partone[data-v-aa6f479e]{display:inline-block;width:25px;height:25px;margin:22px 3px 0;background:#f0f0f0}.picstyle-radios .style-radio .neat-four-wrap .neat-four-text span[data-v-aa6f479e]{display:inline-block;width:25px;margin:0 3px}.picstyle-radios .style-radio .img-two-left .img-little-item[data-v-aa6f479e]{width:65px;height:30px;background:#f0f0f0}.picstyle-radios .style-radio .img-two-left .img-little-item[data-v-aa6f479e]:first-child{margin-bottom:10px}.picstyle-radios .style-radio[data-v-aa6f479e]:not(first-child){margin-left:10px}.picstyle-radios .style-radio[data-v-aa6f479e]:nth-child(3){width:140px;height:90px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.picstyle-radios .style-radio[data-v-aa6f479e]:nth-child(4){margin-top:20px}.edititems-style[data-v-aa6f479e]{background:#f7f7f7;font-size:14px;color:#333;margin-bottom:20px}.half-block[data-v-aa6f479e]{display:inline-block;width:50%}.showHtmlText[data-v-aa6f479e]{width:332px;min-height:33px;clear:both;display:inline-block;vertical-align:top;border:1px solid #dcdee2;white-space:normal;word-break:break-all;word-wrap:break-word}[data-v-aa6f479e] .ivu-input,[data-v-aa6f479e] .ivu-radio-group-button .ivu-radio-wrapper:first-child,[data-v-aa6f479e] .ivu-radio-group-button .ivu-radio-wrapper:last-child,[data-v-aa6f479e] .ivu-select-selection{border-radius:0}[data-v-aa6f479e] .ivu-btn-default{width:70px;height:32px;border-radius:2px;border:1px solid #ddd;margin-left:12px;font-size:14px;font-family:PingFangTC-Regular,PingFangTC;font-weight:400;color:#333;line-height:14px}.my_module_item:hover .my_module_item_set[data-v-163a5498]{display:block}.my_module_item[data-v-163a5498]{width:100%;padding:10px;border:1px dashed #999;display:-webkit-box;display:-ms-flexbox;display:flex;position:relative;margin-bottom:20px}.my_module_item .my_module_item_title[data-v-163a5498]{position:absolute;top:10px;left:10px;padding:10px 36px;background:#1890ff;opacity:.7;z-index:99;font-size:14px;font-family:MicrosoftYaHei;color:#fff;line-height:16px}.my_module_item .my_module_item_set[data-v-163a5498]{position:absolute;bottom:10px;right:10px;z-index:99;display:none}.my_module_item .my_module_item_set button[data-v-163a5498]{padding:11px 19px;border:none;border-right:1px solid hsla(0,0%,100%,.7);outline:none;background:rgba(0,0,0,.7);cursor:pointer;font-size:14px;font-family:MicrosoftYaHei;color:#fff;line-height:14px}.my_module_item .my_module_item_set button[data-v-163a5498]:hover{background:#1890ff}[data-v-163a5498] .ivu-modal-content{min-width:640px}[data-v-163a5498] .ivu-modal-body{padding:30px 50px;max-height:650px;min-height:450px;overflow:auto}[data-v-163a5498] .vertical-center-modal{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}[data-v-163a5498] .vertical-center-modal /deep/ .ivu-modal{top:0}[data-v-163a5498] .ivu-modal-body::-webkit-scrollbar{width:5px;height:1px}[data-v-163a5498] .ivu-modal-body::-webkit-scrollbar-thumb{border-radius:10px;-webkit-box-shadow:inset 0 0 5px hsla(0,0%,55.3%,.2);box-shadow:inset 0 0 5px hsla(0,0%,55.3%,.2);background:#535353}[data-v-163a5498] .ivu-modal-body::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 5px hsla(0,0%,55.3%,.2);box-shadow:inset 0 0 5px hsla(0,0%,55.3%,.2);border-radius:10px;background:#ededed}.module[data-v-0094ffe1]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex}.module .new_module[data-v-0094ffe1]{width:226px;min-width:226px;height:100%;background:#fff;padding:10px;margin-right:20px}.module .new_module h3[data-v-0094ffe1]{font-size:16px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#333;line-height:16px;margin-bottom:26px;padding:10px}.module .new_module .module_title[data-v-0094ffe1]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center;font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400;color:#666;line-height:14px;position:relative;padding:10px}.module .new_module .module_title .module_title_line[data-v-0094ffe1]{width:100%;position:absolute;border-top:1px solid #e8e8e8;top:50%;left:0}.module .new_module .module_title p[data-v-0094ffe1]{position:absolute;z-index:2;padding:0 5px;background:#fff}.module .new_module .basics_module[data-v-0094ffe1]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-ms-flex-wrap:wrap;flex-wrap:wrap;margin:10px 0 20px 0}.module .new_module .basics_module .basics_module_item[data-v-0094ffe1]:hover{-webkit-box-shadow:0 0 9px 0 hsla(0,0%,83.5%,.5);box-shadow:0 0 9px 0 hsla(0,0%,83.5%,.5);border-radius:5px;color:#1890ff}.module .new_module .basics_module .basics_module_item:hover .basics_module_item_main .svg-icon[data-v-0094ffe1]{fill:#1890ff}.module .new_module .basics_module .basics_module_item[data-v-0094ffe1]{width:33.333%;height:64px;color:#333;cursor:pointer;margin-bottom:12px;overflow:hidden}.module .new_module .basics_module .basics_module_item .basics_module_item_main[data-v-0094ffe1]{width:100%;height:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.module .new_module .basics_module .basics_module_item .basics_module_item_main .svg-icon[data-v-0094ffe1]{width:22px;height:22px;margin-bottom:8px;fill:#aaafc2}.module .new_module .basics_module .basics_module_item .basics_module_item_main p[data-v-0094ffe1]{font-size:14px;font-family:PingFangSC-Regular,PingFang SC;font-weight:400}.module .my_module[data-v-0094ffe1]{width:calc(100% - 246px);padding:20px;background:#fff;overflow:auto}.module .my_module .my_module_nav[data-v-0094ffe1]{width:100%;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:justify;-ms-flex-pack:justify;justify-content:space-between}.module .my_module .my_module_nav h3[data-v-0094ffe1]{font-size:16px;font-family:PingFangSC-Medium,PingFang SC;font-weight:500;color:#333;line-height:16px;margin-bottom:26px}.module .my_module .my_module_nav button[data-v-0094ffe1]{width:90px;height:32px;background:#1890ff;border-radius:4px;border:none;outline:none;font-size:14px;font-family:PingFangTC-Regular,PingFangTC;font-weight:400;color:#fff;line-height:20px;margin-left:10px;cursor:pointer}.module .my_module .my_module_nav button[data-v-0094ffe1]:hover{background:#3faaff}.module .my_module .my_module_tip[data-v-0094ffe1]{width:100%;height:calc(100% - 180px);display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.module .my_module .my_module_tip .svg-icon[data-v-0094ffe1]{width:36px;height:24px;fill:#aaafc2;margin-right:14px}.module .my_module .my_module_tip p[data-v-0094ffe1]{font-size:14px;font-family:MicrosoftYaHei;color:#2b2b2b;line-height:14px}.module .test-1[data-v-0094ffe1]::-webkit-scrollbar{width:10px;height:1px}.module .test-1[data-v-0094ffe1]::-webkit-scrollbar-thumb{border-radius:10px;-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2);box-shadow:inset 0 0 5px rgba(0,0,0,.2);background:#535353}.module .test-1[data-v-0094ffe1]::-webkit-scrollbar-track{-webkit-box-shadow:inset 0 0 5px rgba(0,0,0,.2);box-shadow:inset 0 0 5px rgba(0,0,0,.2);border-radius:10px;background:#ededed}
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><meta content=yes name=apple-mobile-web-app-capable><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><link rel=icon href=/ccc.png><link rel=stylesheet href=//at.alicdn.com/t/font_1996389_21r6b2e5cqci.css><title></title><link href=/css/chunk-04497344.c9ab9860.css rel=prefetch><link href=/css/chunk-0552e04c.3b81c95e.css rel=prefetch><link href=/css/chunk-07f86704.9c2d3004.css rel=prefetch><link href=/css/chunk-0c20b306.305956e2.css rel=prefetch><link href=/css/chunk-0c2187ca.de0e14cf.css rel=prefetch><link href=/css/chunk-0fb760a4.5c30cb40.css rel=prefetch><link href=/css/chunk-1021e4ee.17ba2048.css rel=prefetch><link href=/css/chunk-14b9857b.0dc416de.css rel=prefetch><link href=/css/chunk-29ebb6f1.d1f69246.css rel=prefetch><link href=/css/chunk-2c359864.0dc416de.css rel=prefetch><link href=/css/chunk-3008061c.6014cc43.css rel=prefetch><link href=/css/chunk-3385141a.0dc416de.css rel=prefetch><link href=/css/chunk-3cca9940.6014cc43.css rel=prefetch><link href=/css/chunk-42f44164.bd629bc4.css rel=prefetch><link href=/css/chunk-48aa254a.d360cbd2.css rel=prefetch><link href=/css/chunk-5a40d679.305956e2.css rel=prefetch><link href=/css/chunk-5da45f03.c6303bcf.css rel=prefetch><link href=/css/chunk-6cc861f3.6014cc43.css rel=prefetch><link href=/css/chunk-9dc7e768.305956e2.css rel=prefetch><link href=/css/chunk-a142fab8.6014cc43.css rel=prefetch><link href=/css/chunk-a1670dde.70decc8e.css rel=prefetch><link href=/css/chunk-ca97e120.6014cc43.css rel=prefetch><link href=/css/chunk-cc77621c.8797b2b5.css rel=prefetch><link href=/js/chunk-04497344.0c8a3138.js rel=prefetch><link href=/js/chunk-0552e04c.d6840cc0.js rel=prefetch><link href=/js/chunk-07f86704.a7fd6724.js rel=prefetch><link href=/js/chunk-0c20b306.728fdf52.js rel=prefetch><link href=/js/chunk-0c2187ca.f9f84370.js rel=prefetch><link href=/js/chunk-0fb760a4.def58650.js rel=prefetch><link href=/js/chunk-1021e4ee.d40517f9.js rel=prefetch><link href=/js/chunk-14b9857b.ae43b7c1.js rel=prefetch><link href=/js/chunk-1f11ec07.b7a911e5.js rel=prefetch><link href=/js/chunk-29ebb6f1.3760df0c.js rel=prefetch><link href=/js/chunk-2c359864.f1f45686.js rel=prefetch><link href=/js/chunk-2d210f61.6e56960a.js rel=prefetch><link href=/js/chunk-3008061c.e8c7ed02.js rel=prefetch><link href=/js/chunk-3385141a.16d7705b.js rel=prefetch><link href=/js/chunk-3cca9940.912f824d.js rel=prefetch><link href=/js/chunk-42f44164.c4f61527.js rel=prefetch><link href=/js/chunk-48aa254a.64498aea.js rel=prefetch><link href=/js/chunk-5a40d679.97098616.js rel=prefetch><link href=/js/chunk-5a4e13d5.6ebd883c.js rel=prefetch><link href=/js/chunk-5da45f03.c18ae604.js rel=prefetch><link href=/js/chunk-6cc861f3.38766ea9.js rel=prefetch><link href=/js/chunk-780401d4.2594e2ad.js rel=prefetch><link href=/js/chunk-9dc7e768.5dc43ead.js rel=prefetch><link href=/js/chunk-a142fab8.f67a1531.js rel=prefetch><link href=/js/chunk-a1670dde.7fb32135.js rel=prefetch><link href=/js/chunk-ca97e120.8fc3e405.js rel=prefetch><link href=/js/chunk-cc77621c.209c3f4a.js rel=prefetch><link href=/js/chunk-d710b6d2.9eff4b27.js rel=prefetch><link href=/css/app.e3db6847.css rel=preload as=style><link href=/css/chunk-vendors.a0428467.css rel=preload as=style><link href=/js/app.9b00d1da.js rel=preload as=script><link href=/js/chunk-vendors.d7daa525.js rel=preload as=script><link href=/css/chunk-vendors.a0428467.css rel=stylesheet><link href=/css/app.e3db6847.css rel=stylesheet></head><body><noscript><strong>We're sorry but iview-admin doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.d7daa525.js></script><script src=/js/app.9b00d1da.js></script></body></html>
\ No newline at end of file
<!DOCTYPE html><html><head><meta charset=utf-8><meta http-equiv=X-UA-Compatible content="IE=edge"><meta name=viewport content="width=device-width,initial-scale=1"><meta content=yes name=apple-mobile-web-app-capable><meta name=viewport content="width=device-width,initial-scale=1,maximum-scale=1,user-scalable=no"><link rel=icon href=/ccc.png><link rel=stylesheet href=//at.alicdn.com/t/font_1996389_21r6b2e5cqci.css><title></title><link href=/css/chunk-003c4e99.3b468d85.css rel=prefetch><link href=/css/chunk-04497344.c9ab9860.css rel=prefetch><link href=/css/chunk-07f86704.9c2d3004.css rel=prefetch><link href=/css/chunk-0c20b306.305956e2.css rel=prefetch><link href=/css/chunk-0c2187ca.de0e14cf.css rel=prefetch><link href=/css/chunk-0fb760a4.5c30cb40.css rel=prefetch><link href=/css/chunk-1021e4ee.17ba2048.css rel=prefetch><link href=/css/chunk-14b9857b.0dc416de.css rel=prefetch><link href=/css/chunk-29ebb6f1.d1f69246.css rel=prefetch><link href=/css/chunk-2c359864.0dc416de.css rel=prefetch><link href=/css/chunk-3008061c.6014cc43.css rel=prefetch><link href=/css/chunk-3385141a.0dc416de.css rel=prefetch><link href=/css/chunk-3cca9940.6014cc43.css rel=prefetch><link href=/css/chunk-42f44164.bd629bc4.css rel=prefetch><link href=/css/chunk-48aa254a.d360cbd2.css rel=prefetch><link href=/css/chunk-5a40d679.305956e2.css rel=prefetch><link href=/css/chunk-6cc861f3.6014cc43.css rel=prefetch><link href=/css/chunk-9c997554.8e4ddbca.css rel=prefetch><link href=/css/chunk-9dc7e768.305956e2.css rel=prefetch><link href=/css/chunk-a142fab8.6014cc43.css rel=prefetch><link href=/css/chunk-a1670dde.70decc8e.css rel=prefetch><link href=/css/chunk-ca97e120.6014cc43.css rel=prefetch><link href=/css/chunk-cc77621c.8797b2b5.css rel=prefetch><link href=/js/chunk-003c4e99.153abb4e.js rel=prefetch><link href=/js/chunk-04497344.0c8a3138.js rel=prefetch><link href=/js/chunk-07f86704.a7fd6724.js rel=prefetch><link href=/js/chunk-0c20b306.728fdf52.js rel=prefetch><link href=/js/chunk-0c2187ca.f9f84370.js rel=prefetch><link href=/js/chunk-0fb760a4.def58650.js rel=prefetch><link href=/js/chunk-1021e4ee.d40517f9.js rel=prefetch><link href=/js/chunk-14b9857b.ae43b7c1.js rel=prefetch><link href=/js/chunk-1f11ec07.b7a911e5.js rel=prefetch><link href=/js/chunk-29ebb6f1.3760df0c.js rel=prefetch><link href=/js/chunk-2c359864.f1f45686.js rel=prefetch><link href=/js/chunk-2d210f61.6e56960a.js rel=prefetch><link href=/js/chunk-3008061c.e8c7ed02.js rel=prefetch><link href=/js/chunk-3385141a.16d7705b.js rel=prefetch><link href=/js/chunk-3cca9940.912f824d.js rel=prefetch><link href=/js/chunk-42f44164.c4f61527.js rel=prefetch><link href=/js/chunk-48aa254a.64498aea.js rel=prefetch><link href=/js/chunk-5a40d679.97098616.js rel=prefetch><link href=/js/chunk-5a4e13d5.6ebd883c.js rel=prefetch><link href=/js/chunk-6cc861f3.38766ea9.js rel=prefetch><link href=/js/chunk-780401d4.2594e2ad.js rel=prefetch><link href=/js/chunk-9c997554.98400590.js rel=prefetch><link href=/js/chunk-9dc7e768.5dc43ead.js rel=prefetch><link href=/js/chunk-a142fab8.f67a1531.js rel=prefetch><link href=/js/chunk-a1670dde.7fb32135.js rel=prefetch><link href=/js/chunk-ca97e120.8fc3e405.js rel=prefetch><link href=/js/chunk-cc77621c.209c3f4a.js rel=prefetch><link href=/js/chunk-d710b6d2.9eff4b27.js rel=prefetch><link href=/css/app.e3db6847.css rel=preload as=style><link href=/css/chunk-vendors.a0428467.css rel=preload as=style><link href=/js/app.2e179301.js rel=preload as=script><link href=/js/chunk-vendors.d7daa525.js rel=preload as=script><link href=/css/chunk-vendors.a0428467.css rel=stylesheet><link href=/css/app.e3db6847.css rel=stylesheet></head><body><noscript><strong>We're sorry but iview-admin doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id=app></div><script src=/js/chunk-vendors.d7daa525.js></script><script src=/js/app.2e179301.js></script></body></html>
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-0552e04c"],{"0636":function(e,t,o){"use strict";var i=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[e._l(e.ups,(function(t,i){return o("div",{key:"d"+i,staticClass:"demo-upload-list"},["finished"===t.status?[o("img",{attrs:{src:t.url}}),o("div",{staticClass:"demo-upload-list-cover"},[o("Icon",{attrs:{type:"ios-eye-outline"},nativeOn:{click:function(o){return e.handleView(t.url)}}}),o("Icon",{attrs:{type:"ios-trash-outline"},nativeOn:{click:function(o){return e.handleRemove(t)}}})],1)]:[t.showProgress?o("Progress",{attrs:{percent:50,"hide-info":""}}):e._e()]],2)})),o("Upload",{directives:[{name:"show",rawName:"v-show",value:!e.result,expression:"!result"}],ref:"upload",staticStyle:{display:"inline-block",width:"58px"},attrs:{data:e.d,"show-upload-list":!1,"on-success":e.handleSuccess,format:e.formatArray,"max-size":2048,"on-format-error":e.handleFormatError,"on-exceeded-size":e.handleMaxSize,"before-upload":e.handleBeforeUpload,multiple:"",type:"drag",action:e.action}},[o("div",{staticStyle:{width:"58px",height:"58px","line-height":"58px"}},[o("Icon",{attrs:{type:"ios-camera",size:"20"}})],1)]),o("Modal",{attrs:{title:"图片预览"},model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}},[e.visible?o("img",{staticStyle:{width:"100%"},attrs:{src:e.imgName}}):e._e()])],2)},r=[],s=(o("6d57"),o("f548"),o("cc57"),o("9a33"),o("60b7")),a=o("c8c0"),n=o.n(a),l={name:"uploads2",components:{},props:["value","format","propName"],model:{prop:"value",event:"change"},data:function(){return{imgName:"",visible:!1,uploadList:[],result:this.value,d:{},action:"",defaultimg:n.a}},methods:{loadXML:function(e){var t=null;if(!window.DOMParser&&window.ActiveXObject)for(var o=["MSXML.2.DOMDocument.6.0","MSXML.2.DOMDocument.3.0","Microsoft.XMLDOM"],i=0;i<o.length;i++)try{t=new ActiveXObject(o[i]),t.async=!1,t.loadXML(e);break}catch(s){}else{if(!(window.DOMParser&&document.implementation&&document.implementation.createDocument))return null;try{var r=new DOMParser;t=r.parseFromString(e,"text/xml")}catch(s){console.log(s)}}return t},handleView:function(e){this.imgName=e,this.visible=!0},handleRemove:function(e){var t=this.uploadList;this.uploadList.splice(t.indexOf(e),1);var o=this.result.split(","),i=o.filter((function(t){return t!=e.url}));this.result=i.join(","),this.$emit("change",this.result)},handleSuccess:function(e,t,o){console.log("/////////////////////////////////////////",o);var i=this.loadXML(e),r=i.documentElement.getElementsByTagName("Location")[0].textContent;console.log("===================",r);var s=this.uploadList.filter((function(e){return e&&e.url&&""!=e.url}));s=s.map((function(e){return e.url})),s.push(r),this.result=s.join(","),console.log("upload...",this.result),this.$emit("change",this.result),this.$emit("formevent",this.propName,[this.result,t])},handleFormatError:function(e){this.$Notice.warning({title:"The file format is incorrect",desc:"File format of "+e.name+" is incorrect, please select jpg or png."})},handleMaxSize:function(e){this.$Message.warning("File "+e.name+" is too large, no more than 2M.")},handleBeforeUpload:function(e){var t=this.uploadList.length;if(console.log("check",t),t>0)return this.$Notice.warning({title:"Only one picture can be uploaded."}),!1;this.result="";var o=new Date,i="zc_"+Math.round(500*Math.random())+o.getMonth()+o.getTime()+o.getFullYear()+o.getDate()+o.getHours()+o.getMinutes()+o.getSeconds()+o.getMilliseconds()+e.name.replace(" ","");return this.d.key=i,t}},created:function(){},computed:{ups:function(){var e=this,t=[],o=this.uploadList.map((function(t){if("finished"==t.status&&t.response){var o=e.loadXML(t.response),i=o.documentElement.getElementsByTagName("Location")[0].textContent;return{name:t.name,url:i,status:t.status}}return t})),i=t.concat(o);return i},formatArray:function(){return this.format?this.format.split(","):["jpg","jpeg","png","json"]}},mounted:function(){var e=this,t="/api/meta/oss/getOssConfig";Object(s["a"])(t,null).then((function(t){var o=t.data;if(0==o.status){var i=o.data;e.d["key"]="key",e.d["Bucket"]=i.Bucket,e.d["OSSAccessKeyId"]=i.OSSAccessKeyId,e.d["Signature"]=i.Signature,e.d["policy"]=i.policy,e.d["success_action_status"]=i.success_action_status,e.action=i.url}else console.log("cofig fetch failuer")})),this.$refs.upload.fileList=[],this.uploadList=this.$refs.upload.fileList},watch:{value:function(e){var t=this;if(this.result=e,this.uploadList=[],this.result&&""!=this.result){console.log(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>."),console.log(this.result);var o=10;this.result.split(",").forEach((function(e){t.uploadList.push({name:o++,url:e,status:"finished"})}))}},uploadList:{handler:function(e,t){if(e.length>0){if(!document.getElementsByClassName("ivu-upload")[0])return;if(document.getElementsByClassName("ivu-upload")[0].style.display="none",!document.getElementsByClassName("ivu-upload")[1]||!document.getElementsByClassName("ivu-upload")[1].getElementsByTagName("div")[0])return;if(document.getElementsByClassName("ivu-upload")[1].getElementsByTagName("div")[0].style.display="none",!document.getElementsByClassName("ivu-upload")[2]||!document.getElementsByClassName("ivu-upload")[2].getElementsByTagName("div")[0])return;if(document.getElementsByClassName("ivu-upload")[2].getElementsByTagName("div")[0].style.display="none",!document.getElementsByClassName("ivu-upload")[3]||!document.getElementsByClassName("ivu-upload")[3].getElementsByTagName("div")[0])return;document.getElementsByClassName("ivu-upload")[3].getElementsByTagName("div")[0].style.display="none"}else{if(!document.getElementsByClassName("ivu-upload")[0])return;if(document.getElementsByClassName("ivu-upload")[0].style.display="inline-block",!document.getElementsByClassName("ivu-upload")[1]||!document.getElementsByClassName("ivu-upload")[1].getElementsByTagName("div")[0])return;if(document.getElementsByClassName("ivu-upload")[1].getElementsByTagName("div")[0].style.display="inline-block",!document.getElementsByClassName("ivu-upload")[2]||!document.getElementsByClassName("ivu-upload")[2].getElementsByTagName("div")[0])return;if(document.getElementsByClassName("ivu-upload")[2].getElementsByTagName("div")[0].style.display="inline-block",!document.getElementsByClassName("ivu-upload")[3]||!document.getElementsByClassName("ivu-upload")[3].getElementsByTagName("div")[0])return;document.getElementsByClassName("ivu-upload")[3].getElementsByTagName("div")[0].style.display="inline-block"}console.log(e.name)},deep:!0}}},c=l,d=(o("8abd"),o("9ca4")),u=Object(d["a"])(c,i,r,!1,null,null,null);t["a"]=u.exports},"2bb8":function(e,t,o){"use strict";var i=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,o,n){return t=t||"&",o=o||"=",null===e&&(e=void 0),"object"===typeof e?s(a(e),(function(a){var n=encodeURIComponent(i(a))+o;return r(e[a])?s(e[a],(function(e){return n+encodeURIComponent(i(e))})).join(t):n+encodeURIComponent(i(e[a]))})).join(t):n?encodeURIComponent(i(n))+o+encodeURIComponent(i(e)):""};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function s(e,t){if(e.map)return e.map(t);for(var o=[],i=0;i<e.length;i++)o.push(t(e[i],i));return o}var a=Object.keys||function(e){var t=[];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.push(o);return t}},"335f":function(e,t,o){},"391e":function(e,t,o){"use strict";var i=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{attrs:{id:"framediv"}},[e._t("default",null,{adjustHeight:e.frameHeight})],2)},r=[],s=o("9ee1"),a=s["a"],n=o("9ca4"),l=Object(n["a"])(a,i,r,!1,null,null,null);t["a"]=l.exports},"5ee4":function(e,t,o){"use strict";t.decode=t.parse=o("a2d3"),t.encode=t.stringify=o("2bb8")},6729:function(e,t,o){"use strict";o.r(t);var i=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("PageSpace",{scopedSlots:e._u([{key:"default",fn:function(t){var i=t.adjustHeight;return[o("BizTable",{ref:"bt",attrs:{formatCol:e.formatCol,tblheight:i-120,metaName:"product",packageName:"aggregation",modelName:"product",isMulti:"",savebefore:e.savebefore,editbefore:e.beforedit,addbefore:e.beforeadd},on:{formevent:e.onformevent,onexec:e.onexec,oninitbtn:e.oninitbtn}}),o("Drawer",{ref:"addProductRawer",attrs:{placement:"right",closable:!1,"mask-closable":!1,width:"70"},model:{value:e.showchildform,callback:function(t){e.showchildform=t},expression:"showchildform"}},[o("Card",{ref:"formcard",staticStyle:{"border-radius":"0px","padding-bottom":"60px",border:"none"},attrs:{"dis-hover":"",bordered:!1}},[o("p",{attrs:{slot:"title"},slot:"title"},[o("Icon",{attrs:{type:"ios-paper-outline"}}),e._v("产品详情\n ")],1),o("Form",{ref:"productForm",attrs:{model:e.formModel,"label-position":"left","show-message":"",rules:e.ruleValidate}},[o("FormItem",{attrs:{label:"产品名称",prop:"name"}},[o("input",{directives:[{name:"model",rawName:"v-model",value:e.formModel["name"],expression:"formModel['name']"}],staticStyle:{"padding-left":"6px"},attrs:{type:"text",placeholder:"请输入产品名称"},domProps:{value:e.formModel["name"]},on:{input:function(t){t.target.composing||e.$set(e.formModel,"name",t.target.value)}}})]),o("FormItem",{attrs:{label:"产品一类",prop:"p_product_type_id"}},[o("i-select",{staticStyle:{width:"200px"},attrs:{placeholder:"请选择产品"},on:{"on-change":e.typeoneChange},model:{value:e.formModel.p_product_type_id,callback:function(t){e.$set(e.formModel,"p_product_type_id",t)},expression:"formModel.p_product_type_id"}},e._l(e.p_productTypeList,(function(t){return o("Option",{key:t.code,attrs:{value:t.id}},[e._v(e._s(t.name))])})),1)],1),o("FormItem",{attrs:{label:"产品二类",prop:"product_type_id"}},[o("i-select",{staticStyle:{width:"200px"},attrs:{placeholder:"请选择产品"},on:{"on-change":e.typeChange},model:{value:e.formModel.product_type_id,callback:function(t){e.$set(e.formModel,"product_type_id",t)},expression:"formModel.product_type_id"}},e._l(e.productTypeList,(function(t){return o("Option",{key:t.code,attrs:{value:t.id}},[e._v(e._s(t.name))])})),1)],1),o("FormItem",{attrs:{label:"产品卖点",prop:"selling_point"}},[o("input",{directives:[{name:"model",rawName:"v-model",value:e.formModel["selling_point"],expression:"formModel['selling_point']"}],staticStyle:{"padding-left":"6px"},attrs:{type:"text",placeholder:"请输入产品卖点"},domProps:{value:e.formModel["selling_point"]},on:{input:function(t){t.target.composing||e.$set(e.formModel,"selling_point",t.target.value)}}})]),o("FormItem",{attrs:{label:"产品现价类型",prop:"price_type"}},[o("RadioGroup",{model:{value:e.formModel["price_type"],callback:function(t){e.$set(e.formModel,"price_type",t)},expression:"formModel['price_type']"}},[o("Radio",{key:"1",attrs:{label:"1"}},[e._v("起价")]),o("Radio",{key:"2",attrs:{label:"2"}},[e._v("定价")]),o("Radio",{key:"3",attrs:{label:"3"}},[e._v("面议")])],1)],1),3!=e.formModel.price_type?o("FormItem",{attrs:{label:"产品现价",prop:"price"}},[o("input",{directives:[{name:"model",rawName:"v-model",value:e.formModel["price"],expression:"formModel['price']"}],staticStyle:{"padding-left":"6px"},attrs:{type:"number",placeholder:"请输入产品现价"},domProps:{value:e.formModel["price"]},on:{input:function(t){t.target.composing||e.$set(e.formModel,"price",t.target.value)}}})]):e._e(),3!=e.formModel.price_type?o("FormItem",{attrs:{label:"产品原价",prop:"original_price"}},[o("input",{directives:[{name:"model",rawName:"v-model",value:e.formModel["original_price"],expression:"formModel['original_price']"}],staticStyle:{"padding-left":"6px"},attrs:{type:"text",placeholder:"请输入产品原价"},domProps:{value:e.formModel["original_price"]},on:{input:function(t){t.target.composing||e.$set(e.formModel,"original_price",t.target.value)}}})]):e._e(),o("FormItem",{attrs:{label:"产品销量",prop:"sales_volume"}},[o("input",{directives:[{name:"model",rawName:"v-model",value:e.formModel["sales_volume"],expression:"formModel['sales_volume']"}],staticStyle:{"padding-left":"6px"},attrs:{type:"text",placeholder:"请输入产品销量"},domProps:{value:e.formModel["sales_volume"]},on:{input:function(t){t.target.composing||e.$set(e.formModel,"sales_volume",t.target.value)}}})]),o("FormItem",{attrs:{label:"详情大图",prop:"product_detail_url"}},[o("Uploads",{ref:"product_detail_url",attrs:{propName:e.product_detail_url},model:{value:e.formModel.product_detail_url,callback:function(t){e.$set(e.formModel,"product_detail_url",t)},expression:"formModel.product_detail_url"}}),o("p",[e._v("请上传png,jpg格式图片,图片宽度750,高度300")])],1),o("FormItem",{attrs:{label:"列表缩略图",prop:"list_thumbnail_url"}},[o("Uploads",{ref:"list_thumbnail_url",attrs:{propName:e.list_thumbnail_url},model:{value:e.formModel.list_thumbnail_url,callback:function(t){e.$set(e.formModel,"list_thumbnail_url",t)},expression:"formModel.list_thumbnail_url"}}),o("p",[e._v("请上传png,jpg格式图片,图片宽度145,高度145")])],1),o("FormItem",{attrs:{label:"是否推荐",prop:"is_recommend"}},[o("RadioGroup",{model:{value:e.formModel["is_recommend"],callback:function(t){e.$set(e.formModel,"is_recommend",t)},expression:"formModel['is_recommend']"}},[o("Radio",{key:1,attrs:{label:1}},[e._v("是")]),o("Radio",{key:0,attrs:{label:0}},[e._v("否")])],1)],1),o("FormItem",{attrs:{label:"",prop:"is_server"}},[o("h3",[e._v("添加「服务介绍」")]),o("Uploads",{ref:"service_Introduction_info",attrs:{propName:e.service_Introduction_info},model:{value:e.formModel.service_Introduction_info,callback:function(t){e.$set(e.formModel,"service_Introduction_info",t)},expression:"formModel.service_Introduction_info"}})],1),o("FormItem",{attrs:{label:"",prop:"is_flow"}},[o("h3",[e._v("\n 添加「办理流程」\n "),o("Icon",{staticStyle:{"font-size":"30px",cursor:"pointer"},attrs:{type:"md-add-circle"},on:{click:e.addFlow}})],1),o("ol",{staticClass:"add-input"},e._l(e.flowList,(function(t,i){return o("li",{key:i},[o("input",{directives:[{name:"model",rawName:"v-model",value:t.txt,expression:"item.txt"}],staticStyle:{margin:"10px 20px","min-width":"400px"},attrs:{maxlength:"8",type:"text"},domProps:{value:t.txt},on:{input:[function(o){o.target.composing||e.$set(t,"txt",o.target.value)},function(t){return e.flowText(t,i)}]}}),o("div",{staticClass:"pic-icon"},[o("img",{attrs:{src:t.pic_url,alt:""}})]),o("a",{attrs:{href:"##"},on:{click:function(t){return e.flowChooseIcon(i)}}},[e._v("选择图标")]),o("Icon",{staticStyle:{"font-size":"30px",display:"none",cursor:"pointer"},attrs:{type:"md-close-circle"},on:{click:function(t){return e.removeFlow(i)}}})],1)})),0)]),o("FormItem",{attrs:{label:"",prop:"is_materialList"}},[o("h3",[e._v("\n 添加「所需资料」\n "),o("Icon",{staticStyle:{"font-size":"30px",cursor:"pointer"},attrs:{type:"md-add-circle"},on:{click:e.addMateria}})],1),o("ol",{staticClass:"add-input"},e._l(e.materialList,(function(t,i){return o("li",{key:i},[o("input",{directives:[{name:"model",rawName:"v-model",value:t.txt,expression:"item.txt"}],staticStyle:{margin:"10px 20px","min-width":"400px"},attrs:{maxlength:"40",type:"text"},domProps:{value:t.txt},on:{input:[function(o){o.target.composing||e.$set(t,"txt",o.target.value)},function(t){return e.materialText(t,i)}]}}),o("Icon",{staticStyle:{"font-size":"30px",display:"none",cursor:"pointer"},attrs:{type:"md-close-circle"},on:{click:function(t){return e.removeMateria(i)}}})],1)})),0)]),o("FormItem",{attrs:{label:"",prop:"is_server"}},[o("h3",[e._v("添加「您可获得」")]),o("ul",{staticClass:"show_piclist"},e._l(e.checkedList,(function(e,t){return o("li",{key:t},[o("img",{attrs:{src:e.pic_url,alt:""}})])})),0),o("div",[o("Button",{attrs:{type:"primary"},on:{click:e.addMaterialsUpload}},[e._v("添加获得材料")])],1)]),o("FormItem",{attrs:{label:"",prop:"is_server"}},[o("h3",[e._v("添加「我们的优势」")]),o("Uploads",{ref:"our_advantage_info",attrs:{propName:e.our_advantage_info},model:{value:e.formModel.our_advantage_info,callback:function(t){e.$set(e.formModel,"our_advantage_info",t)},expression:"formModel.our_advantage_info"}})],1)],1),o("div",{staticClass:"form-footer"},[e.isCreate?o("Button",{attrs:{type:"text"},on:{click:e.save}},[e._v("保存")]):e._e(),e.isUpdate?o("Button",{attrs:{type:"text"},on:{click:e.edit}},[e._v("保存")]):e._e(),o("Button",{attrs:{type:"text"},on:{click:e.childcancle}},[e._v("取消")])],1)],1),o("Modal",{attrs:{width:"620px",title:"图库"},on:{"on-ok":e.okImage,"on-cancel":e.cancel},model:{value:e.openImages,callback:function(t){e.openImages=t},expression:"openImages"}},[o("Gallery",{key:e.config.key,attrs:{config:e.config,currentShow:e.currentShow,cacheCheckedList:e.cacheCheckedList,max_checked:6},on:{getImageList:e.getImageList}})],1)],1)]}}])})},r=[],s=(o("5ab2"),o("6d57"),o("e10e"),o("2b45"),o("cc57"),o("ce3c")),a=o("06d3"),n=o("391e"),l=o("0636"),c=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("div",{staticClass:"upload-img"},[o("Upload",{staticStyle:{display:"none"},attrs:{action:e.action,accept:"image/*",data:e.ossConf,"before-upload":e.uploadImg,"on-success":e.uploadSuccess}},[o("button",[e._v("上传")])]),o("div",{staticClass:"box"},e._l(e.listImg,(function(t,i){return o("div",{key:t.id,class:["image-box",t.flag?"checkedActive":""],on:{click:function(o){return e.chooseImg(t,i)}}},[o("img",{attrs:{src:t.pic_url,alt:""}})])})),0),[o("Page",{attrs:{total:e.page.total,"page-size":e.page.size,current:e.page.currentPage},on:{"on-change":e.updateMapdepot}})]],2)])},d=[],u=o("5748"),m=(o("e204"),o("9e76"),o("6a61"),o("cf7f")),p=(o("163d"),o("49a5"),o("6205")),f=(o("4c39"),{props:{changeConfig:{type:Function,default:function(){}},config:{type:Object},max_checked:{type:Number,default:8},currentShow:{type:Array}},data:function(){return{listImg:[],action:"",ossConf:{key:""},checkedList:[],page:{currentPage:1,total:0,size:20},cacheCheckList:[]}},mounted:function(){this.updateMapdepot(),this.getOss()},methods:{getOss:function(){var e=this;Object(p["f"])().then((function(t){e.ossConf=t.data,e.action=t.data.url}))},uploadImg:function(e){this.ossConf.key=this.setKey(),delete this.ossConf.url},updateMapdepot:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.page.currentPage=t;var o={actionType:"getImgList",actionBody:{pageInfo:{pageNo:t,pageSize:this.page.size}}};Object(p["e"])(o).then((function(t){var o=t.data.results.rows;e.page.total=t.data.results.count,console.log(e.currentShow,"77777777777777"),e.currentShow&&(e.checkedList=e.currentShow);e.checkedList.length;e.listImg=o.map((function(t,o){return t.flag=!1,e.checkedList.map((function(e){e.id==t.id&&(t.flag=!0)})),t}))}))},setKey:function(){var e=new Date,t="zc_gsb_"+Math.round(1e4*Math.random())+e.getTime()+e.getFullYear()+e.getMonth()+e.getDate()+".jpg";return t},uploadSuccess:function(){var e=Object(m["a"])(regeneratorRuntime.mark((function e(t,o,i){var r,s,a,n,l;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=/(?<=<Location>).*?(?=<\/Location>)/,s=t.match(r)[0],a=o.name,n=o.size,l={pic_url:s,name:a,pic_size:n},e.next=6,Object(p["a"])(l);case 6:this.updateMapdepot();case 7:case"end":return e.stop()}}),e,this)})));function t(t,o,i){return e.apply(this,arguments)}return t}(),chooseImg:function(e,t){if("image"==this.config.type){this.radioCheckedImg(e,t);var o=JSON.parse(JSON.stringify(this.config));o.url=e.pic_url,this.changeConfig(o)}else this.moreCheckedImg(e,t)},moreCheckedImg:function(e,t){if(console.log(e.id,"vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv"),this.checkedList.length>=this.max_checked)if(this.listImg[t]["flag"]){var o;this.listImg[t]["flag"]=!this.listImg[t]["flag"];var i=this.checkedList.findIndex((function(t){return e.id==t.id}));this.checkedList.splice(i,1);var r=this.checkedList.map((function(e){return e.id}));(o=console).log.apply(o,Object(u["a"])(r))}else{var s={content:"最多选择".concat(this.max_checked,"张")};this.$Message.warning(s)}else{if(this.listImg[t]["flag"]=!this.listImg[t]["flag"],this.checkedList.length)if(e.flag)this.checkedList.push(e);else{var a=this.checkedList.findIndex((function(t){return e.id==t.id}));this.checkedList.splice(a,1)}else this.checkedList=this.listImg.filter((function(e){return e.flag}));this.$emit("getImageList",this.checkedList)}},radioCheckedImg:function(e,t){for(var o in this.listImg)this.listImg[o]["flag"]=!1;this.listImg[t]["flag"]=!0,this.$emit("getImageList",this.listImg[t])}},computed:{}}),h=f,g=(o("696d"),o("9ca4")),v=Object(g["a"])(h,c,d,!1,null,"382f162a",null),_=v.exports,y=o("3b00"),b=o("a0f5"),M=(o("5ee4"),o("7e1e"));function w(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,i)}return o}function L(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?w(Object(o),!0).forEach((function(t){Object(s["a"])(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):w(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var k={name:"product_page",data:function(){var e=this,t=function(t,o,i){var r=e.formModel["p_product_type_id"];r?i():i(new Error("请选择产品一类"))},o=function(t,o,i){var r=e.formModel["product_type_id"];r?i():i(new Error("请选择产品二类"))},i=function(t,o,i){var r=e.formModel["is_recommend"];0==r||1==e.formModel["is_recommend"]?i():i(new Error("请选择是否推荐"))};return{p_productTypeList:[],productTypeList:[],list_thumbnail_url:"",our_advantage_info:"",service_Introduction_info:"",product_detail_url:"",showchildform:!1,isCreate:!1,isUpdate:!1,formModel:{},isRecomen:!1,openImages:!1,flowList:[],materialList:[],config:{type:"image",key:0,is:!1},serviceText:"",advantageText:"",checkedList:[],cacheCheckedList:[],currentShow:[],ruleValidate:{name:[{required:!0,message:"请输入产品名称",trigger:"blur"}],p_product_type_id:[Object(s["a"])({validator:t,trigger:"blur"},"trigger","change")],product_type_id:[Object(s["a"])({validator:o,trigger:"blur"},"trigger","change")],selling_point:[{required:!0,message:"请输入产品卖点",trigger:"blur"}],price_type:[{required:!0,message:"请选择产品现价类型",trigger:"change"}],price:[{required:!0,message:"请输入产品现价",trigger:"blur"}],sales_volume:[{required:!0,message:"请输入产品销量",trigger:"blur"}],product_detail_url:[{required:!0,message:"请上传详情大图",trigger:"blur"}],list_thumbnail_url:[{required:!0,message:"请上传列表缩略图",trigger:"blur"}],is_recommend:[Object(s["a"])({validator:i,trigger:"blur"},"trigger","change")]}}},components:{BizTable:a["a"],PageSpace:n["a"],Switchs:y["a"],Uploads:l["a"],EditTxt:b["a"],Gallery:_},mounted:function(){this.getProductType()},methods:{changeSwitch:function(e){},typeoneChange:function(e){for(var t=0;t<this.p_productTypeList.length;t++)this.p_productTypeList[t].id==e&&(this.formModel["p_product_type_id"]=this.p_productTypeList[t].id,this.formModel["p_product_type_code"]=this.p_productTypeList[t].code,this.formModel["p_product_type_name"]=this.p_productTypeList[t].name,this.productTypeList=this.p_productTypeList[t].children||[])},typeChange:function(e){for(var t=0;t<this.productTypeList.length;t++)this.productTypeList[t].id==e&&(this.formModel["product_type_id"]=this.productTypeList[t].id,this.formModel["product_type_code"]=this.productTypeList[t].code,this.formModel["product_type_name"]=this.productTypeList[t].name)},getProductType:function(){var e=this;Object(M["h"])("/web/aggregation/producttypeCtl/getProductTypeInfo").then((function(t){if(0==t.status){var o=t.data;e.p_productTypeList=o}}))},addFlow:function(){this.flowList.length<6&&this.flowList.push({})},addMateria:function(){this.materialList.length<10&&this.materialList.push({})},flowText:function(e,t){this.flowList[t]["txt"]=e.target.value,console.log(this.flowList)},materialText:function(e,t){this.materialList[t]["txt"]=e.target.value,console.log(this.materialList)},removeMateria:function(e){this.materialList.splice(e,1)},removeFlow:function(e){this.flowList.splice(e,1)},save:function(){var e=this;this.$refs["productForm"].validate((function(t){t&&(e.flowList&&e.flowList.length>0?e.formModel.process_flow_info=e.flowList:e.formModel.process_flow_info=[],e.materialList&&e.materialList.length>0?e.formModel.information_required_info=e.materialList:e.formModel.information_required_info=[],e.checkedList&&e.checkedList.length>0?e.formModel.can_get_info=e.checkedList:e.formModel.can_get_info=[],Object(M["m"])("/web/aggregation/productCtl/create",e.formModel).then((function(t){var o=t.data;0==o.status?(e.$Message.success("保存成功"),e.showchildform=!1,e.formModel={},e.flowList=[],e.materialList=[],e.checkedList=[],e.$refs.bt.fetchData()):(e.$Message.error(o.msg?o.msg:"当前操作失败,请稍后重试或联系管理员."),e.showchildform=!1,e.formModel={},e.flowList=[],e.materialList=[],e.checkedList=[],e.$refs.bt.fetchData())})))}))},edit:function(){var e=this;console.log("edit"),this.$refs["productForm"].validate((function(t){t&&(e.flowList&&e.flowList.length>0?e.formModel.process_flow_info=e.flowList:e.formModel.process_flow_info=[],e.materialList&&e.materialList.length>0?e.formModel.information_required_info=e.materialList:e.formModel.information_required_info=[],e.checkedList&&e.checkedList.length>0?e.formModel.can_get_info=e.checkedList:e.formModel.can_get_info=[],console.log(e.formModel,"this.formModel+++++++++++++++++++++++"),Object(M["m"])("/web/aggregation/productCtl/update",e.formModel).then((function(t){var o=t.data;0==o.status?(e.$Message.success("保存成功"),e.showchildform=!1,e.formModel={},e.flowList=[],e.materialList=[],e.checkedList=[],e.$refs.bt.fetchData()):(e.$Message.error(o.msg?o.msg:"当前操作失败,请稍后重试或联系管理员."),e.showchildform=!1,e.formModel={},e.flowList=[],e.materialList=[],e.checkedList=[],e.$refs.bt.fetchData())})))}))},okImage:function(){"image"!=this.config.type?this.checkedList=this.cacheCheckedList:this.config.is?this.flowList[this.config.idx]=L(L({},this.flowList[this.config.idx]),this.cacheCheckedList):this.materialList[this.config.idx]=L(L({},this.materialList[this.config.idx]),this.cacheCheckedList),console.log(this.materialList),console.log(this.flowList)},cancel:function(){},getImageList:function(e){console.log(e),this.cacheCheckedList=e},flowChooseIcon:function(e){this.config.type="image",this.config.is=!0,this.config.idx=e,this.config.key++,this.currentShow=[this.flowList[e]],this.openImages=!this.openImages},materialsChooseIcon:function(e){this.config.type="image",this.config.is=!1,this.config.idx=e,this.config.key++,this.currentShow=[this.materialList[e]],this.openImages=!this.openImages},addMaterialsUpload:function(){this.config.type="",this.currentShow=this.checkedList,this.config.key++,this.openImages=!this.openImages},childcancle:function(){this.showchildform=!1,this.formModel={},this.$refs.bt.fetchData()},getService:function(e){},getAdvantage:function(e){this.advantageText=e,this.formModel.our_advantage_info=e,console.log(e)},onformevent:function(e,t){},savebefore:function(e,t,o){return o(t)},beforeadd:function(e,t){return t({value:!0,message:null})},beforedit:function(e,t){return t({value:!0,message:null})},beforesave:function(e,t,o){return o(t)},onexec:function(e,t){var o=this;if("auth"==e&&this.$router.push({name:"role_auth",query:{roleid:t.id,rolecode:t.code}}),"editProduct"==e&&(console.log(t,"editProduct++++++++++++++++++"),this.showchildform=!0,this.isCreate=!1,this.isUpdate=!0,this.formModel=t,this.formModel.price=this.formModel.price?this.formModel.price.toString():"",this.formModel.sales_volume=this.formModel.sales_volume?this.formModel.sales_volume.toString():"",this.formModel.process_flow_info&&this.formModel.process_flow_info.length>0?("string"==typeof this.formModel.process_flow_info&&(this.formModel.process_flow_info=JSON.parse(this.formModel.process_flow_info)),this.flowList=this.formModel.process_flow_info):this.flowList=[],this.formModel.information_required_info&&this.formModel.information_required_info.length>0?("string"==typeof this.formModel.information_required_info&&(this.formModel.information_required_info=JSON.parse(this.formModel.information_required_info)),this.materialList=this.formModel.information_required_info):this.materialList=[],this.formModel.can_get_info&&this.formModel.can_get_info.length>0?("string"==typeof this.formModel.can_get_info&&(this.formModel.can_get_info=JSON.parse(this.formModel.can_get_info)),this.checkedList=this.formModel.can_get_info):this.checkedList=[],this.formModel&&this.formModel.p_product_type_id))for(var i=0;i<this.p_productTypeList.length;i++)this.formModel.p_product_type_id==this.p_productTypeList[i].id&&(this.productTypeList=this.p_productTypeList[i].children||[]);"createProduct"==e&&(console.log(t,"createProduct++++++++++++++++++"),this.showchildform=!0,this.isCreate=!0,this.isUpdate=!1,this.flowList=[],this.materialList=[],this.checkedList=[]),"onself"==e&&Object(M["m"])("/web/aggregation/productCtl/update",{id:t.id,is_enabled:1}).then((function(e){var t=e.data;0==t.status?(o.$Message.success("上架成功"),o.$refs.bt.fetchData()):(o.$Message.error(t.msg?t.msg:"当前操作失败,请稍后重试或联系管理员."),o.$refs.bt.fetchData())})),"offself"==e&&Object(M["m"])("/web/aggregation/productCtl/update",{id:t.id,is_enabled:0}).then((function(e){var t=e.data;0==t.status?(o.$Message.success("下架成功"),o.$refs.bt.fetchData()):(o.$Message.error(t.msg?t.msg:"当前操作失败,请稍后重试或联系管理员."),o.$refs.bt.fetchData())}))},oninitbtn:function(e,t){switch(t.is_enabled){case 0:"offself"===e.key?e.ishide=!0:e.ishide=!1;break;case 1:"onself"===e.key?e.ishide=!0:e.ishide=!1;break}},formatCol:function(e,t,o){return"is_enabled"==t?"<span>".concat(e[t]?"是":"否","</span>"):"created_at"==t?"<span>".concat(new Date(e[t]).toLocaleString(),"</span>"):e[t]}}},x=k,I=(o("ad0b"),Object(g["a"])(x,i,r,!1,null,"77057800",null));t["default"]=I.exports},"696d":function(e,t,o){"use strict";var i=o("6c27"),r=o.n(i);r.a},"6c27":function(e,t,o){},"8abd":function(e,t,o){"use strict";var i=o("ca38"),r=o.n(i);r.a},"9ee1":function(e,t,o){"use strict";(function(e){o("163d");t["a"]={name:"pagespace_page",prop:{tweak:Number},data:function(){return{frameHeight:0,advalue:this.tweak?this.tweak:0}},components:{},mounted:function(){var t=this;this.setHeight(),e(window).resize((function(){t.setHeight()}))},methods:{setHeight:function(){var t=this;this.$nextTick((function(){var o=e("#framediv"),i=o.get()[0]||0,r=window.innerHeight-i.offsetTop-t.advalue;t.frameHeight=r,t.$emit("sizechange",t.frameHeight)}))}}}}).call(this,o("a336"))},a2d3:function(e,t,o){"use strict";function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,o,s){t=t||"&",o=o||"=";var a={};if("string"!==typeof e||0===e.length)return a;var n=/\+/g;e=e.split(t);var l=1e3;s&&"number"===typeof s.maxKeys&&(l=s.maxKeys);var c=e.length;l>0&&c>l&&(c=l);for(var d=0;d<c;++d){var u,m,p,f,h=e[d].replace(n,"%20"),g=h.indexOf(o);g>=0?(u=h.substr(0,g),m=h.substr(g+1)):(u=h,m=""),p=decodeURIComponent(u),f=decodeURIComponent(m),i(a,p)?r(a[p])?a[p].push(f):a[p]=[a[p],f]:a[p]=f}return a};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},ad0b:function(e,t,o){"use strict";var i=o("335f"),r=o.n(i);r.a},ca38:function(e,t,o){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-003c4e99"],{"0636":function(e,t,o){"use strict";var i=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[e._l(e.ups,(function(t,i){return o("div",{key:"d"+i,staticClass:"demo-upload-list"},["finished"===t.status?[o("img",{attrs:{src:t.url}}),o("div",{staticClass:"demo-upload-list-cover"},[o("Icon",{attrs:{type:"ios-eye-outline"},nativeOn:{click:function(o){return e.handleView(t.url)}}}),o("Icon",{attrs:{type:"ios-trash-outline"},nativeOn:{click:function(o){return e.handleRemove(t)}}})],1)]:[t.showProgress?o("Progress",{attrs:{percent:50,"hide-info":""}}):e._e()]],2)})),o("Upload",{directives:[{name:"show",rawName:"v-show",value:!e.result,expression:"!result"}],ref:"upload",staticStyle:{display:"inline-block",width:"58px"},attrs:{data:e.d,"show-upload-list":!1,"on-success":e.handleSuccess,format:e.formatArray,"max-size":2048,"on-format-error":e.handleFormatError,"on-exceeded-size":e.handleMaxSize,"before-upload":e.handleBeforeUpload,multiple:"",type:"drag",action:e.action}},[o("div",{staticStyle:{width:"58px",height:"58px","line-height":"58px"}},[o("Icon",{attrs:{type:"ios-camera",size:"20"}})],1)]),o("Modal",{attrs:{title:"图片预览"},model:{value:e.visible,callback:function(t){e.visible=t},expression:"visible"}},[e.visible?o("img",{staticStyle:{width:"100%"},attrs:{src:e.imgName}}):e._e()])],2)},r=[],s=(o("6d57"),o("f548"),o("cc57"),o("9a33"),o("60b7")),a=o("c8c0"),n=o.n(a),l={name:"uploads2",components:{},props:["value","format","propName"],model:{prop:"value",event:"change"},data:function(){return{imgName:"",visible:!1,uploadList:[],result:this.value,d:{},action:"",defaultimg:n.a}},methods:{loadXML:function(e){var t=null;if(!window.DOMParser&&window.ActiveXObject)for(var o=["MSXML.2.DOMDocument.6.0","MSXML.2.DOMDocument.3.0","Microsoft.XMLDOM"],i=0;i<o.length;i++)try{t=new ActiveXObject(o[i]),t.async=!1,t.loadXML(e);break}catch(s){}else{if(!(window.DOMParser&&document.implementation&&document.implementation.createDocument))return null;try{var r=new DOMParser;t=r.parseFromString(e,"text/xml")}catch(s){console.log(s)}}return t},handleView:function(e){this.imgName=e,this.visible=!0},handleRemove:function(e){var t=this.uploadList;this.uploadList.splice(t.indexOf(e),1);var o=this.result.split(","),i=o.filter((function(t){return t!=e.url}));this.result=i.join(","),this.$emit("change",this.result)},handleSuccess:function(e,t,o){console.log("/////////////////////////////////////////",o);var i=this.loadXML(e),r=i.documentElement.getElementsByTagName("Location")[0].textContent;console.log("===================",r);var s=this.uploadList.filter((function(e){return e&&e.url&&""!=e.url}));s=s.map((function(e){return e.url})),s.push(r),this.result=s.join(","),console.log("upload...",this.result),this.$emit("change",this.result),this.$emit("formevent",this.propName,[this.result,t])},handleFormatError:function(e){this.$Notice.warning({title:"The file format is incorrect",desc:"File format of "+e.name+" is incorrect, please select jpg or png."})},handleMaxSize:function(e){this.$Message.warning("File "+e.name+" is too large, no more than 2M.")},handleBeforeUpload:function(e){var t=this.uploadList.length;if(console.log("check",t),t>0)return this.$Notice.warning({title:"Only one picture can be uploaded."}),!1;this.result="";var o=new Date,i="zc_"+Math.round(500*Math.random())+o.getMonth()+o.getTime()+o.getFullYear()+o.getDate()+o.getHours()+o.getMinutes()+o.getSeconds()+o.getMilliseconds()+e.name.replace(" ","");return this.d.key=i,t}},created:function(){},computed:{ups:function(){var e=this,t=[],o=this.uploadList.map((function(t){if("finished"==t.status&&t.response){var o=e.loadXML(t.response),i=o.documentElement.getElementsByTagName("Location")[0].textContent;return{name:t.name,url:i,status:t.status}}return t})),i=t.concat(o);return i},formatArray:function(){return this.format?this.format.split(","):["jpg","jpeg","png","json"]}},mounted:function(){var e=this,t="/api/meta/oss/getOssConfig";Object(s["a"])(t,null).then((function(t){var o=t.data;if(0==o.status){var i=o.data;e.d["key"]="key",e.d["Bucket"]=i.Bucket,e.d["OSSAccessKeyId"]=i.OSSAccessKeyId,e.d["Signature"]=i.Signature,e.d["policy"]=i.policy,e.d["success_action_status"]=i.success_action_status,e.action=i.url}else console.log("cofig fetch failuer")})),this.$refs.upload.fileList=[],this.uploadList=this.$refs.upload.fileList},watch:{value:function(e){var t=this;if(this.result=e,this.uploadList=[],this.result&&""!=this.result){console.log(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>."),console.log(this.result);var o=10;this.result.split(",").forEach((function(e){t.uploadList.push({name:o++,url:e,status:"finished"})}))}},uploadList:{handler:function(e,t){if(e.length>0){if(!document.getElementsByClassName("ivu-upload")[0])return;if(document.getElementsByClassName("ivu-upload")[0].style.display="none",!document.getElementsByClassName("ivu-upload")[1]||!document.getElementsByClassName("ivu-upload")[1].getElementsByTagName("div")[0])return;if(document.getElementsByClassName("ivu-upload")[1].getElementsByTagName("div")[0].style.display="none",!document.getElementsByClassName("ivu-upload")[2]||!document.getElementsByClassName("ivu-upload")[2].getElementsByTagName("div")[0])return;if(document.getElementsByClassName("ivu-upload")[2].getElementsByTagName("div")[0].style.display="none",!document.getElementsByClassName("ivu-upload")[3]||!document.getElementsByClassName("ivu-upload")[3].getElementsByTagName("div")[0])return;document.getElementsByClassName("ivu-upload")[3].getElementsByTagName("div")[0].style.display="none"}else{if(!document.getElementsByClassName("ivu-upload")[0])return;if(document.getElementsByClassName("ivu-upload")[0].style.display="inline-block",!document.getElementsByClassName("ivu-upload")[1]||!document.getElementsByClassName("ivu-upload")[1].getElementsByTagName("div")[0])return;if(document.getElementsByClassName("ivu-upload")[1].getElementsByTagName("div")[0].style.display="inline-block",!document.getElementsByClassName("ivu-upload")[2]||!document.getElementsByClassName("ivu-upload")[2].getElementsByTagName("div")[0])return;if(document.getElementsByClassName("ivu-upload")[2].getElementsByTagName("div")[0].style.display="inline-block",!document.getElementsByClassName("ivu-upload")[3]||!document.getElementsByClassName("ivu-upload")[3].getElementsByTagName("div")[0])return;document.getElementsByClassName("ivu-upload")[3].getElementsByTagName("div")[0].style.display="inline-block"}console.log(e.name)},deep:!0}}},c=l,d=(o("8abd"),o("9ca4")),u=Object(d["a"])(c,i,r,!1,null,null,null);t["a"]=u.exports},"2bb8":function(e,t,o){"use strict";var i=function(e){switch(typeof e){case"string":return e;case"boolean":return e?"true":"false";case"number":return isFinite(e)?e:"";default:return""}};e.exports=function(e,t,o,n){return t=t||"&",o=o||"=",null===e&&(e=void 0),"object"===typeof e?s(a(e),(function(a){var n=encodeURIComponent(i(a))+o;return r(e[a])?s(e[a],(function(e){return n+encodeURIComponent(i(e))})).join(t):n+encodeURIComponent(i(e[a]))})).join(t):n?encodeURIComponent(i(n))+o+encodeURIComponent(i(e)):""};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)};function s(e,t){if(e.map)return e.map(t);for(var o=[],i=0;i<e.length;i++)o.push(t(e[i],i));return o}var a=Object.keys||function(e){var t=[];for(var o in e)Object.prototype.hasOwnProperty.call(e,o)&&t.push(o);return t}},"33c6":function(e,t,o){},"391e":function(e,t,o){"use strict";var i=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",{attrs:{id:"framediv"}},[e._t("default",null,{adjustHeight:e.frameHeight})],2)},r=[],s=o("9ee1"),a=s["a"],n=o("9ca4"),l=Object(n["a"])(a,i,r,!1,null,null,null);t["a"]=l.exports},"5ee4":function(e,t,o){"use strict";t.decode=t.parse=o("a2d3"),t.encode=t.stringify=o("2bb8")},6729:function(e,t,o){"use strict";o.r(t);var i=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("PageSpace",{scopedSlots:e._u([{key:"default",fn:function(t){var i=t.adjustHeight;return[o("BizTable",{ref:"bt",attrs:{formatCol:e.formatCol,tblheight:i-120,metaName:"product",packageName:"aggregation",modelName:"product",isMulti:"",savebefore:e.savebefore,editbefore:e.beforedit,addbefore:e.beforeadd},on:{formevent:e.onformevent,onexec:e.onexec,oninitbtn:e.oninitbtn}}),o("Drawer",{ref:"addProductRawer",attrs:{placement:"right",closable:!1,"mask-closable":!1,width:"70"},model:{value:e.showchildform,callback:function(t){e.showchildform=t},expression:"showchildform"}},[o("Card",{ref:"formcard",staticStyle:{"border-radius":"0px","padding-bottom":"60px",border:"none"},attrs:{"dis-hover":"",bordered:!1}},[o("p",{attrs:{slot:"title"},slot:"title"},[o("Icon",{attrs:{type:"ios-paper-outline"}}),e._v("产品详情\n ")],1),o("Form",{ref:"productForm",attrs:{model:e.formModel,"label-position":"left","show-message":"",rules:e.ruleValidate}},[o("FormItem",{attrs:{label:"产品名称",prop:"name"}},[o("input",{directives:[{name:"model",rawName:"v-model",value:e.formModel["name"],expression:"formModel['name']"}],staticStyle:{"padding-left":"6px"},attrs:{type:"text",placeholder:"请输入产品名称"},domProps:{value:e.formModel["name"]},on:{input:function(t){t.target.composing||e.$set(e.formModel,"name",t.target.value)}}})]),o("FormItem",{attrs:{label:"产品一类",prop:"p_product_type_id"}},[o("i-select",{staticStyle:{width:"200px"},attrs:{placeholder:"请选择产品"},on:{"on-change":e.typeoneChange},model:{value:e.formModel.p_product_type_id,callback:function(t){e.$set(e.formModel,"p_product_type_id",t)},expression:"formModel.p_product_type_id"}},e._l(e.p_productTypeList,(function(t){return o("Option",{key:t.code,attrs:{value:t.id}},[e._v(e._s(t.name))])})),1)],1),o("FormItem",{attrs:{label:"产品二类",prop:"product_type_id"}},[o("i-select",{staticStyle:{width:"200px"},attrs:{placeholder:"请选择产品"},on:{"on-change":e.typeChange},model:{value:e.formModel.product_type_id,callback:function(t){e.$set(e.formModel,"product_type_id",t)},expression:"formModel.product_type_id"}},e._l(e.productTypeList,(function(t){return o("Option",{key:t.code,attrs:{value:t.id}},[e._v(e._s(t.name))])})),1)],1),o("FormItem",{attrs:{label:"产品卖点",prop:"selling_point"}},[o("input",{directives:[{name:"model",rawName:"v-model",value:e.formModel["selling_point"],expression:"formModel['selling_point']"}],staticStyle:{"padding-left":"6px"},attrs:{type:"text",placeholder:"请输入产品卖点"},domProps:{value:e.formModel["selling_point"]},on:{input:function(t){t.target.composing||e.$set(e.formModel,"selling_point",t.target.value)}}})]),o("FormItem",{attrs:{label:"产品现价类型",prop:"price_type"}},[o("RadioGroup",{model:{value:e.formModel["price_type"],callback:function(t){e.$set(e.formModel,"price_type",t)},expression:"formModel['price_type']"}},[o("Radio",{key:"1",attrs:{label:"1"}},[e._v("起价")]),o("Radio",{key:"2",attrs:{label:"2"}},[e._v("定价")]),o("Radio",{key:"3",attrs:{label:"3"}},[e._v("面议")])],1)],1),3!=e.formModel.price_type?o("FormItem",{attrs:{label:"产品现价",prop:"price"}},[o("input",{directives:[{name:"model",rawName:"v-model",value:e.formModel["price"],expression:"formModel['price']"}],staticStyle:{"padding-left":"6px"},attrs:{type:"number",placeholder:"请输入产品现价"},domProps:{value:e.formModel["price"]},on:{input:function(t){t.target.composing||e.$set(e.formModel,"price",t.target.value)}}})]):e._e(),3!=e.formModel.price_type?o("FormItem",{attrs:{label:"产品原价",prop:"original_price"}},[o("input",{directives:[{name:"model",rawName:"v-model",value:e.formModel["original_price"],expression:"formModel['original_price']"}],staticStyle:{"padding-left":"6px"},attrs:{type:"text",placeholder:"请输入产品原价"},domProps:{value:e.formModel["original_price"]},on:{input:function(t){t.target.composing||e.$set(e.formModel,"original_price",t.target.value)}}})]):e._e(),o("FormItem",{attrs:{label:"产品销量",prop:"sales_volume"}},[o("input",{directives:[{name:"model",rawName:"v-model",value:e.formModel["sales_volume"],expression:"formModel['sales_volume']"}],staticStyle:{"padding-left":"6px"},attrs:{type:"text",placeholder:"请输入产品销量"},domProps:{value:e.formModel["sales_volume"]},on:{input:function(t){t.target.composing||e.$set(e.formModel,"sales_volume",t.target.value)}}})]),o("FormItem",{attrs:{label:"详情大图",prop:"product_detail_url"}},[o("Uploads",{ref:"product_detail_url",attrs:{propName:e.product_detail_url},model:{value:e.formModel.product_detail_url,callback:function(t){e.$set(e.formModel,"product_detail_url",t)},expression:"formModel.product_detail_url"}}),o("p",[e._v("请上传png,jpg格式图片,图片宽度750,高度300")])],1),o("FormItem",{attrs:{label:"列表缩略图",prop:"list_thumbnail_url"}},[o("Uploads",{ref:"list_thumbnail_url",attrs:{propName:e.list_thumbnail_url},model:{value:e.formModel.list_thumbnail_url,callback:function(t){e.$set(e.formModel,"list_thumbnail_url",t)},expression:"formModel.list_thumbnail_url"}}),o("p",[e._v("请上传png,jpg格式图片,图片宽度145,高度145")])],1),o("FormItem",{attrs:{label:"是否推荐",prop:"is_recommend"}},[o("RadioGroup",{model:{value:e.formModel["is_recommend"],callback:function(t){e.$set(e.formModel,"is_recommend",t)},expression:"formModel['is_recommend']"}},[o("Radio",{key:1,attrs:{label:1}},[e._v("是")]),o("Radio",{key:0,attrs:{label:0}},[e._v("否")])],1)],1),o("FormItem",{attrs:{label:"",prop:"is_server"}},[o("h3",[e._v("添加「服务介绍」")]),o("Uploads",{ref:"service_Introduction_info",attrs:{propName:e.service_Introduction_info},model:{value:e.formModel.service_Introduction_info,callback:function(t){e.$set(e.formModel,"service_Introduction_info",t)},expression:"formModel.service_Introduction_info"}})],1),o("FormItem",{attrs:{label:"",prop:"is_flow"}},[o("h3",[e._v("\n 添加「办理流程」\n "),o("Icon",{staticStyle:{"font-size":"30px",cursor:"pointer"},attrs:{type:"md-add-circle"},on:{click:e.addFlow}})],1),o("ol",{staticClass:"add-input"},e._l(e.flowList,(function(t,i){return o("li",{key:i},[o("input",{directives:[{name:"model",rawName:"v-model",value:t.txt,expression:"item.txt"}],staticStyle:{margin:"10px 20px","min-width":"400px"},attrs:{maxlength:"8",type:"text"},domProps:{value:t.txt},on:{input:[function(o){o.target.composing||e.$set(t,"txt",o.target.value)},function(t){return e.flowText(t,i)}]}}),o("div",{staticClass:"pic-icon"},[o("img",{attrs:{src:t.pic_url,alt:""}})]),o("a",{attrs:{href:"##"},on:{click:function(t){return e.flowChooseIcon(i)}}},[e._v("选择图标")]),o("Icon",{staticStyle:{"font-size":"30px",display:"none",cursor:"pointer"},attrs:{type:"md-close-circle"},on:{click:function(t){return e.removeFlow(i)}}})],1)})),0)]),o("FormItem",{attrs:{label:"",prop:"is_materialList"}},[o("h3",[e._v("\n 添加「所需资料」\n "),o("Icon",{staticStyle:{"font-size":"30px",cursor:"pointer"},attrs:{type:"md-add-circle"},on:{click:e.addMateria}})],1),o("ol",{staticClass:"add-input"},e._l(e.materialList,(function(t,i){return o("li",{key:i},[o("input",{directives:[{name:"model",rawName:"v-model",value:t.txt,expression:"item.txt"}],staticStyle:{margin:"10px 20px","min-width":"400px"},attrs:{maxlength:"40",type:"text"},domProps:{value:t.txt},on:{input:[function(o){o.target.composing||e.$set(t,"txt",o.target.value)},function(t){return e.materialText(t,i)}]}}),o("Icon",{staticStyle:{"font-size":"30px",display:"none",cursor:"pointer"},attrs:{type:"md-close-circle"},on:{click:function(t){return e.removeMateria(i)}}})],1)})),0)]),o("FormItem",{attrs:{label:"",prop:"is_server"}},[o("h3",[e._v("添加「您可获得」")]),o("ul",{staticClass:"show_piclist"},e._l(e.checkedList,(function(e,t){return o("li",{key:t},[o("img",{attrs:{src:e.pic_url,alt:""}})])})),0),o("div",[o("Button",{attrs:{type:"primary"},on:{click:e.addMaterialsUpload}},[e._v("添加获得材料")])],1)]),o("FormItem",{attrs:{label:"",prop:"is_server"}},[o("h3",[e._v("添加「我们的优势」")]),o("Uploads",{ref:"our_advantage_info",attrs:{propName:e.our_advantage_info},model:{value:e.formModel.our_advantage_info,callback:function(t){e.$set(e.formModel,"our_advantage_info",t)},expression:"formModel.our_advantage_info"}})],1)],1),o("div",{staticClass:"form-footer"},[e.isCreate?o("Button",{attrs:{type:"text"},on:{click:e.save}},[e._v("保存")]):e._e(),e.isUpdate?o("Button",{attrs:{type:"text"},on:{click:e.edit}},[e._v("保存")]):e._e(),o("Button",{attrs:{type:"text"},on:{click:e.childcancle}},[e._v("取消")])],1)],1),o("Modal",{attrs:{width:"620px",title:"图库"},on:{"on-ok":e.okImage,"on-cancel":e.cancel},model:{value:e.openImages,callback:function(t){e.openImages=t},expression:"openImages"}},[o("Gallery",{key:e.config.key,attrs:{applicationType:2,config:e.config,currentShow:e.currentShow,cacheCheckedList:e.cacheCheckedList,max_checked:6},on:{getImageList:e.getImageList}})],1)],1)]}}])})},r=[],s=(o("5ab2"),o("6d57"),o("e10e"),o("2b45"),o("cc57"),o("ce3c")),a=o("06d3"),n=o("391e"),l=o("0636"),c=function(){var e=this,t=e.$createElement,o=e._self._c||t;return o("div",[o("div",{staticClass:"upload-img"},[o("Upload",{staticStyle:{display:"none"},attrs:{action:e.action,accept:"image/*",data:e.ossConf,"before-upload":e.uploadImg,"on-success":e.uploadSuccess}},[o("button",[e._v("上传")])]),o("div",{staticClass:"box"},e._l(e.listImg,(function(t,i){return o("div",{key:t.id,class:["image-box",t.flag?"checkedActive":""],on:{click:function(o){return e.chooseImg(t,i)}}},[o("img",{attrs:{src:t.pic_url,alt:""}})])})),0),[o("Page",{attrs:{total:e.page.total,"page-size":e.page.size,current:e.page.currentPage},on:{"on-change":e.updateMapdepot}})]],2)])},d=[],u=o("5748"),p=(o("e204"),o("9e76"),o("6a61"),o("cf7f")),m=(o("163d"),o("49a5"),o("6205")),f=(o("4c39"),{props:{changeConfig:{type:Function,default:function(){}},config:{type:Object},max_checked:{type:Number,default:8},currentShow:{type:Array},applicationType:{type:Number,default:1}},data:function(){return{application_type:this.applicationType,listImg:[],action:"",ossConf:{key:""},checkedList:[],page:{currentPage:1,total:0,size:20},cacheCheckList:[]}},mounted:function(){this.updateMapdepot(),this.getOss()},methods:{getOss:function(){var e=this;Object(m["f"])().then((function(t){e.ossConf=t.data,e.action=t.data.url}))},uploadImg:function(e){this.ossConf.key=this.setKey(),delete this.ossConf.url},updateMapdepot:function(){var e=this,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.page.currentPage=t;var o={actionType:"getImgList",actionBody:{pageInfo:{pageNo:t,pageSize:this.page.size},search:{application_type:this.application_type}}};console.log(this.application_type,"获取图片列表++++++++++++++++++++++"),Object(m["e"])(o).then((function(t){var o=t.data.results.rows;e.page.total=t.data.results.count,console.log(e.currentShow,"77777777777777"),e.currentShow&&(e.checkedList=e.currentShow);e.checkedList.length;e.listImg=o.map((function(t,o){return t.flag=!1,e.checkedList.map((function(e){e.id==t.id&&(t.flag=!0)})),t}))}))},setKey:function(){var e=new Date,t="zc_gsb_"+Math.round(1e4*Math.random())+e.getTime()+e.getFullYear()+e.getMonth()+e.getDate()+".jpg";return t},uploadSuccess:function(){var e=Object(p["a"])(regeneratorRuntime.mark((function e(t,o,i){var r,s,a,n,l;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return r=/(?<=<Location>).*?(?=<\/Location>)/,s=t.match(r)[0],a=o.name,n=o.size,l={pic_url:s,name:a,pic_size:n},e.next=6,Object(m["a"])(l);case 6:this.updateMapdepot();case 7:case"end":return e.stop()}}),e,this)})));function t(t,o,i){return e.apply(this,arguments)}return t}(),chooseImg:function(e,t){if("image"==this.config.type){this.radioCheckedImg(e,t);var o=JSON.parse(JSON.stringify(this.config));o.url=e.pic_url,this.changeConfig(o)}else this.moreCheckedImg(e,t)},moreCheckedImg:function(e,t){if(console.log(e.id,"vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv"),this.checkedList.length>=this.max_checked)if(this.listImg[t]["flag"]){var o;this.listImg[t]["flag"]=!this.listImg[t]["flag"];var i=this.checkedList.findIndex((function(t){return e.id==t.id}));this.checkedList.splice(i,1);var r=this.checkedList.map((function(e){return e.id}));(o=console).log.apply(o,Object(u["a"])(r))}else{var s={content:"最多选择".concat(this.max_checked,"张")};this.$Message.warning(s)}else{if(this.listImg[t]["flag"]=!this.listImg[t]["flag"],this.checkedList.length)if(e.flag)this.checkedList.push(e);else{var a=this.checkedList.findIndex((function(t){return e.id==t.id}));this.checkedList.splice(a,1)}else this.checkedList=this.listImg.filter((function(e){return e.flag}));this.$emit("getImageList",this.checkedList)}},radioCheckedImg:function(e,t){for(var o in this.listImg)this.listImg[o]["flag"]=!1;this.listImg[t]["flag"]=!0,this.$emit("getImageList",this.listImg[t])}},computed:{}}),h=f,g=(o("fdae"),o("9ca4")),v=Object(g["a"])(h,c,d,!1,null,"358d351a",null),_=v.exports,y=o("3b00"),b=o("a0f5"),M=(o("5ee4"),o("7e1e"));function w(e,t){var o=Object.keys(e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(e);t&&(i=i.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),o.push.apply(o,i)}return o}function L(e){for(var t=1;t<arguments.length;t++){var o=null!=arguments[t]?arguments[t]:{};t%2?w(Object(o),!0).forEach((function(t){Object(s["a"])(e,t,o[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(o)):w(Object(o)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(o,t))}))}return e}var k={name:"product_page",data:function(){var e=this,t=function(t,o,i){var r=e.formModel["p_product_type_id"];r?i():i(new Error("请选择产品一类"))},o=function(t,o,i){var r=e.formModel["product_type_id"];r?i():i(new Error("请选择产品二类"))},i=function(t,o,i){var r=e.formModel["is_recommend"];0==r||1==e.formModel["is_recommend"]?i():i(new Error("请选择是否推荐"))};return{p_productTypeList:[],productTypeList:[],list_thumbnail_url:"",our_advantage_info:"",service_Introduction_info:"",product_detail_url:"",showchildform:!1,isCreate:!1,isUpdate:!1,formModel:{},isRecomen:!1,openImages:!1,flowList:[],materialList:[],config:{type:"image",key:0,is:!1},serviceText:"",advantageText:"",checkedList:[],cacheCheckedList:[],currentShow:[],ruleValidate:{name:[{required:!0,message:"请输入产品名称",trigger:"blur"}],p_product_type_id:[Object(s["a"])({validator:t,trigger:"blur"},"trigger","change")],product_type_id:[Object(s["a"])({validator:o,trigger:"blur"},"trigger","change")],selling_point:[{required:!0,message:"请输入产品卖点",trigger:"blur"}],price_type:[{required:!0,message:"请选择产品现价类型",trigger:"change"}],price:[{required:!0,message:"请输入产品现价",trigger:"blur"}],sales_volume:[{required:!0,message:"请输入产品销量",trigger:"blur"}],product_detail_url:[{required:!0,message:"请上传详情大图",trigger:"blur"}],list_thumbnail_url:[{required:!0,message:"请上传列表缩略图",trigger:"blur"}],is_recommend:[Object(s["a"])({validator:i,trigger:"blur"},"trigger","change")]}}},components:{BizTable:a["a"],PageSpace:n["a"],Switchs:y["a"],Uploads:l["a"],EditTxt:b["a"],Gallery:_},mounted:function(){this.getProductType()},methods:{changeSwitch:function(e){},typeoneChange:function(e){for(var t=0;t<this.p_productTypeList.length;t++)this.p_productTypeList[t].id==e&&(this.formModel["p_product_type_id"]=this.p_productTypeList[t].id,this.formModel["p_product_type_code"]=this.p_productTypeList[t].code,this.formModel["p_product_type_name"]=this.p_productTypeList[t].name,this.productTypeList=this.p_productTypeList[t].children||[])},typeChange:function(e){for(var t=0;t<this.productTypeList.length;t++)this.productTypeList[t].id==e&&(this.formModel["product_type_id"]=this.productTypeList[t].id,this.formModel["product_type_code"]=this.productTypeList[t].code,this.formModel["product_type_name"]=this.productTypeList[t].name)},getProductType:function(){var e=this;Object(M["h"])("/web/aggregation/producttypeCtl/getProductTypeInfo").then((function(t){if(0==t.status){var o=t.data;e.p_productTypeList=o}}))},addFlow:function(){this.flowList.length<6&&this.flowList.push({})},addMateria:function(){this.materialList.length<10&&this.materialList.push({})},flowText:function(e,t){this.flowList[t]["txt"]=e.target.value,console.log(this.flowList)},materialText:function(e,t){this.materialList[t]["txt"]=e.target.value,console.log(this.materialList)},removeMateria:function(e){this.materialList.splice(e,1)},removeFlow:function(e){this.flowList.splice(e,1)},save:function(){var e=this;this.$refs["productForm"].validate((function(t){t&&(e.flowList&&e.flowList.length>0?e.formModel.process_flow_info=e.flowList:e.formModel.process_flow_info=[],e.materialList&&e.materialList.length>0?e.formModel.information_required_info=e.materialList:e.formModel.information_required_info=[],e.checkedList&&e.checkedList.length>0?e.formModel.can_get_info=e.checkedList:e.formModel.can_get_info=[],Object(M["m"])("/web/aggregation/productCtl/create",e.formModel).then((function(t){var o=t.data;0==o.status?(e.$Message.success("保存成功"),e.showchildform=!1,e.formModel={},e.flowList=[],e.materialList=[],e.checkedList=[],e.$refs.bt.fetchData()):(e.$Message.error(o.msg?o.msg:"当前操作失败,请稍后重试或联系管理员."),e.showchildform=!1,e.formModel={},e.flowList=[],e.materialList=[],e.checkedList=[],e.$refs.bt.fetchData())})))}))},edit:function(){var e=this;console.log("edit"),this.$refs["productForm"].validate((function(t){t&&(e.flowList&&e.flowList.length>0?e.formModel.process_flow_info=e.flowList:e.formModel.process_flow_info=[],e.materialList&&e.materialList.length>0?e.formModel.information_required_info=e.materialList:e.formModel.information_required_info=[],e.checkedList&&e.checkedList.length>0?e.formModel.can_get_info=e.checkedList:e.formModel.can_get_info=[],console.log(e.formModel,"this.formModel+++++++++++++++++++++++"),Object(M["m"])("/web/aggregation/productCtl/update",e.formModel).then((function(t){var o=t.data;0==o.status?(e.$Message.success("保存成功"),e.showchildform=!1,e.formModel={},e.flowList=[],e.materialList=[],e.checkedList=[],e.$refs.bt.fetchData()):(e.$Message.error(o.msg?o.msg:"当前操作失败,请稍后重试或联系管理员."),e.showchildform=!1,e.formModel={},e.flowList=[],e.materialList=[],e.checkedList=[],e.$refs.bt.fetchData())})))}))},okImage:function(){"image"!=this.config.type?this.checkedList=this.cacheCheckedList:this.config.is?this.flowList[this.config.idx]=L(L({},this.flowList[this.config.idx]),this.cacheCheckedList):this.materialList[this.config.idx]=L(L({},this.materialList[this.config.idx]),this.cacheCheckedList),console.log(this.materialList),console.log(this.flowList)},cancel:function(){},getImageList:function(e){console.log(e),this.cacheCheckedList=e},flowChooseIcon:function(e){this.config.type="image",this.config.is=!0,this.config.idx=e,this.config.key++,this.currentShow=[this.flowList[e]],this.openImages=!this.openImages},materialsChooseIcon:function(e){this.config.type="image",this.config.is=!1,this.config.idx=e,this.config.key++,this.currentShow=[this.materialList[e]],this.openImages=!this.openImages},addMaterialsUpload:function(){this.config.type="",this.currentShow=this.checkedList,this.config.key++,this.openImages=!this.openImages},childcancle:function(){this.showchildform=!1,this.formModel={},this.$refs.bt.fetchData()},getService:function(e){},getAdvantage:function(e){this.advantageText=e,this.formModel.our_advantage_info=e,console.log(e)},onformevent:function(e,t){},savebefore:function(e,t,o){return o(t)},beforeadd:function(e,t){return t({value:!0,message:null})},beforedit:function(e,t){return t({value:!0,message:null})},beforesave:function(e,t,o){return o(t)},onexec:function(e,t){var o=this;if("auth"==e&&this.$router.push({name:"role_auth",query:{roleid:t.id,rolecode:t.code}}),"editProduct"==e&&(console.log(t,"editProduct++++++++++++++++++"),this.showchildform=!0,this.isCreate=!1,this.isUpdate=!0,this.formModel=t,this.formModel.price=this.formModel.price?this.formModel.price.toString():"",this.formModel.sales_volume=this.formModel.sales_volume?this.formModel.sales_volume.toString():"",this.formModel.process_flow_info&&this.formModel.process_flow_info.length>0?("string"==typeof this.formModel.process_flow_info&&(this.formModel.process_flow_info=JSON.parse(this.formModel.process_flow_info)),this.flowList=this.formModel.process_flow_info):this.flowList=[],this.formModel.information_required_info&&this.formModel.information_required_info.length>0?("string"==typeof this.formModel.information_required_info&&(this.formModel.information_required_info=JSON.parse(this.formModel.information_required_info)),this.materialList=this.formModel.information_required_info):this.materialList=[],this.formModel.can_get_info&&this.formModel.can_get_info.length>0?("string"==typeof this.formModel.can_get_info&&(this.formModel.can_get_info=JSON.parse(this.formModel.can_get_info)),this.checkedList=this.formModel.can_get_info):this.checkedList=[],this.formModel&&this.formModel.p_product_type_id))for(var i=0;i<this.p_productTypeList.length;i++)this.formModel.p_product_type_id==this.p_productTypeList[i].id&&(this.productTypeList=this.p_productTypeList[i].children||[]);"createProduct"==e&&(console.log(t,"createProduct++++++++++++++++++"),this.showchildform=!0,this.isCreate=!0,this.isUpdate=!1,this.flowList=[],this.materialList=[],this.checkedList=[]),"onself"==e&&Object(M["m"])("/web/aggregation/productCtl/update",{id:t.id,is_enabled:1}).then((function(e){var t=e.data;0==t.status?(o.$Message.success("上架成功"),o.$refs.bt.fetchData()):(o.$Message.error(t.msg?t.msg:"当前操作失败,请稍后重试或联系管理员."),o.$refs.bt.fetchData())})),"offself"==e&&Object(M["m"])("/web/aggregation/productCtl/update",{id:t.id,is_enabled:0}).then((function(e){var t=e.data;0==t.status?(o.$Message.success("下架成功"),o.$refs.bt.fetchData()):(o.$Message.error(t.msg?t.msg:"当前操作失败,请稍后重试或联系管理员."),o.$refs.bt.fetchData())}))},oninitbtn:function(e,t){switch(t.is_enabled){case 0:"offself"===e.key?e.ishide=!0:e.ishide=!1;break;case 1:"onself"===e.key?e.ishide=!0:e.ishide=!1;break}},formatCol:function(e,t,o){return"is_enabled"==t?"<span>".concat(e[t]?"是":"否","</span>"):"created_at"==t?"<span>".concat(new Date(e[t]).toLocaleString(),"</span>"):e[t]}}},x=k,I=(o("87f3"),Object(g["a"])(x,i,r,!1,null,"7fb8f517",null));t["default"]=I.exports},"87f3":function(e,t,o){"use strict";var i=o("33c6"),r=o.n(i);r.a},"8abd":function(e,t,o){"use strict";var i=o("ca38"),r=o.n(i);r.a},"9ee1":function(e,t,o){"use strict";(function(e){o("163d");t["a"]={name:"pagespace_page",prop:{tweak:Number},data:function(){return{frameHeight:0,advalue:this.tweak?this.tweak:0}},components:{},mounted:function(){var t=this;this.setHeight(),e(window).resize((function(){t.setHeight()}))},methods:{setHeight:function(){var t=this;this.$nextTick((function(){var o=e("#framediv"),i=o.get()[0]||0,r=window.innerHeight-i.offsetTop-t.advalue;t.frameHeight=r,t.$emit("sizechange",t.frameHeight)}))}}}}).call(this,o("a336"))},a2d3:function(e,t,o){"use strict";function i(e,t){return Object.prototype.hasOwnProperty.call(e,t)}e.exports=function(e,t,o,s){t=t||"&",o=o||"=";var a={};if("string"!==typeof e||0===e.length)return a;var n=/\+/g;e=e.split(t);var l=1e3;s&&"number"===typeof s.maxKeys&&(l=s.maxKeys);var c=e.length;l>0&&c>l&&(c=l);for(var d=0;d<c;++d){var u,p,m,f,h=e[d].replace(n,"%20"),g=h.indexOf(o);g>=0?(u=h.substr(0,g),p=h.substr(g+1)):(u=h,p=""),m=decodeURIComponent(u),f=decodeURIComponent(p),i(a,m)?r(a[m])?a[m].push(f):a[m]=[a[m],f]:a[m]=f}return a};var r=Array.isArray||function(e){return"[object Array]"===Object.prototype.toString.call(e)}},ca38:function(e,t,o){},e7c2:function(e,t,o){},fdae:function(e,t,o){"use strict";var i=o("e7c2"),r=o.n(i);r.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5da45f03"],{"15bc":function(t,e,i){"use strict";var n=i("fed1"),a=i.n(n);a.a},"1aff":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAACEklEQVRIS8WWz0sVURTHP0dtF7YILSqDoLLITUFYi/JHtFdqzFq16S+QduHLR63a2Cb6C0QaBffCE3Hhg6AWovZaFCgG/mrhaxdx4s7M643z3p2ZpzLNbrjn3M8953zPvUdI8ekw1/nDAMId4CzKGc9N+AFsoCzQzIxM8jlpO4kzUIeHwCugM2mjYL0EvBCXKZt9XaA6XECYQLmVErTfTCiiPBGX71H/GqA69ADTwMkDwapOu8ADcZkP77MP6MGEWZRjh4T57sJvlPth6D+gl0b4eASRRc9qIr1ZSW8VOMTigWuWlA6hKB+47QcNBGp0k/wOue4Y9VaAX6zSf/YeTl+Et49hb7s+88QpGJmGnxsw/sh2rpK4XJGgqT9ZTz9agK4+WFuC/L1aqIHl5uDcVVhdgNxdeyKauSHqMAaMWq1a2yFXgI5rtdAwbH0Zxvphbysu83nRIQoofbH1qQeVpmpk6WBGMXMGWEK5nCiIKLSpxU9jWpgv0a8mpWXgeCLQGISh5r8RmA/41RgwXDPjboRk6lbeSXVeoJw+pVGBqML5rsagXkrTiKaeGlFfNBX1ponUE01SW8RJv7WtUWg+ufFfF+FSt10gYSGtzMPL3vjGD+5S+9X2fAZMJG8G7U1toCNTsPkN3j2Nv9r+y+XtQbN8noIos32AA2h2I0al0pkOUSFodmNiWNOZDcLRRjrKUf8vBHT65lhrLtYAAAAASUVORK5CYII="},2040:function(t,e,i){},"25b0":function(t,e,i){"use strict";var n=i("6f50"),a=i.n(n);a.a},"2ee2":function(t,e,i){},"4e6d":function(t,e,i){},"520e":function(t,e,i){"use strict";var n=i("b68f"),a=i.n(n);a.a},"5e65":function(t,e,i){"use strict";var n=i("6766"),a=i.n(n);a.a},6766:function(t,e,i){},"6b7b":function(t,e,i){},"6d06":function(t,e,i){"use strict";var n=i("e55b"),a=i.n(n);a.a},"6f50":function(t,e,i){},"7ec1":function(t,e,i){"use strict";var n=i("cfd8"),a=i.n(n);a.a},8849:function(t,e,i){"use strict";var n=i("2ee2"),a=i.n(n);a.a},8877:function(t,e,i){"use strict";i.r(e);var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"module"},[i("div",{staticClass:"new_module"},[i("h3",[t._v("新增模块")]),t._l(t.moduleNavList,(function(e){return i("div",{key:e.id},[i("div",{staticClass:"module_title"},[i("div",{staticClass:"module_title_line"}),i("p",[t._v(t._s(e.title))])]),i("div",{staticClass:"basics_module"},t._l(e.navList,(function(e){return i("div",{key:e.type,staticClass:"basics_module_item",on:{click:function(i){return t.addMdule(e)}}},[i("div",{staticClass:"basics_module_item_main"},[i("svg-icon",{attrs:{"icon-class":e.icon}}),i("p",[t._v(t._s(e.name))])],1)])})),0)])}))],2),i("div",{staticClass:"my_module test-1"},[i("div",{staticClass:"my_module_nav"},[i("h3",[t._v("我的模块")]),i("div",[i("button",{on:{click:t.goBack}},[t._v("返回")]),i("button",{on:{click:function(e){return t.saveModuleList(!1)}}},[t._v("保存")]),i("button",{on:{click:function(e){return t.saveModuleList(!0)}}},[t._v("保存并预览")])])]),t.moduleList.length?t._l(t.moduleList,(function(e){return i("Module",{key:e.id,attrs:{config:e,startIndex:t.moduleList[0].id,endIndex:t.moduleList[t.moduleList.length-1].id,deleteModule:t.deleteModule,moveModule:t.moveModule,changeModule:t.changeModule}})})):[i("div",{staticClass:"my_module_tip"},[i("svg-icon",{attrs:{"icon-class":"left"}}),i("p",[t._v("请点击左侧组件进行添加")])],1)]],2)])},a=[],s=(i("5ab2"),i("e10e"),i("cc57"),i("e204"),i("6d57"),i("6a61"),i("cf7f")),o=i("ce3c"),r=i("759e"),c=i.n(r),l=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"my_module_item"},[t._l(t.config.acraoList,(function(t){return i("Acrao",{key:t.id,attrs:{config:t}})})),i("div",{staticClass:"my_module_item_title"},[t._v(t._s(t.config.title))]),i("div",{staticClass:"my_module_item_set"},[i("button",{on:{click:function(e){return t.compileModule(t.config)}}},[t._v("编辑")]),i("button",{on:{click:function(e){return t.compileAcrao(t.config)}}},[t._v("通栏")]),t.config.id!=t.startIndex?i("button",{on:{click:function(e){return t.moveModule(t.config.id,"up")}}},[t._v("上移")]):t._e(),t.config.id!=t.endIndex?i("button",{on:{click:function(e){return t.moveModule(t.config.id,"down")}}},[t._v("下移")]):t._e(),i("button",{on:{click:function(e){return t.deleteModule(t.config.id)}}},[t._v("删除")])]),[i("Modal",{attrs:{title:"编辑",width:"text"==t.config.type?"auto":"650","class-name":"vertical-center-modal","mask-closable":!1},on:{"on-ok":t.ok},model:{value:t.isdel,callback:function(e){t.isdel=e},expression:"isdel"}},["banner"==t.config.type?[i("Banner",{attrs:{config:t.config.acraoList[0],changeConfig:t.changeConfig}})]:t._e(),"text"==t.config.type?[i("Edittext",{attrs:{config:t.config.acraoList[0],changeConfig:t.changeConfig}})]:t._e(),"listImage"==t.config.type?[i("EditMultiPic",{attrs:{config:t.config.acraoList[0],changeConfig:t.changeConfig}})]:t._e(),"image"==t.config.type?[i("UploadPic",{attrs:{config:t.config.acraoList[0],popup:this.$refs.popup,changeConfig:t.changeConfig}})]:t._e(),"swiper"==t.config.type?[i("EditCarousePic",{attrs:{config:t.config.acraoList[0],changeConfig:t.changeConfig}})]:t._e(),"imageText"==t.config.type?[i("EditImageText",{attrs:{config:t.config.acraoList[0],changeConfig:t.changeConfig}})]:t._e(),"button"==t.config.type?[i("Dialogbutton",{attrs:{config:t.config.acraoList[0],changeConfig:t.changeConfig}})]:t._e(),"form"==t.config.type?[i("Dialogform",{attrs:{config:t.config.acraoList[0],changeConfig:t.changeConfig}})]:t._e()],2)],[i("Modal",{attrs:{title:"通栏",width:"640","class-name":"vertical-center-modal","mask-closable":!1},on:{"on-ok":t.ok},model:{value:t.isAcrao,callback:function(e){t.isAcrao=e},expression:"isAcrao"}},[i("Dialogacrao",{attrs:{config:t.config.acraoList,changeAcrao:t.changeAcrao}})],1)]],2)},f=[],g=i("5748"),d=(i("163d"),i("9f3a")),u=i("8586"),h=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.atConfig[t.acraoIndex]?i("div",{staticClass:"dialog_acrao"},[i("div",{staticClass:"dialog_acrao_item"},[i("div",{staticClass:"dialog_acrao_item_left"},[t._v("\n 通栏样式:\n ")]),i("div",{staticClass:"dialog_acrao_item_right"},t._l(t.atConfig,(function(e,n){return i("div",{key:n,class:["dialog_acrao_addpic",n==t.acraoIndex&&"activeAcrao"],on:{click:function(e){return t.handleClickAcrao(n)}}})})),0)]),i("div",{staticClass:"dialog_acrao_title"},[i("h3",[t._v("通栏样式")]),i("Icon",{attrs:{type:"md-arrow-dropdown",size:16}})],1),i("div",{staticClass:"dialog_acrao_item"},[i("div",{staticClass:"dialog_acrao_item_left"},[t._v("\n 通栏背景:\n ")]),i("div",{staticClass:"dialog_acrao_item_right"},[i("div",{staticClass:"acrao_set_radio"},[i("RadioGroup",{on:{"on-change":t.changeRadioBg},model:{value:t.acraoBgType,callback:function(e){t.acraoBgType=e},expression:"acraoBgType"}},[i("Radio",{attrs:{label:"default"}},[t._v("默认")]),i("Radio",{attrs:{label:"display"}},[t._v("隐藏")]),i("Radio",{attrs:{label:"fill"}},[t._v("颜色填充")]),i("Radio",{attrs:{label:"pic"}},[t._v("图片")])],1)],1),i("div",{staticClass:"acrao_set_detail"},["fill"==t.acraoBgType?i("div",{staticClass:"acrao_set_detail_item"},[i("span",[t._v("背景色:")]),i("ColorPicker",{attrs:{alpha:""},on:{"on-change":t.changeAcraoBg},model:{value:t.acraoColor,callback:function(e){t.acraoColor=e},expression:"acraoColor"}})],1):t._e(),"pic"==t.acraoBgType?i("div",{staticClass:"acrao_set_detail_item"},[i("span",[t._v("图片:")]),t.imgList.length?i("div",{staticClass:"acrao_set_detail_item_img",on:{click:function(e){t.isdel=!0}}},[i("img",{attrs:{src:t.imgList[0].pic_url,alt:""}})]):i("Button",{staticClass:"ivu-btn-default1",on:{click:function(e){t.isdel=!0}}},[t._v("选择图片")])],1):t._e()])])]),i("div",{staticClass:"dialog_acrao_title"},[i("h3",[t._v("通栏边距")]),i("Icon",{attrs:{type:"md-arrow-dropdown",size:16}})],1),i("div",{staticClass:"dialog_acrao_item"},[i("div",{staticClass:"dialog_acrao_item_right"},[i("div",{staticClass:"acrao_set_detail"},[i("div",{staticClass:"acrao_set_detail_item"},[i("span",[t._v("上内边距:")]),i("i-input",{staticStyle:{width:"70px",height:"32px",textAlign:"right"},on:{"on-change":t.changeInp},model:{value:t.atConfig[t.acraoIndex].acraoStyle.paddingTop,callback:function(e){t.$set(t.atConfig[t.acraoIndex].acraoStyle,"paddingTop",e)},expression:"atConfig[acraoIndex].acraoStyle.paddingTop"}},[i("span",{attrs:{slot:"suffix"},slot:"suffix"},[t._v("px")])])],1),i("div",{staticClass:"acrao_set_detail_item"},[i("span",[t._v("下内边距:")]),i("i-input",{staticStyle:{width:"70px",height:"32px",textAlign:"right"},on:{"on-change":t.changeInp},model:{value:t.atConfig[t.acraoIndex].acraoStyle.paddingBottom,callback:function(e){t.$set(t.atConfig[t.acraoIndex].acraoStyle,"paddingBottom",e)},expression:"atConfig[acraoIndex].acraoStyle.paddingBottom"}},[i("span",{attrs:{slot:"suffix"},slot:"suffix"},[t._v("px")])])],1)]),i("div",{staticClass:"acrao_set_detail"},[i("div",{staticClass:"acrao_set_detail_item"},[i("span",[t._v("左内边距:")]),i("i-input",{staticStyle:{width:"70px",height:"32px",textAlign:"right"},on:{"on-change":t.changeInp},model:{value:t.atConfig[t.acraoIndex].acraoStyle.paddingLeft,callback:function(e){t.$set(t.atConfig[t.acraoIndex].acraoStyle,"paddingLeft",e)},expression:"atConfig[acraoIndex].acraoStyle.paddingLeft"}},[i("span",{attrs:{slot:"suffix"},slot:"suffix"},[t._v("px")])])],1),i("div",{staticClass:"acrao_set_detail_item"},[i("span",[t._v("右内边距:")]),i("i-input",{staticStyle:{width:"70px",height:"32px",textAlign:"right"},on:{"on-change":t.changeInp},model:{value:t.atConfig[t.acraoIndex].acraoStyle.paddingRight,callback:function(e){t.$set(t.atConfig[t.acraoIndex].acraoStyle,"paddingRight",e)},expression:"atConfig[acraoIndex].acraoStyle.paddingRight"}},[i("span",{attrs:{slot:"suffix"},slot:"suffix"},[t._v("px")])])],1)])])]),i("div",{staticClass:"dialog_acrao_title"},[i("h3",[t._v("通栏位置")]),i("Icon",{attrs:{type:"md-arrow-dropdown",size:16}})],1),i("div",{staticClass:"dialog_acrao_item"},[i("div",{staticClass:"dialog_acrao_item_left"},[t._v("\n 通栏位置:\n ")]),i("div",{staticClass:"dialog_acrao_item_right"},[i("div",{staticClass:"acrao_set_radio"},[i("RadioGroup",{on:{"on-change":t.changeRadioAffix},model:{value:t.atConfig[t.acraoIndex].acraoAffix,callback:function(e){t.$set(t.atConfig[t.acraoIndex],"acraoAffix",e)},expression:"atConfig[acraoIndex].acraoAffix"}},[i("Radio",{attrs:{label:"default"}},[t._v("默认")]),i("Radio",{attrs:{label:"top"}},[t._v("吸顶")]),i("Radio",{attrs:{label:"bottom"}},[t._v("吸底")])],1)],1)])]),[i("Modal",{ref:"popup",attrs:{title:"编辑",width:"640","class-name":"vertical-center-modal","mask-closable":!1},on:{"on-ok":t.ok},model:{value:t.isdel,callback:function(e){t.isdel=e},expression:"isdel"}},[i("Photogallery",{attrs:{maxNum:1,changeConfig:t.changeConfig,atConfigImgList:[].concat(t.imgList)}})],1)]],2):t._e()},p=[],m=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"dialog_href"},[i("div",{staticClass:"dialog_href_item"},[i("div",{staticClass:"dialog_href_item_left"},[t._v("\n 链接设置:\n ")]),i("div",{staticClass:"dialog_href_item_right"},[i("div",{staticClass:"href_set_radio"},[i("RadioGroup",{on:{"on-change":t.changeRadioBg},model:{value:t.hrefType,callback:function(e){t.hrefType=e},expression:"hrefType"}},[i("Radio",{attrs:{label:"none"}},[t._v("无")]),i("Radio",{attrs:{label:"router"}},[t._v("站内链接")]),i("Radio",{attrs:{label:"href"}},[t._v("站外连接")]),t.func?i("Radio",{attrs:{label:"func"}},[t._v("功能")]):t._e()],1)],1)])]),"router"==t.hrefType?i("div",{staticClass:"dialog_href_item dialog_href_item2"},[i("div",{staticClass:"dialog_href_item_left"},[t._v("\n 站内链接:\n ")]),i("div",{staticClass:"dialog_href_item_right"},[i("i-input",{staticStyle:{width:"372px",height:"32px","border-radius":"1px"},on:{"on-change":t.changeInp},model:{value:t.instationHref,callback:function(e){t.instationHref=e},expression:"instationHref"}})],1)]):t._e(),"href"==t.hrefType?i("div",{staticClass:"dialog_href_item dialog_href_item2"},[i("div",{staticClass:"dialog_href_item_left"},[t._v("\n 站外链接:\n ")]),i("div",{staticClass:"dialog_href_item_right"},[i("i-input",{staticStyle:{width:"372px",height:"32px","border-radius":"1px"},attrs:{placeholder:"http://"},on:{"on-change":t.changeInp},model:{value:t.outsideHref,callback:function(e){t.outsideHref=e},expression:"outsideHref"}})],1)]):t._e(),"func"==t.hrefType?i("div",{staticClass:"dialog_href_item dialog_href_item2"},[i("div",{staticClass:"dialog_href_item_left"},[t._v("\n 网站功能:\n ")]),i("div",{staticClass:"dialog_href_item_right"},[i("Select",{staticStyle:{width:"150px",height:"32px"},on:{"on-change":t.changeRadioBg},model:{value:t.webFunc,callback:function(e){t.webFunc=e},expression:"webFunc"}},[i("Option",{attrs:{value:"service"}},[t._v("客服")]),i("Option",{attrs:{value:"subform"}},[t._v("提交表单")])],1)],1)]):t._e(),"func"==t.hrefType&&"subform"==t.webFunc?i("div",{staticClass:"dialog_href_item dialog_href_item2"},[i("div",{staticClass:"dialog_href_item_left"},[t._v("\n 选择表单:\n ")]),i("div",{staticClass:"dialog_href_item_right"},[i("Select",{staticStyle:{width:"150px",height:"32px"},on:{"on-change":t.changeRadioBg},model:{value:t.formItem,callback:function(e){t.formItem=e},expression:"formItem"}},t._l(t.selectFormList,(function(e){return i("Option",{key:e.value,attrs:{value:e.value}},[t._v(t._s(e.label))])})),1)],1)]):t._e(),"router"==t.hrefType||"href"==t.hrefType||"service"==t.webFunc&&"none"!=t.hrefType?i("div",{staticClass:"dialog_href_item"},[i("div",{staticClass:"dialog_href_item_left"},[t._v("\n 打开方式:\n ")]),i("div",{staticClass:"dialog_href_item_right"},[i("div",{staticClass:"href_set_radio"},[i("RadioGroup",{on:{"on-change":t.changeRadioBg},model:{value:t.openType,callback:function(e){t.openType=e},expression:"openType"}},[i("Radio",{attrs:{label:"original"}},[t._v("原页面打开")]),i("Radio",{attrs:{label:"blank"}},[t._v("新页面打开")])],1)],1)])]):t._e()])},_=[],v=i("6205");function C(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function b(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?C(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):C(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var x={props:{func:{type:Boolean,default:!0},config:{type:Object,default:function(){return{}}},changeConfig:{type:Function,default:function(){}}},watch:{config:{handler:function(t,e){switch(this.hrefType=this.config.hrefType,this.openType=this.config.openType,this.config.hrefType){case"none":this.instationHref="",this.outsideHref="";break;case"router":this.instationHref=this.config.href,this.outsideHref="";break;case"href":this.instationHref="",this.outsideHref=this.config.href;break;case"func":switch(this.instationHref="",this.outsideHref="",this.webFunc=this.config.function,this.config.function){case"service":break;case"subform":this.formItem=this.config.formId;break}break;default:break}},immediate:!0,deep:!0}},computed:b({},Object(d["e"])({selectFormList:function(t){return t.template.selectFormList}})),data:function(){return{hrefType:"none",openType:"original",instationHref:"",outsideHref:"",webFunc:"service",formItem:"1",current:1,pageSize:10}},mounted:function(){},methods:{changeRadioBg:function(t){this.func?this.setFuncConfig():this.setNotFuncConfig()},changeInp:function(){this.func?this.setFuncConfig():this.setNotFuncConfig()},setNotFuncConfig:function(){var t=b({},this.config);t.href="none"==this.hrefType?"":"router"==this.hrefType?this.instationHref:this.outsideHref,t.openType=this.openType,t.hrefType=this.hrefType,this.changeConfig(t)},setFuncConfig:function(){var t=b({},this.config);switch(this.hrefType){case"none":t.href="";break;case"router":t.href=this.instationHref;break;case"href":t.href=this.outsideHref;break;case"func":switch(t.function=this.webFunc,this.webFunc){case"service":t.href="https://swt.gongsibao.com/LR/Chatpre.aspx?id=MGF22027130&lng=cn&p=www.gongsibao.com&oname=%e5%85%ac%e5%8f%b8%e5%ae%9d%e5%94%ae%e5%90%8e";break;case"subform":t.href="",t.formId=this.formItem;break}break}t.openType=this.openType,t.hrefType=this.hrefType,this.changeConfig(t)}}},y=x,I=(i("8849"),i("9ca4")),O=Object(I["a"])(y,m,_,!1,null,"40e2156b",null),k=O.exports,w=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"photo_gallery"},[i("div",{staticClass:"photo_gallery_main"},[i("div",{staticClass:"photo_gallery_main_btns"},[i("Upload",{attrs:{action:t.ossConfig.url,data:t.ossConfig,"before-upload":t.handleBeforeUpload,"on-success":t.handleSuccess,format:["jpg","jpeg","png"],"on-format-error":t.handleFormatError}},[i("button",{staticClass:"uploadBtn"},[t._v("上传")])])],1),t.listImg.length?i("div",{staticClass:"photo_gallery_main_pics"},t._l(t.listImg,(function(e){return i("div",{key:e.id,class:["photo_gallery_main_pics_w",e.flag&&"photo_gallery_main_pics_w_actived"],on:{click:function(i){return t.handleImgClick(e)}}},[i("div",{staticClass:"photo_gallery_main_pics_silde"},[i("img",{attrs:{src:e.pic_url,alt:""}})]),i("div",{directives:[{name:"show",rawName:"v-show",value:e.flag,expression:"item.flag"}],staticClass:"photo_gallery_main_pics_w_dui"},[i("Icon",{attrs:{type:"ios-checkmark"}})],1)])})),0):t._e(),t.listImg.length?i("div",{staticClass:"photo_gallery_main_page"},[i("Page",{attrs:{total:t.total,current:t.current,"page-size":t.pageSize},on:{"update:current":function(e){t.current=e}}})],1):t._e(),t.listImg.length?t._e():i("div",{staticClass:"photo_gallery_main_none"},[i("svg-icon",{attrs:{"icon-class":"nonepic"}})],1)])])},S=[];i("f548"),i("9e76"),i("ed63"),i("8cf2");function L(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function j(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?L(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):L(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var N={props:{maxNum:{type:Number,default:8},changeConfig:{type:Function,default:function(){}},atConfigImgList:{type:Array,default:function(){return[]}}},data:function(){return{listImg:[],total:0,current:1,pageSize:20,checkedList:[]}},computed:j({},Object(d["e"])({ossConfig:function(t){return t.template.oss}})),watch:{current:function(t,e){this.getImgList(t,this.pageSize)},atConfigImgList:{handler:function(t,e){var i=this;e&&(this.checkedList=Object(g["a"])(t),this.listImg=this.listImg.map((function(t,e){return t.flag=i.includes(t),t})))},immediate:!0,deep:!0}},mounted:function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(){var e=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.getImgList(this.current,this.pageSize);case 2:this.checkedList=Object(g["a"])(this.atConfigImgList),this.listImg=this.listImg.map((function(t,i){return t.flag=e.includes(t),t}));case 4:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),methods:{handleBeforeUpload:function(t){return this.ossConfig["key"]=this.setKey(t),!0},handleSuccess:function(t,e,i){var n=this,a=/(?<=<Location>).*?(?=<\/Location>)/,s=t.match(a)[0],o=e.name,r=e.size,c={pic_url:s,name:o,pic_size:r};Object(v["a"])(c).then((function(t){0==t.status&&n.getImgList(n.current,n.pageSize)}))},handleFormatError:function(){},setKey:function(t){var e=new Date,i="zc_"+Math.round(500*Math.random())+e.getMonth()+e.getTime()+e.getFullYear()+e.getDate()+e.getHours()+e.getMinutes()+e.getSeconds()+e.getMilliseconds()+t.name.replace(" ","");return i},getImgList:function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(e,i){var n,a=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n={actionType:"getImgList",actionBody:{pageInfo:{pageNo:e,pageSize:i}}},t.next=3,Object(v["e"])(n).then((function(t){var e=t.data.results.rows||[];a.total=t.data.results.count,a.listImg=e.map((function(t,e){return t.flag=a.includes(t),t}))}));case 3:case"end":return t.stop()}}),t)})));function e(e,i){return t.apply(this,arguments)}return e}(),handleImgClick:function(t){if(this.checkedList.length>=this.maxNum&&!t.flag)this.$Message.warning("您最多只能选取".concat(this.maxNum,"张图片"));else{if(t.flag=!t.flag,t.flag)this.checkedList.push(t);else{var e=this.checkedList.findIndex((function(e){return e.id==t.id}));this.checkedList.splice(e,1)}this.changeConfig(this.checkedList)}},includes:function(t){var e=this.checkedList.findIndex((function(e){return e.id==t.id}));return-1!=e}}},M=N,P=(i("520e"),Object(I["a"])(M,w,S,!1,null,"474cd917",null)),A=P.exports,R={props:{config:{type:Array,default:function(){return{}}},changeAcrao:{type:Function,default:function(){}}},components:{Href:k,Photogallery:A},data:function(){return{isdel:!1,acraoIndex:0,acraoBgType:"default",acraoBgImg:"",acraoColor:"#fff",atConfig:[],imgList:[]}},watch:{config:{handler:function(t,e){this.atConfig=JSON.parse(JSON.stringify(this.config))},deep:!0}},mounted:function(){this.atConfig=JSON.parse(JSON.stringify(this.config))},methods:{addAcrao:function(){this.atConfig.push({id:this.atConfig.length+1,acraoStyle:{background:"#fff",paddingLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0},acraoAffix:"default"}),this.configEmit()},handleClickAcrao:function(t){this.acraoIndex=t},changeRadioBg:function(t){switch(t){case"default":this.atConfig[this.acraoIndex].acraoStyle.background="#fff";break;case"display":this.atConfig[this.acraoIndex].acraoStyle.background="transparent";break;case"fill":this.atConfig[this.acraoIndex].acraoStyle.background=this.acraoColor;break;case"pic":this.atConfig[this.acraoIndex].acraoStyle.background="url(".concat(this.acraoBgImg,") center center no-repeat");break;default:break}this.configEmit()},changeAcraoBg:function(t){this.acraoColor=t,this.atConfig[this.acraoIndex].acraoStyle.background=t,this.configEmit()},changeRadioAffix:function(t){this.configEmit()},changeInp:function(){this.configEmit()},configEmit:function(){JSON.parse(JSON.stringify(this.atConfig));this.changeAcrao(this.atConfig)},changeConfig:function(t){this.imgList[0]=JSON.parse(JSON.stringify(t[0]))},ok:function(){this.atConfig[this.acraoIndex].acraoStyle.background="url('".concat(this.imgList[0].pic_url,"') center center no-repeat");var t=JSON.parse(JSON.stringify(this.atConfig));this.changeAcrao(t)}}},T=R,H=(i("be9e"),Object(I["a"])(T,h,p,!1,null,"5a361e45",null)),J=H.exports,F=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.atConfig.type?i("div",{staticClass:"dialog_banner"},[i("div",{staticClass:"dialog_banner_item"},[i("div",{staticClass:"dialog_banner_item_left"},[t._v("\n 添加图片:\n ")]),i("div",{staticClass:"dialog_banner_item_right"},[this.atConfig.list.length<8?i("div",{staticClass:"dialog_banner_addpic",on:{click:function(e){t.isdel=!0}}},[t._v("\n +\n ")]):t._e(),t._l(t.atConfig.list,(function(e,n){return i("div",{key:n,staticClass:"dialog_banner_img"},[i("img",{attrs:{src:e.url,alt:""}}),i("img",{staticClass:"banner_close",attrs:{src:t.close,alt:""},on:{click:function(e){return t.closeImg(n)}}}),i("div",{staticClass:"banner_set",on:{click:function(e){return t.setImg(n)}}},[t._v("编辑")])])}))],2)]),t.atConfig.list.length?i("div",{staticClass:"dialog_banner_item"},[i("div",{staticClass:"dialog_banner_item_left"},[t._v("\n 选图链接:\n ")]),i("div",{staticClass:"dialog_banner_item_right"},[i("i-input",{staticStyle:{"max-width":"372px",height:"32px",marginLeft:"10px"},attrs:{readonly:""},model:{value:t.atConfig.list[t.setIndex].href,callback:function(e){t.$set(t.atConfig.list[t.setIndex],"href",e)},expression:"atConfig.list[setIndex].href"}}),i("i-button",{on:{click:function(e){t.ishref=!0}}},[t._v("设置")])],1)]):t._e(),t._l(t.atConfig.list,(function(e,n){return i("div",{key:e.id},[i("div",{staticClass:"dialog_banner_item"},[i("div",{staticClass:"dialog_banner_item_left"},[t._v("标题"+t._s(n+1)+":")]),i("div",{staticClass:"dialog_banner_item_right"},[i("i-input",{staticStyle:{"max-width":"372px",height:"32px",marginLeft:"10px"},on:{"on-change":t.changeInp},model:{value:t.atConfig.list[n].title,callback:function(e){t.$set(t.atConfig.list[n],"title",e)},expression:"atConfig.list[index].title"}})],1)]),i("div",{staticClass:"dialog_banner_item"},[i("div",{staticClass:"dialog_banner_item_left"},[t._v("描述"+t._s(n+1)+":")]),i("div",{staticClass:"dialog_banner_item_right"},[i("i-input",{staticStyle:{"max-width":"372px",height:"32px",marginLeft:"10px"},on:{"on-change":t.changeInp},model:{value:t.atConfig.list[n].text,callback:function(e){t.$set(t.atConfig.list[n],"text",e)},expression:"atConfig.list[index].text"}})],1)])])})),i("div",{staticClass:"dialog_banner_title"},[i("h3",[t._v("横幅样式")]),i("Icon",{attrs:{type:"md-arrow-dropdown",size:16}})],1),i("div",{staticClass:"dialog_banner_style"},t._l(t.bannerStyle,(function(e,n){return i("div",{key:n,class:t.atConfig.text_style.alignItems==e.type?"dialog_banner_style_item_active":"dialog_banner_style_item",on:{click:function(i){return t.checkBannerType(e.type)}}},[i("div",{staticClass:"style_main",style:{alignItems:e.type}},[i("h3",[t._v(t._s(e.title))]),i("p",[t._v(t._s(e.text))])])])})),0),i("div",{staticClass:"dialog_banner_title"},[i("h3",[t._v("图片设置")]),i("Icon",{attrs:{type:"md-arrow-dropdown",size:16}})],1),i("div",{staticClass:"dialog_banner_item"},[i("div",{staticClass:"dialog_banner_item_left"},[t._v("\n 横幅大小:\n ")]),i("div",{staticClass:"dialog_banner_item_right"},[i("div",{staticClass:"banner_set_radio"},[i("RadioGroup",{on:{"on-change":t.changeRadioSize},model:{value:t.bannerSize,callback:function(e){t.bannerSize=e},expression:"bannerSize"}},[i("Radio",{attrs:{label:"default"}},[t._v("默认")]),i("Radio",{attrs:{label:"custom"}},[t._v("自定义")])],1)],1),i("div",{directives:[{name:"show",rawName:"v-show",value:"default"!=t.bannerSize,expression:"bannerSize != 'default'"}],staticClass:"banner_set_detail"},[i("div",{staticClass:"banner_set_detail_item"},[i("span",[t._v("宽度:")]),i("i-input",{staticStyle:{width:"70px",height:"32px",textAlign:"right"},on:{"on-change":t.changeInp},model:{value:t.atConfig.style.width,callback:function(e){t.$set(t.atConfig.style,"width",e)},expression:"atConfig.style.width"}},[i("span",{attrs:{slot:"suffix"},slot:"suffix"},[t._v("px")])])],1),i("div",{staticClass:"banner_set_detail_item"},[i("span",[t._v("高度:")]),i("i-input",{staticStyle:{width:"70px",height:"32px",textAlign:"right"},on:{"on-change":t.changeInp},model:{value:t.atConfig.style.height,callback:function(e){t.$set(t.atConfig.style,"height",e)},expression:"atConfig.style.height"}},[i("span",{attrs:{slot:"suffix"},slot:"suffix"},[t._v("px")])])],1)])])]),i("div",{staticClass:"dialog_banner_item"},[i("div",{staticClass:"dialog_banner_item_left"},[t._v("\n 轮播设置:\n ")]),i("div",{staticClass:"dialog_banner_item_right"},[i("div",{staticClass:"banner_set_radio"},[i("RadioGroup",{model:{value:t.swiperSet,callback:function(e){t.swiperSet=e},expression:"swiperSet"}},[i("Radio",{attrs:{label:"default"}},[t._v("默认")]),i("Radio",{attrs:{label:"custom"}},[t._v("自定义")])],1)],1),i("div",{directives:[{name:"show",rawName:"v-show",value:"default"!=t.swiperSet,expression:"swiperSet != 'default'"}],staticClass:"banner_set_detail"},[i("div",{staticClass:"banner_set_detail_item"},[i("span",[t._v("展示时间:")]),i("i-input",{staticStyle:{width:"70px",height:"32px",textAlign:"right"},on:{"on-change":t.changeInp},model:{value:t.atConfig.display_time,callback:function(e){t.$set(t.atConfig,"display_time",e)},expression:"atConfig.display_time"}},[i("span",{attrs:{slot:"suffix"},slot:"suffix"},[t._v("s")])])],1),i("div",{staticClass:"banner_set_detail_item"},[i("span",[t._v("切换速度:")]),i("i-input",{staticStyle:{width:"70px",height:"32px",textAlign:"right"},on:{"on-change":t.changeInp},model:{value:t.atConfig.switching_speed,callback:function(e){t.$set(t.atConfig,"switching_speed",e)},expression:"atConfig.switching_speed"}},[i("span",{attrs:{slot:"suffix"},slot:"suffix"},[t._v("s")])])],1)])])]),[i("Modal",{attrs:{title:"图库",width:"680","class-name":"vertical-center-modal","mask-closable":!1},on:{"on-ok":t.okImg},model:{value:t.isdel,callback:function(e){t.isdel=e},expression:"isdel"}},["banner"==t.config.type?[i("PhotoGallery",{attrs:{maxNum:8,changeConfig:t.changeImgList,atConfigImgList:t.atConfigImgList}})]:t._e()],2)],[i("Modal",{ref:"popup",attrs:{title:"链接",width:"650","class-name":"vertical-center-modal","mask-closable":!1},on:{"on-ok":t.okHref},model:{value:t.ishref,callback:function(e){t.ishref=e},expression:"ishref"}},[[i("Href",{attrs:{func:!1,changeConfig:t.changeHref,config:t.atConfig.list[t.setIndex]}})]],2)]],2):t._e()},z=[],$=i("1aff"),D=i.n($);function E(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function B(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?E(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):E(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var G={props:{config:{type:Object,default:function(){return{}}},changeConfig:{type:Function,default:function(){}}},components:{PhotoGallery:A,Href:k},data:function(){return{close:D.a,imgIndex:0,setIndex:0,modal1:!1,atConfig:{},atConfigImg:{},atConfigHref:{},imgHref:"",bannerStyle:[{type:"center",title:"标题居中",text:"描述文字居中"},{type:"start",title:"标题左对齐",text:"描述文字居左"}],bannerSize:"default",swiperSet:"default",isdel:!1,ishref:!1}},mounted:function(){this.atConfig=JSON.parse(JSON.stringify(this.config)),this.atConfigImgList=JSON.parse(JSON.stringify(this.config.list)),this.atConfigHref=JSON.parse(JSON.stringify(this.config))},watch:{config:{handler:function(t,e){this.atConfig=JSON.parse(JSON.stringify(this.config))},deep:!0}},methods:{changeRadioSize:function(t){"default"==t&&(this.atConfig.style.width="1000",this.atConfig.style.hright="300")},changeImgList:function(t){this.atConfigImgList=t.map((function(t){return B(B({},t),{},{id:t.id,url:t.pic_url,href:"",openType:"original",hrefType:"none",title:"",text:""})}))},closeImg:function(t){this.setIndex>this.atConfig.list.length-2&&this.atConfig.list.length>1&&(this.setIndex=this.atConfig.list.length-2),this.atConfig.list.splice(t,1),this.atConfigImgList=JSON.parse(JSON.stringify(this.atConfig.list)),this.changeConfig(this.atConfig)},setImg:function(t){this.setIndex=t},checkBannerType:function(t){this.atConfig.text_style.alignItems=t,this.changeConfig(this.atConfig)},changeInp:function(){this.changeConfig(this.atConfig)},okImg:function(){this.atConfig.list=JSON.parse(JSON.stringify(this.atConfigImgList)),this.changeConfig(this.atConfig)},okHref:function(){this.atConfig=JSON.parse(JSON.stringify(this.atConfigHref)),this.changeConfig(this.atConfig)},changeHref:function(t){this.atConfigHref=JSON.parse(JSON.stringify(this.atConfig)),this.atConfigHref.list[this.setIndex]=t}}},W=G,V=(i("6d06"),Object(I["a"])(W,F,z,!1,null,"7b09bed5",null)),U=V.exports,q=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"dialog_button"},[i("div",{staticClass:"dialog_button_title"},[i("h3",[t._v("按钮样式")]),i("Icon",{attrs:{type:"md-arrow-dropdown",size:16}})],1),i("div",{staticClass:"dialog_button_btns"},t._l(t.btnList,(function(e,n){return i("div",{key:n,class:["dialog_button_btns_ite",t.btnCheckIndex==n&&"dialog_button_btns_ite_actived"],on:{click:function(e){return t.checkBtn(n)}}},[i("button",{style:e},[t._v("按钮")]),i("div",{directives:[{name:"show",rawName:"v-show",value:t.btnCheckIndex==n,expression:"btnCheckIndex == index"}],staticClass:"photo_gallery_main_pics_w_dui"},[i("Icon",{attrs:{type:"ios-checkmark"}})],1)])})),0),i("div",{staticClass:"dialog_button_title"},[i("h3",[t._v("设置文字")]),i("Icon",{attrs:{type:"md-arrow-dropdown",size:16}})],1),i("div",{staticClass:"dialog_button_item"},[i("div",{staticClass:"dialog_button_item_left"},[t._v("\n 按钮文字:\n ")]),i("div",{staticClass:"dialog_button_item_right"},[i("i-input",{staticStyle:{"max-width":"372px",height:"32px",marginLeft:"10px"},model:{value:t.atConfig.text,callback:function(e){t.$set(t.atConfig,"text",e)},expression:"atConfig.text"}})],1)]),i("div",{staticClass:"dialog_button_title"},[i("h3",[t._v("设置链接")]),i("Icon",{attrs:{type:"md-arrow-dropdown",size:16}})],1),i("div",{staticClass:"dialog_button_item"},[i("div",{staticClass:"dialog_button_item_left"},[t._v("\n 选图链接:\n ")]),i("div",{staticClass:"dialog_button_item_right"},[i("i-input",{staticStyle:{"max-width":"372px",height:"32px",marginLeft:"10px"},attrs:{readonly:""},model:{value:t.atConfig.href,callback:function(e){t.$set(t.atConfig,"href",e)},expression:"atConfig.href"}}),i("i-button",{on:{click:function(e){t.ishref=!0}}},[t._v("设置")])],1)]),i("div",{staticClass:"dialog_button_title"},[i("h3",[t._v("背景设置")]),i("Icon",{attrs:{type:"md-arrow-dropdown",size:16}})],1),i("div",{staticClass:"dialog_button_item"},[i("div",{staticClass:"dialog_button_item_left"},[t._v("\n 按钮颜色:\n ")]),i("div",{staticClass:"dialog_button_item_right"},[i("div",{staticClass:"banner_set_radio"},[i("RadioGroup",{model:{value:t.colorType,callback:function(e){t.colorType=e},expression:"colorType"}},[i("Radio",{attrs:{label:"default"}},[t._v("默认")]),i("Radio",{attrs:{label:"custom",disabled:t.btnCheckIndex>=2}},[t._v("自定义")])],1)],1),i("div",{directives:[{name:"show",rawName:"v-show",value:"default"!=t.colorType,expression:"colorType != 'default'"}],staticClass:"banner_set_detail"},[i("div",{staticClass:"banner_set_detail_item"},[i("span",[t._v("初始:")]),i("ColorPicker",{attrs:{alpha:"",disabled:t.btnCheckIndex>=2},model:{value:t.atConfig.style.background,callback:function(e){t.$set(t.atConfig.style,"background",e)},expression:"atConfig.style.background"}})],1),i("div",{staticClass:"banner_set_detail_item"},[i("span",[t._v("选中:")]),i("ColorPicker",{attrs:{alpha:"",disabled:t.btnCheckIndex>=2},model:{value:t.atConfig.hover.background,callback:function(e){t.$set(t.atConfig.hover,"background",e)},expression:"atConfig.hover.background"}})],1)])])]),[i("Modal",{ref:"popup",attrs:{title:"链接",width:"650","class-name":"vertical-center-modal","mask-closable":!1},on:{"on-ok":t.okHref},model:{value:t.ishref,callback:function(e){t.ishref=e},expression:"ishref"}},[[i("Href",{attrs:{func:!0,changeConfig:t.changeHref,config:t.atConfig}})]],2)]],2)},K=[],X={props:{config:{type:Object,default:function(){return{}}},changeConfig:{type:Function,default:function(){}}},components:{Href:k},data:function(){return{ishref:!1,btnCheckIndex:0,colorType:"default",atConfig:{},atConfigHref:{},btnList:[{index:0,background:"#333",color:"#FFF",borderColor:"#333",borderRadius:"0px"},{index:1,background:"#333",color:"#FFF",borderColor:"#333",borderRadius:"50px"},{index:2,background:"#fff",color:"#333",borderColor:"#333",borderRadius:"0px"},{index:3,background:"#fff",color:"#333",borderColor:"#333",borderRadius:"50px"}]}},watch:{atConfig:{handler:function(t,e){this.changeAtConfig()},deep:!0},colorType:function(t,e){this.changeAtConfig()}},created:function(){this.atConfig=JSON.parse(JSON.stringify(this.config)),this.atConfigHref=JSON.parse(JSON.stringify(this.config)),this.config.style.index&&this.checkBtn(this.config.style.index),"none"==this.atConfig.style.border&&(this.atConfig.style.border="none")},methods:{changeAtConfig:function(){var t=JSON.parse(JSON.stringify(this.atConfig));this.changeConfig(t)},checkBtn:function(t){this.btnCheckIndex=t,t>=2?(this.colorType="default",this.atConfig.style=JSON.parse(JSON.stringify(this.btnList[t])),this.atConfig.hover.background=this.btnList[t].background,this.atConfig.hover.borderColor=this.btnList[t].borderColor,this.atConfig.style.border="1px solid #333"):(this.atConfig.style["index"]=this.btnList[t].index,this.atConfig.style.borderRadius=this.btnList[t].borderRadius,this.atConfig.style.background=this.btnList[t].background,this.atConfig.style.color=this.btnList[t].color,this.atConfig.hover.background=this.btnList[t].background,this.atConfig.style.border="none")},changeHref:function(t){this.atConfigHref=JSON.parse(JSON.stringify(t))},okHref:function(){var t=JSON.parse(JSON.stringify(this.atConfigHref));this.atConfig=t,this.changeConfig(this.atConfig)}}},Y=X,Q=(i("cbef"),Object(I["a"])(Y,q,K,!1,null,"7f88830d",null)),Z=Q.exports,tt=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"dialog_form"},[i("div",{staticClass:"dialog_form_item"},[i("div",{staticClass:"dialog_form_item_left"},[t._v("\n 选择表单:\n ")]),i("div",{staticClass:"dialog_form_item_right"},[i("Select",{staticStyle:{width:"372px",height:"32px"},model:{value:t.atConfig.formName,callback:function(e){t.$set(t.atConfig,"formName",e)},expression:"atConfig.formName"}},t._l(t.formList,(function(e){return i("Option",{key:e.value,attrs:{value:e.value}},[t._v(t._s(e.label))])})),1)],1)]),i("div",{staticClass:"dialog_form_title"},[i("h3",[t._v("表单样式")]),i("Icon",{attrs:{type:"md-arrow-dropdown",size:16}})],1),i("div",{staticClass:"dialog_form_check"},[i("div",{staticClass:"dialog_form_check_main"},t._l(t.inputStyle,(function(e,n){return i("div",{key:n,class:["dialog_form_chack_main_item",t.inputSelIndex==n&&"dialog_form_chack_main_item_actived"],on:{click:function(e){return t.checkForm(n)}}},[i("input",{style:e,attrs:{type:"text",placeholder:e.placeholder,readonly:""}}),i("div",{directives:[{name:"show",rawName:"v-show",value:t.inputSelIndex==n,expression:"inputSelIndex == index"}],staticClass:"photo_gallery_main_pics_w_dui"},[i("Icon",{attrs:{type:"ios-checkmark"}})],1)])})),0)])])},et=[];function it(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function nt(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?it(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):it(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var at={props:{config:{type:Object,default:function(){return{}}},changeConfig:{type:Function,default:function(){}}},data:function(){return{current:1,pageSize:10,atConfig:{},inputSelIndex:0,inputStyle:[{index:0,placeholder:"灰底输入框",background:"#F7F7F7",borderColor:"transparent"},{index:1,placeholder:"白底输入框",background:"#fff",border:"1px solid rgba(221,221,221,1)"},{index:2,placeholder:"线型输入框",background:"transparent",border:"1px solid transparent",borderBottom:"1px solid rgba(221,221,221,1) !important"}]}},computed:nt({},Object(d["e"])({formList:function(t){return t.template.formList}})),watch:{atConfig:{handler:function(t,e){this.changeAtConfig()},deep:!0}},mounted:function(){var t=this;if(this.atConfig=JSON.parse(JSON.stringify(this.config)),this.atConfig.formName){var e=this.formList.filter((function(e){return e.value==t.atConfig.formName}));this.saveSelectFormList(e)}this.config.style.index&&this.checkForm(this.config.style.index)},methods:nt({checkForm:function(t){this.inputSelIndex=t,this.atConfig.style=this.inputStyle[t]},changeAtConfig:function(){var t=JSON.parse(JSON.stringify(this.atConfig));this.changeConfig(t)}},Object(d["d"])({saveSelectFormList:"template/saveSelectFormList"}))},st=at,ot=(i("7ec1"),Object(I["a"])(st,tt,et,!1,null,"7a0c0853",null)),rt=ot.exports,ct=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"upload-img"},[i("Upload",{attrs:{action:t.action,accept:"image/*",data:t.ossConf,"before-upload":t.uploadImg,"on-success":t.uploadSuccess}},[i("button",[t._v("上传")])]),i("div",{staticClass:"box"},t._l(t.listImg,(function(e,n){return i("div",{key:e.id,class:["image-box",e.flag?"checkedActive":""],on:{click:function(i){return t.chooseImg(e,n)}}},[i("img",{attrs:{src:e.pic_url,alt:""}})])})),0),[i("Page",{attrs:{total:t.page.total,"page-size":t.page.size,current:t.page.currentPage},on:{"on-change":t.updateMapdepot}})]],2)])},lt=[],ft=(i("49a5"),i("4c39"),{props:{changeConfig:{type:Function,default:function(){}},config:{type:Object},max_checked:{type:Number,default:8}},data:function(){return{listImg:[],action:"",ossConf:{key:""},checkedList:[],page:{currentPage:1,total:0,size:20},cacheCheckList:[]}},mounted:function(){this.updateMapdepot(),this.getOss()},methods:{getOss:function(){var t=this;Object(v["f"])().then((function(e){t.ossConf=e.data,t.action=e.data.url}))},uploadImg:function(t){this.ossConf.key=this.setKey(),delete this.ossConf.url},updateMapdepot:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.page.currentPage=e,console.log(e,"xxxxxxxxxxxxxxxxxxxxxxxxx");var i={actionType:"getImgList",actionBody:{pageInfo:{pageNo:e,pageSize:this.page.size}}};Object(v["e"])(i).then((function(e){var i=e.data.results.rows;t.page.total=e.data.results.count;t.checkedList.length;t.listImg=i.map((function(e,i){return e.flag=!1,t.checkedList.map((function(t){t.id==e.id&&(e.flag=!0)})),e}))}))},setKey:function(){var t=new Date,e="zc_gsb_"+Math.round(1e4*Math.random())+t.getTime()+t.getFullYear()+t.getMonth()+t.getDate()+".jpg";return e},uploadSuccess:function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(e,i,n){var a,s,o,r,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a=/(?<=<Location>).*?(?=<\/Location>)/,s=e.match(a)[0],o=i.name,r=i.size,c={pic_url:s,name:o,pic_size:r},t.next=6,Object(v["a"])(c);case 6:this.updateMapdepot();case 7:case"end":return t.stop()}}),t,this)})));function e(e,i,n){return t.apply(this,arguments)}return e}(),chooseImg:function(t,e){if("image"==this.config.type){this.radioCheckedImg(t,e);var i=JSON.parse(JSON.stringify(this.config));i.url=t.pic_url,this.changeConfig(i)}else this.moreCheckedImg(t,e)},moreCheckedImg:function(t,e){if(console.log(t.id,"vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv"),this.checkedList.length>=this.max_checked)if(this.listImg[e]["flag"]){var i;this.listImg[e]["flag"]=!this.listImg[e]["flag"];var n=this.checkedList.findIndex((function(e){return t.id==e.id}));this.checkedList.splice(n,1);var a=this.checkedList.map((function(t){return t.id}));(i=console).log.apply(i,Object(g["a"])(a))}else{var s={content:"最多选择".concat(this.max_checked,"张")};this.$Message.warning(s)}else{if(this.listImg[e]["flag"]=!this.listImg[e]["flag"],this.checkedList.length)if(t.flag)this.checkedList.push(t);else{var o=this.checkedList.findIndex((function(e){return t.id==e.id}));this.checkedList.splice(o,1)}else this.checkedList=this.listImg.filter((function(t){return t.flag}));this.$emit("getImageList",this.checkedList)}},radioCheckedImg:function(t,e){for(var i in this.listImg)this.listImg[i]["flag"]=!1;this.listImg[e]["flag"]=!0,this.$emit("getImageList",this.listImg[e])}},computed:{}}),gt=ft,dt=(i("cca3"),Object(I["a"])(gt,ct,lt,!1,null,"d1062a58",null)),ut=dt.exports,ht=i("a0f5"),pt=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("Modal",{attrs:{title:"图库",width:"640","class-name":"vertical-center-modal","mask-closable":!1},on:{"on-ok":t.okImg},model:{value:t.imgsModal,callback:function(e){t.imgsModal=e},expression:"imgsModal"}},[[i("PhotoGallery",{attrs:{maxNum:~~t.addImgsNum,changeConfig:t.changeImgList,atConfigImgList:t.atConfigImgList}})]],2),[i("Modal",{ref:"popup",attrs:{title:"链接",width:"650","class-name":"vertical-center-modal","mask-closable":!1},on:{"on-ok":t.okHref},model:{value:t.isOpenHref,callback:function(e){t.isOpenHref=e},expression:"isOpenHref"}},[[i("Href",{attrs:{func:!1,changeConfig:t.changeHref,config:t.multipicConfig.list[t.setIndex]}})]],2)],i("Form",[i("FormItem",{attrs:{label:"添加图片:"}},[i("div",{staticClass:"picbox-wrap",attrs:{model:t.formItem.imgs}},[t.formItem.imgs.length<t.addImgsNum?i("div",{staticClass:"addicon-box",on:{click:t.addImgs}},[i("Icon",{attrs:{type:"ios-add",size:"55",color:"#d9d9d9"}})],1):t._e(),t._l(t.formItem.imgs,(function(e,n){return i("div",{directives:[{name:"show",rawName:"v-show",value:t.formItem.imgs.length,expression:"formItem.imgs.length"}],key:n,staticClass:"pic-wrap"},[i("img",{staticStyle:{width:"100%",height:"100%"},attrs:{src:e.url,alt:""}}),i("img",{staticClass:"close-icon",attrs:{src:t.closeIcon,alt:""},on:{click:function(e){return t.closeImg(n)}}}),i("div",{staticClass:"edit-style",on:{click:function(e){return t.setImg(n)}}},[t._v("\n 编辑\n ")])])}))],2)]),i("FormItem",{attrs:{label:"选图链接:"}},[t.multipicConfig.list.length?i("Input",{staticStyle:{width:"332px",marginRight:"10px"},attrs:{placeholder:"请输入点击选中对应图片需要跳转的链接",readonly:""},model:{value:t.multipicConfig.list[t.setIndex].href,callback:function(e){t.$set(t.multipicConfig.list[t.setIndex],"href",e)},expression:"multipicConfig.list[setIndex].href"}}):t._e(),i("Button",{staticStyle:{padding:"2px 15px"},on:{click:function(e){t.isOpenHref=!0}}},[t._v("设置")])],1),i("FormItem",{attrs:{label:"选图文字:"}},[t.multipicConfig.list.length?i("Input",{staticStyle:{width:"332px",marginRight:"10px"},attrs:{placeholder:"请输入点击选中对应图片上需要显示的文本",type:"textarea"},model:{value:t.multipicConfig.list[t.setIndex].text,callback:function(e){t.$set(t.multipicConfig.list[t.setIndex],"text",e)},expression:"multipicConfig.list[setIndex].text"}}):t._e()],1),i("CellGroup",[i("Cell",{staticClass:"edititems-style",attrs:{title:"横幅样式"}},[i("Icon",{attrs:{slot:"extra",type:"md-arrow-dropdown"},slot:"extra"})],1)],1),i("RadioGroup",{staticClass:"picstyle-radios",attrs:{type:"button"},on:{"on-change":t.changeStyle},model:{value:t.formItem.styleindex,callback:function(e){t.$set(t.formItem,"styleindex",e)},expression:"formItem.styleindex"}},[i("Radio",{staticClass:"style-radio",attrs:{label:"onenormal",border:""}},[i("div",{staticClass:"style-normal-partone"}),i("div",{staticClass:"style-normal-parttwo"})]),i("Radio",{staticClass:"style-radio",attrs:{label:"twoswiper",border:""}},[i("Icon",{staticClass:"style-slide-partone",attrs:{type:"ios-arrow-back",size:"20",color:"#A4A0A8"}}),i("div",{staticClass:"style-slide-parttwo"}),i("div",{staticClass:"style-slide-partthree"}),i("div",{staticClass:"style-slide-partfour"}),i("div",{staticClass:"style-slide-partfive"}),i("Icon",{staticClass:"style-slide-partsix",attrs:{type:"ios-arrow-forward",size:"20",color:"#A4A0A8"}})],1)],1),i("CellGroup",[i("Cell",{staticClass:"edititems-style",attrs:{title:"图片设置"}},[i("Icon",{attrs:{slot:"extra",type:"md-arrow-dropdown"},slot:"extra"})],1)],1),i("FormItem",{attrs:{label:"图片高度:"}},[i("RadioGroup",{on:{"on-change":t.changeHeightToDefaltValue},model:{value:t.formItem.heightradio,callback:function(e){t.$set(t.formItem,"heightradio",e)},expression:"formItem.heightradio"}},[i("Radio",{attrs:{label:"defi"}},[t._v("默认")]),i("Radio",{attrs:{label:"self"}},[t._v("自定义")]),i("div",[t._v("\n 高度:\n "),i("i-input",{staticStyle:{width:"70px",height:"32px",textAlign:"right"},attrs:{placeholder:"......",disabled:"defi"==t.formItem.heightradio},model:{value:t.formItem.picheight,callback:function(e){t.$set(t.formItem,"picheight",e)},expression:"formItem.picheight"}},[i("span",{staticStyle:{"line-height":"32px",fontSize:"14px",color:"#e0e0de"},attrs:{slot:"suffix"},slot:"suffix"},[t._v("px")])])],1)],1)],1),i("FormItem",{attrs:{label:"图片间距:"}},[i("RadioGroup",{on:{"on-change":t.changeSpaceToDefaltValue},model:{value:t.formItem.spaceradio,callback:function(e){t.$set(t.formItem,"spaceradio",e)},expression:"formItem.spaceradio"}},[i("Radio",{attrs:{label:"defi"}},[t._v("默认")]),i("Radio",{attrs:{label:"self"}},[t._v("自定义")]),i("div",[i("div",{staticStyle:{display:"inline-block"}},[t._v("\n 水平间距:\n "),i("i-input",{staticStyle:{width:"70px"},attrs:{placeholder:"。。。",disabled:"defi"==t.formItem.spaceradio},model:{value:t.formItem.horizontalspace,callback:function(e){t.$set(t.formItem,"horizontalspace",e)},expression:"formItem.horizontalspace"}},[i("span",{staticStyle:{"line-height":"32px",fontSize:"14px",color:"#e0e0de"},attrs:{slot:"suffix"},slot:"suffix"},[t._v("px")])])],1),i("div",{staticStyle:{display:"inline-block","padding-left":"30px"}},[t._v("\n 垂直间距:\n "),i("i-input",{staticStyle:{width:"70px"},attrs:{placeholder:"。。。",disabled:"defi"==t.formItem.spaceradio},model:{value:t.formItem.verticalspace,callback:function(e){t.$set(t.formItem,"verticalspace",e)},expression:"formItem.verticalspace"}},[i("span",{staticStyle:{"line-height":"32px",fontSize:"14px",color:"#e0e0de"},attrs:{slot:"suffix"},slot:"suffix"},[t._v("px")])])],1)])],1)],1),i("FormItem",{attrs:{label:"每行个数:"}},[i("RadioGroup",{on:{"on-change":t.changeColumn},model:{value:t.formItem.lineradio,callback:function(e){t.$set(t.formItem,"lineradio",e)},expression:"formItem.lineradio"}},[i("Radio",{attrs:{label:"defi"}},[t._v("默认")]),i("Radio",{attrs:{label:"self"}},[t._v("自定义")]),i("div",[i("div",{staticStyle:{display:"inline-block"}},[t._v("\n 每行:\n "),i("Select",{staticStyle:{width:"72px"},attrs:{disabled:"defi"==t.formItem.lineradio},on:{"on-change":t.changeColumn},model:{value:t.formItem.perlinesnum,callback:function(e){t.$set(t.formItem,"perlinesnum",e)},expression:"formItem.perlinesnum"}},t._l(t.linesnumList,(function(e){return i("Option",{key:e.value,attrs:{value:e.value}},[t._v(t._s(e.label))])})),1)],1)])],1)],1)],1)],2)},mt=[];function _t(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function vt(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?_t(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):_t(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var Ct={props:{config:{type:Object},changeConfig:{type:Function,default:function(){}}},data:function(){return{imgsModal:!1,addImgsNum:"2",formItem:{imgs:[],pichref:"",picstyle:"",styleindex:"onenormal",heightradio:"defi",picheight:207,spaceradio:"defi",horizontalspace:20,verticalspace:20,lineradio:"defi",perlinesnum:"2"},linesnumList:[{value:"1",label:"1"},{value:"2",label:"2"},{value:"3",label:"3"},{value:"4",label:"4"}],multipicConfig:{acraoAffix:this.config.acraoAffix,acraoStyle:this.config.acraoStyle,id:this.config.id,type:"listImage",image_type:"onenormal",list:[],style:{height:207,imgLevelMargin:20,imgVerticalMargin:20},number:""},closeIcon:D.a,setIndex:0,imgHref:"",atConfigImgList:[],atConfigHref:{},isAddImgs:!1,isOpenHref:!1}},components:{PhotoGallery:A,Href:k},watch:{"formItem.perlinesnum":function(t){this.addImgsNum=t},"formItem.imgs":function(t){this.multipicConfig.list=t},"formItem.picheight":function(t){this.multipicConfig.style.height=t},"formItem.horizontalspace":function(t){this.multipicConfig.style.imgLevelMargin=t},"formItem.verticalspace":function(t){this.multipicConfig.style.imgVerticalMargin=t}},methods:{okHref:function(){this.multipicConfig=JSON.parse(JSON.stringify(this.atConfigHref)),this.changeConfig(this.multipicConfig)},changeHref:function(t){this.atConfigHref=JSON.parse(JSON.stringify(this.multipicConfig)),this.atConfigHref.list[this.setIndex]=t},okImg:function(){this.formItem.imgs=JSON.parse(JSON.stringify(this.atConfigImgList)),this.changeConfig(this.multipicConfig)},changeImgList:function(t){console.log("图库里面changeImgList的imgList:",t),this.atConfigImgList=t.map((function(t){return vt(vt({},t),{},{id:t.id,url:t.pic_url,href:"",openType:"original",hrefType:"none",title:"",text:""})}))},closeImg:function(t){this.setIndex>this.formItem.imgs.length-2&&this.formItem.imgs.length>1&&(this.setIndex=this.formItem.imgs.length-2),this.formItem.imgs.splice(t,1),this.atConfigImgList=JSON.parse(JSON.stringify(this.formItem.imgs)),this.changeConfig(this.multipicConfig)},setImg:function(t){console.log(t,"编辑当前下标数据"),this.setIndex=t},changeHeightToDefaltValue:function(t){"defi"==t&&(this.formItem.picheight=207,this.multipicConfig.style.height=207,this.changeConfig(this.multipicConfig))},changeSpaceToDefaltValue:function(t){"defi"==t&&(this.formItem.horizontalspace=10,this.formItem.verticalspace=10,this.multipicConfig.style.imgLevelMargin=20,this.multipicConfig.style.imgVerticalMargin=20,this.changeConfig(this.multipicConfig))},changePerLineNum:function(t){"defi"==t&&(this.formItem.perlinesnum="4",this.multipicConfig.number="4",this.changeConfig(this.multipicConfig))},changeColumn:function(t){this.atConfigImgList=[],this.formItem.imgs=[],"1"==t&&(this.formItem.perlinesnum="1",this.multipicConfig.number="1",this.changeConfig(this.multipicConfig)),"2"==t&&(this.formItem.perlinesnum="2",this.multipicConfig.number="2",this.changeConfig(this.multipicConfig)),"3"==t&&(this.formItem.perlinesnum="3",this.multipicConfig.number="3",this.changeConfig(this.multipicConfig)),"4"==t&&(this.formItem.perlinesnum="4",this.multipicConfig.number="4",this.changeConfig(this.multipicConfig))},changeStyle:function(t){this.multipicConfig.image_type=t,this.changeConfig(this.multipicConfig)},addImgs:function(){this.imgsModal=!0}},mounted:function(){console.log(this.config),this.atConfigImgList=JSON.parse(JSON.stringify(this.config.list)),this.atConfigHref=JSON.parse(JSON.stringify(this.config)),this.formItem.imgs=this.atConfigImgList,this.formItem.styleindex=this.config.image_type},updated:function(){}},bt=Ct,xt=(i("fd9c"),Object(I["a"])(bt,pt,mt,!1,null,"5480fb92",null)),yt=xt.exports,It=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"dialog_banner"},[i("div",{staticClass:"dialog_banner_item"},[i("div",{staticClass:"dialog_banner_item_left"},[t._v("\n 添加图片:\n ")]),i("div",{staticClass:"dialog_banner_item_right"},[this.carouselpicConfig.list.length<t.maxAddImgsNum?i("div",{staticClass:"dialog_banner_addpic",on:{click:function(e){t.isAddImgs=!0}}},[t._v("\n +\n ")]):t._e(),t._l(t.carouselpicConfig.list,(function(e,n){return i("div",{key:n,staticClass:"dialog_banner_img"},[i("img",{attrs:{src:e.url,alt:""}}),i("img",{staticClass:"banner_close",attrs:{src:t.close,alt:""},on:{click:function(e){return t.closeImg(n)}}}),i("div",{staticClass:"banner_set",on:{click:function(e){return t.setImg(n)}}},[t._v("编辑")])])}))],2)]),i("div",{staticClass:"dialog_banner_item"},[i("div",{staticClass:"dialog_banner_item_left"},[t._v("\n 选图链接:\n ")]),i("div",{staticClass:"dialog_banner_item_right"},[t.carouselpicConfig.list.length>0?i("i-input",{staticClass:"repaire-linkinputstyle",attrs:{readonly:""},model:{value:t.carouselpicConfig.list[t.setIndex].href,callback:function(e){t.$set(t.carouselpicConfig.list[t.setIndex],"href",e)},expression:"carouselpicConfig.list[setIndex].href"}}):t._e(),i("i-button",{on:{click:function(e){t.isOpenHref=!0}}},[t._v("设置")])],1)]),i("div",{staticClass:"dialog_banner_title"},[i("h3",[t._v("横幅样式")]),i("Icon",{attrs:{type:"md-arrow-dropdown",size:16}})],1),i("div",{staticClass:"dialog_banner_style"},t._l(t.bannerStyle,(function(e,n){return i("div",{key:n,class:t.carouselpicConfig.swiper_type==e.type?"dialog_banner_style_item_active":"dialog_banner_style_item",on:{click:function(i){return t.checkBannerType(e.type)}}},[i("div",{staticClass:"style_main"},[i("h3",[t._v(t._s(e.text))])])])})),0),i("div",{staticClass:"dialog_banner_title"},[i("h3",[t._v("图片设置")]),i("Icon",{attrs:{type:"md-arrow-dropdown",size:16}})],1),i("div",{staticClass:"dialog_banner_item"},[i("div",{staticClass:"dialog_banner_item_left"},[t._v("\n 横幅大小:\n ")]),i("div",{staticClass:"dialog_banner_item_right"},[i("div",{staticClass:"banner_set_radio"},[i("RadioGroup",{on:{"on-change":t.changeRadioSize},model:{value:t.bannerSize,callback:function(e){t.bannerSize=e},expression:"bannerSize"}},[i("Radio",{attrs:{label:"default"}},[t._v("默认")]),i("Radio",{attrs:{label:"custom"}},[t._v("自定义")])],1)],1),i("div",{directives:[{name:"show",rawName:"v-show",value:"default"!=t.bannerSize,expression:"bannerSize != 'default'"}],staticClass:"banner_set_detail"},[i("div",{staticClass:"banner_set_detail_item"},[i("span",[t._v("宽度:")]),i("i-input",{staticClass:"repaire-numinputstyle",on:{"on-change":t.changeInp},model:{value:t.carouselpicConfig.style.width,callback:function(e){t.$set(t.carouselpicConfig.style,"width",e)},expression:"carouselpicConfig.style.width"}},[i("span",{attrs:{slot:"suffix"},slot:"suffix"},[t._v("%")]),t._v("slot\n ")])],1),i("div",{staticClass:"banner_set_detail_item"},[i("span",[t._v("高度:")]),i("i-input",{staticClass:"repaire-numinputstyle",on:{"on-change":t.changeInp},model:{value:t.carouselpicConfig.style.height,callback:function(e){t.$set(t.carouselpicConfig.style,"height",e)},expression:"carouselpicConfig.style.height"}},[i("span",{attrs:{slot:"suffix"},slot:"suffix"},[t._v("px")])])],1)])])]),i("div",{staticClass:"dialog_banner_item"},[i("div",{staticClass:"dialog_banner_item_left"},[t._v("\n 轮播设置:\n ")]),i("div",{staticClass:"dialog_banner_item_right"},[i("div",{staticClass:"banner_set_radio"},[i("RadioGroup",{model:{value:t.swiperSet,callback:function(e){t.swiperSet=e},expression:"swiperSet"}},[i("Radio",{attrs:{label:"default"}},[t._v("默认")]),i("Radio",{attrs:{label:"custom"}},[t._v("自定义")])],1)],1),i("div",{directives:[{name:"show",rawName:"v-show",value:"default"!=t.swiperSet,expression:"swiperSet != 'default'"}],staticClass:"banner_set_detail"},[i("div",{staticClass:"banner_set_detail_item"},[i("span",[t._v("展示时间:")]),i("i-input",{staticClass:"repaire-numinputstyle",on:{"on-change":t.changeInp},model:{value:t.carouselpicConfig.display_time,callback:function(e){t.$set(t.carouselpicConfig,"display_time",e)},expression:"carouselpicConfig.display_time"}},[i("span",{attrs:{slot:"suffix"},slot:"suffix"},[t._v("ms")])])],1),i("div",{staticClass:"banner_set_detail_item"},[i("span",[t._v("切换速度:")]),i("i-input",{staticClass:"repaire-numinputstyle",on:{"on-change":t.changeInp},model:{value:t.carouselpicConfig.switching_speed,callback:function(e){t.$set(t.carouselpicConfig,"switching_speed",e)},expression:"carouselpicConfig.switching_speed"}},[i("span",{attrs:{slot:"suffix"},slot:"suffix"},[t._v("ms")])])],1)])])]),[i("Modal",{attrs:{title:"图库",width:"640","class-name":"vertical-center-modal","mask-closable":!1},on:{"on-ok":t.okImg},model:{value:t.isAddImgs,callback:function(e){t.isAddImgs=e},expression:"isAddImgs"}},[[i("PhotoGallery",{attrs:{maxNum:t.maxAddImgsNum,changeConfig:t.changeImgList,atConfigImgList:t.atConfigImgList}})]],2)],[i("Modal",{ref:"popup",attrs:{title:"链接",width:"650","class-name":"vertical-center-modal","mask-closable":!1},on:{"on-ok":t.okHref},model:{value:t.isOpenHref,callback:function(e){t.isOpenHref=e},expression:"isOpenHref"}},[[i("Href",{attrs:{func:!1,changeConfig:t.changeHref,config:t.carouselpicConfig.list[t.setIndex]}})]],2)]],2)},Ot=[];function kt(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function wt(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?kt(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):kt(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var St={props:{config:{type:Object},changeConfig:{type:Function,default:function(){}}},components:{PhotoGallery:A,Href:k},data:function(){return{maxAddImgsNum:10,carouselpicConfig:{acraoAffix:this.config.acraoAffix,acraoStyle:this.config.acraoStyle,id:this.config.id,type:"swiper",swiper_type:"spot",list:[],style:{width:100,height:300},display_time:1e3,switching_speed:500,swiper_params:{pagination:"分页器",navigation:"前进后退按钮",effects:"切换效果"}},atConfigImgList:[],atConfigHref:{},close:D.a,isAddImgs:!1,isOpenHref:!1,setIndex:0,imgHref:"",bannerStyle:[{type:"spot",text:"分页器"},{type:"arrow",text:"前进后退按钮"},{type:"sidebar",text:"切换边栏效果"}],bannerSize:"default",swiperSet:"default"}},watch:{config:{handler:function(t,e){this.carouselpicConfig=JSON.parse(JSON.stringify(this.config))},deep:!0}},methods:{okHref:function(){this.carouselpicConfig=JSON.parse(JSON.stringify(this.atConfigHref)),this.changeConfig(this.carouselpicConfig)},changeHref:function(t){this.atConfigHref=JSON.parse(JSON.stringify(this.carouselpicConfig)),this.atConfigHref.list[this.setIndex]=t},okImg:function(){this.carouselpicConfig.list=JSON.parse(JSON.stringify(this.atConfigImgList)),this.changeConfig(this.carouselpicConfig)},changeImgList:function(t){this.atConfigImgList=t.map((function(t){return wt(wt({},t),{},{id:t.id,url:t.pic_url,href:"",openType:"original",hrefType:"none",title:"",text:""})}))},changeRadioSize:function(t){"default"==t&&(this.carouselpicConfig.style.width="100",this.carouselpicConfig.style.height="300")},closeImg:function(t){this.setIndex>this.carouselpicConfig.list.length-2&&this.carouselpicConfig.list.length>1&&(this.setIndex=this.carouselpicConfig.list.length-2),this.carouselpicConfig.list.splice(t,1),this.atConfigImgList=JSON.parse(JSON.stringify(this.carouselpicConfig.list)),this.changeConfig(this.carouselpicConfig)},setImg:function(t){this.setIndex=t},checkBannerType:function(t){this.carouselpicConfig.swiper_type=t,this.changeConfig(this.carouselpicConfig)},changeInp:function(){this.carouselpicConfig.display_time=~~this.carouselpicConfig.display_time,this.carouselpicConfig.switching_speed=~~this.carouselpicConfig.switching_speed,console.log("changeInp:",this.carouselpicConfig.display_time,this.carouselpicConfig.switching_speed),this.changeConfig(this.carouselpicConfig)}},mounted:function(){this.recoverConfig=JSON.parse(JSON.stringify(this.config)),this.atConfigImgList=JSON.parse(JSON.stringify(this.config.list)),this.atConfigHref=JSON.parse(JSON.stringify(this.config)),this.carouselpicConfig.list=this.atConfigImgList},updated:function(){}},Lt=St,jt=(i("dac4"),Object(I["a"])(Lt,It,Ot,!1,null,"35538fb4",null)),Nt=jt.exports,Mt=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("Modal",{attrs:{title:"图库",width:"640","class-name":"vertical-center-modal","mask-closable":!1},on:{"on-ok":t.okImg},model:{value:t.imgsModal,callback:function(e){t.imgsModal=e},expression:"imgsModal"}},[[i("PhotoGallery",{attrs:{maxNum:t.addImgsNum,changeConfig:t.changeImgList,atConfigImgList:t.atConfigImgList}})]],2),i("Modal",{attrs:{title:"文本",width:"680","class-name":"vertical-center-modal","mask-closable":!1},on:{"on-ok":t.okTxt},model:{value:t.txtModal,callback:function(e){t.txtModal=e},expression:"txtModal"}},[t.txtModal?[i("TextModal",{attrs:{type:"currentTxt",texxx:t.texxx},on:{sendHtml:t.getHtml}})]:t._e()],2),i("Form",[i("FormItem",{attrs:{label:"添加图片:"}},[i("div",{staticClass:"picbox-wrap",attrs:{model:t.imgstextConfig.list}},[t.imgstextConfig.list.length<t.addImgsNum?i("div",{staticClass:"addicon-box",on:{click:function(e){t.imgsModal=!0}}},[i("Icon",{attrs:{type:"ios-add",size:"55",color:"#d9d9d9"}})],1):t._e(),t._l(t.imgstextConfig.list,(function(e,n){return i("div",{directives:[{name:"show",rawName:"v-show",value:t.imgstextConfig.list.length,expression:"imgstextConfig.list.length"}],key:n,staticClass:"pic-wrap"},[i("img",{staticStyle:{width:"100%",height:"100%"},attrs:{src:e.url,alt:""}}),i("img",{staticClass:"close-icon",attrs:{src:t.closeIcon,alt:""},on:{click:function(e){return t.closeImg(n)}}})])}))],2)]),t._l(t.txtList.slice(0,t.imgstextConfig.list.length),(function(e,n){return i("FormItem",{key:n,attrs:{label:"文字"+(n+1)}},[i("div",{staticClass:"showHtmlText ql-editor",domProps:{innerHTML:t._s(e.html)}}),i("Button",{staticStyle:{padding:"2px 15px",marginLeft:"0px",background:"#1890FF",color:"#fff"},on:{click:function(e){return t.showTxtModal(n)}}},[t._v("编辑")])],1)})),i("CellGroup",[i("Cell",{staticClass:"edititems-style",attrs:{title:"横幅样式"}},[i("Icon",{attrs:{slot:"extra",type:"md-arrow-dropdown"},slot:"extra"})],1)],1),i("RadioGroup",{staticClass:"picstyle-radios",attrs:{type:"button"},on:{"on-change":t.changeStyle},model:{value:t.imgstextConfig.image_text_type,callback:function(e){t.$set(t.imgstextConfig,"image_text_type",e)},expression:"imgstextConfig.image_text_type"}},[i("Radio",{staticClass:"style-radio",attrs:{label:"imgstextone",border:""}},[i("div",{staticClass:"img-left-partone"}),i("div",{staticClass:"img-text-styleone"},[i("span",[t._v("描述文字")]),i("span",[t._v("描述文字")])])]),i("Radio",{staticClass:"style-radio",attrs:{label:"imgstexttwo",border:""}},[i("div",{staticClass:"img-text-styleone"},[i("span",[t._v("描述文字")]),i("span",[t._v("描述文字")])]),i("div",{staticClass:"img-right-partone"})]),i("Radio",{staticClass:"style-radio",attrs:{label:"imgstextthree",border:""}},[i("div",{staticClass:"neat-four-wrap"},[i("div",{staticClass:"neat-four-img"},[i("i",{staticClass:"img-top-partone"}),i("i",{staticClass:"img-top-partone"}),i("i",{staticClass:"img-top-partone"}),i("i",{staticClass:"img-top-partone"})]),i("div",{staticClass:"neat-four-text"},[i("span",[t._v("文字")]),i("span",[t._v("文字")]),i("span",[t._v("文字")]),i("span",[t._v("文字")])])])]),i("Radio",{staticClass:"style-radio",attrs:{label:"imgstextfour",border:""}},[i("div",{staticClass:"img-two-left"},[i("div",{staticClass:"img-little-item"}),i("div",{staticClass:"img-little-item"})]),i("div",{staticClass:"img-text-styleone"},[i("span",[t._v("描述文字")]),i("span",[t._v("描述文字")])])])],1),i("CellGroup",[i("Cell",{staticClass:"edititems-style",attrs:{title:"图片设置"}},[i("Icon",{attrs:{slot:"extra",type:"md-arrow-dropdown"},slot:"extra"})],1)],1),"1"==t.addImgsNum?i("FormItem",{attrs:{label:"图一宽度:"}},[i("i-input",{staticStyle:{width:"70px",height:"32px",textAlign:"right"},attrs:{placeholder:"......"},model:{value:t.imgstextConfig.style.picWidth0,callback:function(e){t.$set(t.imgstextConfig.style,"picWidth0",e)},expression:"imgstextConfig.style.picWidth0"}},[i("span",{staticStyle:{"line-height":"32px",fontSize:"14px",color:"#e0e0de"},attrs:{slot:"suffix"},slot:"suffix"},[t._v("%")])])],1):t._e(),"4"==t.addImgsNum?i("FormItem",{attrs:{label:"图片间距:"}},[i("RadioGroup",{on:{"on-change":t.changeSpaceToDefaltValue},model:{value:t.spaceradio,callback:function(e){t.spaceradio=e},expression:"spaceradio"}},[i("Radio",{attrs:{label:"defi"}},[t._v("默认")]),i("Radio",{attrs:{label:"self"}},[t._v("自定义")]),i("div",[i("div",{staticStyle:{display:"inline-block"}},[t._v("\n 水平间距:\n "),i("i-input",{staticStyle:{width:"70px"},attrs:{placeholder:"。。。",disabled:"defi"==t.spaceradio},on:{"on-change":function(e){return t.changeConfig(t.imgstextConfig)}},model:{value:t.imgstextConfig.style.imgLevelMargin,callback:function(e){t.$set(t.imgstextConfig.style,"imgLevelMargin",e)},expression:"imgstextConfig.style.imgLevelMargin"}},[i("span",{staticStyle:{"line-height":"32px",fontSize:"14px",color:"#e0e0de"},attrs:{slot:"suffix"},slot:"suffix"},[t._v("px")])])],1),i("div",{staticStyle:{display:"inline-block","padding-left":"30px"}},[t._v("\n 垂直间距:\n "),i("i-input",{staticStyle:{width:"70px"},attrs:{placeholder:"。。。",disabled:"defi"==t.spaceradio},on:{"on-change":function(e){return t.changeConfig(t.imgstextConfig)}},model:{value:t.imgstextConfig.style.imgVerticalMargin,callback:function(e){t.$set(t.imgstextConfig.style,"imgVerticalMargin",e)},expression:"imgstextConfig.style.imgVerticalMargin"}},[i("span",{staticStyle:{"line-height":"32px",fontSize:"14px",color:"#e0e0de"},attrs:{slot:"suffix"},slot:"suffix"},[t._v("px")])])],1)])],1)],1):t._e(),"2"==t.addImgsNum?i("div",[i("FormItem",{staticClass:"half-block",attrs:{label:"图一宽度:"}},[i("i-input",{staticStyle:{width:"70px",height:"32px",textAlign:"right"},attrs:{placeholder:"......"},model:{value:t.imgstextConfig.style.picWidth0,callback:function(e){t.$set(t.imgstextConfig.style,"picWidth0",e)},expression:"imgstextConfig.style.picWidth0"}},[i("span",{staticStyle:{"line-height":"32px",fontSize:"14px",color:"#e0e0de"},attrs:{slot:"suffix"},slot:"suffix"},[t._v("%")])])],1),i("FormItem",{staticClass:"half-block",attrs:{label:"图二宽度:"}},[i("i-input",{staticStyle:{width:"70px",height:"32px",textAlign:"right"},attrs:{placeholder:"......"},model:{value:t.imgstextConfig.style.picWidth1,callback:function(e){t.$set(t.imgstextConfig.style,"picWidth1",e)},expression:"imgstextConfig.style.picWidth1"}},[i("span",{staticStyle:{"line-height":"32px",fontSize:"14px",color:"#e0e0de"},attrs:{slot:"suffix"},slot:"suffix"},[t._v("%")])])],1)],1):t._e()],2)],1)},Pt=[];function At(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function Rt(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?At(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):At(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var Tt={props:{config:{type:Object},changeConfig:{type:Function,default:function(){}}},data:function(){return{addImgsNum:1,spaceradio:"defi",imgsModal:!1,txtModal:!1,imgstextConfig:{acraoAffix:this.config.acraoAffix,acraoStyle:this.config.acraoStyle,id:this.config.id,type:"imageText",image_text_type:"imgstextone",list:[],style:{picWidth0:50,picWidth1:50,imgLevelMargin:20,imgVerticalMargin:20}},closeIcon:D.a,atConfigImgList:[],txtList:[{label:"文字一",html:""},{label:"文字二",html:""},{label:"文字三",html:""},{label:"文字四",html:""}],currentHtml:"",currentModel:0,texxx:""}},components:{PhotoGallery:A,TextModal:ht["a"]},methods:{showTxtModal:function(t){this.txtModal=!this.txtModal,this.currentModel=t,this.texxx=this.txtList[t]["html"]},okTxt:function(){this.txtList[this.currentModel]["html"]=this.currentHtml,this.imgstextConfig.list[this.currentModel]["text"]=this.currentHtml,this.changeConfig(this.imgstextConfig)},getHtml:function(t){this.currentHtml=t},okImg:function(){this.imgstextConfig.list=JSON.parse(JSON.stringify(this.atConfigImgList)),this.changeConfig(this.imgstextConfig)},changeImgList:function(t){this.atConfigImgList=t.map((function(t){return Rt(Rt({},t),{},{id:t.id,url:t.pic_url,href:"",openType:"original",hrefType:"none",title:"",text:t.text})}))},closeImg:function(t){this.imgstextConfig.list.splice(t,1),this.atConfigImgList=JSON.parse(JSON.stringify(this.imgstextConfig.list));var e=this.txtList.map((function(t,e){return Rt(Rt({},t),{},{html:""})}));this.txtList=e},changeSpaceToDefaltValue:function(t){"defi"==t&&(this.imgstextConfig.style.imgLevelMargin=20,this.imgstextConfig.style.imgVerticalMargin=20,this.changeConfig(this.imgstextConfig))},changeStyle:function(t){this.atConfigImgList=[],this.imgstextConfig.image_type=t,"imgstextone"==t&&(this.addImgsNum=1,this.imgstextConfig.image_text_type="imgstextone"),"imgstexttwo"==t&&(this.addImgsNum=1,this.imgstextConfig.image_text_type="imgstexttwo"),"imgstextthree"==t&&(this.addImgsNum=4,this.imgstextConfig.image_text_type="imgstextthree"),"imgstextfour"==t&&(this.addImgsNum=2,this.imgstextConfig.image_text_type="imgstextfour"),this.atConfigImgList=[],this.imgstextConfig.list=[],this.txtList=[{label:"文字一",html:""},{label:"文字二",html:""},{label:"文字三",html:""},{label:"文字四",html:""}],this.currentHtml="",this.texxx="",this.changeConfig(this.imgstextConfig)}},mounted:function(){var t=this;this.recoverConfig=JSON.parse(JSON.stringify(this.config)),this.atConfigImgList=JSON.parse(JSON.stringify(this.config.list)),this.imgstextConfig.list=this.atConfigImgList,this.imgstextConfig=this.recoverConfig,this.imgstextConfig.list.map((function(e,i){t.txtList[i]["html"]=e.text})),"imgstextone"==this.imgstextConfig.image_text_type&&(this.addImgsNum=1),"imgstexttwo"==this.imgstextConfig.image_text_type&&(this.addImgsNum=1),"imgstextthree"==this.imgstextConfig.image_text_type&&(this.addImgsNum=4),"imgstextfour"==this.imgstextConfig.image_text_type&&(this.addImgsNum=2)},updated:function(){var t=this;this.imgstextConfig.list.map((function(e,i){t.txtList[i]["html"]=e.text}))}},Ht=Tt,Jt=(i("5e65"),Object(I["a"])(Ht,Mt,Pt,!1,null,"aa6f479e",null)),Ft=Jt.exports;function zt(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function $t(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?zt(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):zt(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var Dt={props:{startIndex:{type:Number,default:0},endIndex:{type:Number,default:1},config:{type:Object,default:function(){return{}}},deleteModule:{type:Function,default:function(){}},moveModule:{type:Function,default:function(){}},changeModule:{type:Function,default:function(){}}},components:{Acrao:u["a"],Banner:U,Edittext:ht["a"],Dialogacrao:J,Dialogbutton:Z,UploadPic:ut,EditMultiPic:yt,EditCarousePic:Nt,EditImageText:Ft,Dialogform:rt},computed:$t({},Object(d["e"])({formList:function(t){return t.template.formList}})),data:function(){return{isdel:!1,isAcrao:!1,atConfig:{},acraoIndex:0}},mounted:function(){this.atConfig=JSON.parse(JSON.stringify(this.config))},methods:$t({changeConfig:function(t){this.acraoIndex=this.atConfig.acraoList.findIndex((function(e){return e.id==t.id})),this.atConfig.acraoList[this.acraoIndex]=t},changeAcrao:function(t){this.atConfig.acraoList=Object(g["a"])(t)},compileModule:function(t){this.isdel=!0},compileAcrao:function(){this.isAcrao=!0},ok:function(){var t=this,e=JSON.parse(JSON.stringify(this.atConfig));console.log(e,"数据修改了configconfigconfigconfig");var i=this.formList.filter((function(i){return i.value==e.acraoList[t.acraoIndex].formName}));this.saveSelectFormList(i),this.changeModule(e),this.$Message.success("保存成功!")}},Object(d["d"])({saveSelectFormList:"template/saveSelectFormList"}))},Et=Dt,Bt=(i("25b0"),Object(I["a"])(Et,l,f,!1,null,"163a5498",null)),Gt=Bt.exports;function Wt(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,n)}return i}function Vt(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Wt(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Wt(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var Ut={data:function(){return{moduleIndex:0,moduleList:[]}},components:{Module:Gt},computed:Vt(Vt({},Object(d["e"])({selectFormList:function(t){return t.template.selectFormList}})),Object(d["c"])({moduleConfigList:"template/getModuleConfigList",moduleNavList:"template/getModuleNavList"})),mounted:function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.getOss();case 2:return t.next=4,this.getForm();case 4:this.getTemplateConfig();case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),methods:Vt({getTemplateConfig:function(){var t=this,e=this.$route.query.template_code;Object(v["c"])(e).then((function(e){if(200==e.status&&0==e.data.status){var i=e.data.data;i&&i.template_content&&(t.moduleList=JSON.parse(c.a.inflate(i.template_content,{to:"string"})).list,t.moduleList.forEach((function(e){e.id>t.moduleIndex&&(t.moduleIndex=e.id+1)})))}}))},gotoPreview:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this.$router.resolve({path:t,query:e});window.open(i.href,"_blank")},saveModuleList:function(t){var e=this,i=c.a.deflate(JSON.stringify({list:this.moduleList}),{to:"string"}),n={code:this.$route.query.template_code,template_content:i,form_id:this.selectFormList[0]?this.selectFormList[0].value:""};Object(v["b"])(n).then((function(i){200==i.status&&0==i.data.status?(e.$Message.success("保存成功!"),t&&e.gotoPreview("/previewpage",{template_code:e.$route.query.template_code})):e.$Message.error("保存失败!")}))},addMdule:function(t){var e=this.getModulePage(t.type);if("form"!=t.type||-1==this.moduleList.findIndex((function(t){return"form"==t.type}))){if(e.length){var i=[Vt(Vt({},e[0]),{},{id:this.moduleIndex,acraoStyle:{background:"#fff",paddingLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0},acraoAffix:"default"})];this.moduleIndex++,this.moduleList.push({id:this.moduleIndex,title:t.name,type:t.type,acraoList:i})}}else this.$Message.warning("一个模板,只能添加一个表单!")},deleteModule:function(t){var e=this.getModuleIndex(t);this.moduleList.splice(e,1)},moveModule:function(t,e){var i=this.getModuleIndex(t);this.moduleList[i]="up"==e?this.moduleList.splice(i-1,1,this.moduleList[i])[0]:this.moduleList.splice(i+1,1,this.moduleList[i])[0]},changeModule:function(t){var e=this.getModuleIndex(t.id);this.moduleList[e].acraoList=t.acraoList},getModulePage:function(t){return this.moduleConfigList.filter((function(e,i){return e.type.trim()==t.trim()}))},getModuleIndex:function(t){var e=this.moduleList.findIndex((function(e){return e.id==t}));return e},goBack:function(){var t=this;this.$Modal.confirm({title:"系统提示",content:"<p>发现您有未保存的内容,是否进行保存并返回?</p>",okText:"保存并返回",cancelText:"直接返回",loading:!0,onOk:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var i,n;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=c.a.deflate(JSON.stringify({list:t.moduleList}),{to:"string"}),n={code:t.$route.query.template_code,template_content:i},e.next=4,Object(v["b"])(n).then((function(e){200==e.status&&0==e.data.status?(t.$Message.success("保存成功!"),t.$router.go(-1)):t.$Message.error("保存失败,请重试!")}));case 4:t.$Modal.remove();case 5:case"end":return e.stop()}}),e)})));function i(){return e.apply(this,arguments)}return i}(),onCancel:function(){t.$router.go(-1)}})}},Object(d["b"])({getOss:"template/getOss",getForm:"template/getForm"}))},qt=Ut,Kt=(i("15bc"),Object(I["a"])(qt,n,a,!1,null,"0094ffe1",null));e["default"]=Kt.exports},"97fc":function(t,e,i){},a11a:function(t,e,i){},b68f:function(t,e,i){},be9e:function(t,e,i){"use strict";var n=i("a11a"),a=i.n(n);a.a},cbef:function(t,e,i){"use strict";var n=i("6b7b"),a=i.n(n);a.a},cca3:function(t,e,i){"use strict";var n=i("4e6d"),a=i.n(n);a.a},cfd8:function(t,e,i){},dac4:function(t,e,i){"use strict";var n=i("2040"),a=i.n(n);a.a},e55b:function(t,e,i){},fd9c:function(t,e,i){"use strict";var n=i("97fc"),a=i.n(n);a.a},fed1:function(t,e,i){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-9c997554"],{"15bc":function(t,e,i){"use strict";var a=i("fed1"),n=i.n(a);n.a},"16e2":function(t,e,i){},"1a16":function(t,e,i){"use strict";var a=i("c252"),n=i.n(a);n.a},"1aff":function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABwAAAAcCAYAAAByDd+UAAACEklEQVRIS8WWz0sVURTHP0dtF7YILSqDoLLITUFYi/JHtFdqzFq16S+QduHLR63a2Cb6C0QaBffCE3Hhg6AWovZaFCgG/mrhaxdx4s7M643z3p2ZpzLNbrjn3M8953zPvUdI8ekw1/nDAMId4CzKGc9N+AFsoCzQzIxM8jlpO4kzUIeHwCugM2mjYL0EvBCXKZt9XaA6XECYQLmVErTfTCiiPBGX71H/GqA69ADTwMkDwapOu8ADcZkP77MP6MGEWZRjh4T57sJvlPth6D+gl0b4eASRRc9qIr1ZSW8VOMTigWuWlA6hKB+47QcNBGp0k/wOue4Y9VaAX6zSf/YeTl+Et49hb7s+88QpGJmGnxsw/sh2rpK4XJGgqT9ZTz9agK4+WFuC/L1aqIHl5uDcVVhdgNxdeyKauSHqMAaMWq1a2yFXgI5rtdAwbH0Zxvphbysu83nRIQoofbH1qQeVpmpk6WBGMXMGWEK5nCiIKLSpxU9jWpgv0a8mpWXgeCLQGISh5r8RmA/41RgwXDPjboRk6lbeSXVeoJw+pVGBqML5rsagXkrTiKaeGlFfNBX1ponUE01SW8RJv7WtUWg+ufFfF+FSt10gYSGtzMPL3vjGD+5S+9X2fAZMJG8G7U1toCNTsPkN3j2Nv9r+y+XtQbN8noIos32AA2h2I0al0pkOUSFodmNiWNOZDcLRRjrKUf8vBHT65lhrLtYAAAAASUVORK5CYII="},2040:function(t,e,i){},"25b0":function(t,e,i){"use strict";var a=i("6f50"),n=i.n(a);n.a},"2ee2":function(t,e,i){},"5e65":function(t,e,i){"use strict";var a=i("6766"),n=i.n(a);n.a},6766:function(t,e,i){},"6b7b":function(t,e,i){},"6d06":function(t,e,i){"use strict";var a=i("e55b"),n=i.n(a);n.a},"6f50":function(t,e,i){},"7ec1":function(t,e,i){"use strict";var a=i("cfd8"),n=i.n(a);n.a},8849:function(t,e,i){"use strict";var a=i("2ee2"),n=i.n(a);n.a},8877:function(t,e,i){"use strict";i.r(e);var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"module"},[i("div",{staticClass:"new_module"},[i("h3",[t._v("新增模块")]),t._l(t.moduleNavList,(function(e){return i("div",{key:e.id},[i("div",{staticClass:"module_title"},[i("div",{staticClass:"module_title_line"}),i("p",[t._v(t._s(e.title))])]),i("div",{staticClass:"basics_module"},t._l(e.navList,(function(e){return i("div",{key:e.type,staticClass:"basics_module_item",on:{click:function(i){return t.addMdule(e)}}},[i("div",{staticClass:"basics_module_item_main"},[i("svg-icon",{attrs:{"icon-class":e.icon}}),i("p",[t._v(t._s(e.name))])],1)])})),0)])}))],2),i("div",{staticClass:"my_module test-1"},[i("div",{staticClass:"my_module_nav"},[i("h3",[t._v("我的模块")]),i("div",[i("button",{on:{click:t.goBack}},[t._v("返回")]),i("button",{on:{click:function(e){return t.saveModuleList(!1)}}},[t._v("保存")]),i("button",{on:{click:function(e){return t.saveModuleList(!0)}}},[t._v("保存并预览")])])]),t.moduleList.length?t._l(t.moduleList,(function(e){return i("Module",{key:e.id,attrs:{config:e,startIndex:t.moduleList[0].id,endIndex:t.moduleList[t.moduleList.length-1].id,deleteModule:t.deleteModule,moveModule:t.moveModule,changeModule:t.changeModule}})})):[i("div",{staticClass:"my_module_tip"},[i("svg-icon",{attrs:{"icon-class":"left"}}),i("p",[t._v("请点击左侧组件进行添加")])],1)]],2)])},n=[],s=(i("5ab2"),i("e10e"),i("cc57"),i("e204"),i("6d57"),i("6a61"),i("cf7f")),o=i("ce3c"),r=i("759e"),c=i.n(r),l=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"my_module_item"},[t._l(t.config.acraoList,(function(t){return i("Acrao",{key:t.id,attrs:{config:t}})})),i("div",{staticClass:"my_module_item_title"},[t._v(t._s(t.config.title))]),i("div",{staticClass:"my_module_item_set"},[i("button",{on:{click:function(e){return t.compileModule(t.config)}}},[t._v("编辑")]),i("button",{on:{click:function(e){return t.compileAcrao(t.config)}}},[t._v("通栏")]),t.config.id!=t.startIndex?i("button",{on:{click:function(e){return t.moveModule(t.config.id,"up")}}},[t._v("上移")]):t._e(),t.config.id!=t.endIndex?i("button",{on:{click:function(e){return t.moveModule(t.config.id,"down")}}},[t._v("下移")]):t._e(),i("button",{on:{click:function(e){return t.deleteModule(t.config.id)}}},[t._v("删除")])]),[i("Modal",{attrs:{title:"编辑",width:"text"==t.config.type?"auto":"650","class-name":"vertical-center-modal","mask-closable":!1},on:{"on-ok":t.ok},model:{value:t.isdel,callback:function(e){t.isdel=e},expression:"isdel"}},["banner"==t.config.type?[i("Banner",{attrs:{config:t.config.acraoList[0],changeConfig:t.changeConfig}})]:t._e(),"text"==t.config.type?[i("Edittext",{attrs:{config:t.config.acraoList[0],changeConfig:t.changeConfig}})]:t._e(),"listImage"==t.config.type?[i("EditMultiPic",{attrs:{config:t.config.acraoList[0],changeConfig:t.changeConfig}})]:t._e(),"image"==t.config.type?[i("UploadPic",{attrs:{config:t.config.acraoList[0],popup:this.$refs.popup,changeConfig:t.changeConfig}})]:t._e(),"swiper"==t.config.type?[i("EditCarousePic",{attrs:{config:t.config.acraoList[0],changeConfig:t.changeConfig}})]:t._e(),"imageText"==t.config.type?[i("EditImageText",{attrs:{config:t.config.acraoList[0],changeConfig:t.changeConfig}})]:t._e(),"button"==t.config.type?[i("Dialogbutton",{attrs:{config:t.config.acraoList[0],changeConfig:t.changeConfig}})]:t._e(),"form"==t.config.type?[i("Dialogform",{attrs:{config:t.config.acraoList[0],changeConfig:t.changeConfig}})]:t._e()],2)],[i("Modal",{attrs:{title:"通栏",width:"640","class-name":"vertical-center-modal","mask-closable":!1},on:{"on-ok":t.ok},model:{value:t.isAcrao,callback:function(e){t.isAcrao=e},expression:"isAcrao"}},[i("Dialogacrao",{attrs:{config:t.config.acraoList,changeAcrao:t.changeAcrao}})],1)]],2)},f=[],g=i("5748"),d=(i("163d"),i("9f3a")),u=i("8586"),h=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.atConfig[t.acraoIndex]?i("div",{staticClass:"dialog_acrao"},[i("div",{staticClass:"dialog_acrao_item"},[i("div",{staticClass:"dialog_acrao_item_left"},[t._v("\n 通栏样式:\n ")]),i("div",{staticClass:"dialog_acrao_item_right"},t._l(t.atConfig,(function(e,a){return i("div",{key:a,class:["dialog_acrao_addpic",a==t.acraoIndex&&"activeAcrao"],on:{click:function(e){return t.handleClickAcrao(a)}}})})),0)]),i("div",{staticClass:"dialog_acrao_title"},[i("h3",[t._v("通栏样式")]),i("Icon",{attrs:{type:"md-arrow-dropdown",size:16}})],1),i("div",{staticClass:"dialog_acrao_item"},[i("div",{staticClass:"dialog_acrao_item_left"},[t._v("\n 通栏背景:\n ")]),i("div",{staticClass:"dialog_acrao_item_right"},[i("div",{staticClass:"acrao_set_radio"},[i("RadioGroup",{on:{"on-change":t.changeRadioBg},model:{value:t.acraoBgType,callback:function(e){t.acraoBgType=e},expression:"acraoBgType"}},[i("Radio",{attrs:{label:"default"}},[t._v("默认")]),i("Radio",{attrs:{label:"display"}},[t._v("隐藏")]),i("Radio",{attrs:{label:"fill"}},[t._v("颜色填充")]),i("Radio",{attrs:{label:"pic"}},[t._v("图片")])],1)],1),i("div",{staticClass:"acrao_set_detail"},["fill"==t.acraoBgType?i("div",{staticClass:"acrao_set_detail_item"},[i("span",[t._v("背景色:")]),i("ColorPicker",{attrs:{alpha:""},on:{"on-change":t.changeAcraoBg},model:{value:t.acraoColor,callback:function(e){t.acraoColor=e},expression:"acraoColor"}})],1):t._e(),"pic"==t.acraoBgType?i("div",{staticClass:"acrao_set_detail_item"},[i("span",[t._v("图片:")]),t.imgList.length?i("div",{staticClass:"acrao_set_detail_item_img",on:{click:function(e){t.isdel=!0}}},[i("img",{attrs:{src:t.imgList[0].pic_url,alt:""}})]):i("Button",{staticClass:"ivu-btn-default1",on:{click:function(e){t.isdel=!0}}},[t._v("选择图片")])],1):t._e()])])]),i("div",{staticClass:"dialog_acrao_title"},[i("h3",[t._v("通栏边距")]),i("Icon",{attrs:{type:"md-arrow-dropdown",size:16}})],1),i("div",{staticClass:"dialog_acrao_item"},[i("div",{staticClass:"dialog_acrao_item_right"},[i("div",{staticClass:"acrao_set_detail"},[i("div",{staticClass:"acrao_set_detail_item"},[i("span",[t._v("上内边距:")]),i("i-input",{staticStyle:{width:"70px",height:"32px",textAlign:"right"},on:{"on-change":t.changeInp},model:{value:t.atConfig[t.acraoIndex].acraoStyle.paddingTop,callback:function(e){t.$set(t.atConfig[t.acraoIndex].acraoStyle,"paddingTop",e)},expression:"atConfig[acraoIndex].acraoStyle.paddingTop"}},[i("span",{attrs:{slot:"suffix"},slot:"suffix"},[t._v("px")])])],1),i("div",{staticClass:"acrao_set_detail_item"},[i("span",[t._v("下内边距:")]),i("i-input",{staticStyle:{width:"70px",height:"32px",textAlign:"right"},on:{"on-change":t.changeInp},model:{value:t.atConfig[t.acraoIndex].acraoStyle.paddingBottom,callback:function(e){t.$set(t.atConfig[t.acraoIndex].acraoStyle,"paddingBottom",e)},expression:"atConfig[acraoIndex].acraoStyle.paddingBottom"}},[i("span",{attrs:{slot:"suffix"},slot:"suffix"},[t._v("px")])])],1)]),i("div",{staticClass:"acrao_set_detail"},[i("div",{staticClass:"acrao_set_detail_item"},[i("span",[t._v("左内边距:")]),i("i-input",{staticStyle:{width:"70px",height:"32px",textAlign:"right"},on:{"on-change":t.changeInp},model:{value:t.atConfig[t.acraoIndex].acraoStyle.paddingLeft,callback:function(e){t.$set(t.atConfig[t.acraoIndex].acraoStyle,"paddingLeft",e)},expression:"atConfig[acraoIndex].acraoStyle.paddingLeft"}},[i("span",{attrs:{slot:"suffix"},slot:"suffix"},[t._v("px")])])],1),i("div",{staticClass:"acrao_set_detail_item"},[i("span",[t._v("右内边距:")]),i("i-input",{staticStyle:{width:"70px",height:"32px",textAlign:"right"},on:{"on-change":t.changeInp},model:{value:t.atConfig[t.acraoIndex].acraoStyle.paddingRight,callback:function(e){t.$set(t.atConfig[t.acraoIndex].acraoStyle,"paddingRight",e)},expression:"atConfig[acraoIndex].acraoStyle.paddingRight"}},[i("span",{attrs:{slot:"suffix"},slot:"suffix"},[t._v("px")])])],1)])])]),i("div",{staticClass:"dialog_acrao_title"},[i("h3",[t._v("通栏位置")]),i("Icon",{attrs:{type:"md-arrow-dropdown",size:16}})],1),i("div",{staticClass:"dialog_acrao_item"},[i("div",{staticClass:"dialog_acrao_item_left"},[t._v("\n 通栏位置:\n ")]),i("div",{staticClass:"dialog_acrao_item_right"},[i("div",{staticClass:"acrao_set_radio"},[i("RadioGroup",{on:{"on-change":t.changeRadioAffix},model:{value:t.atConfig[t.acraoIndex].acraoAffix,callback:function(e){t.$set(t.atConfig[t.acraoIndex],"acraoAffix",e)},expression:"atConfig[acraoIndex].acraoAffix"}},[i("Radio",{attrs:{label:"default"}},[t._v("默认")]),i("Radio",{attrs:{label:"top"}},[t._v("吸顶")]),i("Radio",{attrs:{label:"bottom"}},[t._v("吸底")])],1)],1)])]),[i("Modal",{ref:"popup",attrs:{title:"编辑",width:"640","class-name":"vertical-center-modal","mask-closable":!1},on:{"on-ok":t.ok},model:{value:t.isdel,callback:function(e){t.isdel=e},expression:"isdel"}},[i("Photogallery",{attrs:{maxNum:1,changeConfig:t.changeConfig,atConfigImgList:[].concat(t.imgList)}})],1)]],2):t._e()},p=[],m=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"dialog_href"},[i("div",{staticClass:"dialog_href_item"},[i("div",{staticClass:"dialog_href_item_left"},[t._v("\n 链接设置:\n ")]),i("div",{staticClass:"dialog_href_item_right"},[i("div",{staticClass:"href_set_radio"},[i("RadioGroup",{on:{"on-change":t.changeRadioBg},model:{value:t.hrefType,callback:function(e){t.hrefType=e},expression:"hrefType"}},[i("Radio",{attrs:{label:"none"}},[t._v("无")]),i("Radio",{attrs:{label:"router"}},[t._v("站内链接")]),i("Radio",{attrs:{label:"href"}},[t._v("站外连接")]),t.func?i("Radio",{attrs:{label:"func"}},[t._v("功能")]):t._e()],1)],1)])]),"router"==t.hrefType?i("div",{staticClass:"dialog_href_item dialog_href_item2"},[i("div",{staticClass:"dialog_href_item_left"},[t._v("\n 站内链接:\n ")]),i("div",{staticClass:"dialog_href_item_right"},[i("i-input",{staticStyle:{width:"372px",height:"32px","border-radius":"1px"},on:{"on-change":t.changeInp},model:{value:t.instationHref,callback:function(e){t.instationHref=e},expression:"instationHref"}})],1)]):t._e(),"href"==t.hrefType?i("div",{staticClass:"dialog_href_item dialog_href_item2"},[i("div",{staticClass:"dialog_href_item_left"},[t._v("\n 站外链接:\n ")]),i("div",{staticClass:"dialog_href_item_right"},[i("i-input",{staticStyle:{width:"372px",height:"32px","border-radius":"1px"},attrs:{placeholder:"http://"},on:{"on-change":t.changeInp},model:{value:t.outsideHref,callback:function(e){t.outsideHref=e},expression:"outsideHref"}})],1)]):t._e(),"func"==t.hrefType?i("div",{staticClass:"dialog_href_item dialog_href_item2"},[i("div",{staticClass:"dialog_href_item_left"},[t._v("\n 网站功能:\n ")]),i("div",{staticClass:"dialog_href_item_right"},[i("Select",{staticStyle:{width:"150px",height:"32px"},on:{"on-change":t.changeRadioBg},model:{value:t.webFunc,callback:function(e){t.webFunc=e},expression:"webFunc"}},[i("Option",{attrs:{value:"service"}},[t._v("客服")]),i("Option",{attrs:{value:"subform"}},[t._v("提交表单")])],1)],1)]):t._e(),"func"==t.hrefType&&"subform"==t.webFunc?i("div",{staticClass:"dialog_href_item dialog_href_item2"},[i("div",{staticClass:"dialog_href_item_left"},[t._v("\n 选择表单:\n ")]),i("div",{staticClass:"dialog_href_item_right"},[i("Select",{staticStyle:{width:"150px",height:"32px"},on:{"on-change":t.changeRadioBg},model:{value:t.formItem,callback:function(e){t.formItem=e},expression:"formItem"}},t._l(t.selectFormList,(function(e){return i("Option",{key:e.value,attrs:{value:e.value}},[t._v(t._s(e.label))])})),1)],1)]):t._e(),"router"==t.hrefType||"href"==t.hrefType||"service"==t.webFunc&&"none"!=t.hrefType?i("div",{staticClass:"dialog_href_item"},[i("div",{staticClass:"dialog_href_item_left"},[t._v("\n 打开方式:\n ")]),i("div",{staticClass:"dialog_href_item_right"},[i("div",{staticClass:"href_set_radio"},[i("RadioGroup",{on:{"on-change":t.changeRadioBg},model:{value:t.openType,callback:function(e){t.openType=e},expression:"openType"}},[i("Radio",{attrs:{label:"original"}},[t._v("原页面打开")]),i("Radio",{attrs:{label:"blank"}},[t._v("新页面打开")])],1)],1)])]):t._e()])},_=[],v=i("6205");function C(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function b(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?C(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):C(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var x={props:{func:{type:Boolean,default:!0},config:{type:Object,default:function(){return{}}},changeConfig:{type:Function,default:function(){}}},watch:{config:{handler:function(t,e){switch(this.hrefType=this.config.hrefType,this.openType=this.config.openType,this.config.hrefType){case"none":this.instationHref="",this.outsideHref="";break;case"router":this.instationHref=this.config.href,this.outsideHref="";break;case"href":this.instationHref="",this.outsideHref=this.config.href;break;case"func":switch(this.instationHref="",this.outsideHref="",this.webFunc=this.config.function,this.config.function){case"service":break;case"subform":this.formItem=this.config.formId;break}break;default:break}},immediate:!0,deep:!0}},computed:b({},Object(d["e"])({selectFormList:function(t){return t.template.selectFormList}})),data:function(){return{hrefType:"none",openType:"original",instationHref:"",outsideHref:"",webFunc:"service",formItem:"1",current:1,pageSize:10}},mounted:function(){},methods:{changeRadioBg:function(t){this.func?this.setFuncConfig():this.setNotFuncConfig()},changeInp:function(){this.func?this.setFuncConfig():this.setNotFuncConfig()},setNotFuncConfig:function(){var t=b({},this.config);t.href="none"==this.hrefType?"":"router"==this.hrefType?this.instationHref:this.outsideHref,t.openType=this.openType,t.hrefType=this.hrefType,this.changeConfig(t)},setFuncConfig:function(){var t=b({},this.config);switch(this.hrefType){case"none":t.href="";break;case"router":t.href=this.instationHref;break;case"href":t.href=this.outsideHref;break;case"func":switch(t.function=this.webFunc,this.webFunc){case"service":t.href="https://swt.gongsibao.com/LR/Chatpre.aspx?id=MGF22027130&lng=cn&p=www.gongsibao.com&oname=%e5%85%ac%e5%8f%b8%e5%ae%9d%e5%94%ae%e5%90%8e";break;case"subform":t.href="",t.formId=this.formItem;break}break}t.openType=this.openType,t.hrefType=this.hrefType,this.changeConfig(t)}}},y=x,I=(i("8849"),i("9ca4")),O=Object(I["a"])(y,m,_,!1,null,"40e2156b",null),k=O.exports,w=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"photo_gallery"},[i("div",{staticClass:"photo_gallery_main"},[i("div",{staticClass:"photo_gallery_main_btns"},[i("Upload",{attrs:{action:t.ossConfig.url,data:t.ossConfig,"before-upload":t.handleBeforeUpload,"on-success":t.handleSuccess,format:["jpg","jpeg","png"],"on-format-error":t.handleFormatError}},[i("button",{staticClass:"uploadBtn"},[t._v("上传")])])],1),t.listImg.length?i("div",{staticClass:"photo_gallery_main_pics"},t._l(t.listImg,(function(e){return i("div",{key:e.id,class:["photo_gallery_main_pics_w",e.flag&&"photo_gallery_main_pics_w_actived"],on:{click:function(i){return t.handleImgClick(e)}}},[i("div",{staticClass:"photo_gallery_main_pics_silde"},[i("img",{attrs:{src:e.pic_url,alt:""}})]),i("div",{directives:[{name:"show",rawName:"v-show",value:e.flag,expression:"item.flag"}],staticClass:"photo_gallery_main_pics_w_dui"},[i("Icon",{attrs:{type:"ios-checkmark"}})],1)])})),0):t._e(),t.listImg.length?i("div",{staticClass:"photo_gallery_main_page"},[i("Page",{attrs:{total:t.total,current:t.current,"page-size":t.pageSize},on:{"update:current":function(e){t.current=e}}})],1):t._e(),t.listImg.length?t._e():i("div",{staticClass:"photo_gallery_main_none"},[i("svg-icon",{attrs:{"icon-class":"nonepic"}})],1)])])},S=[];i("f548"),i("9e76"),i("ed63"),i("8cf2");function L(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function j(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?L(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):L(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var N={props:{maxNum:{type:Number,default:8},applicationType:{type:Number,default:1},changeConfig:{type:Function,default:function(){}},atConfigImgList:{type:Array,default:function(){return[]}}},data:function(){return{application_type:this.applicationType,listImg:[],total:0,current:1,pageSize:20,checkedList:[]}},computed:j({},Object(d["e"])({ossConfig:function(t){return t.template.oss}})),watch:{current:function(t,e){this.getImgList(t,this.pageSize)},atConfigImgList:{handler:function(t,e){var i=this;e&&(this.checkedList=Object(g["a"])(t),this.listImg=this.listImg.map((function(t,e){return t.flag=i.includes(t),t})))},immediate:!0,deep:!0}},mounted:function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(){var e=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.getImgList(this.current,this.pageSize);case 2:this.checkedList=Object(g["a"])(this.atConfigImgList),this.listImg=this.listImg.map((function(t,i){return t.flag=e.includes(t),t}));case 4:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),methods:{handleBeforeUpload:function(t){return this.ossConfig["key"]=this.setKey(t),!0},handleSuccess:function(t,e,i){var a=this,n=/(?<=<Location>).*?(?=<\/Location>)/,s=t.match(n)[0],o=e.name,r=e.size,c={pic_url:s,name:o,pic_size:r};Object(v["a"])(c).then((function(t){0==t.status&&a.getImgList(a.current,a.pageSize)}))},handleFormatError:function(){},setKey:function(t){var e=new Date,i="zc_"+Math.round(500*Math.random())+e.getMonth()+e.getTime()+e.getFullYear()+e.getDate()+e.getHours()+e.getMinutes()+e.getSeconds()+e.getMilliseconds()+t.name.replace(" ","");return i},getImgList:function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(e,i){var a,n=this;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return a={actionType:"getImgList",actionBody:{pageInfo:{pageNo:e,pageSize:i}}},console.log(this.application_type,"获取图片列表++++++++++++++++++++++"),this.application_type&&(a.actionBody.search={application_type:this.application_type}),t.next=5,Object(v["e"])(a).then((function(t){var e=t.data.results.rows||[];n.total=t.data.results.count,n.listImg=e.map((function(t,e){return t.flag=n.includes(t),t}))}));case 5:case"end":return t.stop()}}),t,this)})));function e(e,i){return t.apply(this,arguments)}return e}(),handleImgClick:function(t){if(this.checkedList.length>=this.maxNum&&!t.flag)this.$Message.warning("您最多只能选取".concat(this.maxNum,"张图片"));else{if(t.flag=!t.flag,t.flag)this.checkedList.push(t);else{var e=this.checkedList.findIndex((function(e){return e.id==t.id}));this.checkedList.splice(e,1)}this.changeConfig(this.checkedList)}},includes:function(t){var e=this.checkedList.findIndex((function(e){return e.id==t.id}));return-1!=e}}},M=N,P=(i("ca03"),Object(I["a"])(M,w,S,!1,null,"0fe0a65c",null)),A=P.exports,T={props:{config:{type:Array,default:function(){return{}}},changeAcrao:{type:Function,default:function(){}}},components:{Href:k,Photogallery:A},data:function(){return{isdel:!1,acraoIndex:0,acraoBgType:"default",acraoBgImg:"",acraoColor:"#fff",atConfig:[],imgList:[]}},watch:{config:{handler:function(t,e){this.atConfig=JSON.parse(JSON.stringify(this.config))},deep:!0}},mounted:function(){this.atConfig=JSON.parse(JSON.stringify(this.config))},methods:{addAcrao:function(){this.atConfig.push({id:this.atConfig.length+1,acraoStyle:{background:"#fff",paddingLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0},acraoAffix:"default"}),this.configEmit()},handleClickAcrao:function(t){this.acraoIndex=t},changeRadioBg:function(t){switch(t){case"default":this.atConfig[this.acraoIndex].acraoStyle.background="#fff";break;case"display":this.atConfig[this.acraoIndex].acraoStyle.background="transparent";break;case"fill":this.atConfig[this.acraoIndex].acraoStyle.background=this.acraoColor;break;case"pic":this.atConfig[this.acraoIndex].acraoStyle.background="url(".concat(this.acraoBgImg,") center center no-repeat");break;default:break}this.configEmit()},changeAcraoBg:function(t){this.acraoColor=t,this.atConfig[this.acraoIndex].acraoStyle.background=t,this.configEmit()},changeRadioAffix:function(t){this.configEmit()},changeInp:function(){this.configEmit()},configEmit:function(){JSON.parse(JSON.stringify(this.atConfig));this.changeAcrao(this.atConfig)},changeConfig:function(t){this.imgList[0]=JSON.parse(JSON.stringify(t[0]))},ok:function(){this.atConfig[this.acraoIndex].acraoStyle.background="url('".concat(this.imgList[0].pic_url,"') center center no-repeat");var t=JSON.parse(JSON.stringify(this.atConfig));this.changeAcrao(t)}}},R=T,H=(i("be9e"),Object(I["a"])(R,h,p,!1,null,"5a361e45",null)),J=H.exports,F=function(){var t=this,e=t.$createElement,i=t._self._c||e;return t.atConfig.type?i("div",{staticClass:"dialog_banner"},[i("div",{staticClass:"dialog_banner_item"},[i("div",{staticClass:"dialog_banner_item_left"},[t._v("\n 添加图片:\n ")]),i("div",{staticClass:"dialog_banner_item_right"},[this.atConfig.list.length<8?i("div",{staticClass:"dialog_banner_addpic",on:{click:function(e){t.isdel=!0}}},[t._v("\n +\n ")]):t._e(),t._l(t.atConfig.list,(function(e,a){return i("div",{key:a,staticClass:"dialog_banner_img"},[i("img",{attrs:{src:e.url,alt:""}}),i("img",{staticClass:"banner_close",attrs:{src:t.close,alt:""},on:{click:function(e){return t.closeImg(a)}}}),i("div",{staticClass:"banner_set",on:{click:function(e){return t.setImg(a)}}},[t._v("编辑")])])}))],2)]),t.atConfig.list.length?i("div",{staticClass:"dialog_banner_item"},[i("div",{staticClass:"dialog_banner_item_left"},[t._v("\n 选图链接:\n ")]),i("div",{staticClass:"dialog_banner_item_right"},[i("i-input",{staticStyle:{"max-width":"372px",height:"32px",marginLeft:"10px"},attrs:{readonly:""},model:{value:t.atConfig.list[t.setIndex].href,callback:function(e){t.$set(t.atConfig.list[t.setIndex],"href",e)},expression:"atConfig.list[setIndex].href"}}),i("i-button",{on:{click:function(e){t.ishref=!0}}},[t._v("设置")])],1)]):t._e(),t._l(t.atConfig.list,(function(e,a){return i("div",{key:e.id},[i("div",{staticClass:"dialog_banner_item"},[i("div",{staticClass:"dialog_banner_item_left"},[t._v("标题"+t._s(a+1)+":")]),i("div",{staticClass:"dialog_banner_item_right"},[i("i-input",{staticStyle:{"max-width":"372px",height:"32px",marginLeft:"10px"},on:{"on-change":t.changeInp},model:{value:t.atConfig.list[a].title,callback:function(e){t.$set(t.atConfig.list[a],"title",e)},expression:"atConfig.list[index].title"}})],1)]),i("div",{staticClass:"dialog_banner_item"},[i("div",{staticClass:"dialog_banner_item_left"},[t._v("描述"+t._s(a+1)+":")]),i("div",{staticClass:"dialog_banner_item_right"},[i("i-input",{staticStyle:{"max-width":"372px",height:"32px",marginLeft:"10px"},on:{"on-change":t.changeInp},model:{value:t.atConfig.list[a].text,callback:function(e){t.$set(t.atConfig.list[a],"text",e)},expression:"atConfig.list[index].text"}})],1)])])})),i("div",{staticClass:"dialog_banner_title"},[i("h3",[t._v("横幅样式")]),i("Icon",{attrs:{type:"md-arrow-dropdown",size:16}})],1),i("div",{staticClass:"dialog_banner_style"},t._l(t.bannerStyle,(function(e,a){return i("div",{key:a,class:t.atConfig.text_style.alignItems==e.type?"dialog_banner_style_item_active":"dialog_banner_style_item",on:{click:function(i){return t.checkBannerType(e.type)}}},[i("div",{staticClass:"style_main",style:{alignItems:e.type}},[i("h3",[t._v(t._s(e.title))]),i("p",[t._v(t._s(e.text))])])])})),0),i("div",{staticClass:"dialog_banner_title"},[i("h3",[t._v("图片设置")]),i("Icon",{attrs:{type:"md-arrow-dropdown",size:16}})],1),i("div",{staticClass:"dialog_banner_item"},[i("div",{staticClass:"dialog_banner_item_left"},[t._v("\n 横幅大小:\n ")]),i("div",{staticClass:"dialog_banner_item_right"},[i("div",{staticClass:"banner_set_radio"},[i("RadioGroup",{on:{"on-change":t.changeRadioSize},model:{value:t.bannerSize,callback:function(e){t.bannerSize=e},expression:"bannerSize"}},[i("Radio",{attrs:{label:"default"}},[t._v("默认")]),i("Radio",{attrs:{label:"custom"}},[t._v("自定义")])],1)],1),i("div",{directives:[{name:"show",rawName:"v-show",value:"default"!=t.bannerSize,expression:"bannerSize != 'default'"}],staticClass:"banner_set_detail"},[i("div",{staticClass:"banner_set_detail_item"},[i("span",[t._v("宽度:")]),i("i-input",{staticStyle:{width:"70px",height:"32px",textAlign:"right"},on:{"on-change":t.changeInp},model:{value:t.atConfig.style.width,callback:function(e){t.$set(t.atConfig.style,"width",e)},expression:"atConfig.style.width"}},[i("span",{attrs:{slot:"suffix"},slot:"suffix"},[t._v("px")])])],1),i("div",{staticClass:"banner_set_detail_item"},[i("span",[t._v("高度:")]),i("i-input",{staticStyle:{width:"70px",height:"32px",textAlign:"right"},on:{"on-change":t.changeInp},model:{value:t.atConfig.style.height,callback:function(e){t.$set(t.atConfig.style,"height",e)},expression:"atConfig.style.height"}},[i("span",{attrs:{slot:"suffix"},slot:"suffix"},[t._v("px")])])],1)])])]),i("div",{staticClass:"dialog_banner_item"},[i("div",{staticClass:"dialog_banner_item_left"},[t._v("\n 轮播设置:\n ")]),i("div",{staticClass:"dialog_banner_item_right"},[i("div",{staticClass:"banner_set_radio"},[i("RadioGroup",{model:{value:t.swiperSet,callback:function(e){t.swiperSet=e},expression:"swiperSet"}},[i("Radio",{attrs:{label:"default"}},[t._v("默认")]),i("Radio",{attrs:{label:"custom"}},[t._v("自定义")])],1)],1),i("div",{directives:[{name:"show",rawName:"v-show",value:"default"!=t.swiperSet,expression:"swiperSet != 'default'"}],staticClass:"banner_set_detail"},[i("div",{staticClass:"banner_set_detail_item"},[i("span",[t._v("展示时间:")]),i("i-input",{staticStyle:{width:"70px",height:"32px",textAlign:"right"},on:{"on-change":t.changeInp},model:{value:t.atConfig.display_time,callback:function(e){t.$set(t.atConfig,"display_time",e)},expression:"atConfig.display_time"}},[i("span",{attrs:{slot:"suffix"},slot:"suffix"},[t._v("s")])])],1),i("div",{staticClass:"banner_set_detail_item"},[i("span",[t._v("切换速度:")]),i("i-input",{staticStyle:{width:"70px",height:"32px",textAlign:"right"},on:{"on-change":t.changeInp},model:{value:t.atConfig.switching_speed,callback:function(e){t.$set(t.atConfig,"switching_speed",e)},expression:"atConfig.switching_speed"}},[i("span",{attrs:{slot:"suffix"},slot:"suffix"},[t._v("s")])])],1)])])]),[i("Modal",{attrs:{title:"图库",width:"680","class-name":"vertical-center-modal","mask-closable":!1},on:{"on-ok":t.okImg},model:{value:t.isdel,callback:function(e){t.isdel=e},expression:"isdel"}},["banner"==t.config.type?[i("PhotoGallery",{attrs:{maxNum:8,changeConfig:t.changeImgList,atConfigImgList:t.atConfigImgList}})]:t._e()],2)],[i("Modal",{ref:"popup",attrs:{title:"链接",width:"650","class-name":"vertical-center-modal","mask-closable":!1},on:{"on-ok":t.okHref},model:{value:t.ishref,callback:function(e){t.ishref=e},expression:"ishref"}},[[i("Href",{attrs:{func:!1,changeConfig:t.changeHref,config:t.atConfig.list[t.setIndex]}})]],2)]],2):t._e()},z=[],$=i("1aff"),D=i.n($);function E(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function B(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?E(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):E(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var G={props:{config:{type:Object,default:function(){return{}}},changeConfig:{type:Function,default:function(){}}},components:{PhotoGallery:A,Href:k},data:function(){return{close:D.a,imgIndex:0,setIndex:0,modal1:!1,atConfig:{},atConfigImg:{},atConfigHref:{},imgHref:"",bannerStyle:[{type:"center",title:"标题居中",text:"描述文字居中"},{type:"start",title:"标题左对齐",text:"描述文字居左"}],bannerSize:"default",swiperSet:"default",isdel:!1,ishref:!1}},mounted:function(){this.atConfig=JSON.parse(JSON.stringify(this.config)),this.atConfigImgList=JSON.parse(JSON.stringify(this.config.list)),this.atConfigHref=JSON.parse(JSON.stringify(this.config))},watch:{config:{handler:function(t,e){this.atConfig=JSON.parse(JSON.stringify(this.config))},deep:!0}},methods:{changeRadioSize:function(t){"default"==t&&(this.atConfig.style.width="1000",this.atConfig.style.hright="300")},changeImgList:function(t){this.atConfigImgList=t.map((function(t){return B(B({},t),{},{id:t.id,url:t.pic_url,href:"",openType:"original",hrefType:"none",title:"",text:""})}))},closeImg:function(t){this.setIndex>this.atConfig.list.length-2&&this.atConfig.list.length>1&&(this.setIndex=this.atConfig.list.length-2),this.atConfig.list.splice(t,1),this.atConfigImgList=JSON.parse(JSON.stringify(this.atConfig.list)),this.changeConfig(this.atConfig)},setImg:function(t){this.setIndex=t},checkBannerType:function(t){this.atConfig.text_style.alignItems=t,this.changeConfig(this.atConfig)},changeInp:function(){this.changeConfig(this.atConfig)},okImg:function(){this.atConfig.list=JSON.parse(JSON.stringify(this.atConfigImgList)),this.changeConfig(this.atConfig)},okHref:function(){this.atConfig=JSON.parse(JSON.stringify(this.atConfigHref)),this.changeConfig(this.atConfig)},changeHref:function(t){this.atConfigHref=JSON.parse(JSON.stringify(this.atConfig)),this.atConfigHref.list[this.setIndex]=t}}},W=G,V=(i("6d06"),Object(I["a"])(W,F,z,!1,null,"7b09bed5",null)),U=V.exports,q=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"dialog_button"},[i("div",{staticClass:"dialog_button_title"},[i("h3",[t._v("按钮样式")]),i("Icon",{attrs:{type:"md-arrow-dropdown",size:16}})],1),i("div",{staticClass:"dialog_button_btns"},t._l(t.btnList,(function(e,a){return i("div",{key:a,class:["dialog_button_btns_ite",t.btnCheckIndex==a&&"dialog_button_btns_ite_actived"],on:{click:function(e){return t.checkBtn(a)}}},[i("button",{style:e},[t._v("按钮")]),i("div",{directives:[{name:"show",rawName:"v-show",value:t.btnCheckIndex==a,expression:"btnCheckIndex == index"}],staticClass:"photo_gallery_main_pics_w_dui"},[i("Icon",{attrs:{type:"ios-checkmark"}})],1)])})),0),i("div",{staticClass:"dialog_button_title"},[i("h3",[t._v("设置文字")]),i("Icon",{attrs:{type:"md-arrow-dropdown",size:16}})],1),i("div",{staticClass:"dialog_button_item"},[i("div",{staticClass:"dialog_button_item_left"},[t._v("\n 按钮文字:\n ")]),i("div",{staticClass:"dialog_button_item_right"},[i("i-input",{staticStyle:{"max-width":"372px",height:"32px",marginLeft:"10px"},model:{value:t.atConfig.text,callback:function(e){t.$set(t.atConfig,"text",e)},expression:"atConfig.text"}})],1)]),i("div",{staticClass:"dialog_button_title"},[i("h3",[t._v("设置链接")]),i("Icon",{attrs:{type:"md-arrow-dropdown",size:16}})],1),i("div",{staticClass:"dialog_button_item"},[i("div",{staticClass:"dialog_button_item_left"},[t._v("\n 选图链接:\n ")]),i("div",{staticClass:"dialog_button_item_right"},[i("i-input",{staticStyle:{"max-width":"372px",height:"32px",marginLeft:"10px"},attrs:{readonly:""},model:{value:t.atConfig.href,callback:function(e){t.$set(t.atConfig,"href",e)},expression:"atConfig.href"}}),i("i-button",{on:{click:function(e){t.ishref=!0}}},[t._v("设置")])],1)]),i("div",{staticClass:"dialog_button_title"},[i("h3",[t._v("背景设置")]),i("Icon",{attrs:{type:"md-arrow-dropdown",size:16}})],1),i("div",{staticClass:"dialog_button_item"},[i("div",{staticClass:"dialog_button_item_left"},[t._v("\n 按钮颜色:\n ")]),i("div",{staticClass:"dialog_button_item_right"},[i("div",{staticClass:"banner_set_radio"},[i("RadioGroup",{model:{value:t.colorType,callback:function(e){t.colorType=e},expression:"colorType"}},[i("Radio",{attrs:{label:"default"}},[t._v("默认")]),i("Radio",{attrs:{label:"custom",disabled:t.btnCheckIndex>=2}},[t._v("自定义")])],1)],1),i("div",{directives:[{name:"show",rawName:"v-show",value:"default"!=t.colorType,expression:"colorType != 'default'"}],staticClass:"banner_set_detail"},[i("div",{staticClass:"banner_set_detail_item"},[i("span",[t._v("初始:")]),i("ColorPicker",{attrs:{alpha:"",disabled:t.btnCheckIndex>=2},model:{value:t.atConfig.style.background,callback:function(e){t.$set(t.atConfig.style,"background",e)},expression:"atConfig.style.background"}})],1),i("div",{staticClass:"banner_set_detail_item"},[i("span",[t._v("选中:")]),i("ColorPicker",{attrs:{alpha:"",disabled:t.btnCheckIndex>=2},model:{value:t.atConfig.hover.background,callback:function(e){t.$set(t.atConfig.hover,"background",e)},expression:"atConfig.hover.background"}})],1)])])]),[i("Modal",{ref:"popup",attrs:{title:"链接",width:"650","class-name":"vertical-center-modal","mask-closable":!1},on:{"on-ok":t.okHref},model:{value:t.ishref,callback:function(e){t.ishref=e},expression:"ishref"}},[[i("Href",{attrs:{func:!0,changeConfig:t.changeHref,config:t.atConfig}})]],2)]],2)},K=[],X={props:{config:{type:Object,default:function(){return{}}},changeConfig:{type:Function,default:function(){}}},components:{Href:k},data:function(){return{ishref:!1,btnCheckIndex:0,colorType:"default",atConfig:{},atConfigHref:{},btnList:[{index:0,background:"#333",color:"#FFF",borderColor:"#333",borderRadius:"0px"},{index:1,background:"#333",color:"#FFF",borderColor:"#333",borderRadius:"50px"},{index:2,background:"#fff",color:"#333",borderColor:"#333",borderRadius:"0px"},{index:3,background:"#fff",color:"#333",borderColor:"#333",borderRadius:"50px"}]}},watch:{atConfig:{handler:function(t,e){this.changeAtConfig()},deep:!0},colorType:function(t,e){this.changeAtConfig()}},created:function(){this.atConfig=JSON.parse(JSON.stringify(this.config)),this.atConfigHref=JSON.parse(JSON.stringify(this.config)),this.config.style.index&&this.checkBtn(this.config.style.index),"none"==this.atConfig.style.border&&(this.atConfig.style.border="none")},methods:{changeAtConfig:function(){var t=JSON.parse(JSON.stringify(this.atConfig));this.changeConfig(t)},checkBtn:function(t){this.btnCheckIndex=t,t>=2?(this.colorType="default",this.atConfig.style=JSON.parse(JSON.stringify(this.btnList[t])),this.atConfig.hover.background=this.btnList[t].background,this.atConfig.hover.borderColor=this.btnList[t].borderColor,this.atConfig.style.border="1px solid #333"):(this.atConfig.style["index"]=this.btnList[t].index,this.atConfig.style.borderRadius=this.btnList[t].borderRadius,this.atConfig.style.background=this.btnList[t].background,this.atConfig.style.color=this.btnList[t].color,this.atConfig.hover.background=this.btnList[t].background,this.atConfig.style.border="none")},changeHref:function(t){this.atConfigHref=JSON.parse(JSON.stringify(t))},okHref:function(){var t=JSON.parse(JSON.stringify(this.atConfigHref));this.atConfig=t,this.changeConfig(this.atConfig)}}},Y=X,Q=(i("cbef"),Object(I["a"])(Y,q,K,!1,null,"7f88830d",null)),Z=Q.exports,tt=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"dialog_form"},[i("div",{staticClass:"dialog_form_item"},[i("div",{staticClass:"dialog_form_item_left"},[t._v("\n 选择表单:\n ")]),i("div",{staticClass:"dialog_form_item_right"},[i("Select",{staticStyle:{width:"372px",height:"32px"},model:{value:t.atConfig.formName,callback:function(e){t.$set(t.atConfig,"formName",e)},expression:"atConfig.formName"}},t._l(t.formList,(function(e){return i("Option",{key:e.value,attrs:{value:e.value}},[t._v(t._s(e.label))])})),1)],1)]),i("div",{staticClass:"dialog_form_title"},[i("h3",[t._v("表单样式")]),i("Icon",{attrs:{type:"md-arrow-dropdown",size:16}})],1),i("div",{staticClass:"dialog_form_check"},[i("div",{staticClass:"dialog_form_check_main"},t._l(t.inputStyle,(function(e,a){return i("div",{key:a,class:["dialog_form_chack_main_item",t.inputSelIndex==a&&"dialog_form_chack_main_item_actived"],on:{click:function(e){return t.checkForm(a)}}},[i("input",{style:e,attrs:{type:"text",placeholder:e.placeholder,readonly:""}}),i("div",{directives:[{name:"show",rawName:"v-show",value:t.inputSelIndex==a,expression:"inputSelIndex == index"}],staticClass:"photo_gallery_main_pics_w_dui"},[i("Icon",{attrs:{type:"ios-checkmark"}})],1)])})),0)])])},et=[];function it(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function at(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?it(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):it(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var nt={props:{config:{type:Object,default:function(){return{}}},changeConfig:{type:Function,default:function(){}}},data:function(){return{current:1,pageSize:10,atConfig:{},inputSelIndex:0,inputStyle:[{index:0,placeholder:"灰底输入框",background:"#F7F7F7",borderColor:"transparent"},{index:1,placeholder:"白底输入框",background:"#fff",border:"1px solid rgba(221,221,221,1)"},{index:2,placeholder:"线型输入框",background:"transparent",border:"1px solid transparent",borderBottom:"1px solid rgba(221,221,221,1) !important"}]}},computed:at({},Object(d["e"])({formList:function(t){return t.template.formList}})),watch:{atConfig:{handler:function(t,e){this.changeAtConfig()},deep:!0}},mounted:function(){var t=this;if(this.atConfig=JSON.parse(JSON.stringify(this.config)),this.atConfig.formName){var e=this.formList.filter((function(e){return e.value==t.atConfig.formName}));this.saveSelectFormList(e)}this.config.style.index&&this.checkForm(this.config.style.index)},methods:at({checkForm:function(t){this.inputSelIndex=t,this.atConfig.style=this.inputStyle[t]},changeAtConfig:function(){var t=JSON.parse(JSON.stringify(this.atConfig));this.changeConfig(t)}},Object(d["d"])({saveSelectFormList:"template/saveSelectFormList"}))},st=nt,ot=(i("7ec1"),Object(I["a"])(st,tt,et,!1,null,"7a0c0853",null)),rt=ot.exports,ct=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("div",{staticClass:"upload-img"},[i("Upload",{attrs:{action:t.action,accept:"image/*",data:t.ossConf,"before-upload":t.uploadImg,"on-success":t.uploadSuccess}},[i("button",[t._v("上传")])]),i("div",{staticClass:"box"},t._l(t.listImg,(function(e,a){return i("div",{key:e.id,class:["image-box",e.flag?"checkedActive":""],on:{click:function(i){return t.chooseImg(e,a)}}},[i("img",{attrs:{src:e.pic_url,alt:""}})])})),0),[i("Page",{attrs:{total:t.page.total,"page-size":t.page.size,current:t.page.currentPage},on:{"on-change":t.updateMapdepot}})]],2)])},lt=[],ft=(i("49a5"),i("4c39"),{props:{changeConfig:{type:Function,default:function(){}},config:{type:Object},max_checked:{type:Number,default:8},applicationType:{type:Number,default:1}},data:function(){return{application_type:this.applicationType,listImg:[],action:"",ossConf:{key:""},checkedList:[],page:{currentPage:1,total:0,size:20},cacheCheckList:[]}},mounted:function(){this.updateMapdepot(),this.getOss()},methods:{getOss:function(){var t=this;Object(v["f"])().then((function(e){t.ossConf=e.data,t.action=e.data.url}))},uploadImg:function(t){this.ossConf.key=this.setKey(),delete this.ossConf.url},updateMapdepot:function(){var t=this,e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:1;this.page.currentPage=e,console.log(e,"xxxxxxxxxxxxxxxxxxxxxxxxx");var i={actionType:"getImgList",actionBody:{pageInfo:{pageNo:e,pageSize:this.page.size},search:{application_type:this.application_type}}};Object(v["e"])(i).then((function(e){var i=e.data.results.rows;t.page.total=e.data.results.count;t.checkedList.length;t.listImg=i.map((function(e,i){return e.flag=!1,t.checkedList.map((function(t){t.id==e.id&&(e.flag=!0)})),e}))}))},setKey:function(){var t=new Date,e="zc_gsb_"+Math.round(1e4*Math.random())+t.getTime()+t.getFullYear()+t.getMonth()+t.getDate()+".jpg";return e},uploadSuccess:function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(e,i,a){var n,s,o,r,c;return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return n=/(?<=<Location>).*?(?=<\/Location>)/,s=e.match(n)[0],o=i.name,r=i.size,c={pic_url:s,name:o,pic_size:r},t.next=6,Object(v["a"])(c);case 6:this.updateMapdepot();case 7:case"end":return t.stop()}}),t,this)})));function e(e,i,a){return t.apply(this,arguments)}return e}(),chooseImg:function(t,e){if("image"==this.config.type){this.radioCheckedImg(t,e);var i=JSON.parse(JSON.stringify(this.config));i.url=t.pic_url,this.changeConfig(i)}else this.moreCheckedImg(t,e)},moreCheckedImg:function(t,e){if(console.log(t.id,"vvvvvvvvvvvvvvvvvvvvvvvvvvvvvv"),this.checkedList.length>=this.max_checked)if(this.listImg[e]["flag"]){var i;this.listImg[e]["flag"]=!this.listImg[e]["flag"];var a=this.checkedList.findIndex((function(e){return t.id==e.id}));this.checkedList.splice(a,1);var n=this.checkedList.map((function(t){return t.id}));(i=console).log.apply(i,Object(g["a"])(n))}else{var s={content:"最多选择".concat(this.max_checked,"张")};this.$Message.warning(s)}else{if(this.listImg[e]["flag"]=!this.listImg[e]["flag"],this.checkedList.length)if(t.flag)this.checkedList.push(t);else{var o=this.checkedList.findIndex((function(e){return t.id==e.id}));this.checkedList.splice(o,1)}else this.checkedList=this.listImg.filter((function(t){return t.flag}));this.$emit("getImageList",this.checkedList)}},radioCheckedImg:function(t,e){for(var i in this.listImg)this.listImg[i]["flag"]=!1;this.listImg[e]["flag"]=!0,this.$emit("getImageList",this.listImg[e])}},computed:{}}),gt=ft,dt=(i("1a16"),Object(I["a"])(gt,ct,lt,!1,null,"52174644",null)),ut=dt.exports,ht=i("a0f5"),pt=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("Modal",{attrs:{title:"图库",width:"640","class-name":"vertical-center-modal","mask-closable":!1},on:{"on-ok":t.okImg},model:{value:t.imgsModal,callback:function(e){t.imgsModal=e},expression:"imgsModal"}},[[i("PhotoGallery",{attrs:{maxNum:~~t.addImgsNum,changeConfig:t.changeImgList,atConfigImgList:t.atConfigImgList}})]],2),[i("Modal",{ref:"popup",attrs:{title:"链接",width:"650","class-name":"vertical-center-modal","mask-closable":!1},on:{"on-ok":t.okHref},model:{value:t.isOpenHref,callback:function(e){t.isOpenHref=e},expression:"isOpenHref"}},[[i("Href",{attrs:{func:!1,changeConfig:t.changeHref,config:t.multipicConfig.list[t.setIndex]}})]],2)],i("Form",[i("FormItem",{attrs:{label:"添加图片:"}},[i("div",{staticClass:"picbox-wrap",attrs:{model:t.formItem.imgs}},[t.formItem.imgs.length<t.addImgsNum?i("div",{staticClass:"addicon-box",on:{click:t.addImgs}},[i("Icon",{attrs:{type:"ios-add",size:"55",color:"#d9d9d9"}})],1):t._e(),t._l(t.formItem.imgs,(function(e,a){return i("div",{directives:[{name:"show",rawName:"v-show",value:t.formItem.imgs.length,expression:"formItem.imgs.length"}],key:a,staticClass:"pic-wrap"},[i("img",{staticStyle:{width:"100%",height:"100%"},attrs:{src:e.url,alt:""}}),i("img",{staticClass:"close-icon",attrs:{src:t.closeIcon,alt:""},on:{click:function(e){return t.closeImg(a)}}}),i("div",{staticClass:"edit-style",on:{click:function(e){return t.setImg(a)}}},[t._v("\n 编辑\n ")])])}))],2)]),i("FormItem",{attrs:{label:"选图链接:"}},[t.multipicConfig.list.length?i("Input",{staticStyle:{width:"332px",marginRight:"10px"},attrs:{placeholder:"请输入点击选中对应图片需要跳转的链接",readonly:""},model:{value:t.multipicConfig.list[t.setIndex].href,callback:function(e){t.$set(t.multipicConfig.list[t.setIndex],"href",e)},expression:"multipicConfig.list[setIndex].href"}}):t._e(),i("Button",{staticStyle:{padding:"2px 15px"},on:{click:function(e){t.isOpenHref=!0}}},[t._v("设置")])],1),i("FormItem",{attrs:{label:"选图文字:"}},[t.multipicConfig.list.length?i("Input",{staticStyle:{width:"332px",marginRight:"10px"},attrs:{placeholder:"请输入点击选中对应图片上需要显示的文本",type:"textarea"},model:{value:t.multipicConfig.list[t.setIndex].text,callback:function(e){t.$set(t.multipicConfig.list[t.setIndex],"text",e)},expression:"multipicConfig.list[setIndex].text"}}):t._e()],1),i("CellGroup",[i("Cell",{staticClass:"edititems-style",attrs:{title:"横幅样式"}},[i("Icon",{attrs:{slot:"extra",type:"md-arrow-dropdown"},slot:"extra"})],1)],1),i("RadioGroup",{staticClass:"picstyle-radios",attrs:{type:"button"},on:{"on-change":t.changeStyle},model:{value:t.formItem.styleindex,callback:function(e){t.$set(t.formItem,"styleindex",e)},expression:"formItem.styleindex"}},[i("Radio",{staticClass:"style-radio",attrs:{label:"onenormal",border:""}},[i("div",{staticClass:"style-normal-partone"}),i("div",{staticClass:"style-normal-parttwo"})]),i("Radio",{staticClass:"style-radio",attrs:{label:"twoswiper",border:""}},[i("Icon",{staticClass:"style-slide-partone",attrs:{type:"ios-arrow-back",size:"20",color:"#A4A0A8"}}),i("div",{staticClass:"style-slide-parttwo"}),i("div",{staticClass:"style-slide-partthree"}),i("div",{staticClass:"style-slide-partfour"}),i("div",{staticClass:"style-slide-partfive"}),i("Icon",{staticClass:"style-slide-partsix",attrs:{type:"ios-arrow-forward",size:"20",color:"#A4A0A8"}})],1)],1),i("CellGroup",[i("Cell",{staticClass:"edititems-style",attrs:{title:"图片设置"}},[i("Icon",{attrs:{slot:"extra",type:"md-arrow-dropdown"},slot:"extra"})],1)],1),i("FormItem",{attrs:{label:"图片高度:"}},[i("RadioGroup",{on:{"on-change":t.changeHeightToDefaltValue},model:{value:t.formItem.heightradio,callback:function(e){t.$set(t.formItem,"heightradio",e)},expression:"formItem.heightradio"}},[i("Radio",{attrs:{label:"defi"}},[t._v("默认")]),i("Radio",{attrs:{label:"self"}},[t._v("自定义")]),i("div",[t._v("\n 高度:\n "),i("i-input",{staticStyle:{width:"70px",height:"32px",textAlign:"right"},attrs:{placeholder:"......",disabled:"defi"==t.formItem.heightradio},model:{value:t.formItem.picheight,callback:function(e){t.$set(t.formItem,"picheight",e)},expression:"formItem.picheight"}},[i("span",{staticStyle:{"line-height":"32px",fontSize:"14px",color:"#e0e0de"},attrs:{slot:"suffix"},slot:"suffix"},[t._v("px")])])],1)],1)],1),i("FormItem",{attrs:{label:"图片间距:"}},[i("RadioGroup",{on:{"on-change":t.changeSpaceToDefaltValue},model:{value:t.formItem.spaceradio,callback:function(e){t.$set(t.formItem,"spaceradio",e)},expression:"formItem.spaceradio"}},[i("Radio",{attrs:{label:"defi"}},[t._v("默认")]),i("Radio",{attrs:{label:"self"}},[t._v("自定义")]),i("div",[i("div",{staticStyle:{display:"inline-block"}},[t._v("\n 水平间距:\n "),i("i-input",{staticStyle:{width:"70px"},attrs:{placeholder:"。。。",disabled:"defi"==t.formItem.spaceradio},model:{value:t.formItem.horizontalspace,callback:function(e){t.$set(t.formItem,"horizontalspace",e)},expression:"formItem.horizontalspace"}},[i("span",{staticStyle:{"line-height":"32px",fontSize:"14px",color:"#e0e0de"},attrs:{slot:"suffix"},slot:"suffix"},[t._v("px")])])],1),i("div",{staticStyle:{display:"inline-block","padding-left":"30px"}},[t._v("\n 垂直间距:\n "),i("i-input",{staticStyle:{width:"70px"},attrs:{placeholder:"。。。",disabled:"defi"==t.formItem.spaceradio},model:{value:t.formItem.verticalspace,callback:function(e){t.$set(t.formItem,"verticalspace",e)},expression:"formItem.verticalspace"}},[i("span",{staticStyle:{"line-height":"32px",fontSize:"14px",color:"#e0e0de"},attrs:{slot:"suffix"},slot:"suffix"},[t._v("px")])])],1)])],1)],1),i("FormItem",{attrs:{label:"每行个数:"}},[i("RadioGroup",{on:{"on-change":t.changeColumn},model:{value:t.formItem.lineradio,callback:function(e){t.$set(t.formItem,"lineradio",e)},expression:"formItem.lineradio"}},[i("Radio",{attrs:{label:"defi"}},[t._v("默认")]),i("Radio",{attrs:{label:"self"}},[t._v("自定义")]),i("div",[i("div",{staticStyle:{display:"inline-block"}},[t._v("\n 每行:\n "),i("Select",{staticStyle:{width:"72px"},attrs:{disabled:"defi"==t.formItem.lineradio},on:{"on-change":t.changeColumn},model:{value:t.formItem.perlinesnum,callback:function(e){t.$set(t.formItem,"perlinesnum",e)},expression:"formItem.perlinesnum"}},t._l(t.linesnumList,(function(e){return i("Option",{key:e.value,attrs:{value:e.value}},[t._v(t._s(e.label))])})),1)],1)])],1)],1)],1)],2)},mt=[];function _t(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function vt(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?_t(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):_t(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var Ct={props:{config:{type:Object},changeConfig:{type:Function,default:function(){}}},data:function(){return{imgsModal:!1,addImgsNum:"2",formItem:{imgs:[],pichref:"",picstyle:"",styleindex:"onenormal",heightradio:"defi",picheight:207,spaceradio:"defi",horizontalspace:20,verticalspace:20,lineradio:"defi",perlinesnum:"2"},linesnumList:[{value:"1",label:"1"},{value:"2",label:"2"},{value:"3",label:"3"},{value:"4",label:"4"}],multipicConfig:{acraoAffix:this.config.acraoAffix,acraoStyle:this.config.acraoStyle,id:this.config.id,type:"listImage",image_type:"onenormal",list:[],style:{height:207,imgLevelMargin:20,imgVerticalMargin:20},number:""},closeIcon:D.a,setIndex:0,imgHref:"",atConfigImgList:[],atConfigHref:{},isAddImgs:!1,isOpenHref:!1}},components:{PhotoGallery:A,Href:k},watch:{"formItem.perlinesnum":function(t){this.addImgsNum=t},"formItem.imgs":function(t){this.multipicConfig.list=t},"formItem.picheight":function(t){this.multipicConfig.style.height=t},"formItem.horizontalspace":function(t){this.multipicConfig.style.imgLevelMargin=t},"formItem.verticalspace":function(t){this.multipicConfig.style.imgVerticalMargin=t}},methods:{okHref:function(){this.multipicConfig=JSON.parse(JSON.stringify(this.atConfigHref)),this.changeConfig(this.multipicConfig)},changeHref:function(t){this.atConfigHref=JSON.parse(JSON.stringify(this.multipicConfig)),this.atConfigHref.list[this.setIndex]=t},okImg:function(){this.formItem.imgs=JSON.parse(JSON.stringify(this.atConfigImgList)),this.changeConfig(this.multipicConfig)},changeImgList:function(t){console.log("图库里面changeImgList的imgList:",t),this.atConfigImgList=t.map((function(t){return vt(vt({},t),{},{id:t.id,url:t.pic_url,href:"",openType:"original",hrefType:"none",title:"",text:""})}))},closeImg:function(t){this.setIndex>this.formItem.imgs.length-2&&this.formItem.imgs.length>1&&(this.setIndex=this.formItem.imgs.length-2),this.formItem.imgs.splice(t,1),this.atConfigImgList=JSON.parse(JSON.stringify(this.formItem.imgs)),this.changeConfig(this.multipicConfig)},setImg:function(t){console.log(t,"编辑当前下标数据"),this.setIndex=t},changeHeightToDefaltValue:function(t){"defi"==t&&(this.formItem.picheight=207,this.multipicConfig.style.height=207,this.changeConfig(this.multipicConfig))},changeSpaceToDefaltValue:function(t){"defi"==t&&(this.formItem.horizontalspace=10,this.formItem.verticalspace=10,this.multipicConfig.style.imgLevelMargin=20,this.multipicConfig.style.imgVerticalMargin=20,this.changeConfig(this.multipicConfig))},changePerLineNum:function(t){"defi"==t&&(this.formItem.perlinesnum="4",this.multipicConfig.number="4",this.changeConfig(this.multipicConfig))},changeColumn:function(t){this.atConfigImgList=[],this.formItem.imgs=[],"1"==t&&(this.formItem.perlinesnum="1",this.multipicConfig.number="1",this.changeConfig(this.multipicConfig)),"2"==t&&(this.formItem.perlinesnum="2",this.multipicConfig.number="2",this.changeConfig(this.multipicConfig)),"3"==t&&(this.formItem.perlinesnum="3",this.multipicConfig.number="3",this.changeConfig(this.multipicConfig)),"4"==t&&(this.formItem.perlinesnum="4",this.multipicConfig.number="4",this.changeConfig(this.multipicConfig))},changeStyle:function(t){this.multipicConfig.image_type=t,this.changeConfig(this.multipicConfig)},addImgs:function(){this.imgsModal=!0}},mounted:function(){console.log(this.config),this.atConfigImgList=JSON.parse(JSON.stringify(this.config.list)),this.atConfigHref=JSON.parse(JSON.stringify(this.config)),this.formItem.imgs=this.atConfigImgList,this.formItem.styleindex=this.config.image_type},updated:function(){}},bt=Ct,xt=(i("fd9c"),Object(I["a"])(bt,pt,mt,!1,null,"5480fb92",null)),yt=xt.exports,It=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",{staticClass:"dialog_banner"},[i("div",{staticClass:"dialog_banner_item"},[i("div",{staticClass:"dialog_banner_item_left"},[t._v("\n 添加图片:\n ")]),i("div",{staticClass:"dialog_banner_item_right"},[this.carouselpicConfig.list.length<t.maxAddImgsNum?i("div",{staticClass:"dialog_banner_addpic",on:{click:function(e){t.isAddImgs=!0}}},[t._v("\n +\n ")]):t._e(),t._l(t.carouselpicConfig.list,(function(e,a){return i("div",{key:a,staticClass:"dialog_banner_img"},[i("img",{attrs:{src:e.url,alt:""}}),i("img",{staticClass:"banner_close",attrs:{src:t.close,alt:""},on:{click:function(e){return t.closeImg(a)}}}),i("div",{staticClass:"banner_set",on:{click:function(e){return t.setImg(a)}}},[t._v("编辑")])])}))],2)]),i("div",{staticClass:"dialog_banner_item"},[i("div",{staticClass:"dialog_banner_item_left"},[t._v("\n 选图链接:\n ")]),i("div",{staticClass:"dialog_banner_item_right"},[t.carouselpicConfig.list.length>0?i("i-input",{staticClass:"repaire-linkinputstyle",attrs:{readonly:""},model:{value:t.carouselpicConfig.list[t.setIndex].href,callback:function(e){t.$set(t.carouselpicConfig.list[t.setIndex],"href",e)},expression:"carouselpicConfig.list[setIndex].href"}}):t._e(),i("i-button",{on:{click:function(e){t.isOpenHref=!0}}},[t._v("设置")])],1)]),i("div",{staticClass:"dialog_banner_title"},[i("h3",[t._v("横幅样式")]),i("Icon",{attrs:{type:"md-arrow-dropdown",size:16}})],1),i("div",{staticClass:"dialog_banner_style"},t._l(t.bannerStyle,(function(e,a){return i("div",{key:a,class:t.carouselpicConfig.swiper_type==e.type?"dialog_banner_style_item_active":"dialog_banner_style_item",on:{click:function(i){return t.checkBannerType(e.type)}}},[i("div",{staticClass:"style_main"},[i("h3",[t._v(t._s(e.text))])])])})),0),i("div",{staticClass:"dialog_banner_title"},[i("h3",[t._v("图片设置")]),i("Icon",{attrs:{type:"md-arrow-dropdown",size:16}})],1),i("div",{staticClass:"dialog_banner_item"},[i("div",{staticClass:"dialog_banner_item_left"},[t._v("\n 横幅大小:\n ")]),i("div",{staticClass:"dialog_banner_item_right"},[i("div",{staticClass:"banner_set_radio"},[i("RadioGroup",{on:{"on-change":t.changeRadioSize},model:{value:t.bannerSize,callback:function(e){t.bannerSize=e},expression:"bannerSize"}},[i("Radio",{attrs:{label:"default"}},[t._v("默认")]),i("Radio",{attrs:{label:"custom"}},[t._v("自定义")])],1)],1),i("div",{directives:[{name:"show",rawName:"v-show",value:"default"!=t.bannerSize,expression:"bannerSize != 'default'"}],staticClass:"banner_set_detail"},[i("div",{staticClass:"banner_set_detail_item"},[i("span",[t._v("宽度:")]),i("i-input",{staticClass:"repaire-numinputstyle",on:{"on-change":t.changeInp},model:{value:t.carouselpicConfig.style.width,callback:function(e){t.$set(t.carouselpicConfig.style,"width",e)},expression:"carouselpicConfig.style.width"}},[i("span",{attrs:{slot:"suffix"},slot:"suffix"},[t._v("%")]),t._v("slot\n ")])],1),i("div",{staticClass:"banner_set_detail_item"},[i("span",[t._v("高度:")]),i("i-input",{staticClass:"repaire-numinputstyle",on:{"on-change":t.changeInp},model:{value:t.carouselpicConfig.style.height,callback:function(e){t.$set(t.carouselpicConfig.style,"height",e)},expression:"carouselpicConfig.style.height"}},[i("span",{attrs:{slot:"suffix"},slot:"suffix"},[t._v("px")])])],1)])])]),i("div",{staticClass:"dialog_banner_item"},[i("div",{staticClass:"dialog_banner_item_left"},[t._v("\n 轮播设置:\n ")]),i("div",{staticClass:"dialog_banner_item_right"},[i("div",{staticClass:"banner_set_radio"},[i("RadioGroup",{model:{value:t.swiperSet,callback:function(e){t.swiperSet=e},expression:"swiperSet"}},[i("Radio",{attrs:{label:"default"}},[t._v("默认")]),i("Radio",{attrs:{label:"custom"}},[t._v("自定义")])],1)],1),i("div",{directives:[{name:"show",rawName:"v-show",value:"default"!=t.swiperSet,expression:"swiperSet != 'default'"}],staticClass:"banner_set_detail"},[i("div",{staticClass:"banner_set_detail_item"},[i("span",[t._v("展示时间:")]),i("i-input",{staticClass:"repaire-numinputstyle",on:{"on-change":t.changeInp},model:{value:t.carouselpicConfig.display_time,callback:function(e){t.$set(t.carouselpicConfig,"display_time",e)},expression:"carouselpicConfig.display_time"}},[i("span",{attrs:{slot:"suffix"},slot:"suffix"},[t._v("ms")])])],1),i("div",{staticClass:"banner_set_detail_item"},[i("span",[t._v("切换速度:")]),i("i-input",{staticClass:"repaire-numinputstyle",on:{"on-change":t.changeInp},model:{value:t.carouselpicConfig.switching_speed,callback:function(e){t.$set(t.carouselpicConfig,"switching_speed",e)},expression:"carouselpicConfig.switching_speed"}},[i("span",{attrs:{slot:"suffix"},slot:"suffix"},[t._v("ms")])])],1)])])]),[i("Modal",{attrs:{title:"图库",width:"640","class-name":"vertical-center-modal","mask-closable":!1},on:{"on-ok":t.okImg},model:{value:t.isAddImgs,callback:function(e){t.isAddImgs=e},expression:"isAddImgs"}},[[i("PhotoGallery",{attrs:{maxNum:t.maxAddImgsNum,changeConfig:t.changeImgList,atConfigImgList:t.atConfigImgList}})]],2)],[i("Modal",{ref:"popup",attrs:{title:"链接",width:"650","class-name":"vertical-center-modal","mask-closable":!1},on:{"on-ok":t.okHref},model:{value:t.isOpenHref,callback:function(e){t.isOpenHref=e},expression:"isOpenHref"}},[[i("Href",{attrs:{func:!1,changeConfig:t.changeHref,config:t.carouselpicConfig.list[t.setIndex]}})]],2)]],2)},Ot=[];function kt(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function wt(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?kt(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):kt(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var St={props:{config:{type:Object},changeConfig:{type:Function,default:function(){}}},components:{PhotoGallery:A,Href:k},data:function(){return{maxAddImgsNum:10,carouselpicConfig:{acraoAffix:this.config.acraoAffix,acraoStyle:this.config.acraoStyle,id:this.config.id,type:"swiper",swiper_type:"spot",list:[],style:{width:100,height:300},display_time:1e3,switching_speed:500,swiper_params:{pagination:"分页器",navigation:"前进后退按钮",effects:"切换效果"}},atConfigImgList:[],atConfigHref:{},close:D.a,isAddImgs:!1,isOpenHref:!1,setIndex:0,imgHref:"",bannerStyle:[{type:"spot",text:"分页器"},{type:"arrow",text:"前进后退按钮"},{type:"sidebar",text:"切换边栏效果"}],bannerSize:"default",swiperSet:"default"}},watch:{config:{handler:function(t,e){this.carouselpicConfig=JSON.parse(JSON.stringify(this.config))},deep:!0}},methods:{okHref:function(){this.carouselpicConfig=JSON.parse(JSON.stringify(this.atConfigHref)),this.changeConfig(this.carouselpicConfig)},changeHref:function(t){this.atConfigHref=JSON.parse(JSON.stringify(this.carouselpicConfig)),this.atConfigHref.list[this.setIndex]=t},okImg:function(){this.carouselpicConfig.list=JSON.parse(JSON.stringify(this.atConfigImgList)),this.changeConfig(this.carouselpicConfig)},changeImgList:function(t){this.atConfigImgList=t.map((function(t){return wt(wt({},t),{},{id:t.id,url:t.pic_url,href:"",openType:"original",hrefType:"none",title:"",text:""})}))},changeRadioSize:function(t){"default"==t&&(this.carouselpicConfig.style.width="100",this.carouselpicConfig.style.height="300")},closeImg:function(t){this.setIndex>this.carouselpicConfig.list.length-2&&this.carouselpicConfig.list.length>1&&(this.setIndex=this.carouselpicConfig.list.length-2),this.carouselpicConfig.list.splice(t,1),this.atConfigImgList=JSON.parse(JSON.stringify(this.carouselpicConfig.list)),this.changeConfig(this.carouselpicConfig)},setImg:function(t){this.setIndex=t},checkBannerType:function(t){this.carouselpicConfig.swiper_type=t,this.changeConfig(this.carouselpicConfig)},changeInp:function(){this.carouselpicConfig.display_time=~~this.carouselpicConfig.display_time,this.carouselpicConfig.switching_speed=~~this.carouselpicConfig.switching_speed,console.log("changeInp:",this.carouselpicConfig.display_time,this.carouselpicConfig.switching_speed),this.changeConfig(this.carouselpicConfig)}},mounted:function(){this.recoverConfig=JSON.parse(JSON.stringify(this.config)),this.atConfigImgList=JSON.parse(JSON.stringify(this.config.list)),this.atConfigHref=JSON.parse(JSON.stringify(this.config)),this.carouselpicConfig.list=this.atConfigImgList},updated:function(){}},Lt=St,jt=(i("dac4"),Object(I["a"])(Lt,It,Ot,!1,null,"35538fb4",null)),Nt=jt.exports,Mt=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("div",[i("Modal",{attrs:{title:"图库",width:"640","class-name":"vertical-center-modal","mask-closable":!1},on:{"on-ok":t.okImg},model:{value:t.imgsModal,callback:function(e){t.imgsModal=e},expression:"imgsModal"}},[[i("PhotoGallery",{attrs:{maxNum:t.addImgsNum,changeConfig:t.changeImgList,atConfigImgList:t.atConfigImgList}})]],2),i("Modal",{attrs:{title:"文本",width:"680","class-name":"vertical-center-modal","mask-closable":!1},on:{"on-ok":t.okTxt},model:{value:t.txtModal,callback:function(e){t.txtModal=e},expression:"txtModal"}},[t.txtModal?[i("TextModal",{attrs:{type:"currentTxt",texxx:t.texxx},on:{sendHtml:t.getHtml}})]:t._e()],2),i("Form",[i("FormItem",{attrs:{label:"添加图片:"}},[i("div",{staticClass:"picbox-wrap",attrs:{model:t.imgstextConfig.list}},[t.imgstextConfig.list.length<t.addImgsNum?i("div",{staticClass:"addicon-box",on:{click:function(e){t.imgsModal=!0}}},[i("Icon",{attrs:{type:"ios-add",size:"55",color:"#d9d9d9"}})],1):t._e(),t._l(t.imgstextConfig.list,(function(e,a){return i("div",{directives:[{name:"show",rawName:"v-show",value:t.imgstextConfig.list.length,expression:"imgstextConfig.list.length"}],key:a,staticClass:"pic-wrap"},[i("img",{staticStyle:{width:"100%",height:"100%"},attrs:{src:e.url,alt:""}}),i("img",{staticClass:"close-icon",attrs:{src:t.closeIcon,alt:""},on:{click:function(e){return t.closeImg(a)}}})])}))],2)]),t._l(t.txtList.slice(0,t.imgstextConfig.list.length),(function(e,a){return i("FormItem",{key:a,attrs:{label:"文字"+(a+1)}},[i("div",{staticClass:"showHtmlText ql-editor",domProps:{innerHTML:t._s(e.html)}}),i("Button",{staticStyle:{padding:"2px 15px",marginLeft:"0px",background:"#1890FF",color:"#fff"},on:{click:function(e){return t.showTxtModal(a)}}},[t._v("编辑")])],1)})),i("CellGroup",[i("Cell",{staticClass:"edititems-style",attrs:{title:"横幅样式"}},[i("Icon",{attrs:{slot:"extra",type:"md-arrow-dropdown"},slot:"extra"})],1)],1),i("RadioGroup",{staticClass:"picstyle-radios",attrs:{type:"button"},on:{"on-change":t.changeStyle},model:{value:t.imgstextConfig.image_text_type,callback:function(e){t.$set(t.imgstextConfig,"image_text_type",e)},expression:"imgstextConfig.image_text_type"}},[i("Radio",{staticClass:"style-radio",attrs:{label:"imgstextone",border:""}},[i("div",{staticClass:"img-left-partone"}),i("div",{staticClass:"img-text-styleone"},[i("span",[t._v("描述文字")]),i("span",[t._v("描述文字")])])]),i("Radio",{staticClass:"style-radio",attrs:{label:"imgstexttwo",border:""}},[i("div",{staticClass:"img-text-styleone"},[i("span",[t._v("描述文字")]),i("span",[t._v("描述文字")])]),i("div",{staticClass:"img-right-partone"})]),i("Radio",{staticClass:"style-radio",attrs:{label:"imgstextthree",border:""}},[i("div",{staticClass:"neat-four-wrap"},[i("div",{staticClass:"neat-four-img"},[i("i",{staticClass:"img-top-partone"}),i("i",{staticClass:"img-top-partone"}),i("i",{staticClass:"img-top-partone"}),i("i",{staticClass:"img-top-partone"})]),i("div",{staticClass:"neat-four-text"},[i("span",[t._v("文字")]),i("span",[t._v("文字")]),i("span",[t._v("文字")]),i("span",[t._v("文字")])])])]),i("Radio",{staticClass:"style-radio",attrs:{label:"imgstextfour",border:""}},[i("div",{staticClass:"img-two-left"},[i("div",{staticClass:"img-little-item"}),i("div",{staticClass:"img-little-item"})]),i("div",{staticClass:"img-text-styleone"},[i("span",[t._v("描述文字")]),i("span",[t._v("描述文字")])])])],1),i("CellGroup",[i("Cell",{staticClass:"edititems-style",attrs:{title:"图片设置"}},[i("Icon",{attrs:{slot:"extra",type:"md-arrow-dropdown"},slot:"extra"})],1)],1),"1"==t.addImgsNum?i("FormItem",{attrs:{label:"图一宽度:"}},[i("i-input",{staticStyle:{width:"70px",height:"32px",textAlign:"right"},attrs:{placeholder:"......"},model:{value:t.imgstextConfig.style.picWidth0,callback:function(e){t.$set(t.imgstextConfig.style,"picWidth0",e)},expression:"imgstextConfig.style.picWidth0"}},[i("span",{staticStyle:{"line-height":"32px",fontSize:"14px",color:"#e0e0de"},attrs:{slot:"suffix"},slot:"suffix"},[t._v("%")])])],1):t._e(),"4"==t.addImgsNum?i("FormItem",{attrs:{label:"图片间距:"}},[i("RadioGroup",{on:{"on-change":t.changeSpaceToDefaltValue},model:{value:t.spaceradio,callback:function(e){t.spaceradio=e},expression:"spaceradio"}},[i("Radio",{attrs:{label:"defi"}},[t._v("默认")]),i("Radio",{attrs:{label:"self"}},[t._v("自定义")]),i("div",[i("div",{staticStyle:{display:"inline-block"}},[t._v("\n 水平间距:\n "),i("i-input",{staticStyle:{width:"70px"},attrs:{placeholder:"。。。",disabled:"defi"==t.spaceradio},on:{"on-change":function(e){return t.changeConfig(t.imgstextConfig)}},model:{value:t.imgstextConfig.style.imgLevelMargin,callback:function(e){t.$set(t.imgstextConfig.style,"imgLevelMargin",e)},expression:"imgstextConfig.style.imgLevelMargin"}},[i("span",{staticStyle:{"line-height":"32px",fontSize:"14px",color:"#e0e0de"},attrs:{slot:"suffix"},slot:"suffix"},[t._v("px")])])],1),i("div",{staticStyle:{display:"inline-block","padding-left":"30px"}},[t._v("\n 垂直间距:\n "),i("i-input",{staticStyle:{width:"70px"},attrs:{placeholder:"。。。",disabled:"defi"==t.spaceradio},on:{"on-change":function(e){return t.changeConfig(t.imgstextConfig)}},model:{value:t.imgstextConfig.style.imgVerticalMargin,callback:function(e){t.$set(t.imgstextConfig.style,"imgVerticalMargin",e)},expression:"imgstextConfig.style.imgVerticalMargin"}},[i("span",{staticStyle:{"line-height":"32px",fontSize:"14px",color:"#e0e0de"},attrs:{slot:"suffix"},slot:"suffix"},[t._v("px")])])],1)])],1)],1):t._e(),"2"==t.addImgsNum?i("div",[i("FormItem",{staticClass:"half-block",attrs:{label:"图一宽度:"}},[i("i-input",{staticStyle:{width:"70px",height:"32px",textAlign:"right"},attrs:{placeholder:"......"},model:{value:t.imgstextConfig.style.picWidth0,callback:function(e){t.$set(t.imgstextConfig.style,"picWidth0",e)},expression:"imgstextConfig.style.picWidth0"}},[i("span",{staticStyle:{"line-height":"32px",fontSize:"14px",color:"#e0e0de"},attrs:{slot:"suffix"},slot:"suffix"},[t._v("%")])])],1),i("FormItem",{staticClass:"half-block",attrs:{label:"图二宽度:"}},[i("i-input",{staticStyle:{width:"70px",height:"32px",textAlign:"right"},attrs:{placeholder:"......"},model:{value:t.imgstextConfig.style.picWidth1,callback:function(e){t.$set(t.imgstextConfig.style,"picWidth1",e)},expression:"imgstextConfig.style.picWidth1"}},[i("span",{staticStyle:{"line-height":"32px",fontSize:"14px",color:"#e0e0de"},attrs:{slot:"suffix"},slot:"suffix"},[t._v("%")])])],1)],1):t._e()],2)],1)},Pt=[];function At(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function Tt(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?At(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):At(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var Rt={props:{config:{type:Object},changeConfig:{type:Function,default:function(){}}},data:function(){return{addImgsNum:1,spaceradio:"defi",imgsModal:!1,txtModal:!1,imgstextConfig:{acraoAffix:this.config.acraoAffix,acraoStyle:this.config.acraoStyle,id:this.config.id,type:"imageText",image_text_type:"imgstextone",list:[],style:{picWidth0:50,picWidth1:50,imgLevelMargin:20,imgVerticalMargin:20}},closeIcon:D.a,atConfigImgList:[],txtList:[{label:"文字一",html:""},{label:"文字二",html:""},{label:"文字三",html:""},{label:"文字四",html:""}],currentHtml:"",currentModel:0,texxx:""}},components:{PhotoGallery:A,TextModal:ht["a"]},methods:{showTxtModal:function(t){this.txtModal=!this.txtModal,this.currentModel=t,this.texxx=this.txtList[t]["html"]},okTxt:function(){this.txtList[this.currentModel]["html"]=this.currentHtml,this.imgstextConfig.list[this.currentModel]["text"]=this.currentHtml,this.changeConfig(this.imgstextConfig)},getHtml:function(t){this.currentHtml=t},okImg:function(){this.imgstextConfig.list=JSON.parse(JSON.stringify(this.atConfigImgList)),this.changeConfig(this.imgstextConfig)},changeImgList:function(t){this.atConfigImgList=t.map((function(t){return Tt(Tt({},t),{},{id:t.id,url:t.pic_url,href:"",openType:"original",hrefType:"none",title:"",text:t.text})}))},closeImg:function(t){this.imgstextConfig.list.splice(t,1),this.atConfigImgList=JSON.parse(JSON.stringify(this.imgstextConfig.list));var e=this.txtList.map((function(t,e){return Tt(Tt({},t),{},{html:""})}));this.txtList=e},changeSpaceToDefaltValue:function(t){"defi"==t&&(this.imgstextConfig.style.imgLevelMargin=20,this.imgstextConfig.style.imgVerticalMargin=20,this.changeConfig(this.imgstextConfig))},changeStyle:function(t){this.atConfigImgList=[],this.imgstextConfig.image_type=t,"imgstextone"==t&&(this.addImgsNum=1,this.imgstextConfig.image_text_type="imgstextone"),"imgstexttwo"==t&&(this.addImgsNum=1,this.imgstextConfig.image_text_type="imgstexttwo"),"imgstextthree"==t&&(this.addImgsNum=4,this.imgstextConfig.image_text_type="imgstextthree"),"imgstextfour"==t&&(this.addImgsNum=2,this.imgstextConfig.image_text_type="imgstextfour"),this.atConfigImgList=[],this.imgstextConfig.list=[],this.txtList=[{label:"文字一",html:""},{label:"文字二",html:""},{label:"文字三",html:""},{label:"文字四",html:""}],this.currentHtml="",this.texxx="",this.changeConfig(this.imgstextConfig)}},mounted:function(){var t=this;this.recoverConfig=JSON.parse(JSON.stringify(this.config)),this.atConfigImgList=JSON.parse(JSON.stringify(this.config.list)),this.imgstextConfig.list=this.atConfigImgList,this.imgstextConfig=this.recoverConfig,this.imgstextConfig.list.map((function(e,i){t.txtList[i]["html"]=e.text})),"imgstextone"==this.imgstextConfig.image_text_type&&(this.addImgsNum=1),"imgstexttwo"==this.imgstextConfig.image_text_type&&(this.addImgsNum=1),"imgstextthree"==this.imgstextConfig.image_text_type&&(this.addImgsNum=4),"imgstextfour"==this.imgstextConfig.image_text_type&&(this.addImgsNum=2)},updated:function(){var t=this;this.imgstextConfig.list.map((function(e,i){t.txtList[i]["html"]=e.text}))}},Ht=Rt,Jt=(i("5e65"),Object(I["a"])(Ht,Mt,Pt,!1,null,"aa6f479e",null)),Ft=Jt.exports;function zt(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function $t(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?zt(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):zt(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var Dt={props:{startIndex:{type:Number,default:0},endIndex:{type:Number,default:1},config:{type:Object,default:function(){return{}}},deleteModule:{type:Function,default:function(){}},moveModule:{type:Function,default:function(){}},changeModule:{type:Function,default:function(){}}},components:{Acrao:u["a"],Banner:U,Edittext:ht["a"],Dialogacrao:J,Dialogbutton:Z,UploadPic:ut,EditMultiPic:yt,EditCarousePic:Nt,EditImageText:Ft,Dialogform:rt},computed:$t({},Object(d["e"])({formList:function(t){return t.template.formList}})),data:function(){return{isdel:!1,isAcrao:!1,atConfig:{},acraoIndex:0}},mounted:function(){this.atConfig=JSON.parse(JSON.stringify(this.config))},methods:$t({changeConfig:function(t){this.acraoIndex=this.atConfig.acraoList.findIndex((function(e){return e.id==t.id})),this.atConfig.acraoList[this.acraoIndex]=t},changeAcrao:function(t){this.atConfig.acraoList=Object(g["a"])(t)},compileModule:function(t){this.isdel=!0},compileAcrao:function(){this.isAcrao=!0},ok:function(){var t=this,e=JSON.parse(JSON.stringify(this.atConfig));console.log(e,"数据修改了configconfigconfigconfig");var i=this.formList.filter((function(i){return i.value==e.acraoList[t.acraoIndex].formName}));this.saveSelectFormList(i),this.changeModule(e),this.$Message.success("保存成功!")}},Object(d["d"])({saveSelectFormList:"template/saveSelectFormList"}))},Et=Dt,Bt=(i("25b0"),Object(I["a"])(Et,l,f,!1,null,"163a5498",null)),Gt=Bt.exports;function Wt(t,e){var i=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),i.push.apply(i,a)}return i}function Vt(t){for(var e=1;e<arguments.length;e++){var i=null!=arguments[e]?arguments[e]:{};e%2?Wt(Object(i),!0).forEach((function(e){Object(o["a"])(t,e,i[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(i)):Wt(Object(i)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(i,e))}))}return t}var Ut={data:function(){return{moduleIndex:0,moduleList:[]}},components:{Module:Gt},computed:Vt(Vt({},Object(d["e"])({selectFormList:function(t){return t.template.selectFormList}})),Object(d["c"])({moduleConfigList:"template/getModuleConfigList",moduleNavList:"template/getModuleNavList"})),mounted:function(){var t=Object(s["a"])(regeneratorRuntime.mark((function t(){return regeneratorRuntime.wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.next=2,this.getOss();case 2:return t.next=4,this.getForm();case 4:this.getTemplateConfig();case 5:case"end":return t.stop()}}),t,this)})));function e(){return t.apply(this,arguments)}return e}(),methods:Vt({getTemplateConfig:function(){var t=this,e=this.$route.query.template_code;Object(v["c"])(e).then((function(e){if(200==e.status&&0==e.data.status){var i=e.data.data;i&&i.template_content&&(t.moduleList=JSON.parse(c.a.inflate(i.template_content,{to:"string"})).list,t.moduleList.forEach((function(e){e.id>t.moduleIndex&&(t.moduleIndex=e.id+1)})))}}))},gotoPreview:function(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=this.$router.resolve({path:t,query:e});window.open(i.href,"_blank")},saveModuleList:function(t){var e=this,i=c.a.deflate(JSON.stringify({list:this.moduleList}),{to:"string"}),a={code:this.$route.query.template_code,template_content:i,form_id:this.selectFormList[0]?this.selectFormList[0].value:""};Object(v["b"])(a).then((function(i){200==i.status&&0==i.data.status?(e.$Message.success("保存成功!"),t&&e.gotoPreview("/previewpage",{template_code:e.$route.query.template_code})):e.$Message.error("保存失败!")}))},addMdule:function(t){var e=this.getModulePage(t.type);if("form"!=t.type||-1==this.moduleList.findIndex((function(t){return"form"==t.type}))){if(e.length){var i=[Vt(Vt({},e[0]),{},{id:this.moduleIndex,acraoStyle:{background:"#fff",paddingLeft:0,paddingTop:0,paddingRight:0,paddingBottom:0},acraoAffix:"default"})];this.moduleIndex++,this.moduleList.push({id:this.moduleIndex,title:t.name,type:t.type,acraoList:i})}}else this.$Message.warning("一个模板,只能添加一个表单!")},deleteModule:function(t){var e=this.getModuleIndex(t);this.moduleList.splice(e,1)},moveModule:function(t,e){var i=this.getModuleIndex(t);this.moduleList[i]="up"==e?this.moduleList.splice(i-1,1,this.moduleList[i])[0]:this.moduleList.splice(i+1,1,this.moduleList[i])[0]},changeModule:function(t){var e=this.getModuleIndex(t.id);this.moduleList[e].acraoList=t.acraoList},getModulePage:function(t){return this.moduleConfigList.filter((function(e,i){return e.type.trim()==t.trim()}))},getModuleIndex:function(t){var e=this.moduleList.findIndex((function(e){return e.id==t}));return e},goBack:function(){var t=this;this.$Modal.confirm({title:"系统提示",content:"<p>发现您有未保存的内容,是否进行保存并返回?</p>",okText:"保存并返回",cancelText:"直接返回",loading:!0,onOk:function(){var e=Object(s["a"])(regeneratorRuntime.mark((function e(){var i,a;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return i=c.a.deflate(JSON.stringify({list:t.moduleList}),{to:"string"}),a={code:t.$route.query.template_code,template_content:i},e.next=4,Object(v["b"])(a).then((function(e){200==e.status&&0==e.data.status?(t.$Message.success("保存成功!"),t.$router.go(-1)):t.$Message.error("保存失败,请重试!")}));case 4:t.$Modal.remove();case 5:case"end":return e.stop()}}),e)})));function i(){return e.apply(this,arguments)}return i}(),onCancel:function(){t.$router.go(-1)}})}},Object(d["b"])({getOss:"template/getOss",getForm:"template/getForm"}))},qt=Ut,Kt=(i("15bc"),Object(I["a"])(qt,a,n,!1,null,"0094ffe1",null));e["default"]=Kt.exports},"97fc":function(t,e,i){},a11a:function(t,e,i){},be9e:function(t,e,i){"use strict";var a=i("a11a"),n=i.n(a);n.a},c252:function(t,e,i){},ca03:function(t,e,i){"use strict";var a=i("16e2"),n=i.n(a);n.a},cbef:function(t,e,i){"use strict";var a=i("6b7b"),n=i.n(a);n.a},cfd8:function(t,e,i){},dac4:function(t,e,i){"use strict";var a=i("2040"),n=i.n(a);n.a},e55b:function(t,e,i){},fd9c:function(t,e,i){"use strict";var a=i("97fc"),n=i.n(a);n.a},fed1:function(t,e,i){}}]);
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment