demo20230512/Views/Home/Index.cshtml

98 lines
3.2 KiB
Plaintext
Raw Permalink Normal View History

2023-05-12 10:20:28 +08:00
@model IEnumerable<string>
@{
ViewBag.Title = Resource.HomePage;
}
<div class="home_wrap">
<div class="home_body_wrap">
<div class="body">
<div class="home_logo_wrap">
<div class="home_logo">
<img src="~/Browser_Local/img/main_page_logo.png" />
</div>
</div>
</div>
</div>
</div>
<div class="home_wrap">
<div class="home_body_wrap body_content">
<div class="body">
<div class="home_body_message">
<div class="message_wrap">
<div class="message_title">
<div class="title">
<div><img src="~/Browser_Local/img/home_line_left.png" /></div>
<p>@Resource.StaticLabelLatestNews</p>
<div><img src="~/Browser_Local/img/home_line_right.png" /></div>
</div>
</div>
<div class="message_article">
<ul>
@foreach (var message in Model)
{
<li></li>
}
</ul>
</div>
<div class="message_slide">
</div>
</div>
</div>
</div>
</div>
</div>
<div class="home_wrap">
<div class="home_footer_wrap">
<div class="footer_body">
<div class="footer_slider">
<div ng-app="ui.slider">
<div ng-controller="sliderCtrl">
<slider height="100" ng-model="slider_content_list"></slider>
</div>
</div>
</div>
<div class="footer_copyright">
<div class="footer_copyright_img">
<img src="~/Browser_Local/img/graybar-02.png" />
</div>
</div>
</div>
</div>
</div>
<div class="copyright_wrap">
<div class="copyright">
<div>
<p>@Resource.StaticLabelAddress: @Resource.WeeeAddress</p>
<p>@Resource.UserPhoneNumber: (02)7728-9341 @Resource.Fax: (02)2243-2586</p>
</div>
<div>
<p>E-mail: service@netzero.com.tw</p>
<p>Copyright &copy; 2014 - @Resource.WeeeAndRoHS</p>
</div>
</div>
</div>
@section PageStyles
{
<link type="text/css" rel="stylesheet" href="~/Browser_Local/css/html5-doctor-reset-stylesheet.css" />
<link type="text/css" rel="stylesheet" href="~/Browser_Local/css/home.css" />
<link type="text/css" rel="stylesheet" href="~/Browser_Local/css/slider.css" />
@Styles.Render("~/fancybox/css")
}
@section PageScripts
{
<script type="text/javascript" src="~/Scripts/angular.min.js"></script>
<script type="text/javascript" src="~/Browser_Local/js/slider.js"></script>
@Scripts.Render("~/ReplyRequest")
}
<script>
const urlParams = new URLSearchParams(window.location.search);
const uid = urlParams.get('uid');
//console.log('uid', uid);
if (typeof(uid)==='undefined' || uid==null || uid.length==0)
window.location.replace("~/account/login");
</script>