setter
parent
2129f18947
commit
062b86b624
|
@ -393,8 +393,9 @@ class Business extends Base
|
||||||
$data["usingRule"] = DictionaryRepository::getInstance()->getUsingRuleByCouponMainId($couponMain->id);
|
$data["usingRule"] = DictionaryRepository::getInstance()->getUsingRuleByCouponMainId($couponMain->id);
|
||||||
$data["punishRule"] = '';//处罚规则 已取消
|
$data["punishRule"] = '';//处罚规则 已取消
|
||||||
|
|
||||||
$pregRule = "/<[img|IMG].*?src=[\'|\"]/(.*?(?:[\.jpg|\.jpeg|\.png|\.gif|\.bmp]))[\'|\"].*?[\/]?>/";
|
$pregRule = "/<[img|IMG].*?src=[\'|\"][\/storage]{1}(.*?(?:[\.jpg|\.jpeg|\.png|\.gif|\.bmp]))[\'|\"].*?[\/]?>/";
|
||||||
$data["content"] = preg_replace($pregRule, '<img src="' . $this->request->domain() . '${1}" style="max-width:100%">', (string)$couponMain->content );
|
$data["content"] = preg_replace($pregRule, '<img src="' . $this->request->domain() . '/${1}" style="max-width:100%">', (string)$couponMain->content );
|
||||||
|
|
||||||
// $data["content"] = (string)$couponMain->content;
|
// $data["content"] = (string)$couponMain->content;
|
||||||
|
|
||||||
//未登录可以领取 0可领取 1已领取 2 已领完
|
//未登录可以领取 0可领取 1已领取 2 已领完
|
||||||
|
|
|
@ -0,0 +1 @@
|
||||||
|
6652428bf01d109ba8459c3ba6e19203
|
|
@ -22,8 +22,8 @@ body {
|
||||||
background-color: #F5F5F5;
|
background-color: #F5F5F5;
|
||||||
font: 12px/1.5 Microsoft YaHei, Heiti SC, tahoma, arial, Hiragino Sans GB, "\5B8B\4F53", sans-serif;
|
font: 12px/1.5 Microsoft YaHei, Heiti SC, tahoma, arial, Hiragino Sans GB, "\5B8B\4F53", sans-serif;
|
||||||
color: #333;
|
color: #333;
|
||||||
width: 880px;
|
max-width: 880px;
|
||||||
height: 1620px;
|
/*height: 1620px;*/
|
||||||
}
|
}
|
||||||
/* em 和 i 斜体的文字不倾斜 */
|
/* em 和 i 斜体的文字不倾斜 */
|
||||||
em,
|
em,
|
||||||
|
|
|
@ -3,7 +3,8 @@
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
top: 0;left: 0;right: 0;
|
top: 0;left: 0;right: 0;
|
||||||
background-color: red;
|
background-color: red;
|
||||||
height: 200px;
|
max-height: 200px;
|
||||||
|
padding-bottom: 4px;
|
||||||
/* overflow: hidden; */
|
/* overflow: hidden; */
|
||||||
}
|
}
|
||||||
.head-box img{
|
.head-box img{
|
||||||
|
@ -12,8 +13,9 @@
|
||||||
}
|
}
|
||||||
/* 轮播样式 start */
|
/* 轮播样式 start */
|
||||||
.banner-swiper {
|
.banner-swiper {
|
||||||
width: 880px;
|
/*width: 880px;*/
|
||||||
overflow-x: hidden;
|
width: 100%;
|
||||||
|
/*overflow-x: hidden;*/
|
||||||
position: fixed;
|
position: fixed;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
|
@ -21,7 +23,7 @@
|
||||||
padding: 0 30px;
|
padding: 0 30px;
|
||||||
margin: 0 auto;
|
margin: 0 auto;
|
||||||
height: 1440px;
|
height: 1440px;
|
||||||
/* max-width: 880px; */
|
max-width: 880px;
|
||||||
}
|
}
|
||||||
.banner-swiper::-webkit-scrollbar{
|
.banner-swiper::-webkit-scrollbar{
|
||||||
display: none;
|
display: none;
|
||||||
|
|
|
@ -66,6 +66,8 @@
|
||||||
pauseOnMouseEnter: true,
|
pauseOnMouseEnter: true,
|
||||||
//鼠标置于swiper时暂停自动切换,鼠标离开时恢复自动切换。
|
//鼠标置于swiper时暂停自动切换,鼠标离开时恢复自动切换。
|
||||||
},
|
},
|
||||||
|
simulateTouch: false,//禁止鼠标模拟
|
||||||
|
allowTouchMove: false,
|
||||||
direction : 'vertical',
|
direction : 'vertical',
|
||||||
//轮播切换方向默认向左:horizontal、向右:vertical
|
//轮播切换方向默认向左:horizontal、向右:vertical
|
||||||
// height: 400,//slide高度
|
// height: 400,//slide高度
|
||||||
|
@ -195,8 +197,18 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
<style>
|
||||||
|
.body-box{
|
||||||
|
overflow: hidden;
|
||||||
|
}
|
||||||
|
.body-box::-webkit-scrollbar {
|
||||||
|
width: 0 !important;
|
||||||
|
-ms-overflow-style: none;
|
||||||
|
overflow: -moz-scrollbars-none;
|
||||||
|
}
|
||||||
|
</style>
|
||||||
</head>
|
</head>
|
||||||
<body>
|
<body class="body-box">
|
||||||
<!-- 顶部 -->
|
<!-- 顶部 -->
|
||||||
<div class="head-box">
|
<div class="head-box">
|
||||||
<img src="{$screenTopBanner}">
|
<img src="{$screenTopBanner}">
|
||||||
|
|
Loading…
Reference in New Issue