1 line
30 KiB
JavaScript
1 line
30 KiB
JavaScript
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-news_details-index"],{"02aa":function(t,e,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.ajcaptchaCheck=function(t){return a.default.post("ajcheck",t,{noAuth:!0})},e.appleAppAuth=function(t){return a.default.post("auth/apple",t,{noAuth:!0})},e.appletsDecrypt=function(t){return a.default.post("user/mp/binding",t)},e.bindingPhone=function(t){return a.default.post("user/binding",t)},e.getAjcaptcha=function(t){return a.default.get("ajcaptcha",t,{noAuth:!0})},e.getAppVersion=function(){return a.default.get("appVersion",{},{noAuth:!0})},e.getArticleBannerList=function(){return a.default.get("article/banner/list",{},{noAuth:!0})},e.getArticleCategoryList=function(){return a.default.get("article/category/lst",{},{noAuth:!0})},e.getArticleDetails=function(t){return a.default.get("article/detail/"+t,{},{noAuth:!0})},e.getArticleHotList=function(){return a.default.get("article/hot/list",{},{noAuth:!0})},e.getArticleList=function(t,e){return a.default.get("article/lst/"+t,e,{noAuth:!0})},e.getAssistData=function(t){return a.default.get("diy/assist",t,{noAuth:!0})},e.getCateData=function(t){return a.default.get("diy/category",t,{noAuth:!0})},e.getCity=function(){return a.default.get("system/city/lst",{},{noAuth:!0})},e.getCityList=function(t){return a.default.get("v2/system/city",{address:t},{noAuth:!0})},e.getCityV2=function(t){return a.default.get("v2/system/city/lst/"+t,{},{noAuth:!0})},e.getCombinationData=function(t){return a.default.get("diy/group",t,{noAuth:!0})},e.getCouponData=function(t){return a.default.get("diy/coupon",t,{noAuth:!0})},e.getCoupons=function(t){return a.default.get("coupon/product",t,{noAuth:!0})},e.getDiy=function(t){return a.default.get("diy",t,{noAuth:!0})},e.getIndexData=function(){return a.default.get("common/home",{},{noAuth:!0})},e.getLiveData=function(t){return a.default.get("diy/broadcast",t,{noAuth:!0})},e.getLiveList=function(t,e){return a.default.get("wechat/live",{page:t,limit:e},{noAuth:!0})},e.getLogo=function(){return a.default.get("wechat/get_logo",{},{noAuth:!0})},e.getOpenAdv=function(){return a.default.get("open_screen",{},{noAuth:!0})},e.getPageDiy=function(t){return a.default.get("micro",t,{noAuth:!0})},e.getPresellData=function(t){return a.default.get("diy/presell",t,{noAuth:!0})},e.getProductData=function(t){return a.default.get("diy/spu",t,{noAuth:!0})},e.getSeckillData=function(t){return a.default.get("diy/seckill",t,{noAuth:!0})},e.getShopCoupons=function(t){return a.default.get("coupon/store/"+t,{},{noAuth:!0})},e.getTemlIds=function(){return a.default.get("wechat/teml_ids",{},{noAuth:!0})},e.getUserCoupons=function(t){return a.default.get("coupon/list",t)},e.graphicLstData=function(t){return a.default.get("diy/community",t,{noAuth:!0})},e.hotRankingList=function(t){return a.default.get("diy/hot_top",t,{noAuth:!0})},e.loginMobile=function(t){return a.default.post("login/mobile",t,{noAuth:!0})},e.logout=function(){return a.default.get("logout")},e.modifyPassword=function(t){return a.default.post("user/change/password",t)},e.modifyPhone=function(t){return a.default.post("user/change/phone",t)},e.phoneLogin=function(t){return a.default.post("login",t,{noAuth:!0})},e.phoneRegister=function(t){return a.default.post("register",t,{noAuth:!0})},e.phoneRegisterReset=function(t){return a.default.post("register/reset",t,{noAuth:!0})},e.pink=function(){return a.default.get("pink",{},{noAuth:!0})},e.registerVerify=function(t,e,n,i){return a.default.post("register/verify",{phone:t,type:void 0===e?"reset":e,key:n,code:i},{noAuth:!0})},e.setCouponReceive=function(t){return a.default.post("coupon/receive/"+t)},e.setFormId=function(t){return a.default.post("wechat/set_form_id",{formId:t})},e.storeList=function(t){return a.default.get("diy/store",t,{noAuth:!0})},e.switchH5Login=function(t){return a.default.post("user/switch",t)},e.verifyCode=function(){return a.default.get("verify_code",{},{noAuth:!0})},e.wechatAppAuth=function(t){return a.default.post("auth/app",t,{noAuth:!0})};var a=i(n("fea3"))},"0ae1":function(t,e,n){"use strict";n.r(e);var i=n("f62b"),a=n("a6a3");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("2318");var r=n("828b"),s=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"6184153a",null,!1,i["a"],void 0);e["default"]=s.exports},"0d43":function(module,exports,__webpack_require__){"use strict";__webpack_require__("6a54");var _interopRequireDefault=__webpack_require__("f5bd").default;Object.defineProperty(exports,"__esModule",{value:!0}),exports.default=void 0;var _createForOfIteratorHelper2=_interopRequireDefault(__webpack_require__("3471"));__webpack_require__("5ef2"),__webpack_require__("4626"),__webpack_require__("5ac7"),__webpack_require__("5c47"),__webpack_require__("2c10"),__webpack_require__("a1c1"),__webpack_require__("e838"),__webpack_require__("c223"),__webpack_require__("aa9c");var rpx=uni.getSystemInfoSync().screenWidth/750,cfg=__webpack_require__("dc04"),_default={name:"parser",data:function(){return{uid:this._uid,scaleAm:"",showAm:"",imgs:[],nodes:[]}},props:{html:null,autopause:{type:Boolean,default:!0},autosetTitle:{type:Boolean,default:!0},domain:String,gestureZoom:Boolean,lazyLoad:Boolean,selectable:Boolean,tagStyle:Object,showWithAnimation:Boolean,useAnchor:Boolean},watch:{html:function(t){this.setContent(t)}},mounted:function(){this.imgList=[],this.imgList.each=function(t){for(var e=0,n=this.length;e<n;e++)this.setItem(e,t(this[e],e,this))},this.imgList.setItem=function(t,e){if(void 0!=t&&e){if(0==e.indexOf("http")&&this.includes(e)){for(var n,i="",a=0;n=e[a];a++){if("/"==n&&"/"!=e[a-1]&&"/"!=e[a+1])break;i+=Math.random()>.5?n.toUpperCase():n}return i+=e.substr(a),this[t]=i}if(this[t]=e,e.includes("data:image")){var o=e.match(/data:image\/(\S+?);(\S+?),(.+)/);if(!o)return}}},this.html&&this.setContent(this.html)},beforeDestroy:function(){this._observer&&this._observer.disconnect(),this.imgList.each((function(t){})),clearInterval(this._timer)},methods:{_Dom2Str:function(t){var e,n="",i=(0,_createForOfIteratorHelper2.default)(t);try{for(i.s();!(e=i.n()).done;){var a=e.value;if("text"==a.type)n+=a.text;else{for(var o in n+="<"+a.name,a.attrs||{})n+=" "+o+'="'+a.attrs[o]+'"';a.children&&a.children.length?n+=">"+this._Dom2Str(a.children)+"</"+a.name+">":n+=">"}}}catch(r){i.e(r)}finally{i.f()}return n},_handleHtml:function(t,e){if("string"!=typeof t&&(t=this._Dom2Str(t.nodes||t)),t.includes("rpx")&&(t=t.replace(/[0-9.]+\s*rpx/g,(function(t){return parseFloat(t)*rpx+"px"}))),!e){var n="<style scoped>@keyframes show{0%{opacity:0}100%{opacity:1}}";for(var i in cfg.userAgentStyles)n+="".concat(i,"{").concat(cfg.userAgentStyles[i],"}");for(i in this.tagStyle)n+="".concat(i,"{").concat(this.tagStyle[i],"}");n+="</style>",t=n+t}return t},setContent:function(t,e){var n=this;if(t){var i=document.createElement("div");e?this.rtf?this.rtf.appendChild(i):this.rtf=i:(this.rtf&&this.rtf.parentNode.removeChild(this.rtf),this.rtf=i),i.innerHTML=this._handleHtml(t,e);for(var a,o=this.rtf.getElementsByTagName("style"),r=0;a=o[r++];)a.innerHTML=a.innerHTML.replace(/body/g,"#rtf"+this._uid),a.setAttribute("scoped","true");!this._observer&&this.lazyLoad&&IntersectionObserver&&(this._observer=new IntersectionObserver((function(t){for(var e,i=0;e=t[i++];)e.isIntersecting&&(e.target.src=e.target.getAttribute("data-src"),e.target.removeAttribute("data-src"),n._observer.unobserve(e.target))}),{rootMargin:"900px 0px 900px 0px"}));var s=this,u=this.rtf.getElementsByTagName("title");u.length&&this.autosetTitle&&uni.setNavigationBarTitle({title:u[0].innerText}),this.imgList.length=0;for(var c,l=this.rtf.getElementsByTagName("img"),f=0,d=0;c=l[f];f++){c.style.maxWidth="100%";var h=c.getAttribute("src");this.domain&&h&&("/"==h[0]?"/"==h[1]?c.src=(this.domain.includes("://")?this.domain.split("://")[0]:"")+":"+h:c.src=this.domain+h:h.includes("://")||(c.src=this.domain+"/"+h)),c.hasAttribute("ignore")||"A"==c.parentElement.nodeName||(c.i=d++,s.imgList.push(c.src||c.getAttribute("data-src")),c.onclick=function(){var t=!0;this.ignore=function(){return t=!1},s.$emit("imgtap",this),t&&uni.previewImage({current:this.i,urls:s.imgList})}),c.onerror=function(){s.$emit("error",{source:"img",target:this})},s.lazyLoad&&this._observer&&c.src&&0!=c.i&&(c.setAttribute("data-src",c.src),c.removeAttribute("src"),this._observer.observe(c))}var p,g=this.rtf.getElementsByTagName("a"),v=(0,_createForOfIteratorHelper2.default)(g);try{for(v.s();!(p=v.n()).done;){var m=p.value;m.onclick=function(){var t=!0,e=this.getAttribute("href");if(s.$emit("linkpress",{href:e,ignore:function(){return t=!1}}),t&&e)if("#"==e[0])s.useAnchor&&s.navigateTo({id:e.substr(1)});else{if(0==e.indexOf("http")||0==e.indexOf("//"))return!0;uni.navigateTo({url:e})}return!1}}}catch(C){v.e(C)}finally{v.f()}var _=this.rtf.getElementsByTagName("video");s.videoContexts=_;for(var b,y=0;b=_[y++];)b.style.maxWidth="100%",b.style.width="100%",b.onerror=function(){s.$emit("error",{source:"video",target:this})},b.onplay=function(){if(s.autopause)for(var t,e=0;t=s.videoContexts[e++];)t!=this&&t.pause()};var w,x,A=this.rtf.getElementsByTagName("audios"),k=(0,_createForOfIteratorHelper2.default)(A);try{for(k.s();!(w=k.n()).done;){var T=w.value;T.onerror=function(){s.$emit("error",{source:"audio",target:this})}}}catch(C){k.e(C)}finally{k.f()}this.document=this.rtf,e||document.getElementById("rtf"+this._uid).appendChild(this.rtf),this.$nextTick((function(){n.nodes=[1],n.$emit("load")})),setTimeout((function(){return n.showAm=""}),500),clearInterval(this._timer),this._timer=setInterval((function(){var t=[n.rtf.getBoundingClientRect()];n.width=t[0].width,t[0].height==x&&(n.$emit("ready",t[0]),clearInterval(n._timer)),x=t[0].height}),350),this.showWithAnimation&&!e&&(this.showAm="animation:show .5s")}else this.rtf&&!e&&this.rtf.parentNode.removeChild(this.rtf)},getText:function(){arguments.length>0&&void 0!==arguments[0]||this.nodes;return this.rtf.innerText},navigateTo:function(t){if(!this.useAnchor)return t.fail&&t.fail({errMsg:"Anchor is disabled"});if(!t.id)return window.scrollTo(0,this.rtf.offsetTop),t.success&&t.success({errMsg:"pageScrollTo:ok"});var e=document.getElementById(t.id);if(!e)return t.fail&&t.fail({errMsg:"Label not found"});t.scrollTop=this.rtf.offsetTop+e.offsetTop,uni.pageScrollTo(t)},getVideoContext:function(t){if(!t)return this.videoContexts;for(var e=this.videoContexts.length;e--;)if(this.videoContexts[e].id==t)return this.videoContexts[e]},preLoad:function preLoad(html,num){html.constructor==Array&&(html=this._Dom2Str(html));var script="var contain=document.createElement('div');contain.innerHTML='"+html.replace(/'/g,"\\'")+"';for(var imgs=contain.querySelectorAll('img'),i=imgs.length-1;i>="+num+";i--)imgs[i].removeAttribute('src');";eval(script)},_tap:function(t){if(this.gestureZoom&&t.timeStamp-this._lastT<300){var e=t.touches[0].pageY-t.currentTarget.offsetTop;if(this._zoom)this._scaleAm.translateX(0).scale(1).step(),uni.pageScrollTo({scrollTop:(e+this._initY)/2-t.touches[0].clientY,duration:400});else{var n=t.touches[0].pageX-t.currentTarget.offsetLeft;this._initY=e,this._scaleAm=uni.createAnimation({transformOrigin:"".concat(n,"px ").concat(this._initY,"px 0"),timingFunction:"ease-in-out"}),this._scaleAm.scale(2).step(),this._tMax=n/2,this._tMin=(n-this.width)/2,this._tX=0}this._zoom=!this._zoom,this.scaleAm=this._scaleAm.export()}this._lastT=t.timeStamp},_touchstart:function(t){1==t.touches.length&&(this._initX=this._lastX=t.touches[0].pageX)},_touchmove:function(t){var e=t.touches[0].pageX-this._lastX;if(this._zoom&&1==t.touches.length&&Math.abs(e)>20){if(this._lastX=t.touches[0].pageX,this._tX<=this._tMin&&e<0||this._tX>=this._tMax&&e>0)return;this._tX+=e*Math.abs(this._lastX-this._initX)*.05,this._tX<this._tMin&&(this._tX=this._tMin),this._tX>this._tMax&&(this._tX=this._tMax),this._scaleAm.translateX(this._tX).step(),this.scaleAm=this._scaleAm.export()}}}};exports.default=_default},1953:function(t,e,n){var i=n("40ef");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("967d").default;a("3d39144a",i,!0,{sourceMap:!1,shadowMode:!1})},2318:function(t,e,n){"use strict";var i=n("c62e"),a=n.n(i);a.a},"250c":function(t,e,n){var i=n("2616");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("967d").default;a("50f5ff2f",i,!0,{sourceMap:!1,shadowMode:!1})},2616:function(t,e,n){var i=n("c86c");e=i(!1),e.push([t.i,".pictrueBox[data-v-50bf5845]{width:%?130?%;height:%?120?%}\n/*返回主页按钮*/.home[data-v-50bf5845]{position:fixed;color:#fff;text-align:center;z-index:9999;right:%?15?%;display:flex}.home .homeCon[data-v-50bf5845]{border-radius:%?50?%;opacity:0;height:0;color:#e93323;width:0}.home .homeCon.on[data-v-50bf5845]{opacity:1;-webkit-animation:bounceInRight .5s cubic-bezier(.215,.61,.355,1);animation:bounceInRight .5s cubic-bezier(.215,.61,.355,1);width:%?300?%;height:%?86?%;margin-bottom:%?20?%;display:flex;justify-content:center;align-items:center;background:var(--view-theme)}.home .homeCon .iconfont[data-v-50bf5845]{font-size:%?48?%;color:#fff;display:inline-block;margin:0 auto}.home .pictrue[data-v-50bf5845]{width:%?86?%;height:%?86?%;border-radius:50%;margin:0 auto;background-color:var(--view-theme);box-shadow:0 %?5?% %?12?% rgba(0,0,0,.5)}.home .pictrue .image[data-v-50bf5845]{width:100%;height:100%}.pictruea[data-v-50bf5845]{width:100%;height:100%;display:block;object-fit:cover;vertical-align:middle}",""]),t.exports=e},3471:function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=function(t,e){var n="undefined"!==typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(!n){if(Array.isArray(t)||(n=(0,i.default)(t))||e&&t&&"number"===typeof t.length){n&&(t=n);var a=0,o=function(){};return{s:o,n:function(){return a>=t.length?{done:!0}:{done:!1,value:t[a++]}},e:function(t){throw t},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var r,s=!0,u=!1;return{s:function(){n=n.call(t)},n:function(){var t=n.next();return s=t.done,t},e:function(t){u=!0,r=t},f:function(){try{s||null==n["return"]||n["return"]()}finally{if(u)throw r}}}},n("01a2"),n("e39c"),n("bf0f"),n("844d"),n("18f7"),n("de6c"),n("7a76"),n("c9b5");var i=function(t){return t&&t.__esModule?t:{default:t}}(n("5d6b"))},"40ef":function(t,e,n){var i=n("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.poster-first[data-v-719a406a]{overscroll-behavior:contain}.mask-share[data-v-719a406a]{position:fixed;top:0;left:0;right:0;bottom:0;z-index:99}.mask-share uni-image[data-v-719a406a]{width:100%;height:100%}',""]),t.exports=e},"4c0c":function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("8f59"),a=n("aa10"),o={name:"Home",props:{},data:function(){return{domain:a.HTTP_REQUEST_URL,top:"",bottom:""}},computed:(0,i.mapGetters)(["homeActive","viewColor","keyColor"]),methods:{setTouchMove:function(t){t.touches[0].clientY<545&&t.touches[0].clientY>66&&(this.top=t.touches[0].clientY,this.bottom="auto")},open:function(){this.homeActive?this.$store.commit("CLOSE_HOME"):this.$store.commit("OPEN_HOME")}},created:function(){this.bottom="50px"}};e.default=o},"596c":function(t,e,n){"use strict";var i=n("a024"),a=n.n(i);a.a},6307:function(t,e,n){var i=n("c86c");e=i(!1),e.push([t.i,'@charset "UTF-8";\n/**\n * 这里是uni-app内置的常用样式变量\n *\n * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量\n * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App\n *\n */\n/**\n * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能\n *\n * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件\n */\n/* 颜色变量 */\n/* 行为相关颜色 */\n/* 背景颜色 */\n/* 边框颜色 */\n/* 尺寸变量 */\n/* 文字尺寸 */\n/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */uni-page-body[data-v-6184153a]{background-color:#fff!important}body.?%PAGE?%[data-v-6184153a]{background-color:#fff!important}.newsDetail .title[data-v-6184153a]{padding:0 %?30?%;font-size:%?34?%;color:#282828;font-weight:700;margin:%?45?% 0 %?23?% 0;line-height:1.5}.newsDetail .list[data-v-6184153a]{margin:0 %?30?%;padding-bottom:%?25?%}.newsDetail .list .label[data-v-6184153a]{font-size:%?30?%;color:#b1b2b3}.newsDetail .list .item[data-v-6184153a]{margin-left:%?27?%;font-size:%?30?%;color:#b1b2b3}.newsDetail .list .item .iconfont[data-v-6184153a]{font-size:%?28?%;margin-right:%?10?%}.newsDetail .list .item .iconfont.icon-shenhezhong[data-v-6184153a]{font-size:%?26?%}.newsDetail .conters[data-v-6184153a]{padding:0 %?30?%;font-size:%?32?%;line-height:1.7}.newsDetail .conters[data-v-6184153a] img{max-width:100%}.newsDetail .picTxt[data-v-6184153a]{width:%?690?%;height:%?200?%;border-radius:%?20?%;border:1px solid #e1e1e1;position:relative;margin:%?30?% auto 0 auto}.newsDetail .picTxt .pictrue[data-v-6184153a]{width:%?200?%;height:%?200?%}.newsDetail .picTxt .pictrue uni-image[data-v-6184153a]{width:100%;height:100%;border-radius:%?20?% 0 0 %?20?%;display:block}.newsDetail .picTxt .text[data-v-6184153a]{width:%?460?%}.newsDetail .picTxt .text .name[data-v-6184153a]{font-size:%?30?%;color:#282828}.newsDetail .picTxt .text .money[data-v-6184153a]{font-size:%?24?%;margin-top:%?40?%;font-weight:700}.newsDetail .picTxt .text .money .num[data-v-6184153a]{font-size:%?36?%}.newsDetail .picTxt .text .y_money[data-v-6184153a]{font-size:%?26?%;color:#999;text-decoration:line-through}.newsDetail .picTxt .label[data-v-6184153a]{position:absolute;background-color:#303131;width:%?160?%;height:%?50?%;right:%?-7?%;border-radius:%?25?% 0 %?6?% %?25?%;text-align:center;line-height:%?50?%;bottom:%?24?%}.newsDetail .picTxt .label .span[data-v-6184153a]{background-image:linear-gradient(90deg,#fff71e 0,#f9b513);-webkit-background-clip:text;-webkit-text-fill-color:transparent}.newsDetail .picTxt .label[data-v-6184153a]:after{content:" ";position:absolute;width:0;height:0;border-bottom:%?8?% solid #303131;border-right:%?8?% solid transparent;top:%?-7?%;right:0}.newsDetail .bnt[data-v-6184153a]{color:#fff;font-size:%?30?%;width:%?690?%;height:%?90?%;border-radius:%?45?%;margin:%?48?% auto;text-align:center;line-height:%?90?%}',""]),t.exports=e},"71ad":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",[t.nodes.length?t._e():t._t("default"),n("v-uni-view",{style:t.showAm+(t.selectable?";user-select:text;-webkit-user-select:text":""),attrs:{id:"top",animation:t.scaleAm},on:{touchstart:function(e){arguments[0]=e=t.$handleEvent(e),t._touchstart.apply(void 0,arguments)},touchmove:function(e){arguments[0]=e=t.$handleEvent(e),t._touchmove.apply(void 0,arguments)},click:function(e){arguments[0]=e=t.$handleEvent(e),t._tap.apply(void 0,arguments)}}},[n("div",{attrs:{id:"rtf"+t.uid}})])],2)},a=[]},"75b6":function(t,e,n){"use strict";n.r(e);var i=n("ea19"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},7935:function(t,e,n){"use strict";n.r(e);var i=n("4c0c"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},8058:function(t,e,n){"use strict";n.r(e);var i=n("971b"),a=n("75b6");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("b1cd");var r=n("828b"),s=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"719a406a",null,!1,i["a"],void 0);e["default"]=s.exports},"81ba":function(t,e,n){"use strict";n.r(e);var i=n("0d43"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},"832c":function(t,e,n){"use strict";n.r(e);var i=n("71ad"),a=n("81ba");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("596c");var r=n("828b"),s=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"487f6906",null,!1,i["a"],void 0);e["default"]=s.exports},"897e":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",{staticStyle:{"touch-action":"none"},style:t.viewColor},[n("v-uni-view",{staticClass:"home",staticStyle:{position:"fixed"},style:{top:t.top+"px",bottom:t.bottom},attrs:{id:"right-nav"},on:{touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),t.setTouchMove.apply(void 0,arguments)}}},[t.homeActive?n("v-uni-view",{staticClass:"homeCon",class:!0===t.homeActive?"on":""},[n("v-uni-navigator",{staticClass:"iconfont icon-shouye-xianxing",attrs:{"hover-class":"none",url:"/pages/index/index","open-type":"switchTab"}}),n("v-uni-navigator",{staticClass:"iconfont icon-caigou-xianxing",attrs:{"hover-class":"none",url:"/pages/order_addcart/order_addcart","open-type":"switchTab"}}),n("v-uni-navigator",{staticClass:"iconfont icon-yonghu1",attrs:{"hover-class":"none",url:"/pages/user/index","open-type":"switchTab"}})],1):t._e(),n("v-uni-view",{staticClass:"pictrueBox",on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.open.apply(void 0,arguments)}}},[n("v-uni-view",{staticClass:"pictrue"},[n("v-uni-image",{staticClass:"image pictruea",attrs:{src:!0===t.homeActive?t.domain+"/static/images/navbtn_open.gif":t.domain+"/static/images/navbtn_close.gif"}})],1)],1)],1)],1)},a=[]},"971b":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 t.shareInfoStatus?n("v-uni-view",{staticClass:"poster-first"},[n("v-uni-view",{staticClass:"mask-share"},[n("v-uni-image",{attrs:{src:t.domain+"/static/images/share-info.png"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.shareInfoClose.apply(void 0,arguments)},touchmove:function(e){e.stopPropagation(),e.preventDefault(),arguments[0]=e=t.$handleEvent(e),(!1).apply(void 0,arguments)}}})],1)],1):t._e()},a=[]},a024:function(t,e,n){var i=n("ea05");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("967d").default;a("346c7618",i,!0,{sourceMap:!1,shadowMode:!1})},a6a3:function(t,e,n){"use strict";n.r(e);var i=n("f98c"),a=n.n(i);for(var o in i)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return i[t]}))}(o);e["default"]=a.a},b1cd:function(t,e,n){"use strict";var i=n("1953"),a=n.n(i);a.a},c62e:function(t,e,n){var i=n("6307");i.__esModule&&(i=i.default),"string"===typeof i&&(i=[[t.i,i,""]]),i.locals&&(t.exports=i.locals);var a=n("967d").default;a("c2007892",i,!0,{sourceMap:!1,shadowMode:!1})},d176:function(t,e,n){"use strict";var i=n("250c"),a=n.n(i);a.a},dc04:function(t,e){function n(t){for(var e={},n=t.split(","),i=n.length;i--;)e[n[i]]=!0;return e}t.exports={filter:null,highlight:null,onText:null,blankChar:n(" , ,\t,\r,\n,\f"),blockTags:n("address,article,aside,body,caption,center,cite,footer,header,html,nav,section,pre"),ignoreTags:n("area,base,basefont,canvas,command,frame,input,isindex,keygen,link,map,meta,param,script,source,style,svg,textarea,title,track,use,wbr,embed,iframe"),richOnlyTags:n("a,colgroup,fieldset,legend,picture,table"),selfClosingTags:n("area,base,basefont,br,col,circle,ellipse,embed,frame,hr,img,input,isindex,keygen,line,link,meta,param,path,polygon,rect,source,track,use,wbr"),trustAttrs:n("align,alt,app-id,author,autoplay,border,cellpadding,cellspacing,class,color,colspan,controls,data-src,dir,face,height,href,id,ignore,loop,media,muted,name,path,poster,rowspan,size,span,src,start,style,type,unit-id,width,xmlns"),boolAttrs:n("autoplay,controls,ignore,loop,muted"),trustTags:n("a,abbr,ad,audio,b,blockquote,br,code,col,colgroup,dd,del,dl,dt,div,em,fieldset,h1,h2,h3,h4,h5,h6,hr,i,img,ins,label,legend,li,ol,p,q,source,span,strong,sub,sup,table,tbody,td,tfoot,th,thead,tr,title,ul,video"),userAgentStyles:{address:"font-style:italic",big:"display:inline;font-size:1.2em",blockquote:"background-color:#f6f6f6;border-left:3px solid #dbdbdb;color:#6c6c6c;padding:5px 0 5px 10px",caption:"display:table-caption;text-align:center",center:"text-align:center",cite:"font-style:italic",dd:"margin-left:40px",img:"max-width:100%",mark:"background-color:yellow",picture:"max-width:100%",pre:"font-family:monospace;white-space:pre;overflow:scroll",s:"text-decoration:line-through",small:"display:inline;font-size:0.8em",u:"text-decoration:underline"}}},defc:function(t,e,n){"use strict";n.r(e);var i=n("897e"),a=n("7935");for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);n("d176");var r=n("828b"),s=Object(r["a"])(a["default"],i["b"],i["c"],!1,null,"50bf5845",null,!1,i["a"],void 0);e["default"]=s.exports},ea05:function(t,e,n){var i=n("c86c");e=i(!1),e.push([t.i,"@-webkit-keyframes show-data-v-487f6906{0%{opacity:0}100%{opacity:1}}@keyframes show-data-v-487f6906{0%{opacity:0}100%{opacity:1}}\n\n\n\n",""]),t.exports=e},ea19:function(t,e,n){"use strict";n("6a54"),Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var i=n("aa10"),a={props:{shareInfoStatus:{type:Boolean,default:!1}},data:function(){return{domain:i.HTTP_REQUEST_URL}},mounted:function(){},methods:{shareInfoClose:function(){this.$emit("setShareInfoStatus")}}};e.default=a},f62b:function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return o})),n.d(e,"a",(function(){return i}));var i={jyfParser:n("832c").default},a=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("v-uni-view",[n("v-uni-view",{staticClass:"newsDetail"},[n("v-uni-view",{staticClass:"title"},[t._v(t._s(t.articleInfo.title))]),n("v-uni-view",{staticClass:"list acea-row row-middle"},[n("v-uni-view",{staticClass:"label"},[t._v(t._s(t.articleInfo.author))]),n("v-uni-view",{staticClass:"item"},[t._v(t._s(t.articleInfo.create_time))])],1),n("v-uni-view",{staticClass:"conters"},[n("jyf-parser",{ref:"article",attrs:{html:t.content.replace(/<br\/>/gi,""),"tag-style":t.tagStyle}})],1),t.store_info.id?n("v-uni-view",{staticClass:"picTxt acea-row row-between-wrapper"},[n("v-uni-view",{staticClass:"pictrue"},[n("v-uni-image",{attrs:{src:t.store_info.image}})],1),n("v-uni-view",{staticClass:"text"},[n("v-uni-view",{staticClass:"name line1"},[t._v(t._s(t.store_info.store_name))]),n("v-uni-view",{staticClass:"money font-color"},[t._v("¥"),n("v-uni-text",{staticClass:"num"},[t._v(t._s(t.store_info.price))])],1),n("v-uni-view",{staticClass:"y_money"},[t._v("¥"+t._s(t.store_info.ot_price))])],1),n("v-uni-navigator",{staticClass:"label",attrs:{url:"/pages/goods_details/index?id="+t.store_info.id,"hover-class":"none"}},[n("v-uni-text",{staticClass:"span"},[t._v("查看商品")])],1)],1):t._e(),this.$wechat.isWeixin()?n("v-uni-button",{staticClass:"bnt bg-color",attrs:{"hover-class":"none"},on:{click:function(e){arguments[0]=e=t.$handleEvent(e),t.listenerActionSheet.apply(void 0,arguments)}}},[t._v("和好友一起分享")]):t._e()],1),n("shareInfo",{attrs:{shareInfoStatus:t.shareInfoStatus},on:{setShareInfoStatus:function(e){arguments[0]=e=t.$handleEvent(e),t.setShareInfoStatus.apply(void 0,arguments)}}}),n("home")],1)},o=[]},f98c:function(t,e,n){"use strict";n("6a54");var i=n("f5bd").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=i(n("832c")),o=n("02aa"),r=i(n("8058")),s=i(n("defc")),u={components:{shareInfo:r.default,home:s.default,"jyf-parser":a.default},data:function(){return{id:0,articleInfo:[],store_info:{},content:"",shareInfoStatus:!1,tagStyle:{img:"width:100%;display:block;"}}},onLoad:function(t){t.hasOwnProperty("id")?this.id=t.id:history.back()},onShow:function(){this.getArticleOne()},methods:{getArticleOne:function(){var t=this,e=this;(0,o.getArticleDetails)(e.id).then((function(n){uni.setNavigationBarTitle({title:n.data.title.substring(0,7)+"..."}),e.$set(e,"articleInfo",n.data),e.$set(e,"store_info",n.data.store_info?n.data.store_info:{}),e.content=n.data.content&&n.data.content.content,t.$wechat.isWeixin()&&t.setShareInfo()})).catch((function(t){e.$util.Tips({title:t},{tab:3})}))},listenerActionSheet:function(){this.shareInfoStatus=!0},setShareInfoStatus:function(){this.shareInfoStatus=!1},setShareInfo:function(){var t=location.href,e={desc:this.articleInfo.synopsis,title:this.articleInfo.title,link:t,imgUrl:this.articleInfo.image_input};this.$wechat.wechatEvevt(["updateAppMessageShareData","updateTimelineShareData"],e)}}};e.default=u}}]); |