Files
orico-association/unpackage/dist/build/mp-weixin/pages/component/carousel/carousel.js
2026-03-25 15:53:37 +08:00

11 lines
3.0 KiB
JavaScript

(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["pages/component/carousel/carousel"],{"0a76":function(t,e,n){},"35a4":function(t,e,n){"use strict";n.r(e);var a=n("5c71"),r=n.n(a);for(var o in a)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return a[t]}))}(o);e["default"]=r.a},"5c71":function(t,e,n){"use strict";(function(t){var a=n("47a9");Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var r=a(n("7ca3")),o=n("8f59");function i(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var a=Object.getOwnPropertySymbols(t);e&&(a=a.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,a)}return n}var u={name:"carouselIndex",props:{showData:{type:Array,default:function(){return[]}},height:{type:String,default:"334rpx"},radius:{type:String,default:"16rpx"},right:{type:String,default:"16rpx"},bottom:{type:String,default:"16rpx"},showType:{type:Number,default:1}},data:function(){return{imgIndex:0}},computed:function(t){for(var e=1;e<arguments.length;e++){var n=null!=arguments[e]?arguments[e]:{};e%2?i(Object(n),!0).forEach((function(e){(0,r.default)(t,e,n[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(t,Object.getOwnPropertyDescriptors(n)):i(Object(n)).forEach((function(e){Object.defineProperty(t,e,Object.getOwnPropertyDescriptor(n,e))}))}return t}({},(0,o.mapState)({themeColor:function(t){return t.app.themeColor}})),methods:{stringifyToParse:function(t){try{return JSON.parse(t)}catch(e){return{}}},imgChange:function(t){this.imgIndex=t.detail.current},toDetails:function(e){1==this.showData[e].jump_type?t.navigateTo({url:"/pages/webview/imageText?type=".concat(2==this.showType?3:1,"&id=").concat(this.showData[e].id)}):2==this.showData[e].jump_type?this.$util.toPage({path:this.showData[e].content,mode:1}):3==this.showData[e].jump_type?this.$util.toPage({path:this.showData[e].content,mode:4}):4==this.showData[e].jump_type&&this.$util.toPage({appId:JSON.parse(this.showData[e].content).appid,path:JSON.parse(this.showData[e].content).path,mode:5})}}};e.default=u}).call(this,n("df3c")["default"])},"68f8":function(t,e,n){"use strict";var a=n("0a76"),r=n.n(a);r.a},"6abb":function(t,e,n){"use strict";n.d(e,"b",(function(){return a})),n.d(e,"c",(function(){return r})),n.d(e,"a",(function(){}));var a=function(){var t=this.$createElement;this._self._c},r=[]},b5fc:function(t,e,n){"use strict";n.r(e);var a=n("6abb"),r=n("35a4");for(var o in r)["default"].indexOf(o)<0&&function(t){n.d(e,t,(function(){return r[t]}))}(o);n("68f8");var i=n("828b"),u=Object(i["a"])(r["default"],a["b"],a["c"],!1,null,null,null,!1,a["a"],void 0);e["default"]=u.exports}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
'pages/component/carousel/carousel-create-component',
{
'pages/component/carousel/carousel-create-component':(function(module, exports, __webpack_require__){
__webpack_require__('df3c')['createComponent'](__webpack_require__("b5fc"))
})
},
[['pages/component/carousel/carousel-create-component']]
]);