livestockAdoption-camera-camera.b131df1e.js 5.6 KB

1
  1. (window["webpackJsonp"]=window["webpackJsonp"]||[]).push([["livestockAdoption-camera-camera"],{2170:function(e,t,n){"use strict";n.r(t);var a=n("befc1"),i=n("f86b");for(var c in i)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return i[e]}))}(c);n("ce99");var d=n("828b"),r=Object(d["a"])(i["default"],a["b"],a["c"],!1,null,"65a5f4ff",null,!1,a["a"],void 0);t["default"]=r.exports},"34c8":function(e,t,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("c223");var i=a(n("2634")),c=a(n("2fdc")),d=a(n("ab10")),r={data:function(){return{list:[],cat_id:0,page:1,cat_list:[],video_url:""}},components:{},onLoad:function(e){this.get_Camera()},onShow:function(){},created:function(e){},filters:{},onReachBottom:function(){this.page=this.page+1,this.get_Camera()},methods:{get_play:function(e){return(0,c.default)((0,i.default)().mark((function t(){var n;return(0,i.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,n={device_id:e},t.next=4,d.default.play(n);case 4:t.sent,t.next=9;break;case 7:t.prev=7,t.t0=t["catch"](0);case 9:case"end":return t.stop()}}),t,null,[[0,7]])})))()},pick_nav:function(e){this.cat_id=e,this.page=1,this.get_Camera()},get_Camera:function(){var e=this;return(0,c.default)((0,i.default)().mark((function t(){var n,a;return(0,i.default)().wrap((function(t){while(1)switch(t.prev=t.next){case 0:return t.prev=0,n={cat_id:e.cat_id,page:e.page},t.next=4,d.default.device(n);case 4:a=t.sent,0==a.code&&(1==e.page?(e.list=a.data.list,e.cat_list=a.data.cat_list):e.cat_list=e.cat_list.concat(a.data.list)),t.next=10;break;case 8:t.prev=8,t.t0=t["catch"](0);case 10:case"end":return t.stop()}}),t,null,[[0,8]])})))()}}};t.default=r},"65f4":function(e,t,n){var a=n("c86c");t=a(!1),t.push([e.i,"\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n\n/* pages/problemDetail/problemDetail.wxss */.detail-video uni-video[data-v-65a5f4ff]{width:100%}.detail-txt[data-v-65a5f4ff]{margin:%?24?%}uni-page-body[data-v-65a5f4ff]{width:100%;height:100%;background-color:#b1b1b1}body.?%PAGE?%[data-v-65a5f4ff]{background-color:#b1b1b1}.list_head[data-v-65a5f4ff]{width:95%;display:flex;justify-content:space-between;margin:auto;flex-wrap:wrap}.item_head[data-v-65a5f4ff]{width:48%;\n /* height: 300rpx; */border-radius:%?25?%;margin-top:%?20?%}.item_head uni-image[data-v-65a5f4ff]{width:100%;height:%?300?%;border-radius:%?25?%;background:#000}.item_head uni-video[data-v-65a5f4ff]{width:100%;height:100%;border-radius:%?25?%}.bottom_msg[data-v-65a5f4ff]{width:100%;height:%?100?%;text-align:center;line-height:%?100?%;color:#646464}.Select_parcel_titles[data-v-65a5f4ff]{color:#000;border-bottom:%?6?% solid #0a0;padding-bottom:%?4?%}.Select_parcel_title[data-v-65a5f4ff]{color:#868686;border-bottom:%?6?% solid #fff;padding-bottom:%?4?%}.Select_parcel_nav[data-v-65a5f4ff]{width:100%;height:%?100?%;display:flex;align-items:center;justify-content:space-around;background:#fff}.page_head[data-v-65a5f4ff]{width:100%;min-height:100vh;background:#f1f1f1}.item_head .test[data-v-65a5f4ff]{display:-webkit-box;white-space:normal;text-overflow:ellipsis;-webkit-line-clamp:2;-webkit-box-orient:vertical;word-break:break-all;overflow:hidden;font-weight:700;line-height:%?40?%;height:%?80?%}",""]),e.exports=t},"73bf":function(e,t,n){var a=n("65f4");a.__esModule&&(a=a.default),"string"===typeof a&&(a=[[e.i,a,""]]),a.locals&&(e.exports=a.locals);var i=n("967d").default;i("08da4bd3",a,!0,{sourceMap:!1,shadowMode:!1})},ab10:function(e,t,n){"use strict";n("6a54");var a=n("f5bd").default;Object.defineProperty(t,"__esModule",{value:!0}),t.default=void 0,n("c223"),n("5ef2"),n("7a76"),n("c9b5");var i=a(n("cc29")),c=a(n("c463")),d={device:function(e,t){return i.default.GET("/plugin/adopt/device/index",e,t)},play:function(e,t){var n=i.default.API_URL("/plugin/adopt/device/play")+"&store_id=".concat(i.default.getStoreId())+"&device_id=".concat(e.device_id),a="".concat(n.substring(0,n.indexOf("/index.php")),"/haikang?param=").concat(encodeURIComponent(n));throw uni.setStorageSync("webviewSrc",a),c.default.toUrl("/other/webview/webview"),new Error("此处更改跳转webview")}};t.default=d},befc1:function(e,t,n){"use strict";n.d(t,"b",(function(){return a})),n.d(t,"c",(function(){return i})),n.d(t,"a",(function(){}));var a=function(){var e=this,t=e.$createElement,n=e._self._c||t;return n("v-uni-view",{staticClass:"page_head"},[n("v-uni-view",{staticClass:"Select_parcel_nav"},[n("v-uni-view",{class:0==e.cat_id?"Select_parcel_titles":"Select_parcel_title",on:{click:function(t){arguments[0]=t=e.$handleEvent(t),e.pick_nav(0)}}},[e._v("全部")]),e._l(e.cat_list,(function(t,a){return n("v-uni-view",{key:a,class:e.cat_id==t.id?"Select_parcel_titles":"Select_parcel_title",on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.pick_nav(t.id)}}},[e._v(e._s(t.name))])}))],2),n("v-uni-view",{staticClass:"detail-page"},[n("v-uni-view",{staticClass:"list_head"},e._l(e.list,(function(t,a){return n("v-uni-view",{key:a,staticClass:"item_head",on:{click:function(n){arguments[0]=n=e.$handleEvent(n),e.get_play(t.id)}}},[n("v-uni-image",{attrs:{src:t.cover_pic,mode:"aspectFill"}}),n("v-uni-view",{staticClass:"test"},[e._v(e._s(t.name))])],1)})),1)],1),n("v-uni-view",{staticClass:"bottom_msg"},[e._v("没有更多了~")])],1)},i=[]},ce99:function(e,t,n){"use strict";var a=n("73bf"),i=n.n(a);i.a},f86b:function(e,t,n){"use strict";n.r(t);var a=n("34c8"),i=n.n(a);for(var c in a)["default"].indexOf(c)<0&&function(e){n.d(t,e,(function(){return a[e]}))}(c);t["default"]=i.a}}]);