Explorar o código

major direction +

abpcoder hai 1 mes
pai
achega
bc83b0739d

+ 5 - 1
src/pagesOther/pages/university/detail/components/college-profile.vue

@@ -51,7 +51,11 @@
             <template #title>
               <text class="text-24 text-fore-tip">{{ g.parent.name }}</text>
             </template>
-            <uv-cell v-for="p in g.list" :title="p.name" custom-class="bg-white" />
+            <uv-cell v-for="p in g.list" :title="p.name" custom-class="bg-white">
+                <template #label>
+                    <text v-if="p.majorDirection" class="text-22 text-primary">{{p.majorDirection}}</text>
+                </template>
+            </uv-cell>
           </uv-cell-group>
         </scroll-view>
       </template>