This commit is contained in:
shuhongfan
2023-09-04 16:40:17 +08:00
commit cf5ac25c14
8267 changed files with 1305066 additions and 0 deletions

View File

@@ -0,0 +1,23 @@
"use strict";
var common_vendor = require("../../common/vendor.js");
const _sfc_main = {
__name: "index",
props: {
handleToRefresh: {
type: Function
}
},
setup(__props) {
const props = __props;
const handleTo = () => {
props.handleToRefresh();
};
return (_ctx, _cache) => {
return {
a: common_vendor.o(handleTo)
};
};
}
};
var Component = /* @__PURE__ */ common_vendor._export_sfc(_sfc_main, [["__scopeId", "data-v-33ea5bd3"], ["__file", "E:/project/project-wl-yonghuduan-uniapp-vue3/components/NetFail/index.vue"]]);
wx.createComponent(Component);

View File

@@ -0,0 +1,4 @@
{
"component": true,
"usingComponents": {}
}

View File

@@ -0,0 +1 @@
<view class="net-fail data-v-33ea5bd3"><image src="/static/net-fail.png" class="net-fail-image data-v-33ea5bd3"/><view class="tips data-v-33ea5bd3">请检查网络</view><view class="btn data-v-33ea5bd3" bindtap="{{a}}">重新加载</view></view>

View File

@@ -0,0 +1,27 @@
/* 水平间距 */
/* 水平间距 */
.net-fail .net-fail-image.data-v-33ea5bd3 {
width: 400rpx;
height: 240rpx;
margin: 0 auto;
display: block;
margin-top: 310rpx;
}
.net-fail .tips.data-v-33ea5bd3 {
text-align: center;
font-size: 28rpx;
color: #818181;
margin-top: 40rpx;
}
.net-fail .btn.data-v-33ea5bd3 {
width: 240rpx;
height: 88rpx;
line-height: 88rpx;
text-align: center;
color: white;
font-size: 30rpx;
background-color: #E63E32;
border-radius: 44rpx;
margin: 0 auto;
margin-top: 64rpx;
}