Browse Source

修改logo图标

yezehua 4 years ago
parent
commit
cf80ee60c7

+ 6 - 0
html/grzx/html/update-idcard.html

@ -41,6 +41,7 @@
		<script src="../../../js/security.js" type="text/javascript" charset="utf-8"></script>
		<link rel="stylesheet" type="text/css" href="../../../widget/artDialog/6.0.5/css/ui-dialog.min.css">
    	<script src="../../../widget/artDialog/6.0.5/js/dialog-plus.min.js?11=11"></script>
    	<script type="text/javascript" src="../../../js/commit_validate.js" ></script>
		<script>
			var dd = dialog({contentType:'load', skin:'bk-popup', content:'修改中...'});
			var Request = new Object();
@ -59,6 +60,11 @@
					return;
				}
				
				if(!isIdcard(idcard)) {
					dialog({contentType:'tipsbox', skin:'bk-popup' , content:'身份证格式不正确'}).show();
					return false;
				}
				
				dd.showModal();
				
				if(userAgent) {

+ 12 - 3
html/grzx/js/real-name-authentication.js

@ -1,4 +1,12 @@
(function() {
function queryInit() {
	// 验证居民信息是否完善
	checkBaseInfo()
}
;(function() {
	
	checkUserAgent()
	
	var dd = dialog({
		contentType: 'load',
		skin: 'bk-popup',
@ -47,14 +55,15 @@
				}
			},
			updateSsc:function(){
				var ssc = this.baseInfo.ssc;
				var ssc = this.baseInfo.ssc || "";
				var userAgent = window.localStorage.getItem(agentName);
				var jsonstr = $.parseJSON(userAgent);
				var openid = jsonstr.openid;
				window.location.href = "update-ssc.html?openid=" + openid + "&ssc="+ ssc + "&1=1";
			},
			updateIdcard:function() {
				window.location.href = "update-idcard.html?idcard="+vm.baseInfo.idcard;
				var vm = this;
				window.location.href = "update-idcard.html?idcard="+(vm.baseInfo.idcard || "");
			}
		},
	})

+ 16 - 3
html/home/html/improve-user-info.html

@ -71,7 +71,19 @@
		var nums = 120;
		
		checkUserAgent();
		
		function queryInit() {
			var agentName = localStorage.getItem(agentName1)
			if(agentName) {
				try{
					agentName = JSON.parse(agentName)
					if(agentName.name) {
						$("#name").val(agentName.name)
					}
				}catch(e){
					//TODO handle the exception
				}
			}
		}
        function commit(){
        	
        	var name = $("#name").val();
@ -80,12 +92,13 @@
        	var userAgent = window.localStorage.getItem(agentName);
        	if(userAgent) {
				userAgent = JSON.parse(userAgent)
				var isValid = validate({
				var data = {
        				patient: userAgent.uid,
		        		name: name,
		        		idcard: idcard,
		        		ssc: ssc
		        	})
		        	}
				var isValid = validate(data)
	        	if(isValid) {
	        		dd.showModal()
	        		sendPost("/weixin/savePatientInfo", data, "json", "post", submitFailed, submitSuccess);

+ 1 - 1
html/payment/html/bindingCard.html

@ -8,7 +8,7 @@
              content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0"/>
        <meta name="apple-mobile-web-app-capable" content="yes"/>
        <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
		<title>绑定卡包</title>
		<title>绑定就诊卡</title>
		<meta name="keywords" content="">
		<meta name="description" content="">
		<link rel="shortcut icon" href="../../../favicon.ico">

+ 1 - 1
js/weixin_common.js

@ -222,7 +222,7 @@ function checkUserAgent(){
    //          dialog({contentType:'tipsbox', skin:'bk-popup' , content:'授权失败',bottom:true}).show();
                //模板消息的情况,模板消息带上openid的值给页面
                var agentOpenids = JSON.parse(window.localStorage.getItem(OpenidAgent));
                var openid = Request['openid']||(agentOpenids.openid?agentOpenids.openid:"");
                var openid = Request['openid']||((agentOpenids && agentOpenids.openid)?agentOpenids.openid:"");
                saveAgentOpenid(openid);
                var url = window.parent.location.href;
                saveAgentPage(url);