Browse Source

平板策略应用策略优化

gzb
guozhongbo 8 months ago
parent
commit
bcf559ecfa

+ 10
- 1
src/views/schoolSection/strategy/personalStrategy.vue View File

@@ -127,11 +127,12 @@
127 127
               <div class="app_list" v-for="item in padApps" :key="item.appid">
128 128
                 <Checkbox
129 129
                   class="checked"
130
+                  :title="item.appName"
130 131
                   :disabled="strategyInfo.model === 'see'"
131 132
                   v-model="item.checked"
132 133
                 >
133 134
                   <img :src="$api.showImageUrl + item.appIcon" />
134
-                  <div style="line-height: 14px">
135
+                  <div class="appName" style="line-height: 14px">
135 136
                     {{ item.appName }}
136 137
                   </div></Checkbox
137 138
                 >
@@ -1094,6 +1095,14 @@ export default {
1094 1095
             height: 40px;
1095 1096
             object-fit: cover;
1096 1097
           }
1098
+          .appName {
1099
+            width: 100px;
1100
+            padding: 0 8px;
1101
+            cursor: pointer;
1102
+            overflow: hidden;
1103
+            text-overflow: ellipsis;
1104
+            white-space: nowrap;
1105
+          }
1097 1106
           .checked {
1098 1107
             text-align: center;
1099 1108
             /deep/ .ivu-checkbox {

+ 11
- 1
src/views/schoolSection/strategy/publicStrategy.vue View File

@@ -81,12 +81,13 @@
81 81
         >
82 82
           <div class="app_list" v-for="item in padApps" :key="item.appid">
83 83
             <Checkbox
84
+              :title="item.appName"
84 85
               class="checked"
85 86
               :disabled="curState === 1"
86 87
               v-model="item.checked"
87 88
             >
88 89
               <img :src="$api.showImageUrl + item.appIcon" />
89
-              <div>{{ item.appName }}</div>
90
+              <div class="appName">{{ item.appName }}</div>
90 91
             </Checkbox>
91 92
           </div>
92 93
         </div>
@@ -876,8 +877,17 @@ export default {
876 877
             height: 40px;
877 878
             object-fit: cover;
878 879
           }
880
+          .appName {
881
+            width: 100px;
882
+            padding: 0 8px;
883
+            cursor: pointer;
884
+            overflow: hidden;
885
+            text-overflow: ellipsis;
886
+            white-space: nowrap;
887
+          }
879 888
           .checked {
880 889
             text-align: center;
890
+            margin: 0;
881 891
             /deep/ .ivu-checkbox {
882 892
               position: absolute;
883 893
               top: 6px;

+ 10
- 1
src/views/schoolSection/strategy/strategyTemplate.vue View File

@@ -163,11 +163,12 @@
163 163
               <div class="app_list" v-for="item in padApps" :key="item.appid">
164 164
                 <Checkbox
165 165
                   class="checked"
166
+                  :title="item.appName"
166 167
                   :disabled="strategyInfo.model === '查看'"
167 168
                   v-model="item.checked"
168 169
                 >
169 170
                   <img :src="$api.showImageUrl + item.appIcon" />
170
-                  <div style="line-height: 14px">{{ item.appName }}</div>
171
+                  <div class="appName" style="line-height: 14px">{{ item.appName }}</div>
171 172
                 </Checkbox>
172 173
               </div>
173 174
             </div>
@@ -1027,6 +1028,14 @@ export default {
1027 1028
             height: 40px;
1028 1029
             object-fit: cover;
1029 1030
           }
1031
+          .appName {
1032
+            width: 100px;
1033
+            padding: 0 8px;
1034
+            cursor: pointer;
1035
+            overflow: hidden;
1036
+            text-overflow: ellipsis;
1037
+            white-space: nowrap;
1038
+          }
1030 1039
           .checked {
1031 1040
             text-align: center;
1032 1041
             /deep/ .ivu-checkbox {

Loading…
Cancel
Save