(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/mark-slide-list/mark-slide-list"],{1344:function(t,i,e){"use strict";var n=e("bd3e"),s=e.n(n);s.a},bb03:function(t,i,e){"use strict";(function(t){Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var e={name:"mark-slide-list",props:{list:{type:Array,default:function(){return[]}},button:{type:Array,default:function(){return[{title:"删除",background:"#ff3b32"}]}},border:{type:Boolean,default:!1},type:{type:String,default:null},id:{type:String,default:null}},computed:{windowWidth:function(){return t.getSystemInfoSync().windowWidth}},data:function(){return{listData:[],start_slide_x:0,btnWidth:0,startX:0,LastX:0,startTime:0,itemIndex:0}},mounted:function(){this.listData=this.clone(this.list)},watch:{list:{handler:function(t,i){this.listData=this.clone(this.list)},deep:!0}},methods:{clone:function(t){var i,e=typeof t;if("array"===e)i=[];else{if("object"!==e)return t;i={}}if("array"===e)for(var n=0,s=t.length;n<s;n++)i.push(this.clone(t[n]));else if("object"===e)for(var a in t)i[a]=this.clone(t[a]);return i},touchStart:function(i,e){var n=this;for(var s in this.itemIndex==e&&(this.itemIndex=e),this.startTime=i.timeStamp,this.start_slide_x=this.listData[e].slide_x,t.createSelectorQuery().in(this).selectAll(".group-btn").boundingClientRect((function(t){null!=t&&(n.btnWidth=-1*t[e].width)})).exec(),this.startX=i.touches[0].pageX,this.lastX=this.startX,this.listData)e!=s&&(this.listData[s].slide_x=0)},touchMove:function(t,i){var e=t.touches[0].pageX,n=e-this.lastX,s=this.listData[i].slide_x+n;s<=0&&s>=this.btnWidth&&(this.listData[i].slide_x=s),this.lastX=e},touchEnd:function(t,i){var e=10,n=t.timeStamp,s=this.startX-this.lastX;Math.abs(n-this.startTime)>200&&(e=this.btnWidth/-2),this.listData[i].slide_x=s>e?this.btnWidth:s<-1*e?0:this.start_slide_x},recover:function(t){this.listData[t].slide_x=0},clickMethod:function(t){1!=this.list.length?this.$emit("changeDelete",t):this.$tools.msg("只剩一条记录了，不可以删除！")},clickItemMethod:function(i){t.navigateTo({url:"/pageTwo/me/info?index="+JSON.stringify(i)})}}};i.default=e}).call(this,e("543d")["default"])},bd3e:function(t,i,e){},c44f:function(t,i,e){"use strict";e.r(i);var n=e("f744"),s=e("d1ff");for(var a in s)"default"!==a&&function(t){e.d(i,t,(function(){return s[t]}))}(a);e("1344");var r,l=e("f0c5"),o=Object(l["a"])(s["default"],n["b"],n["c"],!1,null,"7b0b3708",null,!1,n["a"],r);i["default"]=o.exports},d1ff:function(t,i,e){"use strict";e.r(i);var n=e("bb03"),s=e.n(n);for(var a in n)"default"!==a&&function(t){e.d(i,t,(function(){return n[t]}))}(a);i["default"]=s.a},f744:function(t,i,e){"use strict";var n;e.d(i,"b",(function(){return s})),e.d(i,"c",(function(){return a})),e.d(i,"a",(function(){return n}));var s=function(){var t=this,i=t.$createElement;t._self._c},a=[]}}]);
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
    'components/mark-slide-list/mark-slide-list-create-component',
    {
        'components/mark-slide-list/mark-slide-list-create-component':(function(module, exports, __webpack_require__){
            __webpack_require__('543d')['createComponent'](__webpack_require__("c44f"))
        })
    },
    [['components/mark-slide-list/mark-slide-list-create-component']]
]);
