公告管理、订单页面自动刷新状态、Qa页面复制功能

This commit is contained in:
karl 2024-07-29 15:22:30 +08:00
parent 2b05ec6853
commit 8833257d31
63 changed files with 72 additions and 39 deletions

View File

@ -27,8 +27,12 @@
<el-button @click="handleZip(item.trip_zip)" type="primary">下载行程</el-button>
</div>
<div class="desc_container" v-for="list in item.qaQuestions">
<div style="font-weight: 700;color: #46a6ff;" class="desc" v-html="handleprant(list.title)"></div>
<div class="desc" v-html="handleprantHtml(list.content)"></div>
<div style="font-weight: 700;color: #46a6ff;" class="desc" v-html="handleprant(list.title)">
</div>
<el-button @click="copyToClipboard(list.content)" type="primary" size="mini" style="margin-left: 10px;">复制</el-button>
<div class="desc" v-html="handleprantHtml(list.content)">
</div>
</div>
</li>
</ul>
@ -108,6 +112,24 @@ export default {
getQaList(this.dataForm).then(res => {
this.getQaLists = res.data.data
})
},
copyToClipboard(html) {
const text = this.stripHtml(html);
const input = document.createElement('textarea');
input.value = text;
document.body.appendChild(input);
input.select();
document.execCommand('copy');
document.body.removeChild(input);
this.$message({
showClose: true,
message: '内容已复制'
});
},
stripHtml(html) {
const div = document.createElement('div');
div.innerHTML = html;
return div.textContent || div.innerText || '';
}
}
}
@ -190,6 +212,10 @@ body {
font-size: 14px;
color: #666;
line-height: 24px;
.copy-button {
margin-left: 10px;
}
}
}
}

View File

@ -515,21 +515,26 @@ class OrderController extends base
*/
public function oneClickRepair(Request $request)
{
$id = $request->post('id', 0);
try {
$ids = $request->post('id', 0);
$idArr = explode(',', $ids);
$flow = [];
foreach ($idArr as $id) {
Log::info('同步订单ID' . $id);
$order = Orders::where('id', $id)->find();
if (empty($order)) {
return $this->error(2004, '记录没有找到.');
}
try {
$flow = [];
// 订单是待使用状态,先同步第三方状态
if (ServerOrders::isDaishiyong($order)) {
ServerOrders::syncFromThird($order);
$flow[] = "订单为待使用状态,已请求第三方进行同步。";
}
}
return $this->success(implode("\n", $flow));
}catch(\Exception $e) {

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
.pagination-container[data-v-28fdfbeb]{padding:32px 16px;position:fixed;bottom:0;left:0;width:100%;background:#fff;padding:40px 280px;-webkit-box-shadow:0 -2px 10px rgba(0,0,0,.1);box-shadow:0 -2px 10px rgba(0,0,0,.1);z-index:100}.pagination-container.hidden[data-v-28fdfbeb]{display:none}.app-container[data-v-463422f0]{position:relative;padding-bottom:60px}.el-table[data-v-463422f0],.filter-container[data-v-463422f0]{padding-bottom:52px}.mb10[data-v-463422f0]{margin-bottom:10px}

View File

@ -1 +0,0 @@
.desc_conten[data-v-450666d4]{white-space:nowrap;overflow:hidden;position:relative}.desc_conten .desc_btn[data-v-450666d4]{position:absolute;right:0}[data-v-fc7d9f38].el-button+.el-button{margin:0}.desc_conten[data-v-fc7d9f38]{white-space:nowrap;overflow:hidden;position:relative}.desc_conten .desc_btn[data-v-fc7d9f38]{position:absolute;right:0}.lineOnSale[data-v-fc7d9f38]{padding:60px 30px;margin:0 100px}.lineOnSale .lineOnSale_list[data-v-fc7d9f38]{display:-webkit-box;display:-ms-flexbox;display:flex}.lineOnSale .lineOnSale_list img[data-v-fc7d9f38]{width:290px;height:290px}.lineOnSale .lineOnSale_list .lineOnSale_centent[data-v-fc7d9f38]{margin-left:50px}.lineOnSale .lineOnSale_list .lineOnSale_centent .lineOnSale_title[data-v-fc7d9f38]{font-size:24px;color:#000;line-height:30px;font-weight:700}.lineOnSale .lineOnSale_list .lineOnSale_centent .lineOnSale_price[data-v-fc7d9f38]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:5px;-ms-flex-pack:distribute;justify-content:space-around}.lineOnSale .lineOnSale_list .lineOnSale_centent .lineOnSale_price .desc[data-v-fc7d9f38] .el-button--medium{padding:6px 10px}.lineOnSale .lineOnSale_list .lineOnSale_centent .lineOnSale_price div[data-v-fc7d9f38]{width:540px}.lineOnSale .lineOnSale_list .lineOnSale_centent .lineOnSale_price div+div[data-v-fc7d9f38]{margin-left:40px}.lineOnSale .lineOnSale_list .lineOnSale_centent .lineOnSale_price div p[data-v-fc7d9f38]{font-size:15px;color:#2e2e2e;line-height:30px;margin:0;font-weight:700}.lineOnSale .lineOnSale_list .lineOnSale_centent .lineOnSale_price div p[data-v-fc7d9f38]:nth-child(2){font-size:14px;color:rgba(0,0,0,.6)}.lineOnSale .lineOnSale_right[data-v-fc7d9f38]{margin-left:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.lineOnSale .lineOnSale_right[data-v-fc7d9f38] .el-button{display:block}.lineOnSale .lineOnSale_right .btn[data-v-fc7d9f38]{width:160px;height:36px;font-weight:700}.lineOnSale .lineOnSale_right .btn+.btn[data-v-fc7d9f38]{margin-top:10px}

View File

@ -1 +1 @@
.pagination-container[data-v-28fdfbeb]{padding:32px 16px;position:fixed;bottom:0;left:0;width:100%;background:#fff;padding:40px 280px;-webkit-box-shadow:0 -2px 10px rgba(0,0,0,.1);box-shadow:0 -2px 10px rgba(0,0,0,.1);z-index:100}.pagination-container.hidden[data-v-28fdfbeb]{display:none}.app-container[data-v-23e05a42]{position:relative;padding-bottom:60px}.el-table[data-v-23e05a42],.filter-container[data-v-23e05a42]{padding-bottom:52px}
.pagination-container[data-v-28fdfbeb]{padding:32px 16px;position:fixed;bottom:0;left:0;width:100%;background:#fff;padding:40px 280px;-webkit-box-shadow:0 -2px 10px rgba(0,0,0,.1);box-shadow:0 -2px 10px rgba(0,0,0,.1);z-index:100}.pagination-container.hidden[data-v-28fdfbeb]{display:none}.app-container[data-v-55181eda]{position:relative;padding-bottom:60px}.el-table[data-v-55181eda],.filter-container[data-v-55181eda]{padding-bottom:52px}

View File

@ -0,0 +1 @@
.desc_conten[data-v-0c9295b8]{white-space:nowrap;overflow:hidden;position:relative}.desc_conten .desc_btn[data-v-0c9295b8]{position:absolute;right:0}[data-v-4a88b338].el-button+.el-button{margin:0}.desc_conten[data-v-4a88b338]{white-space:nowrap;overflow:hidden;position:relative}.desc_conten .desc_btn[data-v-4a88b338]{position:absolute;right:0}.lineOnSale[data-v-4a88b338]{padding:60px 30px;margin:0 100px}.lineOnSale .lineOnSale_list[data-v-4a88b338]{display:-webkit-box;display:-ms-flexbox;display:flex}.lineOnSale .lineOnSale_list img[data-v-4a88b338]{width:290px;height:290px}.lineOnSale .lineOnSale_list .lineOnSale_centent[data-v-4a88b338]{margin-left:50px}.lineOnSale .lineOnSale_list .lineOnSale_centent .lineOnSale_title[data-v-4a88b338]{font-size:24px;color:#000;line-height:30px;font-weight:700}.lineOnSale .lineOnSale_list .lineOnSale_centent .lineOnSale_price[data-v-4a88b338]{display:-webkit-box;display:-ms-flexbox;display:flex;margin-top:5px;-ms-flex-pack:distribute;justify-content:space-around}.lineOnSale .lineOnSale_list .lineOnSale_centent .lineOnSale_price .desc[data-v-4a88b338] .el-button--medium{padding:6px 10px}.lineOnSale .lineOnSale_list .lineOnSale_centent .lineOnSale_price div[data-v-4a88b338]{width:540px}.lineOnSale .lineOnSale_list .lineOnSale_centent .lineOnSale_price div+div[data-v-4a88b338]{margin-left:40px}.lineOnSale .lineOnSale_list .lineOnSale_centent .lineOnSale_price div p[data-v-4a88b338]{font-size:15px;color:#2e2e2e;line-height:30px;margin:0;font-weight:700}.lineOnSale .lineOnSale_list .lineOnSale_centent .lineOnSale_price div p[data-v-4a88b338]:nth-child(2){font-size:14px;color:rgba(0,0,0,.6)}.lineOnSale .lineOnSale_right[data-v-4a88b338]{margin-left:20px;display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-box-align:center;-ms-flex-align:center;align-items:center}.lineOnSale .lineOnSale_right[data-v-4a88b338] .el-button{display:block}.lineOnSale .lineOnSale_right .btn[data-v-4a88b338]{width:160px;height:36px;font-weight:700}.lineOnSale .lineOnSale_right .btn+.btn[data-v-4a88b338]{margin-top:10px}

View File

@ -1 +0,0 @@
@font-face{font-family:PingFang;src:url(../../static/fonts/PingFang\ SC.212ada59.ttf);font-weight:400;font-style:normal}body[data-v-2e0e8c20]{font-family:PingFang!important}.infinite-list[data-v-2e0e8c20]{list-style-type:none;height:calc(100vh - 154px);padding:0;margin:0}.desc_container+.desc_container[data-v-2e0e8c20]{margin-top:10px;padding-top:10px}.desc_container .desc_title[data-v-2e0e8c20]{font-size:18px;font-weight:500;color:#333;line-height:25px;margin-bottom:10px}.desc_container .desc_content[data-v-2e0e8c20]{font-size:14px;font-weight:300}.problem .problem_form[data-v-2e0e8c20]{margin-top:10px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.problem .problem_container[data-v-2e0e8c20],.problem .problem_form[data-v-2e0e8c20]{display:-webkit-box;display:-ms-flexbox;display:flex}.problem .problem_container .problem_left[data-v-2e0e8c20]{font-family:PingFang,sans-serif;font-weight:300;width:18%;background:#fff;padding:0 20px;border-right:2px solid #46a6ff;height:calc(100vh - 154px)}.problem .problem_container .problem_left .btn[data-v-2e0e8c20]{color:#fff;padding:10px 20px;cursor:pointer;text-align:center;background:#46a6ff;border-radius:10px}.problem .problem_container .problem_left .btn+.btn[data-v-2e0e8c20]{margin-top:10px}.problem .problem_container .problem_right[data-v-2e0e8c20]{width:100%;background:#fff;padding:0 20px}.problem .problem_container .problem_right .problem_right_container+.problem_right_container[data-v-2e0e8c20]{margin-top:20px}.problem .problem_container .problem_right .problem_right_container .title[data-v-2e0e8c20]{font-size:20px;font-weight:600;margin-bottom:10px;color:#46a6ff}.problem .problem_container .problem_right .problem_right_container .title[data-v-2e0e8c20]>:first-child{margin-right:40px}.problem .problem_container .problem_right .problem_right_container .desc[data-v-2e0e8c20]{font-size:14px;color:#666;line-height:24px}

View File

@ -1 +1 @@
.pagination-container[data-v-28fdfbeb]{padding:32px 16px;position:fixed;bottom:0;left:0;width:100%;background:#fff;padding:40px 280px;-webkit-box-shadow:0 -2px 10px rgba(0,0,0,.1);box-shadow:0 -2px 10px rgba(0,0,0,.1);z-index:100}.pagination-container.hidden[data-v-28fdfbeb]{display:none}.app-container[data-v-06715ed5]{position:relative;padding-bottom:60px}.el-table[data-v-06715ed5],.filter-container[data-v-06715ed5]{padding-bottom:52px}
.pagination-container[data-v-28fdfbeb]{padding:32px 16px;position:fixed;bottom:0;left:0;width:100%;background:#fff;padding:40px 280px;-webkit-box-shadow:0 -2px 10px rgba(0,0,0,.1);box-shadow:0 -2px 10px rgba(0,0,0,.1);z-index:100}.pagination-container.hidden[data-v-28fdfbeb]{display:none}.app-container[data-v-f648eafc]{position:relative;padding-bottom:60px}.el-table[data-v-f648eafc],.filter-container[data-v-f648eafc]{padding-bottom:52px}

View File

@ -1 +1 @@
.pagination-container[data-v-28fdfbeb]{padding:32px 16px;position:fixed;bottom:0;left:0;width:100%;background:#fff;padding:40px 280px;-webkit-box-shadow:0 -2px 10px rgba(0,0,0,.1);box-shadow:0 -2px 10px rgba(0,0,0,.1);z-index:100}.pagination-container.hidden[data-v-28fdfbeb]{display:none}.app-container[data-v-a256f162]{position:relative;padding-bottom:60px}.el-table[data-v-a256f162],.filter-container[data-v-a256f162]{padding-bottom:52px}
.pagination-container[data-v-28fdfbeb]{padding:32px 16px;position:fixed;bottom:0;left:0;width:100%;background:#fff;padding:40px 280px;-webkit-box-shadow:0 -2px 10px rgba(0,0,0,.1);box-shadow:0 -2px 10px rgba(0,0,0,.1);z-index:100}.pagination-container.hidden[data-v-28fdfbeb]{display:none}.app-container[data-v-71de5b60]{position:relative;padding-bottom:60px}.el-table[data-v-71de5b60],.filter-container[data-v-71de5b60]{padding-bottom:52px}

View File

@ -0,0 +1 @@
@font-face{font-family:PingFang;src:url(../../static/fonts/PingFang\ SC.212ada59.ttf);font-weight:400;font-style:normal}body[data-v-6f2e1dc2]{font-family:PingFang!important}.infinite-list[data-v-6f2e1dc2]{list-style-type:none;height:calc(100vh - 154px);padding:0;margin:0}.desc_container+.desc_container[data-v-6f2e1dc2]{margin-top:10px;padding-top:10px}.desc_container .desc_title[data-v-6f2e1dc2]{font-size:18px;font-weight:500;color:#333;line-height:25px;margin-bottom:10px}.desc_container .desc_content[data-v-6f2e1dc2]{font-size:14px;font-weight:300}.problem .problem_form[data-v-6f2e1dc2]{margin-top:10px;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center}.problem .problem_container[data-v-6f2e1dc2],.problem .problem_form[data-v-6f2e1dc2]{display:-webkit-box;display:-ms-flexbox;display:flex}.problem .problem_container .problem_left[data-v-6f2e1dc2]{font-family:PingFang,sans-serif;font-weight:300;width:18%;background:#fff;padding:0 20px;border-right:2px solid #46a6ff;height:calc(100vh - 154px)}.problem .problem_container .problem_left .btn[data-v-6f2e1dc2]{color:#fff;padding:10px 20px;cursor:pointer;text-align:center;background:#46a6ff;border-radius:10px}.problem .problem_container .problem_left .btn+.btn[data-v-6f2e1dc2]{margin-top:10px}.problem .problem_container .problem_right[data-v-6f2e1dc2]{width:100%;background:#fff;padding:0 20px}.problem .problem_container .problem_right .problem_right_container+.problem_right_container[data-v-6f2e1dc2]{margin-top:20px}.problem .problem_container .problem_right .problem_right_container .title[data-v-6f2e1dc2]{font-size:20px;font-weight:600;margin-bottom:10px;color:#46a6ff}.problem .problem_container .problem_right .problem_right_container .title[data-v-6f2e1dc2]>:first-child{margin-right:40px}.problem .problem_container .problem_right .problem_right_container .desc[data-v-6f2e1dc2]{font-size:14px;color:#666;line-height:24px}.problem .problem_container .problem_right .problem_right_container .desc .copy-button[data-v-6f2e1dc2]{margin-left:10px}

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -1 +0,0 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-472a8e80"],{"2ce8":function(t,e,n){"use strict";n("c60a")},"3e1c":function(t,e,n){"use strict";n("66e7")},"66e7":function(t,e,n){},c60a:function(t,e,n){},dae2:function(t,e,n){"use strict";n.r(e);var s=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"lineOnSale"},[s("div",{staticClass:"lineOnSale_list"},[s("img",{attrs:{src:n("eef5"),alt:""}}),s("div",{staticClass:"lineOnSale_centent"},[s("div",{staticClass:"lineOnSale_title"},[t._v("天上人间—马尔代夫7日自由行7天")]),s("div",{staticClass:"lineOnSale_price"},[s("div",{staticClass:"desc"},[s("p",[t._v("行程天数:")]),s("overflowConcealment",{attrs:{content:"天上人间—马尔代夫7日自尔代夫7日自由行7天天上人间—马尔代夫7夫7日自由日自由行7天"}})],1),s("div",{staticClass:"desc"},[s("p",[t._v("购物店:")]),s("overflowConcealment",{attrs:{content:"马尔代夫"}})],1)]),s("div",{staticClass:"lineOnSale_price"},[s("div",{staticClass:"desc"},[s("p",[t._v("是否含大交通:")]),s("overflowConcealment",{attrs:{content:"否"}})],1),s("div",{staticClass:"desc"},[s("p",[t._v("可售卖平台:")]),s("overflowConcealment",{attrs:{content:"否"}})],1)]),s("div",{staticClass:"lineOnSale_price"},[s("div",{staticClass:"desc"},[s("p",[t._v("卖点:")]),s("overflowConcealment",{attrs:{content:"誉为印度洋的珍珠"}})],1),s("div",{staticClass:"desc"},[s("p",[t._v("佣金:")]),s("overflowConcealment",{attrs:{content:"6521615"}})],1)]),s("div",{staticClass:"lineOnSale_price"},[s("div",{staticClass:"desc"},[s("p",[t._v("赠送项目:")]),s("overflowConcealment",{attrs:{content:"沙巴岛一日游"}})],1),s("div",{staticClass:"desc"},[s("p",[t._v("卖价:")]),s("overflowConcealment",{attrs:{content:"6546466"}})],1)])]),s("div",{staticClass:"lineOnSale_right"},[s("div",{staticClass:"lineOnSale_btn"},[s("el-button",{staticClass:"btn",attrs:{type:"primary"}},[t._v("下载行程")]),s("el-button",{staticClass:"btn",attrs:{type:"primary"}},[t._v("下载话术")]),s("el-button",{staticClass:"btn",attrs:{type:"primary"}},[t._v("下载图片")]),s("el-button",{staticClass:"btn",attrs:{type:"primary"}},[t._v("下载视频")])],1)])])])},a=[],c=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("p",{ref:"desc_conten",staticClass:"desc_conten"},[t._v(t._s(t.content)),n("el-button",{directives:[{name:"show",rawName:"v-show",value:t.isTruncated,expression:"isTruncated"}],staticClass:"desc_btn",attrs:{type:"primary"},on:{click:function(e){return t.open(t.content)}}},[t._v("查看")])],1)},i=[],o={name:"home",data:function(){return{isTruncated:!1}},props:{content:{type:String,default:""}},mounted:function(){this.checkTruncation(),window.addEventListener("resize",this.checkTruncation)},destroyed:function(){window.removeEventListener("resize",this.checkTruncation)},methods:{open:function(t){this.$alert(t,"内容",{confirmButtonText:"确定"})},checkTruncation:function(){this.isTruncated=this.$refs["desc_conten"].offsetWidth<this.$refs["desc_conten"].scrollWidth}}},l=o,r=(n("2ce8"),n("2877")),d=Object(r["a"])(l,c,i,!1,null,"450666d4",null),u=d.exports,v={name:"lineOnSale",data:function(){return{isTruncated:!1}},components:{overflowConcealment:u},mounted:function(){},methods:{handleDownload:function(t){t?window.open(t):this.$message({showClose:!0,message:"暂无下载链接"})}}},f=v,p=(n("3e1c"),Object(r["a"])(f,s,a,!1,null,"fc7d9f38",null));e["default"]=p.exports},eef5:function(t,e,n){t.exports=n.p+"static/img/fff.01376ab1.png"}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5d3a368d"],{"0483":function(t,e,n){"use strict";n("4bd5")},"17eb":function(t,e,n){"use strict";n("48aa")},"48aa":function(t,e,n){},"4bd5":function(t,e,n){},dae2:function(t,e,n){"use strict";n.r(e);var s=function(){var t=this,e=t.$createElement,s=t._self._c||e;return s("div",{staticClass:"lineOnSale"},[s("div",{staticClass:"lineOnSale_list"},[s("img",{attrs:{src:n("eef5"),alt:""}}),s("div",{staticClass:"lineOnSale_centent"},[s("div",{staticClass:"lineOnSale_title"},[t._v("天上人间—马尔代夫7日自由行7天")]),s("div",{staticClass:"lineOnSale_price"},[s("div",{staticClass:"desc"},[s("p",[t._v("行程天数:")]),s("overflowConcealment",{attrs:{content:"天上人间—马尔代夫7日自尔代夫7日自由行7天天上人间—马尔代夫7夫7日自由日自由行7天"}})],1),s("div",{staticClass:"desc"},[s("p",[t._v("购物店:")]),s("overflowConcealment",{attrs:{content:"马尔代夫"}})],1)]),s("div",{staticClass:"lineOnSale_price"},[s("div",{staticClass:"desc"},[s("p",[t._v("是否含大交通:")]),s("overflowConcealment",{attrs:{content:"否"}})],1),s("div",{staticClass:"desc"},[s("p",[t._v("可售卖平台:")]),s("overflowConcealment",{attrs:{content:"否"}})],1)]),s("div",{staticClass:"lineOnSale_price"},[s("div",{staticClass:"desc"},[s("p",[t._v("卖点:")]),s("overflowConcealment",{attrs:{content:"誉为印度洋的珍珠"}})],1),s("div",{staticClass:"desc"},[s("p",[t._v("佣金:")]),s("overflowConcealment",{attrs:{content:"6521615"}})],1)]),s("div",{staticClass:"lineOnSale_price"},[s("div",{staticClass:"desc"},[s("p",[t._v("赠送项目:")]),s("overflowConcealment",{attrs:{content:"沙巴岛一日游"}})],1),s("div",{staticClass:"desc"},[s("p",[t._v("卖价:")]),s("overflowConcealment",{attrs:{content:"6546466"}})],1)])]),s("div",{staticClass:"lineOnSale_right"},[s("div",{staticClass:"lineOnSale_btn"},[s("el-button",{staticClass:"btn",attrs:{type:"primary"}},[t._v("下载行程")]),s("el-button",{staticClass:"btn",attrs:{type:"primary"}},[t._v("下载话术")]),s("el-button",{staticClass:"btn",attrs:{type:"primary"}},[t._v("下载图片")]),s("el-button",{staticClass:"btn",attrs:{type:"primary"}},[t._v("下载视频")])],1)])])])},a=[],i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("p",{ref:"desc_conten",staticClass:"desc_conten"},[t._v(t._s(t.content)),n("el-button",{directives:[{name:"show",rawName:"v-show",value:t.isTruncated,expression:"isTruncated"}],staticClass:"desc_btn",attrs:{type:"primary"},on:{click:function(e){return t.open(t.content)}}},[t._v("查看")])],1)},c=[],o={name:"overflowConcealment",data:function(){return{isTruncated:!1}},props:{content:{type:String,default:""}},mounted:function(){this.checkTruncation(),window.addEventListener("resize",this.checkTruncation)},destroyed:function(){window.removeEventListener("resize",this.checkTruncation)},methods:{open:function(t){this.$alert(t,"内容",{confirmButtonText:"确定"})},checkTruncation:function(){this.isTruncated=this.$refs["desc_conten"].offsetWidth<this.$refs["desc_conten"].scrollWidth}}},l=o,r=(n("17eb"),n("2877")),d=Object(r["a"])(l,i,c,!1,null,"0c9295b8",null),v=d.exports,u={name:"lineOnSale",data:function(){return{isTruncated:!1}},components:{overflowConcealment:v},mounted:function(){},methods:{handleDownload:function(t){t?window.open(t):this.$message({showClose:!0,message:"暂无下载链接"})}}},f=u,p=(n("0483"),Object(r["a"])(f,s,a,!1,null,"4a88b338",null));e["default"]=p.exports},eef5:function(t,e,n){t.exports=n.p+"static/img/fff.01376ab1.png"}}]);

View File

@ -1 +0,0 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-5da3c354"],{"007c":function(t,e,a){},7129:function(t,e,a){"use strict";a("007c")},e132:function(t,e,a){"use strict";a.r(e);var i=function(){var t=this,e=t.$createElement,a=t._self._c||e;return a("div",{staticClass:"problem"},[a("el-row",[a("el-col",{attrs:{span:24}},[a("div",{staticClass:"problem_form"},[a("el-form",{ref:"form",attrs:{inline:!0,model:t.dataForm,"label-width":"60px"}},[a("el-form-item",{attrs:{label:"关键字:"}},[a("el-input",{staticClass:"filter-item",staticStyle:{width:"400px"},attrs:{placeholder:"请输入搜索关键字"},model:{value:t.dataForm.keyword,callback:function(e){t.$set(t.dataForm,"keyword",e)},expression:"dataForm.keyword"}})],1),a("el-form-item",[a("el-button",{attrs:{type:"success"},on:{click:t.onSubmit}},[t._v("查询")])],1)],1)],1)])],1),a("div",{staticClass:"problem_container"},[a("div",{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:t.load,expression:"load"}],staticClass:"problem_left",staticStyle:{overflow:"auto",padding:"10px"},attrs:{"infinite-scroll-immediate":!1}},t._l(t.getQaCityList,(function(e){return a("div",{staticClass:"btn",on:{click:function(a){return t.handleQacityl(e.city_id)}}},[t._v(t._s(e.city_name))])})),0),a("div",{staticClass:"problem_right"},[a("ul",{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:t.load,expression:"load"}],staticClass:"infinite-list",staticStyle:{overflow:"auto"},attrs:{"infinite-scroll-immediate":!1}},t._l(t.getQaLists,(function(e){return a("li",{staticClass:"problem_right_container"},[a("div",{staticClass:"title"},[a("span",{domProps:{innerHTML:t._s(t.handleprant(e.title))}}),a("el-button",{attrs:{type:"primary"},on:{click:function(a){return t.handleZip(e.img_zip)}}},[t._v("下载图片")]),a("el-button",{attrs:{type:"primary"},on:{click:function(a){return t.handleZip(e.trip_zip)}}},[t._v("下载行程")])],1),t._l(e.qaQuestions,(function(e){return a("div",{staticClass:"desc_container"},[a("div",{staticClass:"desc",staticStyle:{"font-weight":"700",color:"#46a6ff"},domProps:{innerHTML:t._s(t.handleprant(e.title))}}),a("div",{staticClass:"desc",domProps:{innerHTML:t._s(t.handleprantHtml(e.content))}})])}))],2)})),0)])])],1)},n=[],s=(a("4d63"),a("ac1f"),a("2c3e"),a("25f0"),a("5319"),a("85a8")),o={data:function(){return{getQaCityList:[],getQaLists:[],dataForm:{keyword:"",city_id:""}}},created:function(){var t=this;Object(s["a"])().then((function(e){t.getQaCityList=e.data}))},watch:{"dataForm.keyword":function(t){t&&this.onSubmit()}},methods:{handleQacityl:function(t){var e=this;Object(s["b"])({city_id:t}).then((function(t){e.getQaLists=t.data.data}))},handleZip:function(t){t?window.open(t):this.$message({showClose:!0,message:"暂无下载链接"})},load:function(){console.log("load")},handleprant:function(t){if(!t)return"";var e=new RegExp(this.dataForm.keyword,"ig"),a='<span style="color: #fff;background-color: #FC0421FF;">'.concat(this.dataForm.keyword,"</span>");return t.replace(e,a)},handleprantHtml:function(t){if(!t)return"";var e=this.dataForm.keyword,a=new RegExp(e,"g"),i=t.replace(/(?<=>)[^>]+(?=<[/]?\w+.*>)/g,(function(t){return t.replace(a,"<span style='color: #fff;background-color: #FC0421FF;'>".concat(e,"</span>"))}));return i===t?this.handleprant(t):i},onSubmit:function(){var t=this;Object(s["b"])(this.dataForm).then((function(e){t.getQaLists=e.data.data}))}}},r=o,l=(a("7129"),a("2877")),c=Object(l["a"])(r,i,n,!1,null,"2e0e8c20",null);e["default"]=c.exports}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

View File

@ -0,0 +1 @@
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-75fe883e"],{"24ea":function(t,e,n){"use strict";n("a57d")},a57d:function(t,e,n){},e132:function(t,e,n){"use strict";n.r(e);var a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"problem"},[n("el-row",[n("el-col",{attrs:{span:24}},[n("div",{staticClass:"problem_form"},[n("el-form",{ref:"form",attrs:{inline:!0,model:t.dataForm,"label-width":"60px"}},[n("el-form-item",{attrs:{label:"关键字:"}},[n("el-input",{staticClass:"filter-item",staticStyle:{width:"400px"},attrs:{placeholder:"请输入搜索关键字"},model:{value:t.dataForm.keyword,callback:function(e){t.$set(t.dataForm,"keyword",e)},expression:"dataForm.keyword"}})],1),n("el-form-item",[n("el-button",{attrs:{type:"success"},on:{click:t.onSubmit}},[t._v("查询")])],1)],1)],1)])],1),n("div",{staticClass:"problem_container"},[n("div",{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:t.load,expression:"load"}],staticClass:"problem_left",staticStyle:{overflow:"auto",padding:"10px"},attrs:{"infinite-scroll-immediate":!1}},t._l(t.getQaCityList,(function(e){return n("div",{staticClass:"btn",on:{click:function(n){return t.handleQacityl(e.city_id)}}},[t._v(t._s(e.city_name))])})),0),n("div",{staticClass:"problem_right"},[n("ul",{directives:[{name:"infinite-scroll",rawName:"v-infinite-scroll",value:t.load,expression:"load"}],staticClass:"infinite-list",staticStyle:{overflow:"auto"},attrs:{"infinite-scroll-immediate":!1}},t._l(t.getQaLists,(function(e){return n("li",{staticClass:"problem_right_container"},[n("div",{staticClass:"title"},[n("span",{domProps:{innerHTML:t._s(t.handleprant(e.title))}}),n("el-button",{attrs:{type:"primary"},on:{click:function(n){return t.handleZip(e.img_zip)}}},[t._v("下载图片")]),n("el-button",{attrs:{type:"primary"},on:{click:function(n){return t.handleZip(e.trip_zip)}}},[t._v("下载行程")])],1),t._l(e.qaQuestions,(function(e){return n("div",{staticClass:"desc_container"},[n("div",{staticClass:"desc",staticStyle:{"font-weight":"700",color:"#46a6ff"},domProps:{innerHTML:t._s(t.handleprant(e.title))}}),n("el-button",{staticStyle:{"margin-left":"10px"},attrs:{type:"primary",size:"mini"},on:{click:function(n){return t.copyToClipboard(e.content)}}},[t._v("复制")]),n("div",{staticClass:"desc",domProps:{innerHTML:t._s(t.handleprantHtml(e.content))}})],1)}))],2)})),0)])])],1)},i=[],o=(n("4d63"),n("ac1f"),n("2c3e"),n("25f0"),n("5319"),n("85a8")),r={data:function(){return{getQaCityList:[],getQaLists:[],dataForm:{keyword:"",city_id:""}}},created:function(){var t=this;Object(o["a"])().then((function(e){t.getQaCityList=e.data}))},watch:{"dataForm.keyword":function(t){t&&this.onSubmit()}},methods:{handleQacityl:function(t){var e=this;Object(o["b"])({city_id:t}).then((function(t){e.getQaLists=t.data.data}))},handleZip:function(t){t?window.open(t):this.$message({showClose:!0,message:"暂无下载链接"})},load:function(){console.log("load")},handleprant:function(t){if(!t)return"";var e=new RegExp(this.dataForm.keyword,"ig"),n='<span style="color: #fff;background-color: #FC0421FF;">'.concat(this.dataForm.keyword,"</span>");return t.replace(e,n)},handleprantHtml:function(t){if(!t)return"";var e=this.dataForm.keyword,n=new RegExp(e,"g"),a=t.replace(/(?<=>)[^>]+(?=<[/]?\w+.*>)/g,(function(t){return t.replace(n,"<span style='color: #fff;background-color: #FC0421FF;'>".concat(e,"</span>"))}));return a===t?this.handleprant(t):a},onSubmit:function(){var t=this;Object(o["b"])(this.dataForm).then((function(e){t.getQaLists=e.data.data}))},copyToClipboard:function(t){var e=this.stripHtml(t),n=document.createElement("textarea");n.value=e,document.body.appendChild(n),n.select(),document.execCommand("copy"),document.body.removeChild(n),this.$message({showClose:!0,message:"内容已复制"})},stripHtml:function(t){var e=document.createElement("div");return e.innerHTML=t,e.textContent||e.innerText||""}}},s=r,l=(n("24ea"),n("2877")),c=Object(l["a"])(s,a,i,!1,null,"6f2e1dc2",null);e["default"]=c.exports}}]);

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long