-(void)webViewDidFinishLoad:(UIWebView *)webView
{
JSContext *jsContext = [webView valueForKeyPath: @"documentView.webView.mainFrame.javaScriptContext"];
jsContext[@"ocObj"] = self;
//设置高度
JSValue *jHeight = [jsContext evaluateScript:@"document.body.scrollHeight"];
self.mWebView.scrollView.contentSize = CGSizeMake(screenW, [jHeight toDouble]);
JSValue *kContent = [jsContext evaluateScript:@"document.getElementById('guligei').innerHTML"];
NSString *kName = [kContent toString];
NSString *replaced = [kName stringByReplacingOccurrencesOfString:@"${studentName}" withString:@"王战歌"];
NSString *jsString = [NSString stringWithFormat:@"document.getElementById('stuName').innerHTML='%@'",replaced];
[jsContext evaluateScript:jsString];
}
returnStr =[returnStr stringByReplacingOccurrencesOfString:@"${studentName}" withString:SharedAppDelegate.userInfo.name];