UNPKG

vaneditor

Version:

``` 移动端ui框架统一用uView,css扩展语言用scss,全局数据管理vuex,统一样式主体风格颜色定义/src/uni.scss ```

1 lines 8.42 kB
(window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["pages-tralvelInfo-detail"],{"06ac":function(t,a,i){"use strict";var e=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("v-uni-view",{staticClass:"uni-load-more"},[i("v-uni-view",{directives:[{name:"show",rawName:"v-show",value:"loading"===t.status&&t.showIcon,expression:"status === 'loading' && showIcon"}],staticClass:"uni-load-more__img"},[i("v-uni-view",{staticClass:"load1"},[i("v-uni-view",{style:{background:t.color}}),i("v-uni-view",{style:{background:t.color}}),i("v-uni-view",{style:{background:t.color}}),i("v-uni-view",{style:{background:t.color}})],1),i("v-uni-view",{staticClass:"load2"},[i("v-uni-view",{style:{background:t.color}}),i("v-uni-view",{style:{background:t.color}}),i("v-uni-view",{style:{background:t.color}}),i("v-uni-view",{style:{background:t.color}})],1),i("v-uni-view",{staticClass:"load3"},[i("v-uni-view",{style:{background:t.color}}),i("v-uni-view",{style:{background:t.color}}),i("v-uni-view",{style:{background:t.color}}),i("v-uni-view",{style:{background:t.color}})],1)],1),i("v-uni-text",{staticClass:"uni-load-more__text",style:{color:t.color}},[t._v(t._s("more"===t.status?t.contentText.contentdown:"loading"===t.status?t.contentText.contentrefresh:t.contentText.contentnomore))])],1)},n=[];i.d(a,"a",(function(){return e})),i.d(a,"b",(function(){return n}))},"09c2":function(t,a,i){"use strict";i.r(a);var e=i("06ac"),n=i("ba86");for(var o in n)"default"!==o&&function(t){i.d(a,t,(function(){return n[t]}))}(o);i("264f");var d=i("2877"),l=Object(d["a"])(n["default"],e["a"],e["b"],!1,null,"053f1968",null);a["default"]=l.exports},"264f":function(t,a,i){"use strict";var e=i("98b5"),n=i.n(e);n.a},"26d3":function(t,a,i){"use strict";i.r(a);var e=i("fac3"),n=i.n(e);for(var o in e)"default"!==o&&function(t){i.d(a,t,(function(){return e[t]}))}(o);a["default"]=n.a},2741:function(t,a,i){var e=i("3223");"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var n=i("4f06").default;n("36c0488c",e,!0,{sourceMap:!1,shadowMode:!1})},"296a":function(t,a,i){"use strict";var e=function(){var t=this,a=t.$createElement,i=t._self._c||a;return i("div",{staticClass:"detail"},[t.loading?i("uni-load-more",{attrs:{status:"loading"}}):t._e(),i("v-uni-image",{staticClass:"coverImg",attrs:{src:t.$getImg(t.detail.coverPlanUrl),mode:"aspectFill"}}),i("p",{staticClass:"title"},[t._v(t._s(t.detail.title))]),i("div",{staticClass:"tags"},[t.tagList.length>0?i("span",t._l(t.tagList,(function(a){return i("span",{key:a.advisoryLabelId,staticClass:"tag"},[t._v(t._s(a.advisoryLabelName))])})),0):t._e()]),i("p",{staticClass:"time"},[t._v(t._s(t.detail.createTime))]),i("div",{staticClass:"content"},[i("u-parse",{attrs:{content:t.detail.content}})],1)],1)},n=[];i.d(a,"a",(function(){return e})),i.d(a,"b",(function(){return n}))},3223:function(t,a,i){a=t.exports=i("2350")(!1),a.push([t.i,".detail[data-v-6b2c929e]{overflow:hidden;background:#fff}.detail .coverImg[data-v-6b2c929e]{width:%?750?%;height:%?450?%}.detail .title[data-v-6b2c929e]{padding:%?27?% %?30?% %?20?%;font-size:%?38?%;color:#333;font-weight:700}.detail .tags[data-v-6b2c929e]{padding:0 %?30?%;width:100%;min-height:%?36?%}.detail .tag[data-v-6b2c929e]{box-sizing:border-box;display:inline-block;font-size:%?24?%;color:#999;line-height:%?27?%;border:1px solid #999;border-radius:%?4?%;text-align:center;padding:%?2?% %?10?%;margin:0 %?8?% %?4?% 0}.detail .time[data-v-6b2c929e]{padding:%?20?% %?30?% %?34?%;font-size:%?28?%;color:#666;border-bottom:%?18?% solid #f1f1f1}.detail .content[data-v-6b2c929e]{color:#666;padding:%?30?% 0;width:%?688?%;margin:0 auto}.detail .content img[data-v-6b2c929e]{max-width:100%}",""])},"98b5":function(t,a,i){var e=i("fc3a");"string"===typeof e&&(e=[[t.i,e,""]]),e.locals&&(t.exports=e.locals);var n=i("4f06").default;n("447f2a62",e,!0,{sourceMap:!1,shadowMode:!1})},a316:function(t,a,i){"use strict";var e=i("2741"),n=i.n(e);n.a},b90c:function(t,a,i){"use strict";Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var e={name:"uni-load-more",props:{status:{type:String,default:"more"},showIcon:{type:Boolean,default:!0},color:{type:String,default:"#777777"},contentText:{type:Object,default:function(){return{contentdown:"上拉显示更多",contentrefresh:"正在加载...",contentnomore:"没有更多数据了"}}}},data:function(){return{}}};a.default=e},ba86:function(t,a,i){"use strict";i.r(a);var e=i("b90c"),n=i.n(e);for(var o in e)"default"!==o&&function(t){i.d(a,t,(function(){return e[t]}))}(o);a["default"]=n.a},e910:function(t,a,i){"use strict";i.r(a);var e=i("296a"),n=i("26d3");for(var o in n)"default"!==o&&function(t){i.d(a,t,(function(){return n[t]}))}(o);i("a316");var d=i("2877"),l=Object(d["a"])(n["default"],e["a"],e["b"],!1,null,"6b2c929e",null);a["default"]=l.exports},fac3:function(t,a,i){"use strict";var e=i("4ea4");Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0,i("28a5");var n=e(i("09c2")),o=e(i("2825")),d={data:function(){return{detail:{title:"",createTime:"",content:""},loading:!1,id:"",tagList:[]}},components:{uParse:o.default,uniLoadMore:n.default},onLoad:function(t){this.id=t.id,this.getDetail()},methods:{getDetail:function(){var t=this;this.loading=!0,this.$ajax({method:"post",url:"/weChat/cms/advisory/queryAdvisoryDetails",data:{advisoryDetailsCode:this.id}}).then((function(a){t.loading=!1,t.detail=a.data,t.tagList=a.data.advisoryDetailsLabelsVos,t.$wxShare(t.detail.title,"",window.location.hash.split("#")[1],t.$getImg(t.detail.coverPlanUrl))})).catch((function(t){}))}}};a.default=d},fc3a:function(t,a,i){a=t.exports=i("2350")(!1),a.push([t.i,".uni-load-more[data-v-053f1968]{display:-webkit-flex;display:flex;-webkit-flex-direction:row;flex-direction:row;height:%?80?%;-webkit-align-items:center;align-items:center;-webkit-justify-content:center;justify-content:center}.uni-load-more__text[data-v-053f1968]{font-size:%?28?%;color:#999}.uni-load-more__img[data-v-053f1968]{height:24px;width:24px;margin-right:10px}.uni-load-more__img>uni-view[data-v-053f1968]{position:absolute}.uni-load-more__img>uni-view uni-view[data-v-053f1968]{width:6px;height:2px;border-top-left-radius:1px;border-bottom-left-radius:1px;background:#999;position:absolute;opacity:.2;-webkit-transform-origin:50%;transform-origin:50%;-webkit-animation:load-data-v-053f1968 1.56s ease infinite;animation:load-data-v-053f1968 1.56s ease infinite}.uni-load-more__img>uni-view uni-view[data-v-053f1968]:first-child{-webkit-transform:rotate(90deg);transform:rotate(90deg);top:2px;left:9px}.uni-load-more__img>uni-view uni-view[data-v-053f1968]:nth-child(2){-webkit-transform:rotate(180deg);transform:rotate(180deg);top:11px;right:0}.uni-load-more__img>uni-view uni-view[data-v-053f1968]:nth-child(3){-webkit-transform:rotate(270deg);transform:rotate(270deg);bottom:2px;left:9px}.uni-load-more__img>uni-view uni-view[data-v-053f1968]:nth-child(4){top:11px;left:0}.load1[data-v-053f1968],.load2[data-v-053f1968],.load3[data-v-053f1968]{height:24px;width:24px}.load2[data-v-053f1968]{-webkit-transform:rotate(30deg);transform:rotate(30deg)}.load3[data-v-053f1968]{-webkit-transform:rotate(60deg);transform:rotate(60deg)}.load1 uni-view[data-v-053f1968]:first-child{-webkit-animation-delay:0s;animation-delay:0s}.load2 uni-view[data-v-053f1968]:first-child{-webkit-animation-delay:.13s;animation-delay:.13s}.load3 uni-view[data-v-053f1968]:first-child{-webkit-animation-delay:.26s;animation-delay:.26s}.load1 uni-view[data-v-053f1968]:nth-child(2){-webkit-animation-delay:.39s;animation-delay:.39s}.load2 uni-view[data-v-053f1968]:nth-child(2){-webkit-animation-delay:.52s;animation-delay:.52s}.load3 uni-view[data-v-053f1968]:nth-child(2){-webkit-animation-delay:.65s;animation-delay:.65s}.load1 uni-view[data-v-053f1968]:nth-child(3){-webkit-animation-delay:.78s;animation-delay:.78s}.load2 uni-view[data-v-053f1968]:nth-child(3){-webkit-animation-delay:.91s;animation-delay:.91s}.load3 uni-view[data-v-053f1968]:nth-child(3){-webkit-animation-delay:1.04s;animation-delay:1.04s}.load1 uni-view[data-v-053f1968]:nth-child(4){-webkit-animation-delay:1.17s;animation-delay:1.17s}.load2 uni-view[data-v-053f1968]:nth-child(4){-webkit-animation-delay:1.3s;animation-delay:1.3s}.load3 uni-view[data-v-053f1968]:nth-child(4){-webkit-animation-delay:1.43s;animation-delay:1.43s}@-webkit-keyframes load-data-v-053f1968{0%{opacity:1}to{opacity:.2}}",""])}}]);