3 lines
16 KiB
JavaScript
3 lines
16 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["chunk-326b36ca"],{"0175":function(t,e,r){"use strict";var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{ref:"cursor",staticClass:"cursor",on:{click:function(e){return e.stopPropagation(),t.changeBtn.apply(null,arguments)}}},[r("div",{staticClass:"addSusp",class:[t.isOpenBtn?"rotateImg":"normalImg"]},[r("i",{staticClass:"iconfont icon-jiahao"})]),r("div",{staticClass:"btn btn_1",class:[t.isOpenBtn?"active1":""],on:{click:function(e){return e.stopPropagation(),t.gotoCreate.apply(null,arguments)}}},[r("i",{staticClass:"iconfont icon-qhm_create"}),t._v("创建 ")]),r("div",{staticClass:"btn btn_2",class:[t.isOpenBtn?"active2":""],on:{click:function(e){return e.stopPropagation(),t.gotoRecord.apply(null,arguments)}}},[r("i",{staticClass:"iconfont icon-qhm_record"}),t._v("记录 ")])])},o=[],i={data:function(){return{isOpenBtn:!1}},mounted:function(){var t=this;document.addEventListener("touchstart",(function(e){var r=t.$refs.cursor;r&&(r.contains(e.target)||(t.isOpenBtn=!1))}))},methods:{gotoCreate:function(){this.$router.push(this.fun.getUrl("groupCodeCreate",{}))},gotoRecord:function(){this.$router.push(this.fun.getUrl("groupCodeRecord",{}))},changeBtn:function(){this.isOpenBtn=!this.isOpenBtn}}},a=i,c=(r("391a"),r("2877")),s=Object(c["a"])(a,n,o,!1,null,"6a250867",null);e["a"]=s.exports},"1da1":function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));r("d3b7");function n(t,e,r,n,o,i,a){try{var c=t[i](a),s=c.value}catch(l){return void r(l)}c.done?e(s):Promise.resolve(s).then(n,o)}function o(t){return function(){var e=this,r=arguments;return new Promise((function(o,i){var a=t.apply(e,r);function c(t){n(a,o,i,c,s,"next",t)}function s(t){n(a,o,i,c,s,"throw",t)}c(void 0)}))}}},"391a":function(t,e,r){"use strict";r("a0f5")},"953c":function(t,e,r){"use strict";r("f578")},a0f5:function(t,e,r){var n=r("a870");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=r("499e").default;o("3c255d5d",n,!0,{sourceMap:!1,shadowMode:!1})},a870:function(t,e,r){var n=r("24fb");e=n(!1),e.push([t.i,".cursor[data-v-6a250867]{border-radius:100%;position:fixed;bottom:5.438rem;right:50%;-webkit-transform:translateX(10rem);transform:translateX(10rem);color:#fff;background-image:-webkit-linear-gradient(318deg,#fe7575,#fc3d3d),-webkit-linear-gradient(#7f5e5e,#7f5e5e);background-image:linear-gradient(132deg,#fe7575,#fc3d3d),linear-gradient(#7f5e5e,#7f5e5e);background-blend-mode:normal,normal;-webkit-box-shadow:0 .125rem .5rem .125rem rgba(90,14,14,.24);box-shadow:0 .125rem .5rem .125rem rgba(90,14,14,.24)}.cursor[data-v-6a250867],.cursor .addSusp[data-v-6a250867]{width:3.75rem;height:3.75rem}.cursor .addSusp[data-v-6a250867]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;background-color:#00b075;border-radius:50%;z-index:9999;position:relative}.cursor .addSusp .icon-jiahao[data-v-6a250867]{font-size:2rem}.cursor .rotateImg[data-v-6a250867]{transform:rotate(135deg) scale(1.1);-webkit-transform:rotate(135deg) scale(1.1)}.cursor .normalImg[data-v-6a250867],.cursor .rotateImg[data-v-6a250867]{-webkit-transition:-webkit-transform .5s;transition:-webkit-transform .5s;transition:transform .5s;transition:transform .5s,-webkit-transform .5s}.cursor .normalImg[data-v-6a250867]{transform:rotate(0deg);-webkit-transform:rotate(0deg)}.cursor .btn[data-v-6a250867]{width:2.906rem;height:2.906rem;background-color:#00b075;border-radius:50%;-webkit-box-shadow:0 .125rem .5rem .125rem rgba(90,14,14,.24);box-shadow:0 .125rem .5rem .125rem rgba(90,14,14,.24);display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;position:absolute;-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column;font-size:.625rem;opacity:1;-webkit-transition:all .25s ease-in-out;transition:all .25s ease-in-out}.cursor .btn i[data-v-6a250867]{font-size:1.5rem}.cursor .btn_1[data-v-6a250867]{top:-2.625rem;left:.5rem;-webkit-transform:scale(.5) translateY(150%);transform:scale(.5) translateY(150%)}.cursor .active1[data-v-6a250867]{border-radius:50%;opacity:1;-webkit-transform:scale(1) translateY(-50%);transform:scale(1) translateY(-50%)}.cursor .btn_2[data-v-6a250867]{top:-2rem;left:-3.5rem;-webkit-transition-delay:.1s;transition-delay:.1s;-webkit-transform:scale(.5) translateX(260%) translateY(150%);transform:scale(.5) translateX(260%) translateY(150%)}.cursor .active2[data-v-6a250867]{border-radius:50%;opacity:1;-webkit-transform:scale(1) translateX(0) translateY(0);transform:scale(1) translateX(0) translateY(0)}",""]),t.exports=e},a899:function(t,e,r){"use strict";var n=function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"wrapper"},t._l(t.listData,(function(e,n){return r("div",{key:n,staticClass:"item",on:{click:function(r){return t.gotoGroupCodeLabel(e)}}},[r("div",{staticClass:"image"},[0!=e.member_id?r("img",{attrs:{alt:"图片无效",src:e.has_one_member?e.has_one_member.avatar_image:""}}):r("img",{attrs:{src:t.shop_log,alt:""}})]),r("div",{staticClass:"content"},[r("div",{staticClass:"text"},[r("div",{staticClass:"name"},[t._v(t._s(e.code_name))]),r("div",{staticClass:"desc"},[t._v(t._s(e.code_guide))])]),t._m(0,!0)])])})),0)},o=[function(){var t=this,e=t.$createElement,r=t._self._c||e;return r("div",{staticClass:"opt"},[r("div",{staticClass:"btn"},[t._v("加入")])])}],i={props:{listData:{type:Array,default:function(){}},shop_log:{type:String,default:function(){}}},data:function(){},methods:{gotoGroupCodeLabel:function(t){this.$router.push(this.fun.getUrl("groupCodeLabel",{},{groupCodeId:t.id}))}}},a=i,c=(r("953c"),r("2877")),s=Object(c["a"])(a,n,o,!1,null,"4474e18c",null);e["a"]=s.exports},ac0d:function(t,e,r){"use strict";r.d(e,"a",(function(){return i}));var n=document.documentElement,o=document.body,i={data:function(){return{}},activated:function(){window.addEventListener("scroll",this.handleScroll)},deactivated:function(){window.removeEventListener("scroll",this.handleScroll)},methods:{getScrollTop:function(){var t=0;return n&&n.scrollTop?t=n.scrollTop:o&&(t=o.scrollTop),t},getClientHeight:function(){var t=0;return t=o.clientHeight&&n.clientHeight?Math.min(o.clientHeight,n.clientHeight):Math.max(o.clientHeight,n.clientHeight),t},getScrollHeight:function(){return Math.max(o.scrollHeight,n.scrollHeight)},handleScroll:function(){this.otherScroll();var t=document.documentElement.scrollTop||document.body.scrollTop;this.btnFlag=t>60,this.getScrollTop()+this.getClientHeight()+105>this.getScrollHeight()?(this.isLoadMore&&this.getMoreData(),this.isBottom=!0):this.isBottom=!1},otherScroll:function(){}}}},c7eb:function(t,e,r){"use strict";r.d(e,"a",(function(){return o}));r("a4d3"),r("e01a"),r("d3b7"),r("d28b"),r("3ca3"),r("ddb0"),r("b636"),r("944a"),r("0c47"),r("23dc"),r("d9e2"),r("3410"),r("159b"),r("b0c0"),r("131a"),r("fb6a");var n=r("53ca");function o(){
|
|
/*! regenerator-runtime -- Copyright (c) 2014-present, Facebook, Inc. -- license (MIT): https://github.com/facebook/regenerator/blob/main/LICENSE */
|
|
o=function(){return t};var t={},e=Object.prototype,r=e.hasOwnProperty,i="function"==typeof Symbol?Symbol:{},a=i.iterator||"@@iterator",c=i.asyncIterator||"@@asyncIterator",s=i.toStringTag||"@@toStringTag";function l(t,e,r){return Object.defineProperty(t,e,{value:r,enumerable:!0,configurable:!0,writable:!0}),t[e]}try{l({},"")}catch(O){l=function(t,e,r){return t[e]=r}}function u(t,e,r,n){var o=e&&e.prototype instanceof h?e:h,i=Object.create(o.prototype),a=new E(n||[]);return i._invoke=function(t,e,r){var n="suspendedStart";return function(o,i){if("executing"===n)throw new Error("Generator is already running");if("completed"===n){if("throw"===o)throw i;return j()}for(r.method=o,r.arg=i;;){var a=r.delegate;if(a){var c=k(a,r);if(c){if(c===d)continue;return c}}if("next"===r.method)r.sent=r._sent=r.arg;else if("throw"===r.method){if("suspendedStart"===n)throw n="completed",r.arg;r.dispatchException(r.arg)}else"return"===r.method&&r.abrupt("return",r.arg);n="executing";var s=f(t,e,r);if("normal"===s.type){if(n=r.done?"completed":"suspendedYield",s.arg===d)continue;return{value:s.arg,done:r.done}}"throw"===s.type&&(n="completed",r.method="throw",r.arg=s.arg)}}}(t,r,a),i}function f(t,e,r){try{return{type:"normal",arg:t.call(e,r)}}catch(O){return{type:"throw",arg:O}}}t.wrap=u;var d={};function h(){}function m(){}function p(){}var g={};l(g,a,(function(){return this}));var b=Object.getPrototypeOf,v=b&&b(b(C([])));v&&v!==e&&r.call(v,a)&&(g=v);var w=p.prototype=h.prototype=Object.create(g);function y(t){["next","throw","return"].forEach((function(e){l(t,e,(function(t){return this._invoke(e,t)}))}))}function x(t,e){function o(i,a,c,s){var l=f(t[i],t,a);if("throw"!==l.type){var u=l.arg,d=u.value;return d&&"object"==Object(n["a"])(d)&&r.call(d,"__await")?e.resolve(d.__await).then((function(t){o("next",t,c,s)}),(function(t){o("throw",t,c,s)})):e.resolve(d).then((function(t){u.value=t,c(u)}),(function(t){return o("throw",t,c,s)}))}s(l.arg)}var i;this._invoke=function(t,r){function n(){return new e((function(e,n){o(t,r,e,n)}))}return i=i?i.then(n,n):n()}}function k(t,e){var r=t.iterator[e.method];if(void 0===r){if(e.delegate=null,"throw"===e.method){if(t.iterator["return"]&&(e.method="return",e.arg=void 0,k(t,e),"throw"===e.method))return d;e.method="throw",e.arg=new TypeError("The iterator does not provide a 'throw' method")}return d}var n=f(r,t.iterator,e.arg);if("throw"===n.type)return e.method="throw",e.arg=n.arg,e.delegate=null,d;var o=n.arg;return o?o.done?(e[t.resultName]=o.value,e.next=t.nextLoc,"return"!==e.method&&(e.method="next",e.arg=void 0),e.delegate=null,d):o:(e.method="throw",e.arg=new TypeError("iterator result is not an object"),e.delegate=null,d)}function _(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 L(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function E(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(_,this),this.reset(!0)}function C(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 n=-1,o=function e(){for(;++n<t.length;)if(r.call(t,n))return e.value=t[n],e.done=!1,e;return e.value=void 0,e.done=!0,e};return o.next=o}}return{next:j}}function j(){return{value:void 0,done:!0}}return m.prototype=p,l(w,"constructor",p),l(p,"constructor",m),m.displayName=l(p,s,"GeneratorFunction"),t.isGeneratorFunction=function(t){var e="function"==typeof t&&t.constructor;return!!e&&(e===m||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,p):(t.__proto__=p,l(t,s,"GeneratorFunction")),t.prototype=Object.create(w),t},t.awrap=function(t){return{__await:t}},y(x.prototype),l(x.prototype,c,(function(){return this})),t.AsyncIterator=x,t.async=function(e,r,n,o,i){void 0===i&&(i=Promise);var a=new x(u(e,r,n,o),i);return t.isGeneratorFunction(r)?a:a.next().then((function(t){return t.done?t.value:a.next()}))},y(w),l(w,s,"Generator"),l(w,a,(function(){return this})),l(w,"toString",(function(){return"[object Generator]"})),t.keys=function(t){var e=[];for(var r in t)e.push(r);return e.reverse(),function r(){for(;e.length;){var n=e.pop();if(n in t)return r.value=n,r.done=!1,r}return r.done=!0,r}},t.values=C,E.prototype={constructor:E,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=void 0,this.done=!1,this.delegate=null,this.method="next",this.arg=void 0,this.tryEntries.forEach(L),!t)for(var e in this)"t"===e.charAt(0)&&r.call(this,e)&&!isNaN(+e.slice(1))&&(this[e]=void 0)},stop:function(){this.done=!0;var t=this.tryEntries[0].completion;if("throw"===t.type)throw t.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var e=this;function n(r,n){return a.type="throw",a.arg=t,e.next=r,n&&(e.method="next",e.arg=void 0),!!n}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],a=i.completion;if("root"===i.tryLoc)return n("end");if(i.tryLoc<=this.prev){var c=r.call(i,"catchLoc"),s=r.call(i,"finallyLoc");if(c&&s){if(this.prev<i.catchLoc)return n(i.catchLoc,!0);if(this.prev<i.finallyLoc)return n(i.finallyLoc)}else if(c){if(this.prev<i.catchLoc)return n(i.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return n(i.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;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,d):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),d},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.finallyLoc===t)return this.complete(r.completion,r.afterLoc),L(r),d}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var r=this.tryEntries[e];if(r.tryLoc===t){var n=r.completion;if("throw"===n.type){var o=n.arg;L(r)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,e,r){return this.delegate={iterator:C(t),resultName:e,nextLoc:r},"next"===this.method&&(this.arg=void 0),d}},t}},d1b2:function(t,e,r){var n=r("24fb");e=n(!1),e.push([t.i,".wrapper[data-v-4474e18c]{padding:1rem .781rem}.wrapper .item[data-v-4474e18c]{width:21.875rem;height:5.031rem;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.wrapper .item .image[data-v-4474e18c]{width:3.75rem}.wrapper .item .image img[data-v-4474e18c]{width:3.75rem;height:3.75rem;border-radius:50%}.wrapper .item .content[data-v-4474e18c]{margin-left:.719rem;height:3.75rem;text-align:left}.wrapper .item .content[data-v-4474e18c],.wrapper .item .content .text[data-v-4474e18c]{-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex}.wrapper .item .content .text[data-v-4474e18c]{-webkit-box-orient:vertical;-webkit-box-direction:normal;-webkit-flex-direction:column;-ms-flex-direction:column;flex-direction:column}.wrapper .item .content .text .name[data-v-4474e18c]{font-size:1rem;font-weight:400;font-stretch:normal;line-height:1.5rem;letter-spacing:.05rem;color:#333;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1}.wrapper .item .content .text .desc[data-v-4474e18c]{margin-top:.544rem;-webkit-box-flex:1;-webkit-flex:1;-ms-flex:1;flex:1;width:13.438rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;color:#999}.wrapper .item .content .opt[data-v-4474e18c],.wrapper .item .content .opt .btn[data-v-4474e18c]{display:-webkit-box;display:-webkit-flex;display:-ms-flexbox;display:flex;-webkit-box-align:center;-webkit-align-items:center;-ms-flex-align:center;align-items:center}.wrapper .item .content .opt .btn[data-v-4474e18c]{margin-right:1.313rem;-webkit-box-pack:center;-webkit-justify-content:center;-ms-flex-pack:center;justify-content:center;width:3.125rem;height:1.375rem;color:#fff;background-image:-webkit-gradient(linear,left top,left bottom,from(#00b075),to(#00b075)),-webkit-gradient(linear,left top,left bottom,from(#ff6e65),to(#ff6e65));background-image:-webkit-linear-gradient(#00b075,#00b075),-webkit-linear-gradient(#ff6e65,#ff6e65);background-image:linear-gradient(#00b075,#00b075),linear-gradient(#ff6e65,#ff6e65);background-blend-mode:normal,normal;border-radius:.688rem}",""]),t.exports=e},f578:function(t,e,r){var n=r("d1b2");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var o=r("499e").default;o("065936b4",n,!0,{sourceMap:!1,shadowMode:!1})}}]); |