jQuery(window).height -jQuery('.navbar').height();
所以我使用这个代码
使我的jquery hacks这样做了 jQuery(window).on('load resize',function(){
var height_left = jQuery(window).height()-jQuery('.navbar').height();
jQuery('#rev_Slider').css({height:height_left+'px'});
jQuery('#rev_slider_1_1').css({height:height_left+'px'});
jQuery('#rev_slider_1_1_wrapper').css({height:height_left+'px'});
console.log("Slider Changed Successfully");
});
它确实有效,但它自己反转到管理面板中写的高度
伙计们2天前试图解决这个问题并且仍在继续请帮助
答案 0 :(得分:2)
解决方案: -
<p>${{ number_format($row->nCashInitialBalance, 2) }}</p> // $1,123.00
<p>${{ number_format($row->nCashCalculatedBalance, 2) }}</p> // $300.50
<p>${{ number_format($row->nCashPaymentsReceived, 2) }}</p> // $2,341.15
<p>${{ number_format($row->nCardFinalBalance, 2)}}</p> // $234.10
答案 1 :(得分:0)
非常感谢你,但我不得不使用超时功能
List<string> tempoaryList = new List<string>();
List<int> valueList = new List<int>();
string lineValues = "";
using (StreamReader sr = new StreamReader(finalPath))
{
while (sr.EndOfStream == false)
{
lineValues = sr.ReadLine();
tempoaryList.Add(lineValues);
int data = Convert.ToInt32(lineValues.Substring(lineValues.LastIndexOf(':') + 1));
valueList.Add(data);
}
}
valueList.Sort();
for(int i =0; i > valueList.Count; i++)
{
if(valueList[i] <= playerScore)
{
tempoaryList.Insert(i - 1, playerScore.ToString());
}
}
using (StreamWriter sw = new StreamWriter(finalPath, false))
{
for (int i = 0; i < tempoaryList.Count; i++)
{
sw.WriteLine(tempoaryList[i]);
Debug.Log(tempoaryList[i]);
}
}
答案 2 :(得分:0)
官方的抵消选项也可以工作:
public class TestUsage {
public TestUsage(IConfig config) {
_config = config;
}
readonly IConfig _config;
public string Username => _config.Username;
public string Password => _config.Password;
}