Exemple #1
0
	if(localStorage.getItem("num") != null)
	{			
		//alert(localStorage.getItem("num"));
		$("#sel-num")[0].innerHTML="选中号码 &nbsp;&nbsp;&nbsp;&nbsp;<span class='title_set_content'>"+localStorage.getItem("num")+"</span>";
		//$("#sel-num").trigger('create');
		$("#sel-num").removeClass("title_unset").addClass("title_set");
	}

	if(localStorage.getItem("username") != null)
	{			
		$("#contact")[0].innerHTML="用户信息 &nbsp;&nbsp;&nbsp;&nbsp;<span class='title_set_content'>"+localStorage.getItem("username")+"...</span>";
		$("#contact").removeClass("title_unset").addClass("title_set");
	}
	
	office_name = <?php 
echo \app\models\MOffice::getOfficeNameOption($gh_id);
?>
;

	if(localStorage.getItem("office") != null)
	{
		$("#officeName")[0].innerHTML="营业厅 &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class='title_set_content'>"+ office_name[localStorage.getItem("office")] +"...</span>";
		$("#officeName").removeClass("title_unset").addClass("title_set");
	}

	if(localStorage.getItem("address") != null)
	{			
		$("#address")[0].innerHTML="收货地址 &nbsp;&nbsp;&nbsp;&nbsp;<span class='title_set_content'>"+localStorage.getItem("address")+"...</span>";
		$("#address").removeClass("title_unset").addClass("title_set");
	}	
});
Exemple #2
0
	<?php 
echo $this->render('header2', ['menuId' => 'menu4', 'title' => '流量宝 流量套餐']);
?>

	<div data-role="content">

			<img src="../web/show_res/llb-head.jpg?v3" width="100%">
			<p>流量宝 流量套餐</p>


		<div class="ui-field-contain">
			<input type="text" name="username" id="username" placeholder="姓名" data-mini=false value="">
			<input type="tel" name="usermobile" id="usermobile" placeholder="手机号码" value="">

			<?php 
echo Html::dropDownList('office', 0, MOffice::getOfficeNameOption($gh_id, false), ["id" => "office"]);
?>
		</div>
		
		<a href="#" id="submitBtn" class="ui-btn" style="background-color: #44B549">我要办理</a>
		

	</div>

	<div data-role="footer" data-position="fixed">
		<h4>&copy; 襄阳联通 2015</h4>
	</div>

	<div data-role="popup" id="popupDialog-contactPage" data-overlay-theme="c" data-theme="c" data-dismissible="false" style="max-width:400px;">
		<div data-role="header" data-theme="c">
		<h1>温馨提示</h1>
Exemple #3
0
		  <input type="radio" name="cardType" id="radio1_1" value="1" />
		  <label for="radio1_1">Micro卡</label>
		  <input type="radio" name="cardType" id="radio1_2" value="2" />
		  <label for="radio1_2">Nano卡</label>
		</fieldset>
	  </div>

      <img width="100%" style="display:block" src="../web/images/item/card.jpg" alt=""/>

		<a  id="sel-num" href="#number-select" class="ui-btn">请选择手机号码</a>

        <a id="contact" href="#contactPage" class="ui-btn">用户信息</a>

		<div id="officeArea">
		<?php 
echo Html::dropDownList('office', 0, MOffice::getOfficeNameOption($gh_id, false));
?>
		</div>

		<input type="button" value="一键购买" id="submitBtn">
		
		<br>
		<div id="TabbedPanels2" class="TabbedPanels">
		  <ul class="TabbedPanelsTabGroup">
			<li class="TabbedPanelsTab" tabindex="0">图文详情</li>
            <!--
			<li class="TabbedPanelsTab" tabindex="0">商品评价</li>
			-->
		  </ul>
		  <div class="TabbedPanelsContentGroup">
			<div class="TabbedPanelsContent">