xsh_1997 1 nedēļu atpakaļ
vecāks
revīzija
da00cae0c2

+ 32 - 9
ruoyi-ui-app/package-a/ai-assistant/index.vue

@@ -50,7 +50,13 @@
50 50
               <view v-if="!isUserMessage(m)" class="bubble-avatar bubble-avatar--ai">
51 51
                 <up-icon name="star-fill" color="#22C55E" :size="18" />
52 52
               </view>
53
-              <view class="bubble" :class="isUserMessage(m) ? 'bubble--user' : 'bubble--bot'">
53
+              <view
54
+                class="bubble"
55
+                :class="[
56
+                  isUserMessage(m) ? 'bubble--user' : 'bubble--bot',
57
+                  m.msgType === 2 ? 'bubble--image' : ''
58
+                ]"
59
+              >
54 60
                 <text v-if="!isUserMessage(m)" class="text-body bubble__who">{{ $t('aiAssistantPage.assistantBubble') }}</text>
55 61
                 <text v-else class="text-body bubble__who">{{ $t('aiAssistantPage.userBubble') }}</text>
56 62
 
@@ -158,9 +164,9 @@
158 164
           >
159 165
             <image
160 166
               v-if="a.kind === 'image'"
161
-              class="composer-pending__thumb"
167
+              class="composer-pending__thumb composer-pending__thumb--image"
162 168
               :src="a.localPath"
163
-              mode="aspectFill"
169
+              mode="widthFix"
164 170
             />
165 171
             <view v-else-if="a.kind === 'video'" class="composer-pending__thumb composer-pending__thumb--video">
166 172
               <image
@@ -1637,6 +1643,10 @@ export default {
1637 1643
   border: 1rpx solid #86efac;
1638 1644
 }
1639 1645
 
1646
+.bubble--image {
1647
+  max-width: 85%;
1648
+}
1649
+
1640 1650
 .bubble--thinking {
1641 1651
   min-width: 120rpx;
1642 1652
 }
@@ -1680,8 +1690,11 @@ export default {
1680 1690
 
1681 1691
 .bubble__img {
1682 1692
   display: block;
1683
-  max-width: 360rpx;
1684
-  border-radius: 12rpx;
1693
+  width: 200rpx;
1694
+  max-width: 100%;
1695
+  height: auto;
1696
+  border-radius: 8rpx;
1697
+  overflow: hidden;
1685 1698
 }
1686 1699
 
1687 1700
 .bubble__video {
@@ -1866,8 +1879,7 @@ export default {
1866 1879
 .composer-pending__item {
1867 1880
   position: relative;
1868 1881
   flex-shrink: 0;
1869
-  width: 120rpx;
1870
-  height: 120rpx;
1882
+  width: 200rpx;
1871 1883
   border-radius: 12rpx;
1872 1884
   overflow: hidden;
1873 1885
   background: $morandi-bg-muted;
@@ -1875,13 +1887,22 @@ export default {
1875 1887
 }
1876 1888
 
1877 1889
 .composer-pending__thumb {
1878
-  width: 100%;
1879
-  height: 100%;
1880 1890
   display: block;
1881 1891
 }
1882 1892
 
1893
+.composer-pending__thumb--image {
1894
+  width: 200rpx;
1895
+  max-width: 100%;
1896
+  height: auto;
1897
+}
1898
+
1883 1899
 .composer-pending__thumb--video {
1884 1900
   position: relative;
1901
+  width: 200rpx;
1902
+  height: 200rpx;
1903
+}
1904
+
1905
+.composer-pending__thumb--video > .composer-pending__thumb {
1885 1906
   width: 100%;
1886 1907
   height: 100%;
1887 1908
 }
@@ -1904,6 +1925,8 @@ export default {
1904 1925
   align-items: center;
1905 1926
   justify-content: center;
1906 1927
   gap: 8rpx;
1928
+  width: 200rpx;
1929
+  height: 200rpx;
1907 1930
   padding: 8rpx;
1908 1931
   box-sizing: border-box;
1909 1932
 }

+ 6 - 5
ruoyi-ui-app/package-a/booking-expert/index.vue

@@ -683,8 +683,8 @@ export default {
683 683
 @import '@/styles/tab-page.scss';
684 684
 
685 685
 .be-page {
686
-  display: flex;
687
-  flex-direction: column;
686
+  // display: flex;
687
+  // flex-direction: column;
688 688
   min-width: 0;
689 689
   width: 100%;
690 690
   height: 100%;
@@ -695,10 +695,11 @@ export default {
695 695
 }
696 696
 
697 697
 .be-scroll {
698
-  flex: 1;
699
-  min-height: 0;
698
+  // flex: 1;
699
+  // min-height: 0;
700 700
   min-width: 0;
701
-  height: 0;
701
+  // height: 0;
702
+  height: 100%;
702 703
   box-sizing: border-box;
703 704
   padding: 20rpx 24rpx 24rpx;
704 705
 }

+ 7 - 6
ruoyi-ui-app/package-a/booking-org/index.vue

@@ -493,8 +493,8 @@ export default {
493 493
 @import '@/styles/tab-page.scss';
494 494
 
495 495
 .bgo-page {
496
-  display: flex;
497
-  flex-direction: column;
496
+  // display: flex;
497
+  // flex-direction: column;
498 498
   min-width: 0;
499 499
   width: 100%;
500 500
   height: 100%;
@@ -505,10 +505,11 @@ export default {
505 505
 }
506 506
 
507 507
 .bgo-scroll {
508
-  flex: 1;
509
-  min-height: 0;
510
-  min-width: 0;
511
-  height: 0;
508
+  // flex: 1;
509
+  // min-height: 0;
510
+  // min-width: 0;
511
+  // height: 0;
512
+  height: 100%;
512 513
   box-sizing: border-box;
513 514
   padding: 20rpx 24rpx 24rpx;
514 515
 }

+ 5 - 4
ruoyi-ui-app/package-a/booking-vet/index.vue

@@ -641,8 +641,8 @@ export default {
641 641
 @import '@/styles/tab-page.scss';
642 642
 
643 643
 .bv-page {
644
-  display: flex;
645
-  flex-direction: column;
644
+  // display: flex;
645
+  // flex-direction: column;
646 646
   min-width: 0;
647 647
   width: 100%;
648 648
   height: 100%;
@@ -653,10 +653,11 @@ export default {
653 653
 }
654 654
 
655 655
 .bv-scroll {
656
+  height: 100%;
656 657
   flex: 1;
657
-  min-height: 0;
658
+  // min-height: 0;
658 659
   min-width: 0;
659
-  height: 0;
660
+  // height: 0;
660 661
   box-sizing: border-box;
661 662
   padding: 20rpx 24rpx 24rpx;
662 663
 }

+ 22 - 10
ruoyi-ui-app/package-a/consult-detail/index.vue

@@ -47,7 +47,13 @@
47 47
               <view v-if="!isUserMessage(m)" class="cd-avatar cd-avatar--vet">
48 48
                 <up-icon name="account-fill" color="#2563eb" :size="18" />
49 49
               </view>
50
-              <view class="cd-bubble" :class="isUserMessage(m) ? 'cd-bubble--user' : 'cd-bubble--bot'">
50
+              <view
51
+                class="cd-bubble"
52
+                :class="[
53
+                  isUserMessage(m) ? 'cd-bubble--user' : 'cd-bubble--bot',
54
+                  m.msgType === 2 ? 'cd-bubble--image' : ''
55
+                ]"
56
+              >
51 57
                 <text v-if="!isUserMessage(m)" class="text-body cd-bubble__who">{{ peerName }}</text>
52 58
                 <text v-else class="text-body cd-bubble__who">{{ $t('consultDetailPage.userBubble') }}</text>
53 59
 
@@ -102,7 +108,7 @@
102 108
           v-if="pendingMedia.kind === 'image'"
103 109
           class="cd-preview__img"
104 110
           :src="pendingMedia.path"
105
-          mode="aspectFill"
111
+          mode="widthFix"
106 112
         />
107 113
         <view v-else class="cd-preview__video-wrap">
108 114
           <image
@@ -900,6 +906,10 @@ export default {
900 906
   box-shadow: 0 2rpx 6rpx rgba(74, 69, 66, 0.05);
901 907
 }
902 908
 
909
+.cd-bubble--image {
910
+  max-width: 85%;
911
+}
912
+
903 913
 .cd-bubble__who {
904 914
   font-size: 22rpx;
905 915
   font-weight: 600;
@@ -918,8 +928,9 @@ export default {
918 928
 
919 929
 .cd-bubble__img {
920 930
   display: block;
921
-  width: 100%;
922
-  max-width: 420rpx;
931
+  width: 200rpx;
932
+  max-width: 100%;
933
+  height: auto;
923 934
   border-radius: 8rpx;
924 935
   overflow: hidden;
925 936
 }
@@ -984,22 +995,23 @@ export default {
984 995
 .cd-preview {
985 996
   position: relative;
986 997
   align-self: flex-start;
987
-  width: 120rpx;
988
-  height: 120rpx;
998
+  width: 200rpx;
989 999
   border-radius: 12rpx;
990 1000
   overflow: hidden;
991 1001
   background: $morandi-bg-muted;
992 1002
 }
993 1003
 
994 1004
 .cd-preview__img {
995
-  width: 100%;
996
-  height: 100%;
1005
+  display: block;
1006
+  width: 200rpx;
1007
+  max-width: 100%;
1008
+  height: auto;
997 1009
 }
998 1010
 
999 1011
 .cd-preview__video-wrap {
1000 1012
   position: relative;
1001
-  width: 100%;
1002
-  height: 100%;
1013
+  width: 200rpx;
1014
+  height: 200rpx;
1003 1015
 }
1004 1016
 
1005 1017
 .cd-preview__video-ph {

+ 1 - 1
ruoyi-ui/src/views/diseaseTreatment/myAppointment/vet/index.vue

@@ -163,7 +163,7 @@
163 163
       </el-form>
164 164
       <div slot="footer" class="dialog-footer">
165 165
         <el-button @click="cancelReject">{{ dtCommon("cancel") }}</el-button>
166
-        <el-button type="primary" :loading="rejectSubmitting" @click="submitReject">{{ dtCommon("confirm") }}</el-button>
166
+        <el-button type="primary" :loading="rejectSubmitting" @click="submitReject">{{ dtCommon("ok") }}</el-button>
167 167
       </div>
168 168
     </el-dialog>
169 169
   </div>

+ 1 - 1
ruoyi-ui/src/views/tradeMarket/entryIsolation/index.vue

@@ -125,7 +125,7 @@
125 125
             <el-button size="mini" type="primary">{{ tmT("btnPickCert") }}</el-button>
126 126
           </el-upload>
127 127
           <div class="el-upload__tip">{{ tmT("tipCertFile") }}</div>
128
-          <div class="el-upload__tip text-muted">{{ tmT("tipOcrLater") }}</div>
128
+          <!-- <div class="el-upload__tip text-muted">{{ tmT("tipOcrLater") }}</div> -->
129 129
           <ul v-if="form.certFilePath" class="upload-file-list">
130 130
             <li class="upload-file-item">
131 131
               <el-link :href="form.certFileUrl || '#'" :underline="false" target="_blank">