Commit f24c82d8 by 李伟康

commit 提交

1 parent d15de879
......@@ -83,6 +83,7 @@ class Request {
if (code == "0") {
resolve(data.data);
} else {
uni.hideLoading()
uni.showToast({
title: message || "系统异常",
icon: "none",
......
......@@ -66,23 +66,6 @@
<view class="right-side">
<template v-if="tabIndex == 0">
<view class="right-content">
<template v-if="skeletonStatus">
<view class="skeleton-box">
<view class="start">
<view class="start-text"></view>
</view>
<view class="module-list">
<view
class="module-item"
v-for="(item, index) in 10"
:key="index"
>
<view class="module-img"> </view>
<view class="module-name"></view>
</view>
</view>
</view>
</template>
<view
class="start"
@click="$emit('start')"
......@@ -188,7 +171,6 @@ export default {
data () {
return {
userInfo: {},
skeletonStatus: false,
tabs: [
{
label: "首页",
......@@ -629,41 +611,6 @@ export default {
}
}
}
.skeleton-box {
position: absolute;
left: 0;
top: 0;
padding: 0 60rpx;
width: 100%;
box-sizing: border-box;
z-index: 2;
.start {
background: linear-gradient(90deg, #fff, #c8c8c8, #fff);
background-size: 200% 100%;
animation: shine 2s linear infinite;
&-text {
width: 284rpx;
height: 72rpx;
background: rgb(224, 224, 224);
}
}
.module-list {
.module-item {
.module-img {
background: linear-gradient(90deg, #fff, #c8c8c8, #fff);
background-size: 200% 100%;
animation: shine 5s linear infinite;
}
.module-name {
width: 100%;
height: 38rpx;
background: linear-gradient(90deg, #fff, #e0e0e0, #fff);
background-size: 200% 100%;
animation: shine 5s linear infinite;
}
}
}
}
.footer {
border-top: 2rpx solid #eff0f2;
font-weight: 600;
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!