(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/mark-slide-list/mark-slide-list"],{"000d":function(t,i,e){"use strict";e.d(i,"b",(function(){return n})),e.d(i,"c",(function(){return s})),e.d(i,"a",(function(){}));var n=function(){var t=this.$createElement;this._self._c},s=[]},"002f":function(t,i,e){"use strict";var n=e("0e3c"),s=e.n(n);s.a},"0e3c":function(t,i,e){},"418d":function(t,i,e){"use strict";(function(t){var n=e("4ea4");Object.defineProperty(i,"__esModule",{value:!0}),i.default=void 0;var s=n(e("7037")),a={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=(0,s.default)(t);if("array"===e)i=[];else{if("object"!==e)return t;i={}}if("array"===e)for(var n=0,a=t.length;n<a;n++)i.push(this.clone(t[n]));else if("object"===e)for(var l in t)i[l]=this.clone(t[l]);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=a}).call(this,e("543d")["default"])},8685:function(t,i,e){"use strict";e.r(i);var n=e("000d"),s=e("e9a6");for(var a in s)["default"].indexOf(a)<0&&function(t){e.d(i,t,(function(){return s[t]}))}(a);e("002f");var l=e("f0c5"),r=Object(l["a"])(s["default"],n["b"],n["c"],!1,null,"4df278e9",null,!1,n["a"],void 0);i["default"]=r.exports},e9a6:function(t,i,e){"use strict";e.r(i);var n=e("418d"),s=e.n(n);for(var a in n)["default"].indexOf(a)<0&&function(t){e.d(i,t,(function(){return n[t]}))}(a);i["default"]=s.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__("8685"))
        })
    },
    [['components/mark-slide-list/mark-slide-list-create-component']]
]);
