<template>
<div class="body">
<div class="body2">
<div class="body3" v-for="(hd,index) in hudong" :key="index">
<div class="img">
<image :src="hd.cover"></image>
</div>
<div class="title">
{
{hd.name}}
</div>
<div class="xian"></div>
<div class="top">
<div class="left">
<image src="../../static/校园新闻_slices/Location@3x.png">{
{getdata(hd.create_time)}}</image>
</div>
<div class="right">
<div class="but" :class="[parseInt(hd.type)==0?'wei':'',parseInt(hd.type)==2?'bao':'']">
<navigator url="/4-Longaoschool/pages/components/signup" op
uniapp-根据后台提供的字段如何切换不同的按钮
于 2022-05-31 13:13:16 首次发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)