页面切图
This commit is contained in:
@@ -109,3 +109,31 @@ page {
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
.index {
|
||||
|
||||
.header {
|
||||
margin: 0 30rpx;
|
||||
background: $uni-theme-white;
|
||||
border-radius: 12rpx;
|
||||
background: $uni-color-primary;
|
||||
padding: 30rpx 10rpx 40rpx;
|
||||
display: grid;
|
||||
grid-gap: 60rpx 0;
|
||||
grid-template-columns: 1fr 1fr 1fr;
|
||||
|
||||
.header-item {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
color: #fff;
|
||||
font-size: 28rpx;
|
||||
|
||||
.header-item-value {
|
||||
font-size: 40rpx;
|
||||
margin-bottom: 10rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
4
common/js/cacheKey.js
Normal file
4
common/js/cacheKey.js
Normal file
@@ -0,0 +1,4 @@
|
||||
export default {
|
||||
config: 'config', // 全剧配置
|
||||
userInfo: 'userInfo', // 用户信息
|
||||
}
|
||||
@@ -1,5 +1,5 @@
|
||||
import request from './request'
|
||||
import config from './config.js'
|
||||
import cache from './cacheKey.js'
|
||||
const toast = (title, duration = 1500, call, mask = false, icon = 'none') => {
|
||||
if (Boolean(title) === false) {
|
||||
return
|
||||
|
||||
Reference in New Issue
Block a user