first commit

This commit is contained in:
编码猿
2024-09-27 01:32:49 +08:00
commit 28ebe05a64
7399 changed files with 1174529 additions and 0 deletions

View File

@@ -0,0 +1 @@
3d6d8680-f850-40cf-b210-31ea5da9e7cf

View File

@@ -0,0 +1,26 @@
//index.js
//获取应用实例
const app = getApp();
const util = app.loadUtils("util")
const { Getauth } = app.loadModel("user")
const getauth = new Getauth()
const { StorageSync } = app.loadModel("getSetting")
const storage = new StorageSync()
Page({
data: {
motto: 'Hello World',
userInfo: {},
hasUserInfo: false,
canIUse: wx.canIUse('button.open-type.getUserInfo')
},
onLoad: function (options) {
// if (!!options.inviteId) {
// storage.setStorage("inviteId", options.inviteId)
// }
getauth.userInfo()
// storage.deleteStorage('nearestStore')
},
onPullDownRefresh() {
util.heavyLoad()
}
})

View File

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

View File

@@ -0,0 +1,6 @@
<view class="start"></view>
<!--index.wxml-->
<view class="container flex-con3">
<view class="usermotto">
</view>
</view>

View File

@@ -0,0 +1,20 @@
/**index.wxss**/
page{
background: #fff !important;
}
.container {
height: 100%;
width: 100%;
background: #fff;
}
.start{
width: 100rpx;
height: 100rpx;
border-radius: 100rpx;
position: fixed;
left: 50%;
top: 50%;
margin: -50rpx 0 0 -50rpx;
background: #ff4838;
-webkit-animation: loading 0.5s linear infinite;
}