Browse Source

fix: 项目列表不能正常滚动

test2
xuesinan 4 years ago
parent
commit
3c26b5086d
  1. 3
      CHANGELOG.md
  2. 5
      components/Calendar/Calendar.vue
  3. 16
      components/PrettyExchange/PrettyExchange.vue
  4. 5
      manifest.json
  5. 14
      pages/index/index.vue

3
CHANGELOG.md

@ -1,4 +1,4 @@
# 1.0.0 (2022-04-06)
# 1.0.0 (2022-04-07)
### 🌟 新功能
范围|描述|commitId
@ -59,6 +59,7 @@
- | 手机号登录 | [8f455da](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/8f455da)
- | 手机号登录 | [565585b](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/565585b)
- | 首页下拉刷新 | [fb65511](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/fb65511)
- | 首页增加版本号 | [5a295c8](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/5a295c8)
- | 刷新页面store数据清空 | [17869db](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/17869db)
- | 刷新token重新运行api | [02fb4bf](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/02fb4bf)
- | 添加 timeline | [72dad2b](https://101.201.226.163:50022/TALL/TALL-MUI-4/commits/72dad2b)

5
components/Calendar/Calendar.vue

@ -82,7 +82,7 @@
</view>-->
</view>
<view class="flex justify-center u-font-18" style="color: #3b82f6" @click="goToday">今日</view>
<view class="flex justify-center u-font-18" style="color: #3b82f6; height: 24px; line-height: 24px;" @click="goToday">今日</view>
</view>
</template>
@ -343,9 +343,11 @@ const goToday = () => {
.calendar-header {
text-align: center;
height: 52px;
padding: 16px 0;
position: relative;
font-size: 15px;
line-height: 20px;
}
.calendar-weeks {
@ -356,6 +358,7 @@ const goToday = () => {
justify-content: center;
align-items: center;
font-size: 12px;
line-height: 16px;
color: #9ca3af;
font-weight: bold;

16
components/PrettyExchange/PrettyExchange.vue

@ -1,15 +1,17 @@
<template>
<view>
<scroll-view scroll-y="true">
<view>
<view
:id="'cu-' + index"
class="cu-item flex-col"
v-for="(item, index) in data.itemList"
:key="item.id"
:style="{ 'background-color': item.color }"
>
<view
:id="'cu-' + index"
class="cu-item flex-col"
v-for="(item, index) in data.itemList"
:key="item.id"
:style="{ 'background-color': item.color }"
class="w-full"
@touchend="stops($event, index)"
@touchmove.stop.prevent="move"
@touchmove="move"
@longpress="start($event, index)"
>

5
manifest.json

@ -2,7 +2,7 @@
"name" : "时物链条2",
"appid" : "__UNI__6207504",
"description" : "",
"versionName" : "1.0.10",
"versionName" : "1.0.11",
"versionCode" : "100",
"transformPx" : false,
/* 5+App */
@ -125,6 +125,9 @@
},
"devServer" : {
"https" : false
},
"sdkConfigs" : {
"maps" : {}
}
}
}

14
pages/index/index.vue

@ -30,7 +30,10 @@
<!-- 项目列表 -->
<Projects @getProjects="getProjects" class="flex-1 overflow-y-auto" />
<view class="version-box">版本号1.0.10</view>
<view class="version-box">
<view>版本号1.0.10</view>
<view>2022.04.06</view>
</view>
<view class="login-box absolute" @click="toLogin">
<text v-if="!userInfo || !userInfo.id">游客</text>
@ -237,11 +240,16 @@
}
.version-box {
padding: 10px 0;
width: 100%;
height: 50px;
line-height: 50px;
height: 60px;
text-align: center;
background-color: #FFFFFF;
color: #999;
font-size: 13px;
view {
line-height: 20px;
}
}
</style>

Loading…
Cancel
Save