From e7e3945a915782b3c5e7f59028474c52ec04c772 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9Cwanyongkang=E2=80=9D?= <“937888580@qq.com”> Date: Sat, 16 Jan 2021 14:59:31 +0800 Subject: [PATCH] =?UTF-8?q?=E5=BC=BA=E5=AD=90=E8=BF=85=E8=81=94=E5=85=88?= =?UTF-8?q?=E9=94=8B=E6=B4=BB=E5=8A=A8?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Host/Views/Product/Index.cshtml | 45 ++++++++++++++++++++++++++++++++- 1 file changed, 44 insertions(+), 1 deletion(-) diff --git a/Host/Views/Product/Index.cshtml b/Host/Views/Product/Index.cshtml index 34858dd..930dd63 100644 --- a/Host/Views/Product/Index.cshtml +++ b/Host/Views/Product/Index.cshtml @@ -158,6 +158,35 @@ border-bottom-color: transparent; } + .packageitem81{ + position: relative; + } + .packageitem81::before { + position: absolute; + top: 0.3rem; + left: -0.5rem; + z-index: 1; + padding-right: 0.625rem; + font-weight: bold; + line-height: 0px; + color: white; + height: 0px; + border: 1.0rem solid #f64e3d; + border-right-color: transparent; + content: "八折+送一个月"; + box-shadow: 0px 0.3125rem 0.3125rem -0.3125rem #000; + } + + .packageitem81::after { + content: ""; + position: absolute; + top: 2.1875rem; + left: -0.5rem; + border: 0.25rem solid #f64e3d; + border-left-color: transparent; + border-bottom-color: transparent; + } + .packageitem19{ position: relative; } @@ -376,7 +405,7 @@ @foreach (var package in item.Packages.Where(m => m.IsTest == 0 && m.Status == 1).OrderBy(m => m.TenantId)) { - @if(package.Id == 88||package.Id == 101||package.Id == 103||package.Id == 104||(package.Id>103 && package.Id>1000)){ + @if(package.Id == 88||package.Id == 101||package.Id == 103||package.Id==1009){
@package.Price元
+原价:@package.LinePrice元
+@(Math.Round(package.Price/package.DayCount,2))元/天
+@package.Name
+@package.Profile
+
+