我已经将我的图像放入路径library(zoo)
df <- zoo(df)
df[lag(df$b, -1) == 4, ]
a b
2 2 5
df[lag(df$b, -2) == 4, ]
a b
3 3 6
但是在我使用命令之后
<?php $mediaUrl = wmlp_layout_url(__FILE__); // Donot remove this ?>
<style>
.wmle_container .wmle_item{box-shadow:<?php echo implode($layoutSettings['box_shadow'],' '); ?>; margin:10px;-webkit-border-radius: <?php echo implode($layoutSettings['box_border'],' '); ?>; border-radius: <?php echo implode($layoutSettings['border_radius'],' '); ?>;}
.wmle_container .wmle_item .wpme_image a{ display:block; padding:10px;}
.wmle_container .wmle_item .wpme_image img{box-shadow:none !important; display:block; margin:auto;-webkit-border-radius: <?php echo $layoutSettings['border_radius'][0]; ?> <?php echo $layoutSettings['border_radius'][1]; ?> 0 0;
border-radius: <?php echo $layoutSettings['border_radius'][0]; ?> <?php echo $layoutSettings['border_radius'][1]; ?> 0 0;}
.wmle_container .wmle_item .wmle_post_title{ font-size:<?php echo $layoutSettings['title_font_size']; ?>;color:<?php echo $layoutSettings['title_font_color']; ?>; line-height:1.3; padding:10px 10px 10px 10px; font-weight:bold; background:<?php echo $layoutSettings['title_bg_color']; ?>;}
.wmle_container .wmle_item:hover .wmle_post_title{ background:<?php echo $layoutSettings['title_bg_hover_color']; ?>; color:<?php echo $layoutSettings['title_font_hover_color']; ?>;}
.wmle_container .wmle_item .wmle_post_title a{ color:inherit; text-decoration:none;}
.wmle_container .wmle_item .wmle_post_meta{background:<?php echo $layoutSettings['social_bg_color']; ?>; padding:7px 10px 7px 10px; font-size:12px; border-top:<?php echo implode($layoutSettings['social_bar_separator'],' '); ?>;color:<?php echo $layoutSettings['social_font_color']; ?>;}
.wmle_container .wmle_item .wmle_post_meta a{ text-decoration:none; color:inherit;}
.wmle_container .wmle_item .wmle_social_share{display:block; float:left; height:20px;}
.wmle_container .wmle_item .wmle_comment_count{display:block; float:right;}
.wmle_container .wmle_item .wmle_social_share a{display:inline-block; width:20px; height:20px; overflow:hidden; text-indent:-200px; background-repeat:no-repeat; background-position:center;}
.wmle_container .wmle_item .wmle_social_share a.fb{background-image:url(<?php echo $mediaUrl ?>/facebook.png);}
.wmle_container .wmle_item .wmle_social_share a.tw{background-image:url(<?php echo $mediaUrl ?>/twitter.png);}
.wmle_container .wmle_item .wmle_social_share a.in{background-image:url(<?php echo $mediaUrl ?>/linkedin.png);}
.wmle_container .wmle_item .wmle_social_share a.pi{background-image:url(<?php echo $mediaUrl ?>/pinterest.png);}
.wmle_container .wmle_item .wmle_social_share a.gp{background-image:url(<?php echo $mediaUrl ?>/gplus.png);}
.wmle_loadmore .wmle_loadmore_btn{ display:inline-block; padding:5px 15px;border:1px solid #e5e5e5; margin:5px;-webkit-box-shadow: 0px 0px 3px -1px #959595;box-shadow: 0px 0px 3px -1px #959595; color:#454545; text-decoration:none;-webkit-border-radius: 4px;border-radius: 4px;}
</style>
并将其部署到我的服务器,无法找到图像。
任何人都可以帮我解决这个问题吗?
答案 0 :(得分:1)
我已经解决了这个问题
使用该命令后,我没有将这些图像放入包中
sbt debian:package
我把这些代码放入了
build.sbt
import NativePackagerHelper._
...
mappings in (Compile, packageBin) ++= directory("public")