glhcp/server/public/_nuxt/dfe4d07.js

1 line
7.5 KiB
JavaScript
Raw Normal View History

2023-09-28 03:22:06 +00:00
(window.webpackJsonp=window.webpackJsonp||[]).push([[27],{585:function(e,t,o){var content=o(656);content.__esModule&&(content=content.default),"string"==typeof content&&(content=[[e.i,content,""]]),content.locals&&(e.exports=content.locals);(0,o(18).default)("22387f82",content,!0,{sourceMap:!1})},655:function(e,t,o){"use strict";o(585)},656:function(e,t,o){var n=o(17)((function(i){return i[1]}));n.push([e.i,".news-details-container .nav-container[data-v-af3068ba]{padding:15px 16px}.news-details-container .content-box[data-v-af3068ba]{display:flex;flex-direction:row}.news-details-container .content-box .news-detail-box[data-v-af3068ba]{background-color:#fff;width:100%}.news-details-container .content-box .news-detail-box .content-header[data-v-af3068ba]{border-bottom:1px solid #e5e5e5;margin:0 20px;padding:20px 0;position:relative}.news-details-container .content-box .news-detail-box .content-header .news-detail-title[data-v-af3068ba]{color:#222;font-size:24px;font-weight:500;margin-bottom:30px;max-width:860px}.news-details-container .content-box .news-detail-box .content-html-box[data-v-af3068ba]{padding:24px 20px}.news-details-container .content-box .news-detail-box .content-html-box>div[data-v-af3068ba]{overflow:hidden;width:100%}.news-details-container .content-box .news-detail-box .content-html-box>div[data-v-af3068ba] img{width:100%}.news-details-container .content-box .recommend-box[data-v-af3068ba]{width:264px}.news-details-container .content-box .recommend-box .recommend-box-header[data-v-af3068ba]{border-bottom:1px solid #e5e5e5;padding:15px 10px}.news-details-container .content-box .recommend-box .recommend-box-header .primary-line[data-v-af3068ba]{background-color:#ff2c3c;height:20px;margin-right:10px;width:4px}.news-details-container .content-box .recommend-box .recommend-box-content .recommend-list-container .recommend-list-item[data-v-af3068ba]{cursor:pointer;padding:10px}.news-details-container .content-box .recommend-box .recommend-box-content .recommend-list-container .recommend-list-item .goods-info[data-v-af3068ba]{margin-top:8px}.demand-title[data-v-af3068ba]{-webkit-line-clamp:1;-webkit-box-orient:vertical;display:-webkit-box;line-height:30px;max-width:900px;overflow:hidden;text-overflow:ellipsis}.sign[data-v-af3068ba]{position:absolute;right:0;top:30px}",""]),n.locals={},e.exports=n},726:function(e,t,o){"use strict";o.r(t);o(30);var n=o(8),r=(o(56),{head:function(){return{title:this.$store.getters.headTitle,link:[{rel:"icon",type:"image/x-icon",href:this.$store.getters.favicon}]}},asyncData:function(e){return Object(n.a)(regeneratorRuntime.mark((function t(){var o,n,r,l,d;return regeneratorRuntime.wrap((function(t){for(;;)switch(t.prev=t.next){case 0:return o=e.$get,e.$post,n=e.query,r={},l="",[],l=n.id,t.next=7,o("demand/detail",{params:{id:n.id}});case 7:return 1==(d=t.sent).code&&(r=d.data),t.abrupt("return",{detailsObj:r,demand_id:l});case 10:case"end":return t.stop()}}),t)})))()},watchQuery:["id"],data:function(){return{demand_id:"",dialogFormVisible:!1,form:{name:"",phone:"",company:"",price:"",remarks:""},formLabelWidth:"120px",rules:{name:[{required:!0,message:"请输入姓名",trigger:"blur"}],phone:[{required:!0,message:"请输入电话",trigger:"blur"}],company:[{required:!0,message:"请输入公司名称",trigger:"blur"}],price:[{required:!0,message:"请输入报价",trigger:"blur"}]}}},mounted:function(){console.log("route",this.$route)},methods:{getNewsDetails:function(e){var t=this;return Object(n.a)(regeneratorRuntime.mark((function o(){var n;return regeneratorRuntime.wrap((function(o){for(;;)switch(o.prev=o.next){case 0:return o.next=2,t.$get("help/detail",{params:{id:e,client:2}});case 2:1==(n=o.sent).code&&(t.detailsObj=n.data);case 4:case"end":return o.stop()}}),o)})))()},toOther:function(e){this.$router.push("/help_center/help_center_detail?id="+e)},submitForm:function(form){var e=this;console.log(this.demand_id),this.$refs[form].validate((function(t){if(!t)return!1;console.log(e.form);var o=e.form;o.demand_id=e.demand_id,e.$post("demand/report",o).then((function(t){1==t.code&&