init
This commit is contained in:
23
project-wl-yonghuduan-uniapp-vue3/unpackage/dist/dev/mp-weixin/components/NetFail/index.js
vendored
Normal file
23
project-wl-yonghuduan-uniapp-vue3/unpackage/dist/dev/mp-weixin/components/NetFail/index.js
vendored
Normal 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);
|
||||
4
project-wl-yonghuduan-uniapp-vue3/unpackage/dist/dev/mp-weixin/components/NetFail/index.json
vendored
Normal file
4
project-wl-yonghuduan-uniapp-vue3/unpackage/dist/dev/mp-weixin/components/NetFail/index.json
vendored
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
||||
1
project-wl-yonghuduan-uniapp-vue3/unpackage/dist/dev/mp-weixin/components/NetFail/index.wxml
vendored
Normal file
1
project-wl-yonghuduan-uniapp-vue3/unpackage/dist/dev/mp-weixin/components/NetFail/index.wxml
vendored
Normal 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>
|
||||
27
project-wl-yonghuduan-uniapp-vue3/unpackage/dist/dev/mp-weixin/components/NetFail/index.wxss
vendored
Normal file
27
project-wl-yonghuduan-uniapp-vue3/unpackage/dist/dev/mp-weixin/components/NetFail/index.wxss
vendored
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user