1 |
- (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-index-index"],{"1b1f":function(t,e,n){var r=n("24fb");e=r(!1),e.push([t.i,'@charset "UTF-8";\r\n/**\r\n * 这里是uni-app内置的常用样式变量\r\n *\r\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\r\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\r\n *\r\n */\r\n/**\r\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\r\n *\r\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\r\n */\r\n/* 颜色变量 */\r\n/* 行为相关颜色 */\r\n/* 文字基本颜色 */\r\n/* 背景颜色 */\r\n/* 边框颜色 */\r\n/* 尺寸变量 */\r\n/* 文字尺寸 */\r\n/* 图片尺寸 */\r\n/* Border Radius */\r\n/* 水平间距 */\r\n/* 垂直间距 */\r\n/* 透明度 */\r\n/* 文章场景相关 */.container[data-v-336e80a5]{background-image:url(http://api.app.cliu.cc/public/uploads/select/bg1.png);background-size:100% auto;background-color:#f2f2f2}.container .bg[data-v-336e80a5]{width:100vw;height:100vh}.container .con[data-v-336e80a5]{width:100%;height:100%;display:flex;align-items:center;justify-content:space-between;flex-direction:column;overflow:hidden}.container .containMain[data-v-336e80a5]{flex:1;min-width:0;display:flex;flex-direction:column;align-items:center;justify-content:space-around;width:%?690?%;margin:5vh auto;padding:%?40?% %?104?%;box-sizing:border-box;border-radius:%?24?%;overflow:hidden;background:#fff;z-index:99}.container .containMain .logo[data-v-336e80a5]{display:block;width:100%;margin-bottom:%?40?%}.container .containMain .title[data-v-336e80a5]{font-size:%?56?%;color:#333;letter-spacing:2px;margin-bottom:%?66?%}.container .containMain .title-en[data-v-336e80a5]{color:#333;font-size:%?28?%;margin-bottom:%?66?%}.container .containMain .searchInput[data-v-336e80a5]{width:100%;height:%?96?%;border:%?2?% solid #ea4a41;text-align:center;line-height:%?96?%;border-radius:%?8?%;margin-bottom:%?40?%}.container .containMain .searchBtn[data-v-336e80a5]{width:100%;height:%?96?%;border-radius:%?8?%;background-color:#f5321d;color:#fff;font-size:%?32?%;text-align:center;line-height:%?96?%;margin-bottom:%?30?%}.container .containMain .tip[data-v-336e80a5]{color:#ea4a41;font-size:%?26?%;text-align:center;width:calc(100% + %?140?%)}.container .hint[data-v-336e80a5]{text-align:center;margin:%?50?% auto}.container .chengnuo[data-v-336e80a5]{width:%?468?%;height:%?234?%;-webkit-transform:scale(1.5) rotate(14deg);transform:scale(1.5) rotate(14deg)}',""]),t.exports=e},"1da1":function(t,e,n){"use strict";function r(t,e,n,r,o,i,a){try{var c=t[i](a),u=c.value}catch(s){return void n(s)}c.done?e(u):Promise.resolve(u).then(r,o)}function o(t){return function(){var e=this,n=arguments;return new Promise((function(o,i){var a=t.apply(e,n);function c(t){r(a,o,i,c,u,"next",t)}function u(t){r(a,o,i,c,u,"throw",t)}c(void 0)}))}}n("d3b7"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=o},"1fb5":function(t,e,n){"use strict";var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.authSearch=i,e.authBook=a,e.GetNoticeList=c,e.GetNotice=u;var o=r(n("5721"));function i(t){return(0,o.default)("/user/auth_sel",t,"GET")}function a(t){return(0,o.default)("/user/auth_show",t,"GET")}function c(t){return(0,o.default)("/notice/GetNoticeList",t,"GET")}function u(t){return(0,o.default)("/notice/GetNotice",t,"GET")}},"3e1f":function(t,e,n){"use strict";n.r(e);var r=n("8303"),o=n("c9f9");for(var i in o)"default"!==i&&function(t){n.d(e,t,(function(){return o[t]}))}(i);n("bcce");var a,c=n("f0c5"),u=Object(c["a"])(o["default"],r["b"],r["c"],!1,null,"336e80a5",null,!1,r["a"],a);e["default"]=u.exports},"4d34":function(t,e,n){t.exports=n.p+"static/img/chengnuo.0f81d32e.png"},5721:function(t,e,n){"use strict";n("d3b7"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r="https://api.app.cliu.cc/api",o=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:"POST";return t=r+t,uni.showLoading({title:"加载中"}),new Promise((function(r,o){uni.request({url:t,method:n,data:e,success:function(t){uni.hideLoading();var e=t.data,n=e.code,i=e.msg;200===n?r(e):(uni.showToast({title:i,icon:"none",duration:3500}),o(e))},fail:function(t){console.log(t),uni.hideLoading(),uni.showToast({title:"网络加载失败",icon:"none",duration:3500}),o(t)}})}))},i=o;e.default=i},"5dd6":function(t,e,n){var r=n("1b1f");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("4f06").default;o("4d992a81",r,!0,{sourceMap:!1,shadowMode:!1})},8303:function(t,e,n){"use strict";var r;n.d(e,"b",(function(){return o})),n.d(e,"c",(function(){return i})),n.d(e,"a",(function(){return r}));var o=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("v-uni-view",{staticClass:"container"},[r("v-uni-view",{staticClass:"containMain"},[r("v-uni-image",{staticClass:"logo",attrs:{src:n("a297"),mode:"widthFix"}}),r("v-uni-view",{staticClass:"title"},[t._v("批发商授权查询")]),r("v-uni-input",{staticClass:"searchInput",attrs:{type:"number",placeholder:"请输入批发商手机号",maxlength:"11"},model:{value:t.phone,callback:function(e){t.phone=e},expression:"phone"}}),r("v-uni-view",{staticClass:"searchBtn",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.authSearch.apply(void 0,arguments)}}},[t._v("立即查询")]),r("v-uni-view",{staticClass:"tip"},[t._v("请在核实完批发商授权信息后交易,谨防上当受骗")])],1),r("v-uni-view",{staticClass:"hint"},[r("v-uni-image",{staticClass:"chengnuo",attrs:{src:n("4d34")}})],1)],1)},i=[]},"96cf":function(t,e){!function(e){"use strict";var n,r=Object.prototype,o=r.hasOwnProperty,i="function"===typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",u=i.toStringTag||"@@toStringTag",s="object"===typeof t,l=e.regeneratorRuntime;if(l)s&&(t.exports=l);else{l=e.regeneratorRuntime=s?t.exports:{},l.wrap=b;var f="suspendedStart",h="suspendedYield",d="executing",p="completed",v={},g={};g[a]=function(){return this};var y=Object.getPrototypeOf,m=y&&y(y(M([])));m&&m!==r&&o.call(m,a)&&(g=m);var w=E.prototype=L.prototype=Object.create(g);_.prototype=w.constructor=E,E.constructor=_,E[u]=_.displayName="GeneratorFunction",l.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===_||"GeneratorFunction"===(e.displayName||e.name))},l.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,E):(t.__proto__=E,u in t||(t[u]="GeneratorFunction")),t.prototype=Object.create(w),t},l.awrap=function(t){return{__await:t}},k(j.prototype),j.prototype[c]=function(){return this},l.AsyncIterator=j,l.async=function(t,e,n,r){var o=new j(b(t,e,n,r));return l.isGeneratorFunction(e)?o:o.next().then((function(t){return t.done?t.value:o.next()}))},k(w),w[u]="Generator",w[a]=function(){return this},w.toString=function(){return"[object Generator]"},l.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){while(e.length){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},l.values=M,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=n,this.done=!1,this.delegate=null,this.method="next",this.arg=n,this.tryEntries.forEach(P),!t)for(var e in this)"t"===e.charAt(0)&&o.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=n)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function r(r,o){return c.type="throw",c.arg=t,e.next=r,o&&(e.method="next",e.arg=n),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return r("end");if(a.tryLoc<=this.prev){var u=o.call(a,"catchLoc"),s=o.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return r(a.catchLoc,!0);if(this.prev<a.finallyLoc)return r(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return r(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return r(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var r=this.tryEntries[n];if(r.tryLoc<=this.prev&&o.call(r,"finallyLoc")&&this.prev<r.finallyLoc){var i=r;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,v):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),v},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),P(n),v}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;P(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:M(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=n),v}}}function b(t,e,n,r){var o=e&&e.prototype instanceof L?e:L,i=Object.create(o.prototype),a=new S(r||[]);return i._invoke=T(t,n,a),i}function x(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(r){return{type:"throw",arg:r}}}function L(){}function _(){}function E(){}function k(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function j(t){function e(n,r,i,a){var c=x(t[n],t,r);if("throw"!==c.type){var u=c.arg,s=u.value;return s&&"object"===typeof s&&o.call(s,"__await")?Promise.resolve(s.__await).then((function(t){e("next",t,i,a)}),(function(t){e("throw",t,i,a)})):Promise.resolve(s).then((function(t){u.value=t,i(u)}),(function(t){return e("throw",t,i,a)}))}a(c.arg)}var n;function r(t,r){function o(){return new Promise((function(n,o){e(t,r,n,o)}))}return n=n?n.then(o,o):o()}this._invoke=r}function T(t,e,n){var r=f;return function(o,i){if(r===d)throw new Error("Generator is already running");if(r===p){if("throw"===o)throw i;return N()}n.method=o,n.arg=i;while(1){var a=n.delegate;if(a){var c=O(a,n);if(c){if(c===v)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=p,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=d;var u=x(t,e,n);if("normal"===u.type){if(r=n.done?p:h,u.arg===v)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=p,n.method="throw",n.arg=u.arg)}}}function O(t,e){var r=t.iterator[e.method];if(r===n){if(e.delegate=null,"throw"===e.method){if(t.iterator.return&&(e.method="return",e.arg=n,O(t,e),"throw"===e.method))return v;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return v}var o=x(r,t.iterator,e.arg);if("throw"===o.type)return e.method="throw",e.arg=o.arg,e.delegate=null,v;var i=o.arg;return i?i.done?(e[t.resultName]=i.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=n),e.delegate=null,v):i:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,v)}function G(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 P(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function S(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(G,this),this.reset(!0)}function M(t){if(t){var e=t[a];if(e)return e.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var r=-1,i=function e(){while(++r<t.length)if(o.call(t,r))return e.value=t[r],e.done=!1,e;return e.value=n,e.done=!0,e};return i.next=i}}return{next:N}}function N(){return{value:n,done:!0}}}(function(){return this||"object"===typeof self&&self}()||Function("return this")())},a297:function(t,e,n){t.exports=n.p+"static/img/logo.b55dd9ef.png"},ad60:function(t,e,n){"use strict";var r=n("4ea4");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0,n("96cf");var o=r(n("1da1")),i=n("1fb5"),a={data:function(){return{phone:""}},onShow:function(){uni.clearStorage()},methods:{authSearch:function(){var t=this;return(0,o.default)(regeneratorRuntime.mark((function e(){var n,r;return regeneratorRuntime.wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(t.phone){e.next=3;break}return uni.showToast({title:"请输入手机号",icon:"none",duration:3500}),e.abrupt("return",!1);case 3:return e.prev=3,e.next=6,(0,i.authSearch)({phone:t.phone});case 6:n=e.sent,n?(r=n.data.status,3!==r?(uni.setStorageSync("info",n),uni.navigateTo({url:"../detail/detail"})):uni.showToast({title:n.msg||"手机号未授权",icon:"none",duration:3500})):uni.showToast({title:n.msg||"查询失败",icon:"none",duration:3500}),e.next=14;break;case 10:e.prev=10,e.t0=e["catch"](3),uni.showToast({title:"服务器错误",icon:"none",duration:3500}),console.log("查询失败: ".concat(e.t0.message));case 14:case"end":return e.stop()}}),e,null,[[3,10]])})))()}}};e.default=a},bcce:function(t,e,n){"use strict";var r=n("5dd6"),o=n.n(r);o.a},c9f9:function(t,e,n){"use strict";n.r(e);var r=n("ad60"),o=n.n(r);for(var i in r)"default"!==i&&function(t){n.d(e,t,(function(){return r[t]}))}(i);e["default"]=o.a}}]);
|