zoukankan      html  css  js  c++  java
  • MVC 创建带图片的<A></A>标签

                        <a href="@Url.Action("Detail", "Product", new { messageId = item.message.MessageId })" class="js-fancybox">
                                                @{
                                                    if (item.Attachment.Count > 0)
                                                    {
                                                        <img  src= "@item.Attachment[0].Parth" alt="@item.message.MessageTitle"/>
                                                    }
                                                    else
                                                    {
                                                        <img src="#" alt="@item.message.MessageTitle" />
                                                    }
                                            }
                                         </a>

    <a href="@Url.Action("CutImg","ListenMedia", new { item, id = ViewBag.id })">
    <img id="@item" src="@item" width="200" height="100" />
    </a> 

  • 相关阅读:
    POJ3189 Steady Cow Assignment(二分图多重匹配)
    POJ2112 Optimal Milking(二分图多重匹配)
    POJ2289 Jamie's Contact Groups(二分图多重匹配)
    安装jhipster
    AngularJS版本下载
    业务平台技术架构一些注意事项
    反向数据库表
    近期需要关注的内容
    一些不太常见但很有用的java类
    文件复制
  • 原文地址:https://www.cnblogs.com/520cc/p/3229352.html
Copyright © 2011-2022 走看看