Commit 86775d12 by 庄冰

代码同步

parent bac62234
......@@ -38,15 +38,16 @@ class Templateconfig extends APIBase {
opResult = system.getResultSuccess("测试接口");
break;
case "getImgList": // 查询图片
// pobj.actionBody["company_id"] = pobj.company_id;
opResult = await this.imginfoSve.getImgList(pobj.actionBody);
break;
case "createImginfo": // 添加图片
opResult = await this.imginfoSve.createImginfo(pobj.actionBody);
break;
case "getTemplateList": // 获取模板列表
opResult = await this.templateinfoSve.getTemplateList(pobj.actionBody);
// opResult = await this.templateinfoSve.findByCompanyId(pobj.actionBody);
break;
// case "getTemplateList": // 获取模板列表
// opResult = await this.templateinfoSve.getTemplateList(pobj.actionBody);
// // opResult = await this.templateinfoSve.findByCompanyId(pobj.actionBody);
// break;
case "editTemplate": // 编辑模板信息
opResult = await this.templateinfoSve.editTemplate(pobj);
break;
......
......@@ -6,8 +6,11 @@ class ForminfoDao extends Dao{
}
extraWhere(qobj, qw, qc) {
console.log(qobj)
qw["company_id"] = Number(qobj.company_id);
if(!qobj.company_id){
qw["company_id"] = "";
}else{
qw["company_id"] = Number(qobj.company_id);
}
return qw
}
}
......
const system=require("../../../system");
const Dao=require("../../dao.base");
class ImginfoDao extends Dao{
constructor(){
super(Dao.getModelName(ImginfoDao));
}
extraWhere(qobj, qw, qc) {
console.log(qobj)
if(!qobj.company_id){
qw["company_id"] = "";
}else{
qw["company_id"] = Number(qobj.company_id);
}
return qw
}
}
module.exports=ImginfoDao;
......@@ -6,7 +6,11 @@ class LaunchchannelDao extends Dao{
}
extraWhere(qobj, qw, qc) {
qw["company_id"] = qobj.company_id;
if(!qobj.company_id){
qw["company_id"] = "";
}else{
qw["company_id"] = Number(qobj.company_id);
}
return qw;
}
}
......
......@@ -4,5 +4,14 @@ class LaunchtypeDao extends Dao{
constructor(){
super(Dao.getModelName(LaunchtypeDao));
}
extraWhere(qobj, qw, qc) {
console.log(qobj)
if(!qobj.company_id){
qw["company_id"] = "";
}else{
qw["company_id"] = Number(qobj.company_id);
}
return qw
}
}
module.exports=LaunchtypeDao;
const system=require("../../../system");
const Dao=require("../../dao.base");
class MaininfoDao extends Dao{
constructor(){
super(Dao.getModelName(MaininfoDao));
}
extraWhere(qobj, qw, qc) {
console.log(qobj)
if(!qobj.company_id){
qw["company_id"] = "";
}else{
qw["company_id"] = Number(qobj.company_id);
}
return qw
}
}
module.exports=MaininfoDao;
......@@ -4,5 +4,14 @@ class MarketingsubjectDao extends Dao{
constructor(){
super(Dao.getModelName(MarketingsubjectDao));
}
extraWhere(qobj, qw, qc) {
console.log(qobj)
if(!qobj.company_id){
qw["company_id"] = "";
}else{
qw["company_id"] = Number(qobj.company_id);
}
return qw
}
}
module.exports=MarketingsubjectDao;
const system=require("../../../system");
const Dao=require("../../dao.base");
class PuttypeDao extends Dao{
constructor(){
super(Dao.getModelName(PuttypeDao));
}
extraWhere(qobj, qw, qc) {
console.log(qobj)
if(!qobj.company_id){
qw["company_id"] = "";
}else{
qw["company_id"] = Number(qobj.company_id);
}
return qw
}
}
module.exports=PuttypeDao;
......@@ -12,7 +12,9 @@ class TemplatelinkService extends ServiceBase {
this.launchtypeDao = system.getObject("db.configmag.launchtypeDao");
this.marketingsubjectDao = system.getObject("db.configmag.marketingsubjectDao");
this.redisClient = system.getObject("util.redisClient");
this.execClient = system.getObject("util.execClient");
this.templateLinkInfoCache={};
this.browsingRecordsLogUrl = settings.browsingRecordsLogUrl();
}
/**
* 获取模板链接配置参数
......@@ -489,9 +491,34 @@ class TemplatelinkService extends ServiceBase {
marketing_subject_name:linkinfo.marketing_subject_name,
client_ip:pobj.clientIp
};
this.browsingrecordsDao.create(addObj);//添加链接浏览记录
this.writebrowsingrecords(addObj);
return system.getResultSuccess(rtnObj);
}
//添加链接浏览记录
async writebrowsingrecords(addObj){
try {
// var date = new Date();
// var localeDateString = date .toLocaleDateString();
// var haStr = await sha256(JSON.stringify(addObj));
// shaStr = "browsingrecords_"+localeDateString+"_"+shaStr;
// var rtn = await this.redisClient.get(shaStr);//从redis读取数据
// if(!rtn){
// await this.browsingrecordsDao.create(addObj);//添加链接浏览记录
// this.redisClient.set(shaStr,JSON.stringify(addObj));//从redis读取数据
// }
//await this.browsingrecordsDao.create(addObj);//添加链接浏览记录
//往Es中写入日志
var myDate = new Date();
addObj["created_at"] = myDate.getFullYear()+"-"+(myDate.getMonth()+1)+"-"+myDate.getDate();
addObj["created_year"] = myDate.getFullYear();
addObj["created_month"] =myDate.getMonth()+1;
addObj["created_day"] =myDate.getDate();
// await this.execClient.execPostEs(addObj, this.browsingRecordsLogUrl);
} catch (e) {
console.log(e,"writebrowsingrecords++++++++++++++++++++")
}
}
//清除模板链接redis缓存数据
async delRedisInfoByLinkCode(code){
try {
......
......@@ -6,6 +6,8 @@ class ExecClient {
constructor() {
this.cmdPostPattern = "curl -k -H 'Content-type: application/json' -d '{data}' {url}";
this.cmdGetPattern = "curl -G -X GET '{url}'";
this.cmdPostPatternEs = "curl --user admines:adminGSBes. -k -H 'Content-type: application/json' -d '{data}' {url}";
}
async exec(cmd) {
......@@ -33,7 +35,11 @@ class ExecClient {
var result = await this.exec(cmd);
return result;
}
async execPostEs(subData, url) {
let cmd = this.FetchPostCmdEs(subData, url);
var result = await this.exec(cmd);
return result;
}
async execPost2(subData, url) {
let cmd = this.FetchPostCmd(subData, url);
var result = await this.exec2(cmd);
......@@ -69,6 +75,14 @@ class ExecClient {
const {stdout, stderr} = await exec(cmd, options);
return {stdout, stderr};
}
FetchPostCmdEs(subData, url) {
var data = JSON.stringify(subData);
var cmd = this.cmdPostPatternEs.replace(/\{data\}/g,
data).replace(/\{url\}/g, url);
console.log(cmd);
return cmd;
}
}
module.exports = ExecClient;
......
......@@ -61,6 +61,7 @@ module.exports = function (app) {
classPath=gname+"."+classPath;
var tClientIp = System.get_client_ip(req);
req.clientIp = tClientIp;
req.xRealIp = req.headers["x-real-ip"] || "";
req.uagent= req.headers["user-agent"];
params.push(gname);
params.push(methodName);
......
......@@ -16,7 +16,7 @@ var settings = {
salt: "%iatpD1gcxz7iF#B",
defaultpwd: "gsb2020",
basepath: path.normalize(path.join(__dirname, '../..')),
port: process.env.NODE_PORT || 8003,
port: process.env.NODE_PORT || 8002,
logindex: "center_manage",
appname: "gsb_marketplat",
kongurl: function () { if (this.env == "dev") { var localsettings = require("./localsettings"); return localsettings.kongurl; } else { return ENVINPUT.KONG_ADMIAN; } },
......@@ -31,6 +31,9 @@ var settings = {
return "http://logs-sytxpublic-msgq-service/api/queueAction/producer/springBoard";
}
},
browsingRecordsLogUrl: function () {
return "http://43.247.184.94:7200/marketplat_browsingrecords_log/_doc?pretty";
},
templateLinkUrl: function () {
if (this.env == "dev") {
return "http://192.168.200.208:8081/tfhref";
......
.tfhref[data-v-3fbf4483]{width:100%;height:100%;overflow:auto}.tfhref .tfhref_wrapper[data-v-3fbf4483]{display:-webkit-box;display:-ms-flexbox;display:flex}.tfhref .kefu[data-v-3fbf4483]{position:fixed;bottom:0;right:0;z-index:999;width:500px;height:514px;background:#fff;padding:30px 0 0 0;border-radius:10px}.tfhref .kefu .kefu_close[data-v-3fbf4483]{width:30px;height:30px;background:#fff;border-radius:100px;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:20px;cursor:pointer;position:absolute;top:0;right:0}.tfhref .iframeIm[data-v-3fbf4483]{width:100%;height:100%}.test-1[data-v-3fbf4483]::-webkit-scrollbar{width:2px;height:1px}.test-1[data-v-3fbf4483]::-webkit-scrollbar-thumb{background:#535353}.test-1[data-v-3fbf4483]::-webkit-scrollbar-thumb,.test-1[data-v-3fbf4483]::-webkit-scrollbar-track{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)}.test-1[data-v-3fbf4483]::-webkit-scrollbar-track{background:#ededed}
\ No newline at end of file
[data-v-1044d171] .ivu-input,[data-v-1044d171] .ivu-input-group-append{height:40px;border-radius:0;border-color:transparent;background:transparent}[data-v-1044d171] .ivu-input-group-append .ivu-btn,[data-v-1044d171] .ivu-input .ivu-btn{height:40px}[data-v-1044d171] .ivu-input-group-prepend{display:none}.form-footer{width:70%;position:fixed;bottom:0;right:0;border-top:1px solid #e8e8e8;padding:10px 16px;text-align:right;background:#fff}
\ No newline at end of file
.swiperMain[data-v-5c4efd8f]{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}.swiper-container[data-v-5c4efd8f]{width:100%;max-width:100%;height:400px}.swiper-container .swiper-wrapper[data-v-5c4efd8f]{width:100%}.swiper-container .swiper-slide[data-v-5c4efd8f]{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;position:relative}.swiper-container .swiper-slide .imgBg[data-v-5c4efd8f]{width:100%;height:100%;background-repeat:no-repeat;background-size:cover;background-position:top;background-position-y:center}.swiper-container .swiper-slide .swiper_text[data-v-5c4efd8f]{width:100%;height:100%;position:absolute;padding:70px 7%;top:0;left:0;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;overflow:hidden}.swiper-container .swiper-slide .swiper_text h1[data-v-5c4efd8f]{font-size:60px;font-family:MicrosoftYaHei-Bold,MicrosoftYaHei;font-weight:700;line-height:60px;color:#333;margin-bottom:30px}.swiper-container .swiper-slide .swiper_text p[data-v-5c4efd8f]{font-size:20px;font-family:MicrosoftYaHei;line-height:20px;color:#333}.swiper-container img[data-v-5c4efd8f]{width:100%;height:100%}@media screen and (max-width:750px){.swiper-container[data-v-5c4efd8f]{height:200px!important}.swiper-container .swiper_text[data-v-5c4efd8f]{padding:20px!important}.swiper-container .swiper_text h1[data-v-5c4efd8f]{font-size:30px!important;margin-bottom:15px!important;line-height:30px!important}.swiper-container .swiper_text p[data-v-5c4efd8f]{font-size:10px!important;line-height:20px!important}}.buttonMain[data-v-7de226b0]{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;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.buttonMain .buttonMain_btn[data-v-7de226b0]{width:160px;height:50px;padding:10px 40px;background:#1890ff;border-radius:4px;border:1px solid;outline:none;cursor:pointer;font-size:14px;font-family:MicrosoftYaHei;color:#fff;line-height:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:750px){.buttonMain[data-v-7de226b0]{padding:0 15px}.buttonMain_btn[data-v-7de226b0]{width:100%!important}}[data-v-b000ae00] .ivu-select-selection{height:40px;border-radius:0;background:transparent;border-color:transparent}[data-v-b000ae00] .ivu-select-selection /deep/ .ivu-select-placeholder,[data-v-b000ae00] .ivu-select-selection /deep/ .ivu-select-selected-value{height:40px;font-size:14px;line-height:40px}[data-v-7a22c201] .ivu-radio{margin-right:10px}[data-v-7a22c201] .ivu-radio-inner:after{width:4.67px;height:4.67px;left:4px;top:4px}[data-v-7a22c201] .ivu-checkbox-group-item{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;margin-right:30px}[data-v-7a22c201] .ivu-checkbox-group-item /deep/ .ivu-checkbox{margin-right:8px}[data-v-7a22c201] .ivu-checkbox-group-item /deep/ .ivu-checkbox-inner{width:16px;height:16px}[data-v-7a22c201] .ivu-checkbox-group-item /deep/ .ivu-checkbox-inner:after{top:2px;left:5px}[data-v-1044d171] .ivu-input,[data-v-1044d171] .ivu-input-group-append{height:40px;border-radius:0;border-color:transparent;background:transparent}[data-v-1044d171] .ivu-input-group-append .ivu-btn,[data-v-1044d171] .ivu-input .ivu-btn{height:40px}[data-v-1044d171] .ivu-input-group-prepend{display:none}.form-footer[data-v-7dd838b8]{width:70%}.form-footer3[data-v-7dd838b8],.form-footer[data-v-7dd838b8]{position:fixed;bottom:0;right:0;border-top:1px solid #e8e8e8;padding:10px 16px;text-align:right;background:#fff}.form-footer3[data-v-7dd838b8]{width:30%}.form-footer2[data-v-7dd838b8]{width:100%;position:absolute;bottom:0;right:0;border-top:1px solid #e8e8e8;padding:10px 16px;text-align:right;background:#fff}[data-v-7dd838b8] .ivu-input{height:40px;font-size:14px;border-radius:0;border-color:transparent;background:transparent}[data-v-7dd838b8] .ivu-form-item-error .ivu-input{border-color:#ed4014}[data-v-7dd838b8] .ivu-radio{margin-right:10px}[data-v-7dd838b8] .ivu-radio-inner:after{width:4.67px;height:4.67px;left:4px;top:4px}[data-v-7dd838b8] .ivu-radio-wrapper{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;margin-right:30px}[data-v-7dd838b8] .ivu-form-item-error .ivu-select-selection{border-color:#ed4014}[data-v-7dd838b8] .ivu-card{background:transparent}[data-v-7dd838b8] .ivu-form .ivu-form-item-label{font-size:14px;font-family:MicrosoftYaHei;color:#333;line-height:14px}.mkdown-warpper[data-v-5ba98571]{background:#fff;width:100%;min-height:100px;border:1px dashed #999;padding:10px;-webkit-box-sizing:border-box;box-sizing:border-box}.mkdown-warpper button[data-v-5ba98571]{width:100px;height:36px;background:#1890ff;opacity:.7;border-radius:0}.mkdown-warpper input[data-v-5ba98571]{outline:none;width:100%;background:#fff;border:0;display:-webkit-box;display:-ms-flexbox;display:flex;text-align:center;font-size:24px}.mkdown-warpper .mkdown-active[data-v-5ba98571]{text-align:left}.photo img[data-v-5a50e28c]{width:100%}.pic-line{list-style:none;font-size:0;white-space:nowrap;display:-webkit-box;display:-ms-flexbox;display:flex}.pic-line li{-webkit-box-flex:1;-ms-flex:1;flex:1;display:inline-block;position:relative}.pic-line li img{display:inline-block;width:100%;height:100%}.pic-line li .pictitle{width:100%;background:#000;opacity:.4;color:#fff;font-size:14px;position:absolute;bottom:0;padding:11px 12px 10px 15px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.pic-line:hover{cursor:pointer}.swiperpictitle{height:40px;width:100%;background:#000;opacity:.4;color:#fff;font-size:14px;position:absolute;bottom:0;padding:11px 12px 10px 15px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.imgstext-styleone[data-v-304b6d4a]{display:-webkit-box;display:-ms-flexbox;display:flex}.imgstext-styleone img[data-v-304b6d4a]{display:inline-block}.imgstext-styleone .content[data-v-304b6d4a]{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:30px;height:100%;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:5}.imgstext-styleone .content h3[data-v-304b6d4a]{font-size:27px;color:#333;font-weight:400}.imgstext-styleone .content .para[data-v-304b6d4a]{font-size:14px;color:#666;white-space:normal;word-break:break-all;word-wrap:break-word}.imgstext-styleone .item-wrap[data-v-304b6d4a]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:25%}.imgstext-styleone .item-wrap .content[data-v-304b6d4a]{padding:0}.imgstext-styleone .item-line-wrap[data-v-304b6d4a]{display:-webkit-box;display:-ms-flexbox;display:flex;padding:10px 5px}.imgstext-styleone .item-line-wrap .content[data-v-304b6d4a]{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:10px}@media screen and (max-width:768px){.imgstext-styleone .content[data-v-304b6d4a]{padding:5px}.imgstext-styleone .content .para[data-v-304b6d4a]{display:-webkit-box;-webkit-box-orient:vertical}.imgstext-styleone[data-v-304b6d4a]{-ms-flex-wrap:wrap;flex-wrap:wrap}.imgstext-styleone .item-line-wrap[data-v-304b6d4a]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%!important}.imgstext-styleone .item-line-wrap img[data-v-304b6d4a]{width:100%!important}.imgstext-styleone .item-line-wrap .content[data-v-304b6d4a]{padding:5px;width:100%!important}.imgstext-styleone .item-line-wrap .content .para[data-v-304b6d4a]{height:100%!important}.imgstext-styleone .item-wrap[data-v-304b6d4a]{width:50%}.imgstext-styleone .item-wrap .content .para[data-v-304b6d4a]{height:100%}}@media screen and (max-width:414px){.imgstext-styleone .content .para[data-v-304b6d4a]{min-height:100px;overflow:scroll}}.acrao[data-v-8a2af1b0]{-webkit-box-flex:1;-ms-flex:1;flex:1;max-width:100%;min-height:35px}.acrao .acrao_wrapper[data-v-8a2af1b0]{width:100%;background-size:cover!important}.acrao .topAffix[data-v-8a2af1b0]{position:fixed;top:0;z-index:99}.acrao .bottomAffix[data-v-8a2af1b0]{position:fixed;bottom:0;z-index:99}
\ No newline at end of file
.swiperMain[data-v-5c4efd8f]{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}.swiper-container[data-v-5c4efd8f]{width:100%;max-width:100%;height:400px}.swiper-container .swiper-wrapper[data-v-5c4efd8f]{width:100%}.swiper-container .swiper-slide[data-v-5c4efd8f]{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;position:relative}.swiper-container .swiper-slide .imgBg[data-v-5c4efd8f]{width:100%;height:100%;background-repeat:no-repeat;background-size:cover;background-position:top;background-position-y:center}.swiper-container .swiper-slide .swiper_text[data-v-5c4efd8f]{width:100%;height:100%;position:absolute;padding:70px 7%;top:0;left:0;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;overflow:hidden}.swiper-container .swiper-slide .swiper_text h1[data-v-5c4efd8f]{font-size:60px;font-family:MicrosoftYaHei-Bold,MicrosoftYaHei;font-weight:700;line-height:60px;color:#333;margin-bottom:30px}.swiper-container .swiper-slide .swiper_text p[data-v-5c4efd8f]{font-size:20px;font-family:MicrosoftYaHei;line-height:20px;color:#333}.swiper-container img[data-v-5c4efd8f]{width:100%;height:100%}@media screen and (max-width:750px){.swiper-container[data-v-5c4efd8f]{height:200px!important}.swiper-container .swiper_text[data-v-5c4efd8f]{padding:20px!important}.swiper-container .swiper_text h1[data-v-5c4efd8f]{font-size:30px!important;margin-bottom:15px!important;line-height:30px!important}.swiper-container .swiper_text p[data-v-5c4efd8f]{font-size:10px!important;line-height:20px!important}}.buttonMain[data-v-7de226b0]{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;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column}.buttonMain .buttonMain_btn[data-v-7de226b0]{width:160px;height:50px;padding:10px 40px;background:#1890ff;border-radius:4px;border:1px solid;outline:none;cursor:pointer;font-size:14px;font-family:MicrosoftYaHei;color:#fff;line-height:14px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}@media screen and (max-width:750px){.buttonMain[data-v-7de226b0]{padding:0 15px}.buttonMain_btn[data-v-7de226b0]{width:100%!important}}[data-v-b000ae00] .ivu-select-selection{height:40px;border-radius:0;background:transparent;border-color:transparent}[data-v-b000ae00] .ivu-select-selection /deep/ .ivu-select-placeholder,[data-v-b000ae00] .ivu-select-selection /deep/ .ivu-select-selected-value{height:40px;font-size:14px;line-height:40px}[data-v-7a22c201] .ivu-radio{margin-right:10px}[data-v-7a22c201] .ivu-radio-inner:after{width:4.67px;height:4.67px;left:4px;top:4px}[data-v-7a22c201] .ivu-checkbox-group-item{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;margin-right:30px}[data-v-7a22c201] .ivu-checkbox-group-item /deep/ .ivu-checkbox{margin-right:8px}[data-v-7a22c201] .ivu-checkbox-group-item /deep/ .ivu-checkbox-inner{width:16px;height:16px}[data-v-7a22c201] .ivu-checkbox-group-item /deep/ .ivu-checkbox-inner:after{top:2px;left:5px}[data-v-2730f167] .ivu-input,[data-v-2730f167] .ivu-input-group-append{height:40px;border-radius:0;border-color:transparent;background:transparent}[data-v-2730f167] .ivu-input-group-append .ivu-btn,[data-v-2730f167] .ivu-input .ivu-btn{height:40px}[data-v-2730f167] .ivu-input-group-prepend{display:none}.form-footer[data-v-5b818b28]{width:70%}.form-footer3[data-v-5b818b28],.form-footer[data-v-5b818b28]{position:fixed;bottom:0;right:0;border-top:1px solid #e8e8e8;padding:10px 16px;text-align:right;background:#fff}.form-footer3[data-v-5b818b28]{width:30%}.form-footer2[data-v-5b818b28]{width:100%;position:absolute;bottom:0;right:0;border-top:1px solid #e8e8e8;padding:10px 16px;text-align:right;background:#fff}[data-v-5b818b28] .ivu-input{height:40px;font-size:14px;border-radius:0;border-color:transparent;background:transparent}[data-v-5b818b28] .ivu-form-item-error .ivu-input{border-color:#ed4014}[data-v-5b818b28] .ivu-radio{margin-right:10px}[data-v-5b818b28] .ivu-radio-inner:after{width:4.67px;height:4.67px;left:4px;top:4px}[data-v-5b818b28] .ivu-radio-wrapper{font-size:14px;font-family:MicrosoftYaHeiUI;color:#333;line-height:14px;margin-right:30px}[data-v-5b818b28] .ivu-form-item-error .ivu-select-selection{border-color:#ed4014}[data-v-5b818b28] .ivu-card{background:transparent}[data-v-5b818b28] .ivu-form .ivu-form-item-label{font-size:14px;font-family:MicrosoftYaHei;color:#333;line-height:14px}[data-v-5b818b28] .ivu-card-body{padding:16px 12.4%}@media screen and (max-width:750px){[data-v-5b818b28] .ivu-card-body{padding:16px!important}}.mkdown-warpper[data-v-5ba98571]{background:#fff;width:100%;min-height:100px;border:1px dashed #999;padding:10px;-webkit-box-sizing:border-box;box-sizing:border-box}.mkdown-warpper button[data-v-5ba98571]{width:100px;height:36px;background:#1890ff;opacity:.7;border-radius:0}.mkdown-warpper input[data-v-5ba98571]{outline:none;width:100%;background:#fff;border:0;display:-webkit-box;display:-ms-flexbox;display:flex;text-align:center;font-size:24px}.mkdown-warpper .mkdown-active[data-v-5ba98571]{text-align:left}.photo img[data-v-5a50e28c]{width:100%}.pic-line{list-style:none;font-size:0;white-space:nowrap;display:-webkit-box;display:-ms-flexbox;display:flex}.pic-line li{-webkit-box-flex:1;-ms-flex:1;flex:1;display:inline-block;position:relative}.pic-line li img{display:inline-block;width:100%;height:100%}.pic-line li .pictitle{width:100%;background:#000;opacity:.4;color:#fff;font-size:14px;position:absolute;bottom:0;padding:11px 12px 10px 15px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.pic-line:hover{cursor:pointer}.swiperpictitle{height:40px;width:100%;background:#000;opacity:.4;color:#fff;font-size:14px;position:absolute;bottom:0;padding:11px 12px 10px 15px;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.imgstext-styleone[data-v-fde1ea04]{display:-webkit-box;display:-ms-flexbox;display:flex}.imgstext-styleone img[data-v-fde1ea04]{display:inline-block}.imgstext-styleone .content[data-v-fde1ea04]{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:30px;display:-webkit-box;-webkit-box-orient:vertical;overflow:hidden;-webkit-line-clamp:5}.imgstext-styleone .content h3[data-v-fde1ea04]{font-size:27px;color:#333;font-weight:400}.imgstext-styleone .content .para[data-v-fde1ea04]{font-size:14px;color:#666;white-space:normal;word-break:break-all;word-wrap:break-word}.imgstext-styleone .item-wrap[data-v-fde1ea04]{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:25%}.imgstext-styleone .item-wrap .content[data-v-fde1ea04]{padding:0}.imgstext-styleone .item-line-wrap[data-v-fde1ea04]{display:-webkit-box;display:-ms-flexbox;display:flex;padding:10px 5px}.imgstext-styleone .item-line-wrap .content[data-v-fde1ea04]{-webkit-box-flex:1;-ms-flex:1;flex:1;padding:10px}@media screen and (max-width:768px){.imgstext-styleone .content[data-v-fde1ea04]{padding:5px}.imgstext-styleone .content .para[data-v-fde1ea04]{display:-webkit-box;-webkit-box-orient:vertical}.imgstext-styleone[data-v-fde1ea04]{-ms-flex-wrap:wrap;flex-wrap:wrap}.imgstext-styleone .item-line-wrap[data-v-fde1ea04]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;width:100%!important}.imgstext-styleone .item-line-wrap img[data-v-fde1ea04]{width:100%!important}.imgstext-styleone .item-line-wrap .content[data-v-fde1ea04]{padding:5px;width:100%!important}.imgstext-styleone .item-line-wrap .content .para[data-v-fde1ea04]{height:100%!important}.imgstext-styleone .item-wrap[data-v-fde1ea04]{width:50%}.imgstext-styleone .item-wrap .content .para[data-v-fde1ea04]{height:100%}}@media screen and (max-width:414px){.imgstext-styleone .content .para[data-v-fde1ea04]{overflow:scroll}.imgstext-right[data-v-fde1ea04]{display:block}.imgstext-right>div[data-v-fde1ea04],.imgstext-right>img[data-v-fde1ea04]{width:100%!important}}.acrao[data-v-8a2af1b0]{-webkit-box-flex:1;-ms-flex:1;flex:1;max-width:100%;min-height:35px}.acrao .acrao_wrapper[data-v-8a2af1b0]{width:100%;background-size:cover!important}.acrao .topAffix[data-v-8a2af1b0]{position:fixed;top:0;z-index:99}.acrao .bottomAffix[data-v-8a2af1b0]{position:fixed;bottom:0;z-index:99}
\ No newline at end of file
.tfhref[data-v-4cccc5f2]{width:100%;height:100%;overflow:auto}.tfhref .tfhref_wrapper[data-v-4cccc5f2]{display:-webkit-box;display:-ms-flexbox;display:flex}.tfhref .kefu[data-v-4cccc5f2]{position:fixed;bottom:0;right:0;z-index:999;width:500px;height:514px;background:#fff;padding:30px 0 0 0;border-radius:10px}.tfhref .kefu .kefu_close[data-v-4cccc5f2]{width:30px;height:30px;background:#fff;border-radius:100px;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:20px;cursor:pointer;position:absolute;top:0;right:0}.tfhref .iframeIm[data-v-4cccc5f2]{width:100%;height:100%}
\ No newline at end of file
.tfhref[data-v-20d1a79e]{width:100%;height:100%;overflow:auto}.tfhref .tfhref_wrapper[data-v-20d1a79e]{display:-webkit-box;display:-ms-flexbox;display:flex}.tfhref .kefu[data-v-20d1a79e]{position:fixed;bottom:0;right:0;z-index:999;width:500px;height:514px;background:#fff;padding:30px 0 0 0;border-radius:10px}.tfhref .kefu .kefu_close[data-v-20d1a79e]{width:30px;height:30px;background:#fff;border-radius:100px;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:20px;cursor:pointer;position:absolute;top:0;right:0}.tfhref .iframeIm[data-v-20d1a79e]{width:100%;height:100%}.test-1[data-v-20d1a79e]::-webkit-scrollbar{width:2px;height:1px}.test-1[data-v-20d1a79e]::-webkit-scrollbar-thumb{background:#535353}.test-1[data-v-20d1a79e]::-webkit-scrollbar-thumb,.test-1[data-v-20d1a79e]::-webkit-scrollbar-track{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)}.test-1[data-v-20d1a79e]::-webkit-scrollbar-track{background:#ededed}
\ No newline at end of file
[data-v-2730f167] .ivu-input,[data-v-2730f167] .ivu-input-group-append{height:40px;border-radius:0;border-color:transparent;background:transparent}[data-v-2730f167] .ivu-input-group-append .ivu-btn,[data-v-2730f167] .ivu-input .ivu-btn{height:40px}[data-v-2730f167] .ivu-input-group-prepend{display:none}.form-footer{width:70%;position:fixed;bottom:0;right:0;border-top:1px solid #e8e8e8;padding:10px 16px;text-align:right;background:#fff}
\ No newline at end of file
.tfhref[data-v-2ea3fe64]{width:100%;height:100%;overflow:auto}.tfhref .tfhref_wrapper[data-v-2ea3fe64]{display:-webkit-box;display:-ms-flexbox;display:flex}.tfhref .kefu[data-v-2ea3fe64]{position:fixed;bottom:0;right:0;z-index:999;width:500px;height:514px;background:#fff;padding:30px 0 0 0;border-radius:10px}.tfhref .kefu .kefu_close[data-v-2ea3fe64]{width:30px;height:30px;background:#fff;border-radius:100px;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:20px;cursor:pointer;position:absolute;top:0;right:0}.tfhref .iframeIm[data-v-2ea3fe64]{width:100%;height:100%}
\ 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"><link rel=icon href=/ccc.png><link rel=stylesheet href=//at.alicdn.com/t/font_1996389_21r6b2e5cqci.css><title></title><link href=/css/chunk-06b6ea4a.41c5bd35.css rel=prefetch><link href=/css/chunk-0fb760a4.5c30cb40.css rel=prefetch><link href=/css/chunk-14b9857b.0dc416de.css rel=prefetch><link href=/css/chunk-2c359864.0dc416de.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-43de808c.513a3016.css rel=prefetch><link href=/css/chunk-60962e1f.73690a1f.css rel=prefetch><link href=/css/chunk-6feb7ee6.c24e44b5.css rel=prefetch><link href=/css/chunk-7e6a0141.971f439c.css rel=prefetch><link href=/css/chunk-cc77621c.8797b2b5.css rel=prefetch><link href=/js/chunk-06b6ea4a.2eaa3090.js rel=prefetch><link href=/js/chunk-0fb760a4.56bf0a09.js rel=prefetch><link href=/js/chunk-14b9857b.ae43b7c1.js rel=prefetch><link href=/js/chunk-1f11ec07.766ad876.js rel=prefetch><link href=/js/chunk-2c359864.f1f45686.js rel=prefetch><link href=/js/chunk-2d210f61.9e612a95.js rel=prefetch><link href=/js/chunk-3385141a.16d7705b.js rel=prefetch><link href=/js/chunk-3cca9940.f6b28725.js rel=prefetch><link href=/js/chunk-43de808c.6c659714.js rel=prefetch><link href=/js/chunk-5a4e13d5.6ebd883c.js rel=prefetch><link href=/js/chunk-60962e1f.166552bd.js rel=prefetch><link href=/js/chunk-6feb7ee6.9d37210b.js rel=prefetch><link href=/js/chunk-780401d4.2594e2ad.js rel=prefetch><link href=/js/chunk-7e6a0141.ea0fb0ef.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.a0c5a847.css rel=preload as=style><link href=/css/chunk-vendors.a0428467.css rel=preload as=style><link href=/js/app.c02f30cb.js rel=preload as=script><link href=/js/chunk-vendors.ca1af405.js rel=preload as=script><link href=/css/chunk-vendors.a0428467.css rel=stylesheet><link href=/css/app.a0c5a847.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.ca1af405.js></script><script src=/js/app.c02f30cb.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"><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-0fb760a4.5c30cb40.css rel=prefetch><link href=/css/chunk-14b9857b.0dc416de.css rel=prefetch><link href=/css/chunk-2c359864.0dc416de.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-561836f3.6707d6e1.css rel=prefetch><link href=/css/chunk-66a9b55d.94a401cd.css rel=prefetch><link href=/css/chunk-6b77ef07.70decc8e.css rel=prefetch><link href=/css/chunk-cc77621c.8797b2b5.css rel=prefetch><link href=/css/chunk-d8ffb93a.091b3ef8.css rel=prefetch><link href=/js/chunk-04497344.0f038df0.js rel=prefetch><link href=/js/chunk-0fb760a4.56bf0a09.js rel=prefetch><link href=/js/chunk-14b9857b.ae43b7c1.js rel=prefetch><link href=/js/chunk-1f11ec07.766ad876.js rel=prefetch><link href=/js/chunk-2c359864.f1f45686.js rel=prefetch><link href=/js/chunk-2d210f61.9e612a95.js rel=prefetch><link href=/js/chunk-3385141a.16d7705b.js rel=prefetch><link href=/js/chunk-3cca9940.f6b28725.js rel=prefetch><link href=/js/chunk-561836f3.00e0d351.js rel=prefetch><link href=/js/chunk-5a4e13d5.6ebd883c.js rel=prefetch><link href=/js/chunk-66a9b55d.1884440c.js rel=prefetch><link href=/js/chunk-6b77ef07.83a59a2a.js rel=prefetch><link href=/js/chunk-780401d4.2594e2ad.js rel=prefetch><link href=/js/chunk-cc77621c.209c3f4a.js rel=prefetch><link href=/js/chunk-d710b6d2.9eff4b27.js rel=prefetch><link href=/js/chunk-d8ffb93a.d8c6cbd7.js rel=prefetch><link href=/css/app.a0c5a847.css rel=preload as=style><link href=/css/chunk-vendors.a0428467.css rel=preload as=style><link href=/js/app.5bf8139d.js rel=preload as=script><link href=/js/chunk-vendors.ca1af405.js rel=preload as=script><link href=/css/chunk-vendors.a0428467.css rel=stylesheet><link href=/css/app.a0c5a847.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.ca1af405.js></script><script src=/js/app.5bf8139d.js></script></body></html>
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-04497344"],{1732:function(t,e,r){},a3b6:function(t,e,r){"use strict";var n=r("1732"),o=r.n(n);o.a},e1fd:function(t,e,r){"use strict";r.r(e);var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"tfhref test-1"},[t._l(t.moduleList,(function(e){return r("div",{key:e.id,staticClass:"tfhref_wrapper"},t._l(e.acraoList,(function(t){return r("Acrao",{key:t.id,attrs:{config:t}})})),1)})),r("div",{directives:[{name:"show",rawName:"v-show",value:t.isIframeShow,expression:"isIframeShow"}],staticClass:"kefu"},[r("div",{staticClass:"kefu_close"},[r("Icon",{attrs:{type:"md-close"},on:{click:t.closeKefu}})],1),r("iframe",{staticClass:"iframeIm",attrs:{src:"https://swt.gongsibao.com/LR/Chatpre.aspx?id=MGF22027130&lng=cn",frameborder:"0"}})])],2)},o=[],s=(r("5ab2"),r("e10e"),r("6d57"),r("ce3c")),a=r("759e"),c=r.n(a),i=r("8586"),f=r("6205"),u=r("9f3a");function l(t,e){var r=Object.keys(t);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(t);e&&(n=n.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),r.push.apply(r,n)}return r}function d(t){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?l(Object(r),!0).forEach((function(e){Object(s["a"])(t,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(r,e))}))}return t}var p={components:{Acrao:i["a"]},data:function(){return{moduleList:[]}},computed:d({},Object(u["e"])({isIframeShow:function(t){return t.template.isIframeShow}})),mounted:function(){this.getTemplateConfig()},methods:d({getTemplateConfig:function(){var t=this,e=this.$route.query.template_code;Object(f["c"])(e).then((function(e){if(200==e.status&&0==e.data.status){var r=e.data.data;r&&r.template_content&&(t.moduleList=JSON.parse(c.a.inflate(r.template_content,{to:"string"})).list,t.moduleList.forEach((function(e){e.id>t.moduleIndex&&(t.moduleIndex=e.id+1)})))}}))},closeKefu:function(){this.setIsIframeShow(!1)}},Object(u["d"])({setIsIframeShow:"template/setIsIframeShow"})),destroyed:function(){this.setIsIframeShow(!1)}},m=p,h=(r("a3b6"),r("9ca4")),b=Object(h["a"])(m,n,o,!1,null,"3fbf4483",null);e["default"]=b.exports}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-60962e1f"],{bf42:function(e,t,r){},e1fd:function(e,t,r){"use strict";r.r(t);var n=function(){var e=this,t=e.$createElement,r=e._self._c||t;return r("div",{staticClass:"tfhref"},[e._l(e.moduleList,(function(t){return r("div",{key:t.id,staticClass:"tfhref_wrapper"},e._l(t.acraoList,(function(e){return r("Acrao",{key:e.id,attrs:{config:e}})})),1)})),r("div",{directives:[{name:"show",rawName:"v-show",value:e.isIframeShow,expression:"isIframeShow"}],staticClass:"kefu"},[r("div",{staticClass:"kefu_close"},[r("Icon",{attrs:{type:"md-close"},on:{click:e.closeKefu}})],1),r("iframe",{staticClass:"iframeIm",attrs:{src:"https://swt.gongsibao.com/LR/Chatpre.aspx?id=MGF22027130&lng=cn",frameborder:"0"}})])],2)},o=[],s=(r("5ab2"),r("e10e"),r("6d57"),r("ce3c")),a=r("759e"),c=r.n(a),i=r("8586"),f=r("6205"),u=r("9f3a");function l(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),r.push.apply(r,n)}return r}function d(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?l(Object(r),!0).forEach((function(t){Object(s["a"])(e,t,r[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):l(Object(r)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))}))}return e}var p={components:{Acrao:i["a"]},data:function(){return{moduleList:[]}},computed:d({},Object(u["e"])({isIframeShow:function(e){return e.template.isIframeShow}})),mounted:function(){this.getTemplateConfig()},methods:d({getTemplateConfig:function(){var e=this,t=this.$route.query.template_code;Object(f["c"])(t).then((function(t){if(200==t.status&&0==t.data.status){var r=t.data.data;r&&r.template_content&&(e.moduleList=JSON.parse(c.a.inflate(r.template_content,{to:"string"})).list,e.moduleList.forEach((function(t){t.id>e.moduleIndex&&(e.moduleIndex=t.id+1)})))}}))},closeKefu:function(){this.setIsIframeShow(!1)}},Object(u["d"])({setIsIframeShow:"template/setIsIframeShow"})),destroyed:function(){this.setIsIframeShow(!1)}},m=p,h=(r("e8f5"),r("9ca4")),b=Object(h["a"])(m,n,o,!1,null,"4cccc5f2",null);t["default"]=b.exports},e8f5:function(e,t,r){"use strict";var n=r("bf42"),o=r.n(n);o.a}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-66a9b55d"],{"0b52":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tfhref test-1"},[e._l(e.moduleList,(function(t){return n("div",{key:t.id,staticClass:"tfhref_wrapper"},e._l(t.acraoList,(function(e){return n("Acrao",{key:e.id,attrs:{config:e}})})),1)})),n("div",{directives:[{name:"show",rawName:"v-show",value:e.isIframeShow,expression:"isIframeShow"}],staticClass:"kefu"},[n("div",{staticClass:"kefu_close"},[n("Icon",{attrs:{type:"md-close"},on:{click:e.closeKefu}})],1),n("iframe",{staticClass:"iframeIm",attrs:{src:"https://swt.gongsibao.com/LR/Chatpre.aspx?id=MGF22027130&lng=cn",frameborder:"0"}})])],2)},a=[],i=(n("5ab2"),n("e10e"),n("5748")),o=(n("6d57"),n("6a61"),n("cf7f")),s=n("ce3c"),c=n("759e"),u=n.n(c),f=n("8586"),l=n("9f3a"),d=n("6205");function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){Object(s["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var h={components:{Acrao:f["a"]},data:function(){return{moduleList:[]}},computed:p({},Object(l["e"])({isIframeShow:function(e){return e.template.isIframeShow}})),mounted:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.getModuleList();case 2:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),methods:p(p({getModuleList:function(){var e=this,t=this.$route.query,n={channel_code:t.source,business_type_code:t.business,lauch_type_code:t.type,marketing_subject_code:t.for,else_channel_param:t.event,template_id:t.id,device:t.device};Object(d["g"])(n).then((function(t){if(200==t.status&&0==t.data.status){var n=t.data.data;e.setIcon(n.templateinfo),e.setWebKey(n.templateinfo),e.saveLinkinfo(n.linkinfo),n.templateinfo.template_content&&(e.moduleList=JSON.parse(u.a.inflate(n.templateinfo.template_content,{to:"string"})).list,e.moduleList.forEach((function(t){t.id>e.moduleIndex&&(e.moduleIndex=t.id+1)})))}}))},setWebKey:function(e){document.title=e.title;var t=document.getElementsByTagName("head")[0],n=document.createElement("meta"),r=document.createElement("meta"),a=n,i=r;a.setAttribute("name","keywords"),a.setAttribute("content",e.keyword),i.setAttribute("name","description"),i.setAttribute("content",e.describe),t.appendChild(a),t.appendChild(i)},setIcon:function(e){var t=Object(i["a"])(document.getElementsByTagName("link")),n=t.filter((function(e){return"icon"==e.rel}))[0];n.setAttribute("href",e.pic_url)},closeKefu:function(){this.setIsIframeShow(!1)}},Object(l["d"])({setIsIframeShow:"template/setIsIframeShow",saveLinkinfo:"template/saveLinkinfo"})),{},{destroyed:function(){this.setIsIframeShow(!1)}})},b=h,w=(n("8e4a"),n("9ca4")),v=Object(w["a"])(b,r,a,!1,null,"20d1a79e",null);t["default"]=v.exports},"8e4a":function(e,t,n){"use strict";var r=n("d03d"),a=n.n(r);a.a},d03d:function(e,t,n){}}]);
\ No newline at end of file
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-6feb7ee6"],{"0675":function(e,t,n){"use strict";var r=n("6fbb"),a=n.n(r);a.a},"0b52":function(e,t,n){"use strict";n.r(t);var r=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("div",{staticClass:"tfhref"},[e._l(e.moduleList,(function(t){return n("div",{key:t.id,staticClass:"tfhref_wrapper"},e._l(t.acraoList,(function(e){return n("Acrao",{key:e.id,attrs:{config:e}})})),1)})),n("div",{directives:[{name:"show",rawName:"v-show",value:e.isIframeShow,expression:"isIframeShow"}],staticClass:"kefu"},[n("div",{staticClass:"kefu_close"},[n("Icon",{attrs:{type:"md-close"},on:{click:e.closeKefu}})],1),n("iframe",{staticClass:"iframeIm",attrs:{src:"https://swt.gongsibao.com/LR/Chatpre.aspx?id=MGF22027130&lng=cn",frameborder:"0"}})])],2)},a=[],i=(n("5ab2"),n("e10e"),n("5748")),o=(n("6d57"),n("6a61"),n("cf7f")),s=n("ce3c"),c=n("759e"),u=n.n(c),f=n("8586"),l=n("9f3a"),d=n("6205");function m(e,t){var n=Object.keys(e);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(e);t&&(r=r.filter((function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable}))),n.push.apply(n,r)}return n}function p(e){for(var t=1;t<arguments.length;t++){var n=null!=arguments[t]?arguments[t]:{};t%2?m(Object(n),!0).forEach((function(t){Object(s["a"])(e,t,n[t])})):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(n)):m(Object(n)).forEach((function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(n,t))}))}return e}var b={components:{Acrao:f["a"]},data:function(){return{moduleList:[]}},computed:p({},Object(l["e"])({isIframeShow:function(e){return e.template.isIframeShow}})),mounted:function(){var e=Object(o["a"])(regeneratorRuntime.mark((function e(){return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,this.getModuleList();case 2:case"end":return e.stop()}}),e,this)})));function t(){return e.apply(this,arguments)}return t}(),methods:p(p({getModuleList:function(){var e=this,t=this.$route.query,n={channel_code:t.source,business_type_code:t.business,lauch_type_code:t.type,marketing_subject_code:t.for,else_channel_param:t.event,template_id:t.id,device:t.device};Object(d["g"])(n).then((function(t){if(200==t.status&&0==t.data.status){var n=t.data.data;e.setIcon(n.templateinfo),e.setWebKey(n.templateinfo),e.saveLinkinfo(n.linkinfo),n.templateinfo.template_content&&(e.moduleList=JSON.parse(u.a.inflate(n.templateinfo.template_content,{to:"string"})).list,e.moduleList.forEach((function(t){t.id>e.moduleIndex&&(e.moduleIndex=t.id+1)})))}}))},setWebKey:function(e){document.title=e.title;var t=document.getElementsByTagName("head")[0],n=document.createElement("meta"),r=document.createElement("meta"),a=n,i=r;a.setAttribute("name","keywords"),a.setAttribute("content",e.keyword),i.setAttribute("name","description"),i.setAttribute("content",e.describe),t.appendChild(a),t.appendChild(i)},setIcon:function(e){var t=Object(i["a"])(document.getElementsByTagName("link")),n=t.filter((function(e){return"icon"==e.rel}))[0];n.setAttribute("href",e.pic_url)},closeKefu:function(){this.setIsIframeShow(!1)}},Object(l["d"])({setIsIframeShow:"template/setIsIframeShow",saveLinkinfo:"template/saveLinkinfo"})),{},{destroyed:function(){this.setIsIframeShow(!1)}})},h=b,w=(n("0675"),n("9ca4")),v=Object(w["a"])(h,r,a,!1,null,"2ea3fe64",null);t["default"]=v.exports},"6fbb":function(e,t,n){}}]);
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
This source diff could not be displayed because it is too large. You can view the blob instead.
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