소스 검색

优化oa申请单提交样式

wangtao 1 개월 전
부모
커밋
0ca0829ac3
3개의 변경된 파일14개의 추가작업 그리고 10개의 파일을 삭제
  1. 0 1
      src/config.js
  2. 7 4
      src/pages/business/oa/approval/components/jbd.vue
  3. 7 5
      src/pages/business/oa/approval/components/qjd.vue

+ 0 - 1
src/config.js

@@ -9,7 +9,6 @@ export default {
   //#endif
 
   //#ifdef H5
-  // baseUrl: "https://gateWay.usky.cn/prod-api",
   baseUrl: import.meta.env.MODE === "production" ? `https://${window.location.host}/prod-api` : `http://192.168.10.165:801/dev-api`,
   //#endif
 

+ 7 - 4
src/pages/business/oa/approval/components/jbd.vue

@@ -180,12 +180,12 @@
             </view>
           </view>
         </view>
-        <view class="app-button">
-          <u-button  type="primary" @click="handleSubmit('提交')" shape="circle"> 提交 </u-button>
-        </view>
       </view>
     </template>
   </oa-scroll>
+  <view class="app-button">
+    <u-button  type="primary" @click="handleSubmit('提交')" shape="circle"> 提交 </u-button>
+  </view>
 </template>
 
 <script setup>
@@ -425,8 +425,11 @@ onShow(() => {
   }
 }
 .app-button{
-  margin:10px;
+  position: fixed;
+  bottom:10px;
+  left:10px;
   width:calc(100% - 20px);
+  background: #fff;
   button{
     border-radius: 10px !important;
   }

+ 7 - 5
src/pages/business/oa/approval/components/qjd.vue

@@ -179,14 +179,13 @@
               </view>
             </view>
           </view>
-          <view class="app-button">
-            <u-button  type="primary" @click="handleSubmit('提交')" shape="circle"> 提交 </u-button>
-          </view>
         </view>
       </view>
-      
     </template>
   </oa-scroll>
+  <view class="app-button">
+    <u-button  type="primary" @click="handleSubmit('提交')" shape="circle"> 提交 </u-button>
+  </view>
 </template>
 
 <script setup>
@@ -424,8 +423,11 @@ onShow(() => {
   }
 }
 .app-button{
-  margin:10px;
+  position: fixed;
+  bottom:10px;
+  left:10px;
   width:calc(100% - 20px);
+  background: #fff;
   button{
     border-radius: 10px !important;
   }