对接烟台app的h5页面
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

3 lines
43 KiB

(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"0cbd":function(t,e,n){"use strict";n("7a82");var i=n("ee27").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,e.getLocation=o;var a=i(n("f07e")),r=i(n("c964"));function o(){return new Promise((function(t){uni.getLocation({type:"gcj02",success:function(e){e.latitude,e.longitude;var n=e.latitude,i=e.longitude;t({msg:"success",data:{latitude:n,longitude:i}})},fail:function(e){t({data:"",msg:e.errMsg})}})}))}n("d3b7");e.default=function(){var t=!(arguments.length>0&&void 0!==arguments[0])||arguments[0];return new Promise(function(){var e=(0,r.default)((0,a.default)().mark((function e(n){var i,r,s,u;return(0,a.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:return e.next=2,o();case 2:if(i=e.sent,"success"!==i.msg){e.next=9;break}return e.next=6,getLocalData(i.data.latitude,i.data.longitude);case 6:r=e.sent,e.next=30;break;case 9:if(!t){e.next=13;break}r=i,e.next=30;break;case 13:return e.next=15,getAuth();case 15:if(s=e.sent,"success"!==s.msg){e.next=29;break}return e.next=19,o();case 19:if(u=e.sent,"success"!==u.msg){e.next=26;break}return e.next=23,getLocalData(u.data.latitude,u.data.longitude);case 23:r=e.sent,e.next=27;break;case 26:r=u;case 27:e.next=30;break;case 29:r=s;case 30:return e.abrupt("return",n(r));case 31:case"end":return e.stop()}}),e)})));return function(t){return e.apply(this,arguments)}}())}},"1eb3":function(t,e,n){"use strict";n.d(e,"b",(function(){return i})),n.d(e,"c",(function(){return a})),n.d(e,"a",(function(){}));var i=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",{staticClass:"report"},[t.showPage?n("v-uni-view",[n("v-uni-view",[n("v-uni-view",{staticClass:"title"},t._l(t.tabList,(function(e,i){return n("v-uni-view",{key:i,class:"titleSel "+(i==t.currentIndex?"active":""),attrs:{"data-idx":i},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.onBindTabChange(e,i)}}},[n("v-uni-text",[t._v(t._s(e.tabName))]),n("v-uni-view",{class:i==t.currentIndex?"headerLineSel":"headerLineUnsel"})],1)})),1),2==t.currentIndex?n("v-uni-view",{staticClass:"close"},[n("v-uni-text",{class:1==t.closeType?"close-active":"",attrs:{"data-type":"1","data-status":"final"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onCloseTab(1,"final")}}},[t._v("已结案")]),n("v-uni-text",{class:2==t.closeType?"close-active":"",attrs:{"data-type":"2","data-status":"closed"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onCloseTab(2,"closed")}}},[t._v("已关闭")]),n("v-uni-text",{class:3==t.closeType?"close-active":"",attrs:{"data-type":"3","data-status":"noneed"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.onCloseTab(3,"noneed")}}},[t._v("无需解决")])],1):t._e()],1),n("v-uni-view",{staticClass:"report-content"},["list"===t.showType?n("v-uni-view",[0==t.currentIndex?n("v-uni-view",{staticClass:"block",staticStyle:{"margin-top":"100rpx"}},[t.votingLength>0?t._l(t.votingList,(function(e,i){return n("v-uni-view",{key:i,staticClass:"block-content",attrs:{"data-value":e},on:{click:function(n){arguments[0]=n=t.$handleEvent(n),t.toDetail(e)}}},[n("v-uni-view",{staticClass:"block-title"},[t._v(t._s(e.issueTitle))]),n("v-uni-view",{staticClass:"time"},[t._v(t._s(e.issuePublishTime))]),n("v-uni-view",{staticClass:"block-item-content"},[t._v(t._s(e.suggestion))]),"resi_topic"===e.sourceType?[e.topicContent||e.topicImgs.length>0?n("v-uni-view",{staticClass:"block-question"},[n("v-uni-view",{staticClass:"question-content"},[n("v-uni-view",{staticClass:"topic-tag"},[n("v-uni-image",{attrs:{src:"/static/data/images/index/tag.png"}}),n("v-uni-text",[t._v("话题")])],1),n("v-uni-view",[t._v(t._s(e.topicContent))])],1),e.topicImgs.length>0?n("v-uni-view",{staticClass:"block-image"},t._l(e.topicImgs,(function(t,e){return n("v-uni-image",{key:e,attrs:{src:t}})})),1):t._e()],1):t._e()]:t._e(),"ic_event"===e.sourceType?[e.icEventInfo.eventContent?n("v-uni-view",{staticClass:"block-question"},[n("v-uni-view",{staticClass:"question-content"},[n("v-uni-view",
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
e.default=function(){return t};var t={},n=Object.prototype,a=n.hasOwnProperty,r=Object.defineProperty||function(t,e,n){t[e]=n.value},o="function"==typeof Symbol?Symbol:{},s=o.iterator||"@@iterator",u=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function l(t,e,n){return Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(D){l=function(t,e,n){return t[e]=n}}function d(t,e,n,i){var a=e&&e.prototype instanceof h?e:h,o=Object.create(a.prototype),s=new C(i||[]);return r(o,"_invoke",{value:k(t,n,s)}),o}function f(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(D){return{type:"throw",arg:D}}}t.wrap=d;var v={};function h(){}function p(){}function g(){}var m={};l(m,s,(function(){return this}));var b=Object.getPrototypeOf,w=b&&b(b(I([])));w&&w!==n&&a.call(w,s)&&(m=w);var y=g.prototype=h.prototype=Object.create(m);function x(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function _(t,e){var n;r(this,"_invoke",{value:function(r,o){function s(){return new e((function(n,s){(function n(r,o,s,u){var c=f(t[r],t,o);if("throw"!==c.type){var l=c.arg,d=l.value;return d&&"object"==(0,i.default)(d)&&a.call(d,"__await")?e.resolve(d.__await).then((function(t){n("next",t,s,u)}),(function(t){n("throw",t,s,u)})):e.resolve(d).then((function(t){l.value=t,s(l)}),(function(t){return n("throw",t,s,u)}))}u(c.arg)})(r,o,n,s)}))}return n=n?n.then(s,s):s()}})}function k(t,e,n){var i="suspendedStart";return function(a,r){if("executing"===i)throw new Error("Generator is already running");if("completed"===i){if("throw"===a)throw r;return M()}for(n.method=a,n.arg=r;;){var o=n.delegate;if(o){var s=L(o,n);if(s){if(s===v)continue;return s}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if("suspendedStart"===i)throw i="completed",n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);i="executing";var u=f(t,e,n);if("normal"===u.type){if(i=n.done?"completed":"suspendedYield",u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(i="completed",n.method="throw",n.arg=u.arg)}}}function L(t,e){var n=e.method,i=t.iterator[n];if(void 0===i)return e.delegate=null,"throw"===n&&t.iterator["return"]&&(e.method="return",e.arg=void 0,L(t,e),"throw"===e.method)||"return"!==n&&(e.method="throw",e.arg=new TypeError("The iterator does not provide a '"+n+"' method")),v;var a=f(i,t.iterator,e.arg);if("throw"===a.type)return e.method="throw",e.arg=a.arg,e.delegate=null,v;var r=a.arg;return r?r.done?(e[t.resultName]=r.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,v):r:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}function P(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function T(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function C(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(P,this),this.reset(!0)}function I(t){if(t){var e=t[s];if(e)return e.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var n=-1,i=function e(){for(;++n<t.length;)if(a.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return i.next=i}}return{next:M}}function M(){return{value:void 0,done:!0}}return p.prototype=g,r(y,"constructor",{value:g,configurable:!0}),r(g,"constructor",{value:p,configurable:!0}),p.displayName=l(g,c,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===p||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,g):(t.__proto__=g,l(t,c,"GeneratorFunction")),t.prototype=Object.create(y),t},t.awrap=function(t){return{__await:t}},x(_.prototype),l(_.prototype,u,(function(){return this})),t.AsyncIterator=_,t.async=function(e,n,i,a,r){void 0===r&&(r=Promise);var o=new _(d(e,n,i,a),r);return t.isGeneratorFunction(n)?o:o.next().then((function(t){return t.do