first commit
This commit is contained in:
1
衣莎项目/源码/YiShaXiYi/pages/startUp/.pydio
Normal file
1
衣莎项目/源码/YiShaXiYi/pages/startUp/.pydio
Normal file
@@ -0,0 +1 @@
|
||||
3d6d8680-f850-40cf-b210-31ea5da9e7cf
|
||||
26
衣莎项目/源码/YiShaXiYi/pages/startUp/startUp.js
Normal file
26
衣莎项目/源码/YiShaXiYi/pages/startUp/startUp.js
Normal 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()
|
||||
}
|
||||
})
|
||||
4
衣莎项目/源码/YiShaXiYi/pages/startUp/startUp.json
Normal file
4
衣莎项目/源码/YiShaXiYi/pages/startUp/startUp.json
Normal file
@@ -0,0 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"enablePullDownRefresh": true
|
||||
}
|
||||
6
衣莎项目/源码/YiShaXiYi/pages/startUp/startUp.wxml
Normal file
6
衣莎项目/源码/YiShaXiYi/pages/startUp/startUp.wxml
Normal file
@@ -0,0 +1,6 @@
|
||||
<view class="start"></view>
|
||||
<!--index.wxml-->
|
||||
<view class="container flex-con3">
|
||||
<view class="usermotto">
|
||||
</view>
|
||||
</view>
|
||||
20
衣莎项目/源码/YiShaXiYi/pages/startUp/startUp.wxss
Normal file
20
衣莎项目/源码/YiShaXiYi/pages/startUp/startUp.wxss
Normal 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;
|
||||
}
|
||||
Reference in New Issue
Block a user