xsh_1997 1 неделя назад
Родитель
Сommit
da00cae0c2

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

@@ -50,7 +50,13 @@
50
               <view v-if="!isUserMessage(m)" class="bubble-avatar bubble-avatar--ai">
50
               <view v-if="!isUserMessage(m)" class="bubble-avatar bubble-avatar--ai">
51
                 <up-icon name="star-fill" color="#22C55E" :size="18" />
51
                 <up-icon name="star-fill" color="#22C55E" :size="18" />
52
               </view>
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
                 <text v-if="!isUserMessage(m)" class="text-body bubble__who">{{ $t('aiAssistantPage.assistantBubble') }}</text>
60
                 <text v-if="!isUserMessage(m)" class="text-body bubble__who">{{ $t('aiAssistantPage.assistantBubble') }}</text>
55
                 <text v-else class="text-body bubble__who">{{ $t('aiAssistantPage.userBubble') }}</text>
61
                 <text v-else class="text-body bubble__who">{{ $t('aiAssistantPage.userBubble') }}</text>
56
 
62
 
@@ -158,9 +164,9 @@
158
           >
164
           >
159
             <image
165
             <image
160
               v-if="a.kind === 'image'"
166
               v-if="a.kind === 'image'"
161
-              class="composer-pending__thumb"
167
+              class="composer-pending__thumb composer-pending__thumb--image"
162
               :src="a.localPath"
168
               :src="a.localPath"
163
-              mode="aspectFill"
169
+              mode="widthFix"
164
             />
170
             />
165
             <view v-else-if="a.kind === 'video'" class="composer-pending__thumb composer-pending__thumb--video">
171
             <view v-else-if="a.kind === 'video'" class="composer-pending__thumb composer-pending__thumb--video">
166
               <image
172
               <image
@@ -1637,6 +1643,10 @@ export default {
1637
   border: 1rpx solid #86efac;
1643
   border: 1rpx solid #86efac;
1638
 }
1644
 }
1639
 
1645
 
1646
+.bubble--image {
1647
+  max-width: 85%;
1648
+}
1649
+
1640
 .bubble--thinking {
1650
 .bubble--thinking {
1641
   min-width: 120rpx;
1651
   min-width: 120rpx;
1642
 }
1652
 }
@@ -1680,8 +1690,11 @@ export default {
1680
 
1690
 
1681
 .bubble__img {
1691
 .bubble__img {
1682
   display: block;
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
 .bubble__video {
1700
 .bubble__video {
@@ -1866,8 +1879,7 @@ export default {
1866
 .composer-pending__item {
1879
 .composer-pending__item {
1867
   position: relative;
1880
   position: relative;
1868
   flex-shrink: 0;
1881
   flex-shrink: 0;
1869
-  width: 120rpx;
1870
-  height: 120rpx;
1882
+  width: 200rpx;
1871
   border-radius: 12rpx;
1883
   border-radius: 12rpx;
1872
   overflow: hidden;
1884
   overflow: hidden;
1873
   background: $morandi-bg-muted;
1885
   background: $morandi-bg-muted;
@@ -1875,13 +1887,22 @@ export default {
1875
 }
1887
 }
1876
 
1888
 
1877
 .composer-pending__thumb {
1889
 .composer-pending__thumb {
1878
-  width: 100%;
1879
-  height: 100%;
1880
   display: block;
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
 .composer-pending__thumb--video {
1899
 .composer-pending__thumb--video {
1884
   position: relative;
1900
   position: relative;
1901
+  width: 200rpx;
1902
+  height: 200rpx;
1903
+}
1904
+
1905
+.composer-pending__thumb--video > .composer-pending__thumb {
1885
   width: 100%;
1906
   width: 100%;
1886
   height: 100%;
1907
   height: 100%;
1887
 }
1908
 }
@@ -1904,6 +1925,8 @@ export default {
1904
   align-items: center;
1925
   align-items: center;
1905
   justify-content: center;
1926
   justify-content: center;
1906
   gap: 8rpx;
1927
   gap: 8rpx;
1928
+  width: 200rpx;
1929
+  height: 200rpx;
1907
   padding: 8rpx;
1930
   padding: 8rpx;
1908
   box-sizing: border-box;
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
 @import '@/styles/tab-page.scss';
683
 @import '@/styles/tab-page.scss';
684
 
684
 
685
 .be-page {
685
 .be-page {
686
-  display: flex;
687
-  flex-direction: column;
686
+  // display: flex;
687
+  // flex-direction: column;
688
   min-width: 0;
688
   min-width: 0;
689
   width: 100%;
689
   width: 100%;
690
   height: 100%;
690
   height: 100%;
@@ -695,10 +695,11 @@ export default {
695
 }
695
 }
696
 
696
 
697
 .be-scroll {
697
 .be-scroll {
698
-  flex: 1;
699
-  min-height: 0;
698
+  // flex: 1;
699
+  // min-height: 0;
700
   min-width: 0;
700
   min-width: 0;
701
-  height: 0;
701
+  // height: 0;
702
+  height: 100%;
702
   box-sizing: border-box;
703
   box-sizing: border-box;
703
   padding: 20rpx 24rpx 24rpx;
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
 @import '@/styles/tab-page.scss';
493
 @import '@/styles/tab-page.scss';
494
 
494
 
495
 .bgo-page {
495
 .bgo-page {
496
-  display: flex;
497
-  flex-direction: column;
496
+  // display: flex;
497
+  // flex-direction: column;
498
   min-width: 0;
498
   min-width: 0;
499
   width: 100%;
499
   width: 100%;
500
   height: 100%;
500
   height: 100%;
@@ -505,10 +505,11 @@ export default {
505
 }
505
 }
506
 
506
 
507
 .bgo-scroll {
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
   box-sizing: border-box;
513
   box-sizing: border-box;
513
   padding: 20rpx 24rpx 24rpx;
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
 @import '@/styles/tab-page.scss';
641
 @import '@/styles/tab-page.scss';
642
 
642
 
643
 .bv-page {
643
 .bv-page {
644
-  display: flex;
645
-  flex-direction: column;
644
+  // display: flex;
645
+  // flex-direction: column;
646
   min-width: 0;
646
   min-width: 0;
647
   width: 100%;
647
   width: 100%;
648
   height: 100%;
648
   height: 100%;
@@ -653,10 +653,11 @@ export default {
653
 }
653
 }
654
 
654
 
655
 .bv-scroll {
655
 .bv-scroll {
656
+  height: 100%;
656
   flex: 1;
657
   flex: 1;
657
-  min-height: 0;
658
+  // min-height: 0;
658
   min-width: 0;
659
   min-width: 0;
659
-  height: 0;
660
+  // height: 0;
660
   box-sizing: border-box;
661
   box-sizing: border-box;
661
   padding: 20rpx 24rpx 24rpx;
662
   padding: 20rpx 24rpx 24rpx;
662
 }
663
 }

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

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

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

@@ -163,7 +163,7 @@
163
       </el-form>
163
       </el-form>
164
       <div slot="footer" class="dialog-footer">
164
       <div slot="footer" class="dialog-footer">
165
         <el-button @click="cancelReject">{{ dtCommon("cancel") }}</el-button>
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
       </div>
167
       </div>
168
     </el-dialog>
168
     </el-dialog>
169
   </div>
169
   </div>

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

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