Lou
2024-03-29 bd87e01aefaeb972f8d980a563773249f9e9e639
subPackage/workbench/views/workLog.vue
@@ -77,7 +77,12 @@
         @cancel="isShowTypePicker = false" @confirm="confirmType()" keyName="dictValue"></u-picker>
      <u-picker :show="isShowLabelPicker" :columns="labelList" :defaultIndex="labelIndex"
         @cancel="isShowLabelPicker = false" @confirm="confirmLabelType()" keyName="name"></u-picker>
      <footer-btn @click="submitInfo" :text="isEdit?'保存':'提交'" />
      <!-- <footer-btn @click="submitInfo" :text="isEdit?'保存':'提交'" /> -->
      <button class="submit-btn" @click="sumitInfo">{{isEdit?"保存":"提交"}}</button>
      <button class="list-btn" @click="navToRecord">走访记录</button>
      <u-popup :show="isShowPopup" mode="bottom" :round="10" closeable="true" @close="isShowPopup = false">
         <view class="popup-content">
@@ -419,6 +424,13 @@
            uni.navigateBack();
         },
         navToRecord() {
            uni.navigateTo({
               url: "/subPackage/workLog/list"
            })
         }
      }
   }
</script>
@@ -513,4 +525,26 @@
      font-size: 28rpx;
      padding: 2rpx 10rpx;
   }
   .submit-btn {
      width: 690rpx;
      height: 78rpx;
      line-height: 78rpx;
      background: linear-gradient(163deg, #01BDFC 0%, #017BFC 100%);
      border-radius: 8rpx 8rpx 8rpx 8rpx;
      font-size: 32rpx;
      color: #fff;
      margin-top: 50rpx;
   }
   .list-btn {
      width: 690rpx;
      height: 78rpx;
      line-height: 78rpx;
      background: linear-gradient(163deg, #c7d7dc 0%, #c3cdd8 100%);
      border-radius: 8rpx 8rpx 8rpx 8rpx;
      font-size: 32rpx;
      color: #fff;
      margin-top: 50rpx;
   }
</style>