no message
This commit is contained in:
40
components/float-refresh/index.js
Normal file
40
components/float-refresh/index.js
Normal file
@@ -0,0 +1,40 @@
|
||||
var o = require("../../common/vendor.js");
|
||||
Array ||
|
||||
(o.resolveComponent("uni-load-more") + o.resolveComponent("uni-icons"))(),
|
||||
Math ||
|
||||
(
|
||||
function () {
|
||||
return "../../uni_modules/uni-load-more/components/uni-load-more/uni-load-more.js";
|
||||
} +
|
||||
function () {
|
||||
return "../../uni_modules/uni-icons/components/uni-icons/uni-icons.js";
|
||||
}
|
||||
)();
|
||||
var n = {
|
||||
__name: "index",
|
||||
props: { loading: { type: Boolean, default: !1 } },
|
||||
emits: ["click"],
|
||||
setup: function (n, e) {
|
||||
var i = e.emit,
|
||||
r = function () {
|
||||
i("click");
|
||||
};
|
||||
return function (e, i) {
|
||||
return {
|
||||
a: n.loading,
|
||||
b: o.p({
|
||||
iconType: "circle",
|
||||
iconSize: 20,
|
||||
status: "loading",
|
||||
showText: !1,
|
||||
color: "#1F68E9",
|
||||
}),
|
||||
c: !n.loading,
|
||||
d: o.p({ type: "refreshempty", size: "24", color: "#1F68E9" }),
|
||||
e: o.o(r),
|
||||
};
|
||||
};
|
||||
},
|
||||
},
|
||||
e = o._export_sfc(n, [["__scopeId", "data-v-8535e783"]]);
|
||||
wx.createComponent(e);
|
||||
7
components/float-refresh/index.json
Normal file
7
components/float-refresh/index.json
Normal file
@@ -0,0 +1,7 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"uni-load-more": "../../uni_modules/uni-load-more/components/uni-load-more/uni-load-more",
|
||||
"uni-icons": "../../uni_modules/uni-icons/components/uni-icons/uni-icons"
|
||||
}
|
||||
}
|
||||
23
components/float-refresh/index.wxml
Normal file
23
components/float-refresh/index.wxml
Normal file
@@ -0,0 +1,23 @@
|
||||
<view
|
||||
catchtap="{{e}}"
|
||||
class="button data-v-8535e783"
|
||||
hoverClass="default-hover-class"
|
||||
hoverStayTime="100"
|
||||
>
|
||||
<uni-load-more
|
||||
bind:__l="__l"
|
||||
class="data-v-8535e783"
|
||||
data-c-h="{{!a}}"
|
||||
uI="8535e783-0"
|
||||
uP="{{b}}"
|
||||
wx:if="{{b}}"
|
||||
></uni-load-more>
|
||||
<uni-icons
|
||||
bind:__l="__l"
|
||||
class="data-v-8535e783"
|
||||
data-c-h="{{!c}}"
|
||||
uI="8535e783-1"
|
||||
uP="{{d}}"
|
||||
wx:if="{{d}}"
|
||||
></uni-icons>
|
||||
</view>
|
||||
15
components/float-refresh/index.wxss
Normal file
15
components/float-refresh/index.wxss
Normal file
@@ -0,0 +1,15 @@
|
||||
.button.data-v-8535e783 {
|
||||
align-items: center;
|
||||
background-color: #fff;
|
||||
border-radius: 100%;
|
||||
bottom: 80rpx;
|
||||
box-shadow: 0 5rpx 15rpx rgba(0, 0, 0, 0.15);
|
||||
display: -webkit-flex;
|
||||
display: flex;
|
||||
height: 80rpx;
|
||||
justify-content: center;
|
||||
position: fixed;
|
||||
right: 40rpx;
|
||||
width: 80rpx;
|
||||
z-index: 88;
|
||||
}
|
||||
Reference in New Issue
Block a user