chunk-2bc60a2e.82dfde76.js 12 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-2bc60a2e"],{"0877":function(t,e,n){},3177:function(t,e){t.exports="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABECAYAAAA4E5OyAAAFv0lEQVR4nOWcXWhcRRTHf9k039mUoFJitSYlRRGrQWufiuInLVp9sPpeEBFFsX2ppH2zERUsQR98UXzXvmiVfoCK2idNqlgoSZo0mIR8kzRpkuY7cpZzw9313t27u3NnP/KDsGGTnTnz35kzZ2bOnZLOzk4sUAI8ADwO7AX2AE3AnUAdUKsmzAGzwCTQD1wHrgJ/Al3ARtimbgux7GrgReAl4HngrgCfqdWfu4GHE/42AVwCvgd+ABbCMDqMHvIY8DbwquubN430pG+BL7T3GCNisKyngJ+BDuBoiGKgZUsdfwC/at1GMCHIg8B5FcOYYWnwhNZ9Xm3JimwEqQA+AP4CDtpUwAex4W/gtNqWEZkKshu4DJwCysNsZZqUASfVtt2ZFJCJIEe0V+wz2RLD7FMbj6RbbLqCtALfaOyQ79Spra1hCCKB1RmgTX8vFErU5k+D2h1UECnwWAEJkchx4MMg/xhEkPcLXAwHacd7qf4plSCvBFW2QDiTytEmE0Smra8KzGekQtryZbIp2U+QcvXQ23Nidrhs13WQZ/zkJ0irLtKKlUf9pmMvQZqBE0UshsMJbWscXoJ8BlRaN88+0sbPE2tNFOQAcKhIBfDioLZ5k0RB0gpzi4S4NrsFESe6lXqHwyF1sjHce6pvma4pGo1SV1dHSYm5UGZlZYXp6WmWl5eNlQm8AbyJa0+1BhjTVyM0NDTEfsJAROnt7eX27dumSp8Wk4ElZ8i8YFKMmpqa0MQQysrK2Llzp8ki64HDuHzIy0ZLr683WZwnMhQNI0cmMUFkgD9nsuzS0lLTxtrgadSp3h/wECkwGxuZH7Ctr68zNDTEzMwM1dXVNDU1EYmYPC3x5V6JXCN6vJg3iKOcnJyMOU4RZWxszKZpB0SQR/JJkESy6W0ZsDfitcDJ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){"use strict";n.r(e);var i=function(){var t=this,e=t._self._c;return e("div",{staticClass:"caseInfoPage",style:{"padding-top":t.safeDistance+44+"px"}},[e("div",{staticClass:"navModule",style:{"padding-top":t.safeDistance+"px"}},[e("div",{staticClass:"navigation"},[e("van-icon",{staticClass:"navBack",attrs:{color:"#333333",name:"arrow-left",size:"25px"},on:{click:t.backPageFun}}),e("span",{staticClass:"navTitle font32 color333 fontw700"},[t._v(t._s(t.titleStr))])],1)]),e("mescroll-vue",{ref:"wordListBox",staticClass:"customerBoxmescroll",attrs:{down:t.mescrollDown,up:t.mescrollUp},on:{init:t.mescrollInit}},[e("div",{staticClass:"viewContent"},[t.caseArr.length?e("div",{staticClass:"viewTitle"},[e("div",{staticClass:"font32 color333 fontw700"},[t._v(t._s(t.titleMsg))]),e("div",{staticClass:"flex align-center justify-between mt30"},[e("div",{staticClass:"flex align-center"},[t.personObj.logo?[e("img",{attrs:{src:t.personObj.logo,width:"35px",alt:""}})]:[e("img",{attrs:{src:n("3177"),width:"35px",alt:""}})],e("span",{staticClass:"ml10 font26 color999"},[t._v(t._s(t.companyName))])],2),e("div",{staticClass:"flex align-center"},[e("van-icon",{attrs:{name:"eye",size:"18px",color:"#A3A3A3"}}),e("span",{staticClass:"color999 font26 ml10"},[t._v(t._s(t.viewTimes))])],1)])]):t._e(),t._l(t.caseArr,(function(i){return e("div",{key:i.id,staticClass:"itemBox"},[t._l(i.child,(function(i){return[0==i.type?[e("div",{key:i.id,staticClass:"leftBox"},[e("div",{staticClass:"leftAvatar"},[e("img",{attrs:{src:n("34bc"),width:"40px",alt:""}})]),e("div",{staticClass:"leftContent"},[e("div",{staticClass:"leftArrow"}),e("div",{directives:[{name:"show",rawName:"v-show",value:i.content,expression:"witem.content"}],staticClass:"leftText",on:{click:function(e){return t.copyTextFun(e,i)}}},[t._v(" "+t._s(i.content))]),i.img&&Array.isArray(i.img)&&i.img.length?e("div",{staticClass:"leftImage"},t._l(i.img,(function(n,a){return e("div",{key:a,staticClass:"flex align-center justify-center",class:{mr0:(a+1)%3==0||a+1==i.img.length,mt0:!i.content&&a<3}},[e("img",{attrs:{src:n,alt:""},on:{click:function(e){return t.previewImage(i.img,a)}}})])})),0):t._e()])])]:[e("div",{key:i.id,staticClass:"rightBox"},[e("div",{staticClass:"rightContent"},[e("div",{staticClass:"rightArrow"}),e("div",{directives:[{name:"show",rawName:"v-show",value:i.content,expression:"witem.content"}],staticClass:"rightText",on:{click:function(e){return t.copyTextFun(e,i)}}},[t._v(" "+t._s(i.content))]),i.img&&Array.isArray(i.img)&&i.img.length?e("div",{staticClass:"rightImage"},t._l(i.img,(function(n,a){return e("div",{key:a,staticClass:"flex align-center justify-center",class:{mr0:(a+1)%3==0||a+1==i.img.length,mt0:!i.content&&a<3}},[e("img",{attrs:{src:n,alt:""},on:{click:function(e){return t.previewImage(i.img,a)}}})])})),0):t._e()]),e("div",{staticClass:"rightAvatar"},[e("img",{attrs:{src:n("3270"),width:"40px",alt:""}})])])]]}))],2)})),e("nonedata",{attrs:{len:t.caseArr.length,datashow:t.datashow}})],2)]),e("xqloading",{directives:[{name:"show",rawName:"v-show",value:t.loadFlag,expression:"loadFlag"}]})],1)},a=[],s=(n("e7e5"),n("d399")),o=(n("4662"),n("28a2")),r=n("8d6b"),c=n("fa7d"),l=n("5880"),u=n("df69"),d=n("b39c"),m={components:{MescrollVue:r["a"]},data(){return{datashow:!1,loadFlag:!1,showSearch:!1,safeDistance:0,scrollPosition:0,caseArr:[],filter:{talkskill_type:"success"},itemId:"",titleStr:"案例详情",mescroll:null,mescrollDown:{},mescrollUp:{auto:!1,callback:this.getFuncList,onScroll:this.onScroll,page:{num:0,size:10},htmlLoading:"",htmlNodata:"没有更多数据了~",noMoreSize:5}}},computed:{...Object(l["mapState"])({personObj:t=>t.personObj,safeHeight:t=>t.safeHeight,token:t=>t.token}),titleMsg(){return this.caseArr.length?this.caseArr[0]["title"]:""},viewTimes(){return this.caseArr.length?this.caseArr[0]["view_times"]:0},companyName(){return this.personObj.company_name?this.personObj.company_name:""}},watch:{token:{handler(t){t&&void 0!=t&&this.$nextTick(()=>{this.getUserInfo(),this.mescroll.resetUpScroll()})},immediate:!0}},created(){window.android?(window.android.loadUserSop(),window.android.safeArea(),window.android.loadVRfinish()):window.webkit&&window.webkit.messageHandlers&&(window.webkit.messageHandlers.loadUserSop||window.webkit.messageHandlers.safeArea)&&(window.webkit.messageHandlers.loadUserSop.postMessage("nil"),window.webkit.messageHandlers.loadfinish.postMessage("nil"),window.webkit.messageHandlers.safeArea.postMessage("safeArea"))},mounted(){let t=this;window.safeAreaHeight=function(e,n){t.safeDistance=parseInt(e),t.setSafeHeight(parseInt(e))},window.LoadUserSopData=function(e,n,i){t.itemId=e,t.setToken(i)}},methods:{...Object(l["mapMutations"])(["setToken","setSafeHeight","setpersonObj"]),onScroll(t,e,n){this.scrollPosition=e},switchSearchFun(){this.showSearch=!this.showSearch},backPageFun(){window.android?window.android.backPageVC():window.webkit.messageHandlers.backPageVC.postMessage("nil")},getUserInfo(){Object(d["u"])({}).then(t=>{0==t.data.code&&this.setpersonObj(t.data.data)})},previewImage(t,e){Object(o["a"])({images:t,startPosition:e})},copyTextFun(t,e){c["a"].handleClipboard(e.content,t,this)},mescrollInit(t){this.mescroll=t},getFuncList(t,e){const n=this;let i=null,a={page:t.num,limit:10,id:this.itemId,...this.filter};1==t.num?(this.loadFlag=!0,this.datashow=!1):i=s["a"].loading({message:"加载中...",forbidClick:!0,duration:0}),Object(u["c"])(a).then(a=>{"0"==a.data.code&&(1===t.num&&(n.caseArr=[],e.scrollTo(0,300)),n.caseArr=n.caseArr.concat(a.data.data),n.$nextTick(()=>{e.endSuccess(a.data.data.length)})),this.loadFlag=!1,this.datashow=!0,i&&i.clear()})}}},f=m,g=(n("65e5"),n("b24c"),n("2877")),b=Object(g["a"])(f,i,a,!1,null,"146064d7",null);e["default"]=b.exports},"65e5":function(t,e,n){"use strict";n("b932")},b24c:function(t,e,n){"use strict";n("0877")},b39c:function(t,e,n){"use strict";n.d(e,"f",(function(){return a})),n.d(e,"e",(function(){return s})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return r})),n.d(e,"b",(function(){return c})),n.d(e,"v",(function(){return l})),n.d(e,"w",(function(){return u})),n.d(e,"m",(function(){return d})),n.d(e,"p",(function(){return m})),n.d(e,"n",(function(){return f})),n.d(e,"o",(function(){return g})),n.d(e,"h",(function(){return b})),n.d(e,"u",(function(){return h})),n.d(e,"l",(function(){return p})),n.d(e,"g",(function(){return w})),n.d(e,"j",(function(){return v})),n.d(e,"i",(function(){return A})),n.d(e,"t",(function(){return C})),n.d(e,"s",(function(){return O})),n.d(e,"C",(function(){return k})),n.d(e,"z",(function(){return j})),n.d(e,"B",(function(){return x})),n.d(e,"y",(function(){return y})),n.d(e,"A",(function(){return U})),n.d(e,"k",(function(){return S})),n.d(e,"x",(function(){return F})),n.d(e,"q",(function(){return I})),n.d(e,"r",(function(){return E})),n.d(e,"d",(function(){return J})),n.d(e,"D",(function(){return Z}));var i=n("b775");function a(t){return Object(i["a"])({url:"/mobile/building/index",method:"post",data:t})}function s(t){return Object(i["a"])({url:"/mobile/building/view",method:"post",data:t})}function o(t){return Object(i["a"])({url:"/mobile/building/progress",method:"post",data:t})}function r(t){return Object(i["a"])({url:"/mobile/building/collect",method:"post",data:t})}function c(t){return Object(i["a"])({url:"/mobile/building/collectCancel",method:"post",data:t})}function l(t){return Object(i["a"])({url:"/mobile/building/housetype_detail",method:"post",data:t})}function u(t){return Object(i["a"])({url:"/mobile/building/material_case",method:"post",data:t})}function d(t){return Object(i["a"])({url:"/mobile/building/construction",method:"post",data:t})}function m(t){return Object(i["a"])({url:"/mobile/building/casedetail",method:"get",params:t})}function f(t){return Object(i["a"])({url:"/mobile/building/constructionList",method:"get",params:t})}function g(t){return Object(i["a"])({url:"/mobile/building/constrationView",method:"get",params:t})}function b(t){return Object(i["a"])({url:"/mobile/building/collects",method:"post",data:t})}function h(t){return Object(i["a"])({url:"/mobile/building/getUserInfo",method:"post",data:t})}function p(t){return Object(i["a"])({url:"/mobile/building/collectHousetype",method:"post",data:t})}function w(t){return Object(i["a"])({url:"/mobile/building/cancelCollectHousetype",method:"post",data:t})}function v(t){return Object(i["a"])({url:"/mobile/detail/view",method:"post",data:t})}function A(t){return Object(i["a"])({url:"/mobile/detail/progress",method:"post",data:t})}function C(t){return Object(i["a"])({url:"/mobile/detail/getUserInfo",method:"post",data:t})}function O(t){return Object(i["a"])({url:"/mobile/detail/housetype_detail",method:"post",data:t})}function k(t){return Object(i["a"])({url:"/mobile/detail/materialCase",method:"post",data:t})}function j(t){return Object(i["a"])({url:"/mobile/detail/construction",method:"post",data:t})}function x(t){return Object(i["a"])({url:"/mobile/detail/constructionList",method:"get",params:t})}function y(t){return Object(i["a"])({url:"/mobile/detail/casedetail",method:"get",params:t})}function U(t){return Object(i["a"])({url:"/mobile/detail/constrationView",method:"get",params:t})}function S(t){return Object(i["a"])({url:"/mobile/share/getOfficeInfo",method:"post",data:t})}function F(t){return Object(i["a"])({url:"/mobile/share/saveFoots",method:"post",data:t})}function I(t){return Object(i["a"])({url:"/mobile/building/getBuildingLabel",method:"post",data:t})}function E(t){return Object(i["a"])({url:"/mobile/share/getBuildingLabel",method:"post",data:t})}function J(t){return Object(i["a"])({url:"/mobile/share/urge",method:"post",data:t})}function Z(t){return Object(i["a"])({url:"/mobile/share/updateSaveFoot",method:"post",data:t})}},b932:function(t,e,n){}}]);