From c7eaac9ad2be566bf13c5018141d1cad46ccc3c0 Mon Sep 17 00:00:00 2001
From: chenhaozhe <cgz@hz-kingdee.com>
Date: 星期三, 23 七月 2025 16:38:41 +0800
Subject: [PATCH] 修改样式
---
pages/shengchanrukushengdan/form.vue | 12 +++++
pages/weiwailingliao/form.vue | 21 ++++++++--
pages/shengchanbuliao/form.vue | 22 ++++++++---
pages/shengchanlingliaoshengdan/form.vue | 26 ++++++++++---
4 files changed, 63 insertions(+), 18 deletions(-)
diff --git a/pages/shengchanbuliao/form.vue b/pages/shengchanbuliao/form.vue
index d90be37..8c79536 100644
--- a/pages/shengchanbuliao/form.vue
+++ b/pages/shengchanbuliao/form.vue
@@ -6,9 +6,10 @@
<view class="right" style="width: 380rpx;">
<input v-model="hform.HBarCode" placeholder="璇锋壂鎻�(鎴栬緭鍏�)鏉$爜" @confirm="getCode(hform.HBarCode)" />
</view>
- <uni-icons type="scan"
- style="margin-left: 10rpx;background-color: #3A78FF;padding: 6rpx;color: #fff;border-radius: 100%;"
- size="20" @click="toScanCode"></uni-icons>
+ <view class="icon-wrapper" @click="toScanCode">
+ <uni-icons type="scan" size="20"></uni-icons>
+ </view>
+
</view>
<view class="form-item">
<view class="title">鏁伴噺:</view>
@@ -1349,6 +1350,7 @@
align-items: center;
font-size: 30rpx;
padding: 6rpx 0;
+ gap: 12rpx;
.title {
width: 208rpx;
@@ -1365,6 +1367,11 @@
border-radius: 22rpx;
border: 1px solid #acacac;
position: relative;
+ display: flex;
+
+ .uni-combox {
+ width: 100%;
+ }
}
.righton {
@@ -1387,10 +1394,13 @@
}
.icon-wrapper {
- margin-left: 10rpx;
background-color: #3A78FF;
- padding: 6rpx;
- border-radius: 50%;
+ border-radius: 100%;
+ width: 52rpx;
+ height: 52rpx;
+ display: flex;
+ justify-content: center;
+ align-items: center;
.uni-icons {
color: #fff !important;
diff --git a/pages/shengchanlingliaoshengdan/form.vue b/pages/shengchanlingliaoshengdan/form.vue
index 90f84c7..a165efe 100644
--- a/pages/shengchanlingliaoshengdan/form.vue
+++ b/pages/shengchanlingliaoshengdan/form.vue
@@ -6,9 +6,9 @@
<view class="right" style="width: 380rpx;">
<input v-model="hform.HBarCode" placeholder="璇锋壂鎻�(鎴栬緭鍏�)鏉$爜" @confirm="getCode(hform.HBarCode)" />
</view>
- <uni-icons type="scan"
- style="margin-left: 10rpx;background-color: #3A78FF;padding: 6rpx;color: #fff;border-radius: 100%;"
- size="20" @click="toScanCode"></uni-icons>
+ <view class="icon-wrapper">
+ <uni-icons type="scan" size="20" @click="toScanCode"></uni-icons>
+ </view>
</view>
<view class="form-item">
<view class="title">鏁伴噺:</view>
@@ -66,7 +66,7 @@
</view>
<view class="icon-wrapper" v-show="showHSourceBillNo" :disabled="hform.HMainSourceBillType === -1">
- <uni-icons type="search" size="20" @click="showBillList"></uni-icons>
+ <uni-icons type="search" size="20" @click="showBillList"></uni-icons>
</view>
<view class="righton" v-show="!showHSourceBillNo">
@@ -579,7 +579,11 @@
HCustom: ""
},
success: (res) => {
- let {count, data, Message} = res.data
+ let {
+ count,
+ data,
+ Message
+ } = res.data
if (res.data.count == 1) {
this.HSourceBillNoList = res.data.data
for (var i = 0; i < res.data.data.length; i++) {
@@ -1387,6 +1391,7 @@
align-items: center;
font-size: 30rpx;
padding: 6rpx 0;
+ gap: 12rpx;
.title {
width: 208rpx;
@@ -1403,6 +1408,11 @@
border-radius: 22rpx;
border: 1px solid #acacac;
position: relative;
+ display: flex;
+
+ .uni-combox {
+ width: 100%;
+ }
}
.righton {
@@ -1425,10 +1435,14 @@
}
.icon-wrapper {
- margin-left: 10rpx;
background-color: #3A78FF;
padding: 6rpx;
border-radius: 100%;
+ width: 52rpx;
+ height: 52rpx;
+ display: flex;
+ justify-content: center;
+ align-items: center;
.uni-icons {
color: #fff !important;
diff --git a/pages/shengchanrukushengdan/form.vue b/pages/shengchanrukushengdan/form.vue
index 6ad2fa7..c01b55c 100644
--- a/pages/shengchanrukushengdan/form.vue
+++ b/pages/shengchanrukushengdan/form.vue
@@ -1373,6 +1373,7 @@
align-items: center;
font-size: 30rpx;
padding: 6rpx 0;
+ gap: 12rpx;
.title {
width: 208rpx;
@@ -1389,6 +1390,11 @@
border-radius: 22rpx;
border: 1px solid #acacac;
position: relative;
+ display: flex;
+
+ .uni-combox {
+ width: 100%
+ }
}
.righton {
@@ -1411,10 +1417,14 @@
}
.icon-wrapper {
- margin-left: 10rpx;
background-color: #3A78FF;
padding: 6rpx;
+ width: 52rpx;
+ height: 52rpx;
border-radius: 50%;
+ display: flex;
+ justify-content: center;
+ align-items: center;
.uni-icons {
color: #fff !important;
diff --git a/pages/weiwailingliao/form.vue b/pages/weiwailingliao/form.vue
index 50eda24..3181cc7 100644
--- a/pages/weiwailingliao/form.vue
+++ b/pages/weiwailingliao/form.vue
@@ -6,9 +6,10 @@
<view class="right" style="width: 380rpx;">
<input v-model="hform.HBarCode" placeholder="璇锋壂鎻�(鎴栬緭鍏�)鏉$爜" @confirm="getCode(hform.HBarCode)" />
</view>
- <uni-icons type="scan"
- style="margin-left: 10rpx;background-color: #3A78FF;padding: 6rpx;color: #fff;border-radius: 100%;"
- size="20" @click="toScanCode"></uni-icons>
+ <view class="icon-wrapper" @click="toScanCode">
+ <uni-icons type="scan"
+ size="20"></uni-icons>
+ </view>
</view>
<view class="form-item">
<view class="title">鏁伴噺:</view>
@@ -66,7 +67,7 @@
</view>
<view class="icon-wrapper" v-show="showHSourceBillNo" :disabled="hform.HMainSourceBillType === -1">
- <uni-icons type="search" size="20" @click="showBillList"></uni-icons>
+ <uni-icons type="search" size="20" @click="showBillList"></uni-icons>
</view>
<view class="righton" v-show="!showHSourceBillNo">
@@ -1350,6 +1351,7 @@
align-items: center;
font-size: 30rpx;
padding: 6rpx 0;
+ gap: 12rpx;
.title {
width: 208rpx;
@@ -1366,6 +1368,11 @@
border-radius: 22rpx;
border: 1px solid #acacac;
position: relative;
+ display: flex;
+
+ .uni-combox {
+ width: 100%;
+ }
}
.righton {
@@ -1388,10 +1395,14 @@
}
.icon-wrapper {
- margin-left: 10rpx;
background-color: #3A78FF;
padding: 6rpx;
border-radius: 100%;
+ width: 52rpx;
+ height: 52rpx;
+ display: flex;
+ justify-content: center;
+ align-items: center;
.uni-icons {
color: #fff !important;
--
Gitblit v1.9.1