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.
shangmenanmo/unpackage/dist/build/web/static/js/user-pages-detail.bdec1b8b.js

1 line
8.7 KiB

8 months ago
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["user-pages-detail"],{"00ff":function(t,i,e){var n=e("91ad");n.__esModule&&(n=n.default),"string"===typeof n&&(n=[[t.i,n,""]]),n.locals&&(t.exports=n.locals);var a=e("967d").default;a("62c53694",n,!0,{sourceMap:!1,shadowMode:!1})},"50a9":function(t,i,e){"use strict";e.r(i);var n=e("92d0"),a=e.n(n);for(var s in n)["default"].indexOf(s)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(s);i["default"]=a.a},"91ad":function(t,i,e){var n=e("c86c");i=n(!1),i.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/* 图片尺寸 */\n/* Border Radius */\n/* 水平间距 */\n/* 垂直间距 */\n/* 透明度 */\n/* 文章场景相关 */.pages-home .list-item .item-btn[data-v-a17a5c06]{width:%?129?%;height:%?54?%}.pages-home .time-label .near-text[data-v-a17a5c06]{width:100%;height:%?33?%;background:#f5f5f5}.pages-home .time-label .near-time[data-v-a17a5c06]{width:100%;height:%?86?%}.pages-home .time-label .near-time .bg[data-v-a17a5c06]{opacity:.1;top:0;left:0;right:0;bottom:0;z-index:1;border-radius:%?10?%}.pages-home .time-label .ft[data-v-a17a5c06]{display:flex;align-items:center;width:100%}.pages-home .time-label .tp-img[data-v-a17a5c06]{width:183px;height:16px}',""]),t.exports=i},"92d0":function(t,i,e){"use strict";e("6a54");var n=e("f5bd").default;Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var a=n(e("2634")),s=n(e("2fdc")),o=n(e("9b1b"));e("c223");var r=e("8f59"),c=n(e("cf61")),l=n(e("99e9")),u={components:{parser:l.default},data:function(){return{options:{},activeIndex:0,tabList:[{title:"项目介绍",id:0},{title:"禁忌说明",id:1},{title:"下单须知",id:2}],ftList:[{icon:"icon-kzj",text:"实名认证"},{icon:"icon-kpk",text:"爽约包赔"},{icon:"icon-kzz",text:"资质证书"}],rule:{0:"introduce",1:"explain",2:"notice"},detail:{}}},computed:(0,r.mapState)({primaryColor:function(t){return t.config.configInfo.primaryColor},subColor:function(t){return t.config.configInfo.subColor},configInfo:function(t){return t.config.configInfo},userInfo:function(t){return t.user.userInfo},isGzhLogin:function(t){return t.user.isGzhLogin}}),onLoad:function(t){this.$util.showLoading(),this.options=t,this.initIndex()},onPullDownRefresh:function(){uni.showNavigationBarLoading(),this.initRefresh(),uni.stopPullDownRefresh()},onShareAppMessage:function(t){var i=this.userInfo.id,e=void 0===i?0:i,n=this.detail,a=n.id,s=n.title,o=n.cover,r="/user/pages/detail?pid=".concat(e,"&id=").concat(a);return this.$util.log(r),{title:s,imageUrl:o,path:r}},methods:(0,o.default)((0,o.default)((0,o.default)({},(0,r.mapActions)(["getConfigInfo","getUserInfo"])),(0,r.mapMutations)([])),{},{initIndex:function(){var t=arguments,i=this;return(0,s.default)((0,a.default)().mark((function e(){var n,s,o,r,c,l;return(0,a.default)().wrap((function(e){while(1)switch(e.prev=e.next){case 0:if(n=t.length>0&&void 0!==t[0]&&t[0],s=i.options.pid,o=void 0===s?0:s,r=i.isGzhLogin,c=i.userInfo.id,l=void 0===c?0:c,o&&!l&&(r?setTimeout((function(){i.getUserInfo()}),1e3):i.getUserInfo()),i.configInfo.id&&!n){e.next=8;break}return e.next=8,i.getConfigInfo();case 8:return e.next=10,i.getDetail();case 10:if(n||!i.$jweixin.isWechat()){e.next=14;break}return e.next=13,i.$jweixin.