public
This commit is contained in:
10
public/mp-weixin/components/loading-footer/loading-footer.js
Normal file
10
public/mp-weixin/components/loading-footer/loading-footer.js
Normal file
@ -0,0 +1,10 @@
|
||||
(global["webpackJsonp"]=global["webpackJsonp"]||[]).push([["components/loading-footer/loading-footer"],{2884:function(t,n,e){"use strict";e.r(n);var o=e("3c2d"),u=e.n(o);for(var r in o)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return o[t]}))}(r);n["default"]=u.a},"3c2d":function(t,n,e){"use strict";Object.defineProperty(n,"__esModule",{value:!0}),n.default=void 0;var o={data:function(){return{}},components:{},props:{status:{type:String,default:"loading"},errorText:{type:String,default:"加载失败,点击重新加载"},loadingText:{type:String,default:"加载中..."},finishedText:{type:String,default:"我可是有底线的~"},slotEmpty:{type:Boolean,default:!1},color:{type:String,default:"#666"}},methods:{onRefresh:function(){this.$emit("refresh")}}};n.default=o},"7bcb":function(t,n,e){"use strict";var o=e("ef1e"),u=e.n(o);u.a},b48b:function(t,n,e){"use strict";e.r(n);var o=e("bc6c"),u=e("2884");for(var r in u)["default"].indexOf(r)<0&&function(t){e.d(n,t,(function(){return u[t]}))}(r);e("7bcb");var i=e("828b"),c=Object(i["a"])(u["default"],o["b"],o["c"],!1,null,null,null,!1,o["a"],void 0);n["default"]=c.exports},bc6c:function(t,n,e){"use strict";e.d(n,"b",(function(){return u})),e.d(n,"c",(function(){return r})),e.d(n,"a",(function(){return o}));var o={uLoading:function(){return e.e("components/uview-ui/components/u-loading/u-loading").then(e.bind(null,"7cbc"))}},u=function(){var t=this.$createElement;this._self._c},r=[]},ef1e:function(t,n,e){}}]);
|
||||
;(global["webpackJsonp"] = global["webpackJsonp"] || []).push([
|
||||
'components/loading-footer/loading-footer-create-component',
|
||||
{
|
||||
'components/loading-footer/loading-footer-create-component':(function(module, exports, __webpack_require__){
|
||||
__webpack_require__('df3c')['createComponent'](__webpack_require__("b48b"))
|
||||
})
|
||||
},
|
||||
[['components/loading-footer/loading-footer-create-component']]
|
||||
]);
|
||||
@ -0,0 +1,6 @@
|
||||
{
|
||||
"usingComponents": {
|
||||
"u-loading": "/components/uview-ui/components/u-loading/u-loading"
|
||||
},
|
||||
"component": true
|
||||
}
|
||||
@ -0,0 +1 @@
|
||||
<view class="loading-footer flex row-center" style="{{('color: '+color)}}"><block wx:if="{{status==='loading'}}"><view class="loading flex"><u-loading vue-id="388e23c2-1" color="{{color}}" size="{{40}}" mode="flower" bind:__l="__l"></u-loading><text class="m-l-20" style="{{('color: '+color)}}">{{loadingText}}</text></view></block><block wx:if="{{status==='finished'}}"><view class="finished">{{finishedText}}</view></block><block wx:if="{{status==='error'}}"><view data-event-opts="{{[['tap',[['onRefresh',['$event']]]]]}}" bindtap="__e">{{errorText}}</view></block><block wx:if="{{status==='empty'}}"><view class="empty"><block wx:if="{{!slotEmpty}}"><text>暂无数据</text></block><block wx:else><slot name="empty"></slot></block></view></block></view>
|
||||
@ -0,0 +1 @@
|
||||
.loading-footer{padding:30rpx 0;color:#666}
|
||||
Reference in New Issue
Block a user