Commit 6dcd0ffd9b1ce3d613faa7a8a6333de014ebc303

Authored by 刘淇
1 parent 984b2e69

优化字体大小

pages-sub/daily/maintain-manage/type-list-page.vue
... ... @@ -22,13 +22,13 @@
22 22 </view>
23 23  
24 24  
25   - <view class="info-row">
26   - <!-- timeFormat(start, 'yyyy-mm-dd'), -->
  25 + <!-- <view class="info-row">
  26 +
27 27 <view class="info-label">计划编码:</view>
28 28 <view class="info-value u-line-1">{{item.planNo }}—{{
29 29 timeFormat(item.endTime, 'yyyy-mm-dd') }}
30 30 </view>
31   - </view>
  31 + </view> -->
32 32  
33 33 <!-- 有效期 -->
34 34 <view class="info-row">
... ... @@ -89,7 +89,7 @@
89 89 <!-- ========== 结束任务二次确认弹窗 ========== -->
90 90 <up-modal :show="endTaskModalShow" title="提示" :closeOnClickOverlay="false" :showConfirmButton="true"
91 91 :showCancelButton="true" @cancel="handleEndTaskModalCancel" @confirm="confirmEndTask">
92   - <view class="end-task-modal-content">
  92 + <view class="end-task-modal-content" style="font-size: 14px;">
93 93 <text>确定要结束吗?</text>
94 94 </view>
95 95 </up-modal>
... ... @@ -326,8 +326,13 @@ const confirmSetInvalid = async () =&gt; {
326 326 uni.showToast({ title: '操作成功', icon: 'success', duration:2000 })
327 327 handleInvalidModalCancel()
328 328 // 重新加载数据刷新列表
329   - await loadData()
330   - pagingRef.value?.reload()
  329 + // await loadData()
  330 + // pagingRef.value?.reload()
  331 + // 不要用 uni.navigateBack()
  332 +uni.reLaunch({
  333 + url:'/pages-sub/daily/maintain-manage/index' // 回到你的上游列表页
  334 +})
  335 +
331 336 } catch (err) {
332 337 console.error(err)
333 338 uni.showToast({ title: err?.msg || '提交失败,请重试', icon: 'none', duration:2000 })
... ... @@ -380,8 +385,13 @@ const confirmEndTask = async () =&gt; {
380 385 await finishPlan({ commitId: targetCommitId })
381 386 uni.hideLoading()
382 387 uni.showToast({ title: '结束任务成功', icon: 'success', duration:2000 })
383   - await loadData()
384   - pagingRef.value?.reload()
  388 + // await loadData()
  389 + // pagingRef.value?.reload()
  390 + // 不要用 uni.navigateBack()
  391 +uni.reLaunch({
  392 + url:'/pages-sub/daily/maintain-manage/index' // 回到你的上游列表页
  393 +})
  394 +
385 395 } catch (err) {
386 396 console.error('结束任务失败', err)
387 397 uni.hideLoading()
... ...
pages-sub/daily/maintain-manage/type-list.vue
... ... @@ -5,9 +5,9 @@
5 5 @click="toNextPage(item)">
6 6  
7 7 <!-- 左上图标:按计划类型显示不同颜色图标 -->
8   - <view class="card-icon" :class="item.iconClass || 'icon-default'">
  8 + <!-- <view class="card-icon" :class="item.iconClass || 'icon-default'">
9 9 <text class="icon-text">{{ item.iconChar || '📋' }}</text>
10   - </view>
  10 + </view> -->
11 11  
12 12 <!-- 名称:第一行大字 -->
13 13 <view class="card-name">{{ item.nameText }}</view>
... ... @@ -240,7 +240,7 @@ onUnload(() =&gt; {
240 240 }
241 241  
242 242 .card-count {
243   - font-size: 26rpx;
  243 + font-size: 30rpx;
244 244 font-weight: 600;
245 245 color: #2563EB;
246 246 }
... ...