|
|
@@ -1,8 +1,6 @@
|
|
|
<template>
|
|
|
<swiper class="box" :current-item-id="current" circular vertical disable-touch>
|
|
|
<swiper-item class="swiper-item" item-id="index">
|
|
|
- <image class="image" src="/static/c+selected.svg" mode="widthFix"
|
|
|
- @click="onClick('cloud', cloudLastPage || '资料库')" />
|
|
|
<view class="item" v-for="item in index" :key="item.name"
|
|
|
@click="item.name == showPageName ? update() : onClick('index', item.name)">
|
|
|
<u-loading-icon v-if="item.loading" mode="circle" />
|
|
|
@@ -10,9 +8,12 @@
|
|
|
{{ item.name }}
|
|
|
</text>
|
|
|
</view>
|
|
|
+ <image class="image" src="/static/c+selected.svg" mode="widthFix"
|
|
|
+ @click="onClick('cloud', cloudLastPage || '资料库')" />
|
|
|
</swiper-item>
|
|
|
<swiper-item class="swiper-item" item-id="cloud">
|
|
|
-
|
|
|
+ <image class="image" src="/static/c+unselected.svg" mode="widthFix"
|
|
|
+ @click="onClick('index', indexLastPage || '首页')" />
|
|
|
<view class="item" v-for="item in cloud" :key="item.name"
|
|
|
@click="item.name == showPageName ? update() : onClick('cloud', item.name)">
|
|
|
<u-loading-icon v-if="item.loading" mode="circle" />
|
|
|
@@ -20,9 +21,6 @@
|
|
|
{{ item.name }}
|
|
|
</text>
|
|
|
</view>
|
|
|
-
|
|
|
- <image class="image" src="/static/c+unselected.svg" mode="widthFix"
|
|
|
- @click="onClick('index', indexLastPage || '首页')" />
|
|
|
</swiper-item>
|
|
|
</swiper>
|
|
|
</template>
|