You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
wx2uni/unpackage/dist/build/h5/static/js/pages-messageDetail-index.5...

1 line
9.8 KiB
JavaScript

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-messageDetail-index"],{"0bb0":function(t,e,i){"use strict";var a=i("8ca1"),o=i.n(a);o.a},"2f8d":function(t,e,i){"use strict";i.r(e);var a=i("984d"),o=i("f98b");for(var n in o)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return o[t]}))}(n);i("0bb0");var s=i("f0c5"),r=Object(s["a"])(o["default"],a["b"],a["c"],!1,null,"6214f2fe",null,!1,a["a"],void 0);e["default"]=r.exports},"2fbd":function(t,e,i){"use strict";i("7a82"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,i("ac1f"),i("5319");var a=getApp(),o={data:function(){return{iosDialogTobe:!1,serviceInfo:{tel:"",qrCode:""},pageType:null,currentId:null,currentInfo:{title:""},showText:"",tagStyle:{p:"margin-top: 0; margin-bottom: 0;line-height: 1.8; white-space:pre-wrap;",body:" margin: 0; color: #333; font-size: 14px; font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'Helvetica Neue', Helvetica, Arial, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-variant: tabular-nums; line-height: 1.8; -webkit-font-feature-settings: 'tnum'; font-feature-settings: 'tnum';",h1:" margin-top: 0; margin-bottom: 0.5em;margin-top:0.3em; color: rgba(0, 0, 0, 0.85); font-weight: 500;line-height: 1.1;font-size:24px; ",h2:" margin-top: 0; margin-bottom: 0.5em;margin-top:0.3em; color: rgba(0, 0, 0, 0.85); font-weight: 500;line-height: 1.1;font-size:21px; ",h3:" margin-top: 0; margin-bottom: 0.5em;margin-top:0.3em; color: rgba(0, 0, 0, 0.85); font-weight: 500;line-height: 1.1;font-size:16px; ",h4:" margin-top: 0; margin-bottom: 0.5em;margin-top:0.3em; color: rgba(0, 0, 0, 0.85); font-weight: 500;line-height: 1.1 ",h5:" margin-top: 0; margin-bottom: 0.5em;margin-top:0.3em; color: rgba(0, 0, 0, 0.85); font-weight: 500;line-height: 1.1 ",h6:" margin-top: 0; margin-bottom: 0.5em;margin-top:0.3em; color: rgba(0, 0, 0, 0.85); font-weight: 500;line-height: 1.1 ",strong:"font-weight: bolder;",b:"font-weight: bolder;",dl:"margin-top: 0; margin-bottom: 1em;",ol:"margin-top: 0; margin-bottom: 1em;",ul:"margin-top: 0; margin-bottom: 1em;",li:"line-height: 1.8",hr:"box-sizing: content-box;height:1rpx;overflow: visible;background-color: #ddd;border:0;",table:"border-collapse: collapse;border: 1px solid #d9d9d9;margin: 18px 0 16px 0;line-height: 1.8",td:"border: 1px solid #d9d9d9;vertical-align: top;padding: 4px 8px;line-height: 1.8"},html:""}},onLoad:function(t){console.log(t),t.type&&this.setData({pageType:t.type}),t.id&&(this.setData({currentId:t.id}),this.requestInfo())},onReady:function(){},onShow:function(){var t=this;setTimeout((function(){t.setData({serviceInfo:a.globalData.serviceInfo})}),10)},onHide:function(){},onUnload:function(){},onPullDownRefresh:function(){},onReachBottom:function(){},methods:{onShareAppMessage1:function(){},requestInfo:function(){var t=this;uni.showLoading({title:"正在获取内容"}),uni.request({url:a.globalData.ip+"/bocai/cms/details/"+this.currentId,header:a.globalData.headers,success:function(e){console.log(e),200==e.data.status?(setTimeout((function(){var i=e.data.data.content.replace(/<img/g,'<img style="max-width:100% !important;height:auto !important;margin-top:10px;"');console.log(i),t.setData({currentInfo:e.data.data,showText:i,html:e.data.data.content.replace(/<!doctype html>/g,"")}),uni.hideLoading()}),1e3),uni.request({url:a.globalData.ip+"/bocai/cms/read/"+t.currentId,header:a.globalData.headers,success:function(t){console.log(t),t.data.status}})):(uni.showToast({title:e.data.msg,icon:"none",duration:2e3}),uni.hideLoading())}})},showTobe:function(){this.setData({iosDialogTobe:!0})},closeDialog:function(){this.setData({iosDialogTobe:!1})}}};e.default=o},"8ca1":function(t,e,i){var a=i("c9a8");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[t.i,a,""]]),a.locals&&(t.exports=a.locals);var o=i("4f06").default;o("3cd40933",a,!0,{sourceMap:!1,shadowMode:!1})},"984d":function(t,e,i){"use strict";i.d(e,"b",(function(){return a})),i.d(e,"c",(function(){return o})),i.d(e,"a",(function(){}));var a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[1==t.pageType?i("v-uni-view",{staticClass:"content"},[i("v-uni-view",{staticClass:"title f18 fw500"},[t._v("伯才稻田欢迎您")]),i("v-uni-view",{staticClass:"info f14"},[i("v-uni-view",[t._v("伯才稻田(以下简称“稻田”),是一个专门服务代理的平台。")]),i("v-uni-view",[t._v("稻田秉承“资源共享、伙伴共赢”的理念,为合作伙伴提供海量项目内容分发及流量分佣。在稻田,您可以享受项目查看、老乡报名、面试跟踪、财务结算等一站式服务,省时、省心、省力。")]),i("v-uni-view",[t._v("如果您还现在不是稻田的合作代理,您可以在此"),i("v-uni-view",{staticClass:"tobeText",attrs:{"hover-class":"textHov"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.showTobe.apply(void 0,arguments)}}},[t._v("申请成为代理")]),t._v(",共享平台项目及流量资源。")],1),i("v-uni-view",[t._v("稻田期待与您一道,细细耕耘,共同助力人力资源行业新发展,为劳动者创造价值。")]),i("v-uni-view",[t._v("感谢您的支持与合作!")])],1),i("v-uni-view",{staticClass:"bottom f14"},[i("v-uni-view",[t._v("伯才稻田运营中心")]),i("v-uni-view",[t._v("2023年6月16日")])],1),t.iosDialogTobe?i("v-uni-view",{staticClass:"fadeIn",attrs:{"aria-role":"dialog","aria-modal":!0}},[i("v-uni-view",{staticClass:"weui-mask"}),i("v-uni-view",{staticClass:"weui-dialog contact tobe",staticStyle:{"box-sizing":"border-box"}},[i("i",{staticClass:"iconfont icon-guanbi guanbi c6 biggerSize",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.closeDialog.apply(void 0,arguments)}}}),i("v-uni-view",{staticClass:"weui-dialog__hd"},[i("v-uni-view",{staticClass:"f20 bbd1 top",attrs:{"hover-class":"none","hover-stop-propagation":!1}},[i("v-uni-view",{staticClass:"fw500",attrs:{"hover-class":"none","hover-stop-propagation":!1}},[t._v("成为伯才代理")]),i("v-uni-view",{staticClass:"f16 c6",attrs:{"hover-class":"none","hover-stop-propagation":!1}},[t._v("请联系客户经理")])],1),i("v-uni-view",{staticClass:"bottom",attrs:{"hover-class":"none","hover-stop-propagation":!1}},[i("v-uni-view",{attrs:{"hover-class":"none","hover-stop-propagation":!1}},[i("v-uni-view",{staticClass:"fw500 f18",attrs:{"hover-class":"none","hover-stop-propagation":!1}},[t._v("客户经理")]),i("v-uni-view",{staticClass:"c3 f14"},[t._v(t._s(t.serviceInfo.userName)),i("i",{staticClass:"mr4"}),i("p",[t._v(t._s(t.serviceInfo.tel||"0371-6611 3723"))])]),i("v-uni-image",{staticStyle:{width:"161px",height:"161px"},attrs:{src:t.serviceInfo.qrCode,"show-menu-by-longpress":!0}}),i("v-uni-view",{staticClass:"f14 c9 mt6"},[t._v("长按识别二维码")])],1)],1)],1)],1)],1):t._e()],1):2==t.pageType?i("v-uni-view",{attrs:{"hover-class":"none","hover-stop-propagation":!1}},[i("v-uni-view",{staticClass:"messageContent"},[i("v-uni-view",{staticClass:"mb4 f20 fw500",attrs:{selectable:!1,space:!1,decode:!1}},[t._v("通许聚创人力")]),i("v-uni-view",{staticClass:"f14 c9",attrs:{selectable:!1,space:!1,decode:!1}},[t._v("请求添加你为团队成员")])],1),i("v-uni-view",{staticClass:"btnBox"},[i("v-uni-button",{staticClass:"cancel"},[t._v("拒绝")]),i("v-uni-button",{staticClass:"agree"},[t._v("同意")])],1)],1):3==t.pageType?i("v-uni-view",{attrs:{"hover-class":"none","hover-stop-propagation":!1}},[i("v-uni-view",{staticClass:"messageContent"},[i("v-uni-view",{staticClass:"mb4 f20 fw500",attrs:{selectable:!1,space:!1,decode:!1}},[t._v("张三")]),i("v-uni-view",{staticClass:"f14 c9",attrs:{selectable:!1,space:!1,decode:!1}},[t._v("已同意成为你的成员")])],1)],1):i("v-uni-view",{staticClass:"content",attrs:{"hover-class":"none","hover-stop-propagation":!1}},[i("v-uni-view",{staticClass:"title f18 fw500"},[t._v(t._s(t.currentInfo.title))]),i("v-uni-rich-text",{staticClass:"info f14",attrs:{space:"nbsp",nodes:t.showText}})],1)],1)},o=[]},c9a8:function(t,e,i){var a=i("24fb");e=a(!1),e.push([t.i,"/* pages/messageDetail/index.wxss */uni-page-body[data-v-6214f2fe]{padding:10px;height:calc(100vh - 20px)}.content[data-v-6214f2fe]{height:calc(100% - 30px);padding:24px 12px;background-color:#fff;border-radius:8px\n /* overflow: hidden; */}.content .title[data-v-6214f2fe]{text-align:center;padding-bottom:24px}.info uni-view[data-v-6214f2fe]{padding-bottom:24px;white-space:pre-wrap;text-indent:20px}.bottom[data-v-6214f2fe]{text-align:right}.tobe[data-v-6214f2fe]{height:70%}.guanbi[data-v-6214f2fe]{position:absolute;right:16px;top:-28px}.tobe .guanbi[data-v-6214f2fe]{top:12px}.tobe .weui-dialog__hd[data-v-6214f2fe]{position:relative;height:100%;display:flex;flex-direction:column;justify-content:center;align-items:center;margin-top:8%}.tobe .weui-dialog__hd .top[data-v-6214f2fe]{padding-bottom:20px;width:100%}.tobe .weui-dialog__hd .bottom[data-v-6214f2fe]{display:flex;flex:1;flex-direction:column;justify-content:center;align-items:center;width:100%\n /* padding-top: 10px; */}.tobe .weui-dialog__hd .bottom > uni-view[data-v-6214f2fe]{text-align:center;margin-top:-30px}.tobeText[data-v-6214f2fe]{display:inline;color:#576b95;font-weight:700;text-decoration:underline}.messageContent[data-v-6214f2fe]{padding:16px 0;border-radius:8px;background-color:#fff;text-align:center}.btnBox[data-v-6214f2fe]{display:flex;justify-content:center;margin-top:110px}.btnBox uni-button[data-v-6214f2fe]{width:128px;height:42px;margin:10px;padding:0;border-radius:22px;font-weight:700;font-size:16px;line-height:42px}.cancel[data-v-6214f2fe]{background:#fff;border:1px solid #f40;border-radius:22px;color:#f40}.agree[data-v-6214f2fe]{background:#f40;border-radius:21px;color:#fff}",""]),t.exports=e},f98b:function(t,e,i){"use strict";i.r(e);var a=i("2fbd"),o=i.n(a);for(var n in a)["default"].indexOf(n)<0&&function(t){i.d(e,t,(function(){return a[t]}))}(n);e["default"]=o.a}}]);