杨总惠通宝
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.
htb_backend/public/static/js/pages-news_details-index.1c...

1 line
28 KiB

9 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-news_details-index"],{"0771":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(){return n}));var n={jyfParser:i("357f").default},a=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",[i("v-uni-view",{staticClass:"newsDetail"},[i("v-uni-view",{staticClass:"title"},[t._v(t._s(t.articleInfo.title))]),i("v-uni-view",{staticClass:"list acea-row row-middle"},[i("v-uni-view",{staticClass:"label"},[t._v(t._s(t.articleInfo.author))]),i("v-uni-view",{staticClass:"item"},[t._v(t._s(t.articleInfo.create_time))])],1),i("v-uni-view",{staticClass:"conters"},[i("jyf-parser",{ref:"article",attrs:{html:t.content.replace(/<br\/>/gi,""),"tag-style":t.tagStyle}})],1),t.store_info.id?i("v-uni-view",{staticClass:"picTxt acea-row row-between-wrapper"},[i("v-uni-view",{staticClass:"pictrue"},[i("v-uni-image",{attrs:{src:t.store_info.image}})],1),i("v-uni-view",{staticClass:"text"},[i("v-uni-view",{staticClass:"name line1"},[t._v(t._s(t.store_info.store_name))]),i("v-uni-view",{staticClass:"money font-color"},[t._v("¥"),i("v-uni-text",{staticClass:"num"},[t._v(t._s(t.store_info.price))])],1),i("v-uni-view",{staticClass:"y_money"},[t._v("¥"+t._s(t.store_info.ot_price))])],1),i("v-uni-navigator",{staticClass:"label",attrs:{url:"/pages/goods_details/index?id="+t.store_info.id,"hover-class":"none"}},[i("v-uni-text",{staticClass:"span"},[t._v("查看商品")])],1)],1):t._e(),this.$wechat.isWeixin()?i("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),i("shareInfo",{attrs:{shareInfoStatus:t.shareInfoStatus},on:{setShareInfoStatus:function(e){arguments[0]=e=t.$handleEvent(e),t.setShareInfoStatus.apply(void 0,arguments)}}}),i("home")],1)},o=[]},"0798":function(t,e,i){var n=i("0b22");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("007973e9",n,!0,{sourceMap:!1,shadowMode:!1})},"099f":function(t,e,i){var n=i("326d");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=i("4f06").default;a("697b5e0a",n,!0,{sourceMap:!1,shadowMode:!1})},"0b22":function(t,e,i){var n=i("24fb");e=n(!1),e.push([t.i,"@-webkit-keyframes show-data-v-21ba0998{0%{opacity:0}100%{opacity:1}}@keyframes show-data-v-21ba0998{0%{opacity:0}100%{opacity:1}}\n\n\n\n",""]),t.exports=e},1432:function(t,e,i){"use strict";i("7a82");var n=i("4ea4").default;Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var a=n(i("357f")),o=i("ef5b"),r=n(i("50ad")),s=n(i("a394")),c={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(i){uni.setNavigationBarTitle({title:i.data.title.substring(0,7)+"..."}),e.$set(e,"articleInfo",i.data),e.$set(e,"store_info",i.data.store_info?i.data.store_info:{}),e.content=i.data.content.content,t.$wechat.isWeixin()&&t.setShareInfo()}))},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=c},"1f3e":function(t,e,i){"use strict";i.d(e,"b",(function(){return n})),i.d(e,"c",(function(){return a})),i.d(e,"a",(function(){}));var n=function(){var t=this,e=t.$createElement,i=t._self._c||e;return i("v-uni-view",{staticStyle:{"touch-action":"none"},style:t.viewColor},[i("