You've already forked qlg.tsgz.moe
							
							Init Repo
This commit is contained in:
		
							
								
								
									
										157
									
								
								hyhproject/admin/view/sysconfigs/config0.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										157
									
								
								hyhproject/admin/view/sysconfigs/config0.html
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,157 @@
 | 
			
		||||
<?php $grant = WSTGrant('SCPZ_02');  ?>
 | 
			
		||||
 | 
			
		||||
<div class="layui-tab-item layui-show layui-form">
 | 
			
		||||
 | 
			
		||||
     <table class='wst-form wst-box-top'>
 | 
			
		||||
 | 
			
		||||
	  <tr>
 | 
			
		||||
 | 
			
		||||
	     <th width='150'>商城名称:</th>
 | 
			
		||||
 | 
			
		||||
	     <td><input type="text" id='mallName' class='ipt' value="{$object['mallName']}" maxLength='100' placeholder='对外的简称'/></td>
 | 
			
		||||
 | 
			
		||||
	  </tr>
 | 
			
		||||
 | 
			
		||||
	  <tr>
 | 
			
		||||
 | 
			
		||||
	     <th width='150'>商城特色介绍:</th>
 | 
			
		||||
 | 
			
		||||
	     <td><input type="text" id='mallSlogan' class='ipt' style='width:70%' value="{$object['mallSlogan']}" maxLength='50' placeholder='商城特色短语介绍'/></td>
 | 
			
		||||
 | 
			
		||||
	  </tr>
 | 
			
		||||
 | 
			
		||||
	  <tr>
 | 
			
		||||
 | 
			
		||||
	     <th>商城开关:</th>
 | 
			
		||||
 | 
			
		||||
	     <td>
 | 
			
		||||
 | 
			
		||||
	     <input type="checkbox" {if $object['seoMallSwitch']==1}checked{/if} value='1' class="ipt" id="seoMallSwitch" name="seoMallSwitch" lay-skin="switch" lay-filter="seoMallSwitch" lay-text="开|关">
 | 
			
		||||
 | 
			
		||||
	     </td>
 | 
			
		||||
 | 
			
		||||
	  </tr>
 | 
			
		||||
 | 
			
		||||
	  <tr id="close" {if $object['seoMallSwitch']==1}style="display:none;"{/if}>
 | 
			
		||||
 | 
			
		||||
	     <th width='150'>商城关闭原因:</th>
 | 
			
		||||
 | 
			
		||||
	     <td><input type="text" id='seoMallSwitchDesc' class='ipt' style='width:70%'  value="{$object['seoMallSwitchDesc']}" maxLength='50' placeholder='原因'/></td>
 | 
			
		||||
 | 
			
		||||
	  </tr>
 | 
			
		||||
 | 
			
		||||
	  <tr>
 | 
			
		||||
 | 
			
		||||
	     <th>商品是否需要审核:</th>
 | 
			
		||||
 | 
			
		||||
	     <td>
 | 
			
		||||
 | 
			
		||||
	     <input type="checkbox" {if $object['isGoodsVerify']==1}checked{/if} class="ipt" value='1' id="isGoodsVerify" name="isGoodsVerify" lay-skin="switch" lay-filter="isGoodsVerify" lay-text="是|否">
 | 
			
		||||
 | 
			
		||||
	     </td>
 | 
			
		||||
 | 
			
		||||
	  </tr>
 | 
			
		||||
 | 
			
		||||
	  <tr>
 | 
			
		||||
 | 
			
		||||
	     <th>底部设置:</th>
 | 
			
		||||
 | 
			
		||||
	     <td>
 | 
			
		||||
 | 
			
		||||
	       <textarea id='mallFooter' class='ipt' placeholder='显示在网站最底部的内容'>{$object['mallFooter']}</textarea>
 | 
			
		||||
 | 
			
		||||
	     </td>
 | 
			
		||||
 | 
			
		||||
	  </tr>
 | 
			
		||||
 | 
			
		||||
	  <tr>
 | 
			
		||||
 | 
			
		||||
	     <th>访问统计:</th>
 | 
			
		||||
 | 
			
		||||
	     <td><textarea id='visitStatistics' class='ipt' placeholder='用于统计网站访问信息的代码'>{$object['visitStatistics']}</textarea></td>
 | 
			
		||||
 | 
			
		||||
	  </tr>
 | 
			
		||||
 | 
			
		||||
	  <tr>
 | 
			
		||||
 | 
			
		||||
	     <th>客服QQ设置:</th>
 | 
			
		||||
 | 
			
		||||
	     <td><input type="text" id='serviceQQ' class='ipt' value="{$object['serviceQQ']}" maxLength='200' placeholder='显示在网站的客服QQ好,多个QQ以,号分割'/></td>
 | 
			
		||||
 | 
			
		||||
	  </tr>
 | 
			
		||||
 | 
			
		||||
	  <tr>
 | 
			
		||||
 | 
			
		||||
	     <th>联系电话:</th>
 | 
			
		||||
 | 
			
		||||
	     <td><input type="text" id='serviceTel' class='ipt' value="{$object['serviceTel']}" maxLength='200' placeholder="显示在网站的联系电话"/></td>
 | 
			
		||||
 | 
			
		||||
	  </tr>
 | 
			
		||||
 | 
			
		||||
	  <tr>
 | 
			
		||||
 | 
			
		||||
	     <th>联系邮箱:</th>
 | 
			
		||||
 | 
			
		||||
	     <td><input type="text" id='serviceEmail' class='ipt' value="{$object['serviceEmail']}" maxLength='200' placeholder="显示在网站的联系邮箱"/></td>
 | 
			
		||||
 | 
			
		||||
	  </tr>
 | 
			
		||||
 | 
			
		||||
	  <tr>
 | 
			
		||||
 | 
			
		||||
	     <th>热搜关键词:</th>
 | 
			
		||||
 | 
			
		||||
	     <td><input type="text" id='hotWordsSearch' class='ipt' value="{$object['hotWordsSearch']}" maxLength='100' placeholder='商城搜索栏下的引导搜索词' style='width:70%'/></td>
 | 
			
		||||
 | 
			
		||||
	  </tr>
 | 
			
		||||
 | 
			
		||||
	  <tr>
 | 
			
		||||
 | 
			
		||||
	     <th>热搜广告词(商品):</th>
 | 
			
		||||
 | 
			
		||||
	     <td><input type="text" id='adsGoodsWordsSearch' class='ipt' value="{$object['adsGoodsWordsSearch']}" maxLength='100' placeholder='商城搜索栏里的搜索词' style='width:70%'/></td>
 | 
			
		||||
 | 
			
		||||
	  </tr>
 | 
			
		||||
 | 
			
		||||
	  <tr>
 | 
			
		||||
 | 
			
		||||
	     <th>热搜广告词(店铺):</th>
 | 
			
		||||
 | 
			
		||||
	     <td><input type="text" id='adsShopWordsSearch' class='ipt' value="{$object['adsShopWordsSearch']}" maxLength='100' placeholder='商城搜索栏里的搜索词' style='width:70%'/></td>
 | 
			
		||||
 | 
			
		||||
	  </tr>
 | 
			
		||||
 | 
			
		||||
	  <tr>
 | 
			
		||||
 | 
			
		||||
	     <th>账号禁用关键字:</th>
 | 
			
		||||
 | 
			
		||||
	     <td><textarea id='registerLimitWords' class='ipt' placeholder='禁止用户注册时的账号内容'>{$object['registerLimitWords']}</textarea></td>
 | 
			
		||||
 | 
			
		||||
	  </tr>
 | 
			
		||||
 | 
			
		||||
	  <tr>
 | 
			
		||||
 | 
			
		||||
	     <th>禁用关键字:</th>
 | 
			
		||||
 | 
			
		||||
	     <td><textarea id='limitWords' class='ipt' placeholder='禁止用户发布的商品、评价内容'>{$object['limitWords']}</textarea></td>
 | 
			
		||||
 | 
			
		||||
	  </tr>
 | 
			
		||||
 | 
			
		||||
	  {if ($grant)}
 | 
			
		||||
 | 
			
		||||
	  <tr>
 | 
			
		||||
 | 
			
		||||
	     <td colspan='2' align='center'>
 | 
			
		||||
 | 
			
		||||
	     	<button type="button" onclick='javascript:edit()' style='margin-right:15px;' class='btn btn-primary btn-mright'><i class="fa fa-check"></i>保存</button>
 | 
			
		||||
 | 
			
		||||
            <button type="reset"  class='btn'><i class="fa fa-refresh"></i>重置</button>
 | 
			
		||||
 | 
			
		||||
	     </td>
 | 
			
		||||
 | 
			
		||||
	  </tr>
 | 
			
		||||
 | 
			
		||||
	  {/if}
 | 
			
		||||
 | 
			
		||||
	 </table>
 | 
			
		||||
 | 
			
		||||
</div>
 | 
			
		||||
							
								
								
									
										69
									
								
								hyhproject/admin/view/sysconfigs/config1.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										69
									
								
								hyhproject/admin/view/sysconfigs/config1.html
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,69 @@
 | 
			
		||||
<div class="layui-tab-item layui-form">
 | 
			
		||||
    <fieldset class="layui-elem-field layui-field-title">
 | 
			
		||||
	  <legend>邮件服务器设置</legend>
 | 
			
		||||
     <table class='wst-form wst-box-top'>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th width='150'>SMTP服务器:</th>
 | 
			
		||||
	     <td><input type="text" id='mailSmtp' class='ipt' maxLength='100' value='{$object["mailSmtp"]}'/></td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th>SMTP端口:</th>
 | 
			
		||||
	     <td><input type="text" id='mailPort' class='ipt' maxLength='10' value='{$object["mailPort"]}'/></td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th>是否验证SMTP:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     <input type="checkbox" {if $object['mailAuth']==1}checked{/if} class="ipt" id="mailAuth" name="mailAuth" value='1' lay-skin="switch" lay-filter="mailAuth" lay-text="是|否">
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th>SMTP发件人邮箱:</th>
 | 
			
		||||
	     <td><input type="text" id='mailAddress' class='ipt' value='{$object["mailAddress"]}' maxLength='100'/></td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th>SMTP登录账号:</th>
 | 
			
		||||
	     <td><input type="text" id='mailUserName' class='ipt' value='{$object["mailUserName"]}' maxLength='100'/></td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th>SMTP登录密码:</th>
 | 
			
		||||
	     <td><input type="text" id='mailPassword' class='ipt' value='{$object["mailPassword"]}' maxLength='100'/></td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th>发件人名称:</th>
 | 
			
		||||
	     <td><input type="text" id='mailSendTitle' class='ipt' value='{$object["mailSendTitle"]}' maxLength='100'/></td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	</table>
 | 
			
		||||
    </fieldset>
 | 
			
		||||
    <fieldset class="layui-elem-field layui-field-title" style="margin-top: 20px;">
 | 
			
		||||
	  <legend>短信服务器设置</legend>
 | 
			
		||||
	  <table class='wst-form wst-box-top'>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	  	<th colspan='2' style='text-align:left;padding-left:40px'><span style='color:gray;'>(请确保在“拓展管理-插件管理"中有安装相应的短信插件”)</span></th>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr style='display:none'>
 | 
			
		||||
	     <th >开启手机验证:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     <input type="checkbox" checked class="ipt" id="smsOpen" value='1' name="smsOpen" value='1' lay-skin="switch" lay-filter="smsOpen" lay-text="开|关">
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th width='150'>每个号码每日发送数:</th>
 | 
			
		||||
	     <td><input type="text" id='smsLimit' class='ipt' value="{$object['smsLimit']}" maxLength='100'/></td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th>开启短信发送验证码:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     <input type="checkbox" {if $object['smsVerfy']==1}checked{/if} class="ipt" id="smsVerfy" value='1' name="smsVerfy" value='1' lay-skin="switch" lay-filter="smsVerfy" lay-text="开|关">
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  {if ($grant)}
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <td colspan='2' align='center'>
 | 
			
		||||
	     	<button type="button" onclick='javascript:edit()'  class='btn btn-primary btn-mright'><i class="fa fa-check"></i>保存</button>
 | 
			
		||||
            <button type="reset"  class='btn'><i class="fa fa-refresh"></i>重置</button>
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	   {/if}
 | 
			
		||||
	 </table>
 | 
			
		||||
	</fieldset>
 | 
			
		||||
</div>
 | 
			
		||||
							
								
								
									
										174
									
								
								hyhproject/admin/view/sysconfigs/config2.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										174
									
								
								hyhproject/admin/view/sysconfigs/config2.html
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,174 @@
 | 
			
		||||
<div class="layui-tab-item layui-form">
 | 
			
		||||
	<fieldset class="layui-elem-field layui-field-title">
 | 
			
		||||
	  <legend>订单设置</legend>
 | 
			
		||||
	  <table class='wst-form wst-box-top'>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th width='150'>开启积分支付:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	      <input type="checkbox" {if $object['isOpenScorePay']==1}checked{/if} class="ipt" id="isOpenScorePay" name="isOpenScorePay" value='1' lay-skin="switch" lay-filter="isOpenScorePay" lay-text="开|关">
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr id='scoreToMoneyTr' {if $object['isOpenScorePay']==0}style='display:none'{/if}>
 | 
			
		||||
	     <th>积分兑换金额:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     积分支付时<input type="text" id='scoreToMoney' class='ipt' value="{$object['scoreToMoney']}" maxLength='5' style='width:60px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberKey(event)"/>个积分抵1个金额
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th>开启下单获积分:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	      <input type="checkbox" {if $object['isOrderScore']==1}checked{/if} class="ipt" id="isOrderScore" name="isOrderScore" value='1' lay-skin="switch" lay-filter="isOrderScore" lay-text="开|关">
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr id='moneyToScoreTr' {if $object['isOrderScore']==0}style='display:none'{/if}>
 | 
			
		||||
	     <th>金额兑换积分:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     下单后订单金额1元可获得<input type="text" id='moneyToScore' class='ipt' value="{$object['moneyToScore']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/>个积分
 | 
			
		||||
	     <span style='color:gray;'>
 | 
			
		||||
	     </span>
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th>开启评价获积分:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     <input type="checkbox" {if $object['isAppraisesScore']==1}checked{/if} class="ipt" id="isAppraisesScore" name="isAppraisesScore" value='1' lay-skin="switch" lay-filter="isAppraisesScore" lay-text="开|关">
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr id='appraisesScoreTr' {if $object['isAppraisesScore']==0}style='display:none'{/if}>
 | 
			
		||||
	     <th>评价获得积分:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     <input type="text" id='appraisesScore' class='ipt' value="{$object['appraisesScore']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/>个积分
 | 
			
		||||
	     <span style='color:gray;'>
 | 
			
		||||
	     </span>
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th>结算方式:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     <label>
 | 
			
		||||
	         <input type='radio' id='statementType' name='statementType' class='ipt' value='0' {if $object['statementType']==0}checked{/if} title='即时结算'>
 | 
			
		||||
	     </label>
 | 
			
		||||
	     <label>
 | 
			
		||||
	         <input type='radio' id='statementType' name='statementType' class='ipt' value='1' {if $object['statementType']==1}checked{/if} title='统一结算'>
 | 
			
		||||
	     </label>
 | 
			
		||||
	     <span style='color:gray;'>(即时结算指用户确认收货就把钱打到商家钱包,统一结算指系统定时结算或者商家管理员手工结算)
 | 
			
		||||
	     </span>
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr style='display:none'>
 | 
			
		||||
	     <th>积分与金钱兑换比例:</th>
 | 
			
		||||
	     <td><input type="text" id='scoreCashRatio' class='ipt' value="{$object['scoreCashRatio']}" maxLength='20'/></td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr style='display:none'>
 | 
			
		||||
	     <th>结算金额设置:</th>
 | 
			
		||||
	     <td><input type="text" id='settlementStartMoney' class='ipt' value="{$object['settlementStartMoney']}" maxLength='10'/></td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  </table>
 | 
			
		||||
	</fieldset>
 | 
			
		||||
 | 
			
		||||
	<fieldset class="layui-elem-field layui-field-title">
 | 
			
		||||
	  <legend>积分设置</legend>
 | 
			
		||||
	  <table class='wst-form wst-box-top'>
 | 
			
		||||
	   <tr>
 | 
			
		||||
	     <th width='150'>开启积分签到:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     <input type="checkbox" {if $object['signScoreSwitch']==1}checked{/if} class="ipt" id="signScoreSwitch" name="signScoreSwitch" value='1' lay-skin="switch" lay-filter="signScoreSwitch" lay-text="开|关">
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr id="signScore" {if $object['signScoreSwitch']==0}style="display:none;"{/if}>
 | 
			
		||||
	     <th>累计签到获得的积分:</th>
 | 
			
		||||
	     <td> </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
  	 <tr id="signScores" {if $object['signScoreSwitch']==0}style="display:none;"{/if}>
 | 
			
		||||
     <th></th>
 | 
			
		||||
     	<td>
 | 
			
		||||
	     	<table><tbody>
 | 
			
		||||
	     	<tr>
 | 
			
		||||
	     	<th>第1天:</th><td><input type="text" id='signScore0' class='ipt' value="{$object['signScore0']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	<th>第2天:</th><td><input type="text" id='signScore1' class='ipt' value="{$object['signScore1']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	<th>第3天:</th><td><input type="text" id='signScore2' class='ipt' value="{$object['signScore2']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	<th>第4天:</th><td><input type="text" id='signScore3' class='ipt' value="{$object['signScore3']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	<th>第5天:</th><td><input type="text" id='signScore4' class='ipt' value="{$object['signScore4']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	</tr>
 | 
			
		||||
	     	<tr>
 | 
			
		||||
	     	<th>第6天:</th><td><input type="text" id='signScore5' class='ipt' value="{$object['signScore5']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	<th>第7天:</th><td><input type="text" id='signScore6' class='ipt' value="{$object['signScore6']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	<th>第8天:</th><td><input type="text" id='signScore7' class='ipt' value="{$object['signScore7']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	<th>第9天:</th><td><input type="text" id='signScore8' class='ipt' value="{$object['signScore8']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	<th>第10天:</th><td><input type="text" id='signScore9' class='ipt' value="{$object['signScore9']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	</tr>
 | 
			
		||||
	     	<tr>
 | 
			
		||||
	     	<th>第11天:</th><td><input type="text" id='signScore10' class='ipt' value="{$object['signScore10']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	<th>第12天:</th><td><input type="text" id='signScore11' class='ipt' value="{$object['signScore11']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	<th>第13天:</th><td><input type="text" id='signScore12' class='ipt' value="{$object['signScore12']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	<th>第14天:</th><td><input type="text" id='signScore13' class='ipt' value="{$object['signScore13']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	<th>第15天:</th><td><input type="text" id='signScore14' class='ipt' value="{$object['signScore14']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	</tr>
 | 
			
		||||
	     	<tr>
 | 
			
		||||
	     	<th>第16天:</th><td><input type="text" id='signScore15' class='ipt' value="{$object['signScore15']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	<th>第17天:</th><td><input type="text" id='signScore16' class='ipt' value="{$object['signScore16']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	<th>第18天:</th><td><input type="text" id='signScore17' class='ipt' value="{$object['signScore17']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	<th>第19天:</th><td><input type="text" id='signScore18' class='ipt' value="{$object['signScore18']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	<th>第20天:</th><td><input type="text" id='signScore19' class='ipt' value="{$object['signScore19']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	</tr>
 | 
			
		||||
	     	<tr>
 | 
			
		||||
	     	<th>第21天:</th><td><input type="text" id='signScore20' class='ipt' value="{$object['signScore20']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	<th>第22天:</th><td><input type="text" id='signScore21' class='ipt' value="{$object['signScore21']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	<th>第23天:</th><td><input type="text" id='signScore22' class='ipt' value="{$object['signScore22']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	<th>第24天:</th><td><input type="text" id='signScore23' class='ipt' value="{$object['signScore23']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	<th>第25天:</th><td><input type="text" id='signScore24' class='ipt' value="{$object['signScore24']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	</tr>
 | 
			
		||||
	     	<tr>
 | 
			
		||||
	     	<th>第26天:</th><td><input type="text" id='signScore25' class='ipt' value="{$object['signScore25']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	<th>第27天:</th><td><input type="text" id='signScore26' class='ipt' value="{$object['signScore26']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	<th>第28天:</th><td><input type="text" id='signScore27' class='ipt' value="{$object['signScore27']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	<th>第29天:</th><td><input type="text" id='signScore28' class='ipt' value="{$object['signScore28']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	<th>第30天:</th><td><input type="text" id='signScore29' class='ipt' value="{$object['signScore29']}" maxLength='5' style='width:40px;' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberdoteKey(event)"/></td>
 | 
			
		||||
	     	</tr>
 | 
			
		||||
	     	<tr><span style='color:gray;'>(单位(个),必须第1天大于0才能签到,填写为空则为0;填写第1天为0则保存所有为0;填写中间位或最后位为零则取前一天积分,类推取得不为0的积分)</tr>
 | 
			
		||||
	     	</tbody></table>
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  </table>
 | 
			
		||||
	</fieldset>
 | 
			
		||||
	  
 | 
			
		||||
	<fieldset class="layui-elem-field layui-field-title">
 | 
			
		||||
	  <legend>提现设置</legend>
 | 
			
		||||
	  <table class='wst-form wst-box-top'>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th width='150'>用户提现设置:</th>
 | 
			
		||||
	     <td>至少<input type="text" id='drawCashUserLimit' class='ipt' value="{$object['drawCashUserLimit']}" maxLength='10' style='width:40px' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberKey(event)"/>元以上方能申请提现。</td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th>商家提现设置:</th>
 | 
			
		||||
	     <td>至少<input type="text" id='drawCashShopLimit' class='ipt' value="{$object['drawCashShopLimit']}" maxLength='10' style='width:40px' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberKey(event)"/>元以上方能申请提现。</td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  </table>
 | 
			
		||||
	</fieldset>
 | 
			
		||||
 | 
			
		||||
	<fieldset class="layui-elem-field layui-field-title">
 | 
			
		||||
	  <legend>定时设置</legend>
 | 
			
		||||
	  <table class='wst-form wst-box-top'>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th width='150'>未支付订单失效时间:</th>
 | 
			
		||||
	     <td>下单后<input type="text" id='autoCancelNoPayDays' class='ipt' value="{$object['autoCancelNoPayDays']}" maxLength='3' style='width:40px' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberKey(event)"/>小时</td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th>自动收货期限:</th>
 | 
			
		||||
	     <td>发货后<input type="text" id='autoReceiveDays' class='ipt' value="{$object['autoReceiveDays']}" maxLength='3' style='width:40px' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberKey(event)"/>天自动收货</td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th>自动评价期限:</th>
 | 
			
		||||
	     <td>确认收货后<input type="text" id='autoAppraiseDays' class='ipt' value="{$object['autoAppraiseDays']}" maxLength='3' style='width:40px' onkeyup="javascript:WST.isChinese(this,1)" onkeypress="return WST.isNumberKey(event)"/>天自动好评</td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  {if ($grant)}
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <td colspan='2' align='center'>
 | 
			
		||||
	       <button type="button" onclick='javascript:edit()' class='btn btn-primary btn-mright'><i class="fa fa-check"></i>保存</button>
 | 
			
		||||
            <button type="reset"  class='btn'><i class="fa fa-refresh"></i>重置</button>
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  {/if}
 | 
			
		||||
	 </table>
 | 
			
		||||
</div>
 | 
			
		||||
							
								
								
									
										29
									
								
								hyhproject/admin/view/sysconfigs/config3.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										29
									
								
								hyhproject/admin/view/sysconfigs/config3.html
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,29 @@
 | 
			
		||||
<div class="layui-tab-item layui-form">
 | 
			
		||||
	<table class='wst-form wst-box-top'>
 | 
			
		||||
	<tr>
 | 
			
		||||
	     <th width='150'>密码加密传输:</th>
 | 
			
		||||
	     <td><input type="checkbox" {if $object['isCryptPwd']==1}checked{/if} value='1' class="ipt" id="isCryptPwd" name="isCryptPwd" lay-skin="switch" lay-filter="isCryptPwd" lay-text="开|关"><span style='color:gray;margin-left:5px;'>开启则用户登录、支付密码加密后再进行提交。<font color='red'>注意:该功能需开启openssl扩展支持!</font></span>
 | 
			
		||||
	     </td>
 | 
			
		||||
	</tr>
 | 
			
		||||
	<tr class='pwdCryptKeyTr' {if $object['isCryptPwd']==0}style='display:none'{/if}>
 | 
			
		||||
	    <th width='150'>商城密匙:</th>
 | 
			
		||||
	    <td>
 | 
			
		||||
	     	<textarea id='pwdPrivateKey' style='height:250px' class="ipt" placeholder='请输入用于登录、支付密码加密传输的密匙,请勿留空'>{$object['pwdPrivateKey']}</textarea>
 | 
			
		||||
	    </td>
 | 
			
		||||
	</tr>
 | 
			
		||||
	<tr class='pwdCryptKeyTr' {if $object['isCryptPwd']==0}style='display:none'{/if}>
 | 
			
		||||
	    <th width='150'>Modulus:</th>
 | 
			
		||||
	    <td>
 | 
			
		||||
	     	<textarea id='pwdModulusKey' class="ipt" placeholder='请输入用于登录、支付密码加密传输的16进制公钥,请勿留空'>{$object['pwdModulusKey']}</textarea>
 | 
			
		||||
	    </td>
 | 
			
		||||
	</tr>
 | 
			
		||||
	{if ($grant)}
 | 
			
		||||
	<tr>
 | 
			
		||||
	    <td colspan='2' align="center">
 | 
			
		||||
	     	<button  type="button" class="btn btn-primary btn-mright" onclick='javascript:edit()'><i class="fa fa-check"></i>保存</button> 
 | 
			
		||||
        	<button class="btn" onclick='javascript:resetForm()'><i class="fa fa-refresh"></i>重置</button>
 | 
			
		||||
	    </td>
 | 
			
		||||
	 </tr>
 | 
			
		||||
	{/if}
 | 
			
		||||
	</table>
 | 
			
		||||
</div>
 | 
			
		||||
							
								
								
									
										113
									
								
								hyhproject/admin/view/sysconfigs/config4.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										113
									
								
								hyhproject/admin/view/sysconfigs/config4.html
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,113 @@
 | 
			
		||||
<link rel="stylesheet" type="text/css" href="__STATIC__/plugins/colpick/css/colpick.css" />
 | 
			
		||||
<script src="__STATIC__/plugins/colpick/js/colpick.js"></script>
 | 
			
		||||
<div class="layui-tab-item layui-form">
 | 
			
		||||
    <table class='wst-form wst-box-top'>
 | 
			
		||||
	<tr>
 | 
			
		||||
	 <th>水印位置:</th>
 | 
			
		||||
	 <td>
 | 
			
		||||
	 	<label><input type="radio" id='watermarkPosition' name='watermarkPosition' class='ipt' value="0" {if ($object['watermarkPosition']==0)}checked{/if} title='无'/></label>
 | 
			
		||||
	 	<label><input type="radio" id='watermarkPosition' name='watermarkPosition' class='ipt' value="1" {if ($object['watermarkPosition']==1)}checked{/if} title='左上'/></label>
 | 
			
		||||
	 	<label><input type="radio" id='watermarkPosition' name='watermarkPosition' class='ipt' value="3" {if ($object['watermarkPosition']==3)}checked{/if} title='右上'/></label>
 | 
			
		||||
	 	<label><input type="radio" id='watermarkPosition' name='watermarkPosition' class='ipt' value="5" {if ($object['watermarkPosition']==5)}checked{/if} title='居中'/></label>
 | 
			
		||||
	 	<label><input type="radio" id='watermarkPosition' name='watermarkPosition' class='ipt' value="7" {if ($object['watermarkPosition']==7)}checked{/if} title='左下'/></label>
 | 
			
		||||
	 	<label><input type="radio" id='watermarkPosition' name='watermarkPosition' class='ipt' value="9" {if ($object['watermarkPosition']==9)}checked{/if} title='右下'/></label>
 | 
			
		||||
	 	<span style="color:gray;">设置为"无"则视为关闭水印</span>
 | 
			
		||||
	 </td>
 | 
			
		||||
	</tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th width='150'>水印文字:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     	<input type="text" id='watermarkWord' class='ipt' value="{$object['watermarkWord']}" maxLength='50' />
 | 
			
		||||
	     	<span style="color:gray;">当文字和图片同时存在时以文字为主</span>
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th>水印文字大小:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     	<input type="text" id='watermarkSize' class='ipt' value="{$object['watermarkSize']}" maxLength='2'/>
 | 
			
		||||
	     	<span style="color:gray;">建议大小为20</span>
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th>水印文字颜色:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     	<input type="text" id='watermarkColor' class='ipt' value="{$object['watermarkColor']}" />
 | 
			
		||||
	     	<span style="color:gray;">仅支持16进制的颜色:如#00FF00</span>
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th>水印文字字体路径:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     	<input type="text" id='watermarkTtf' class='ipt' value="{$object['watermarkTtf']}" placeholder="如:WSTMart/ttf/1.ttf" />
 | 
			
		||||
	     	<span style="color:gray;">后缀为.ttf,若留空则使用默认字体</span>
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th>水印文件:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     	<div id='watermarkFilePicker'>上传图标</div><span id='watermarkFileMsg'></span>
 | 
			
		||||
	     	<input type="hidden" id='watermarkFile' class='ipt' value="{$object['watermarkFile']}" />
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  	<tr>
 | 
			
		||||
          <th width='100'>水印图预览:</th>
 | 
			
		||||
          <td>
 | 
			
		||||
          	<div style="min-height:70px;" id="preview">
 | 
			
		||||
          	{if (isset($object['watermarkFile']))}
 | 
			
		||||
          	 <img id='watermarkFilePrevw' src="__IMGURL__/{$object['watermarkFile']}" style="max-height:75px;" /> 
 | 
			
		||||
          	{/if}
 | 
			
		||||
          	</div>
 | 
			
		||||
          	<span style="color:gray;">水印图最终大小由上传的图片大小决定</span>
 | 
			
		||||
          </td>
 | 
			
		||||
       </tr>
 | 
			
		||||
	  
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th>水印透明度:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     	<input type="text" id='watermarkOpacity' class='ipt' value="{$object['watermarkOpacity']}" />
 | 
			
		||||
	     	<br>
 | 
			
		||||
	     	<span style="color:gray;">水印的透明度,可选值为0-100。当设置为100时则为不透明</span>
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
      <tr>
 | 
			
		||||
	     <th>商城Logo:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     <div id='mallLogoPicker'>请上传商城Logo</div><span id='mallLogoMsg'></span>
 | 
			
		||||
	     <img src='__IMGURL__/{$object["mallLogo"]}' width='120' hiegth='120' id='mallLogoPrevw'/>
 | 
			
		||||
	     <input type="hidden" id='mallLogo' class='ipt' value='{$object["mallLogo"]}'/>
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th>默认店铺头像:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     <div id='shopLogoPicker'>请上传默认店铺头像</div><span id='shopLogoMsg'></span>
 | 
			
		||||
	     <img src='__IMGURL__/{$object["shopLogo"]}' width='120' hiegth='120' id='shopLogoPrevw'/>
 | 
			
		||||
	     <input type="hidden" id='shopLogo' class='ipt' value='{$object["shopLogo"]}'/>
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th>默认会员头像:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     <div id='userLogoPicker'>请上传默认会员头像</div><span id='userLogoMsg'></span>
 | 
			
		||||
	     <img src='__IMGURL__/{$object["userLogo"]}' width='120' hiegth='120' id='userLogoPrevw'/>
 | 
			
		||||
	     <input type="hidden" id='userLogo' class='ipt' value='{$object["userLogo"]}'/>
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th>默认商品图片:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     <div id='goodsLogoPicker'>请上传默认商品图片</div><span id='goodsLogoMsg'></span>
 | 
			
		||||
	     <img src='__IMGURL__/{$object["goodsLogo"]}' width='120' hiegth='120' id='goodsLogoPrevw'/>
 | 
			
		||||
	     <input type="hidden" id='goodsLogo' class='ipt' value='{$object["goodsLogo"]}'/>
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  {if ($grant)}
 | 
			
		||||
	    <tr>
 | 
			
		||||
	      <td colspan='2' align="center">
 | 
			
		||||
	     	<button type="button" class="btn btn-primary btn-mright" onclick='javascript:edit()'><i class="fa fa-check"></i>保存</button> 
 | 
			
		||||
        	<button class="btn" onclick='javascript:resetForm()'><i class="fa fa-refresh"></i>重置</button>
 | 
			
		||||
	     </td>
 | 
			
		||||
	    </tr>
 | 
			
		||||
	 {/if}
 | 
			
		||||
	 </table>
 | 
			
		||||
</div>
 | 
			
		||||
							
								
								
									
										24
									
								
								hyhproject/admin/view/sysconfigs/config5.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										24
									
								
								hyhproject/admin/view/sysconfigs/config5.html
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,24 @@
 | 
			
		||||
<div class="layui-tab-item layui-form">
 | 
			
		||||
     <table class='wst-form wst-box-top'>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th width='150'>商城标题:</th>
 | 
			
		||||
	     <td><input type="text" id='seoMallTitle' class='ipt' value="{$object['seoMallTitle']}" maxLength='100'/></td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th>商城关键字:</th>
 | 
			
		||||
	     <td><input type="text" id='seoMallKeywords' class='ipt' style='width:70%' value="{$object['seoMallKeywords']}" maxLength='100'/></td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th>商城描述:</th>
 | 
			
		||||
	     <td><input type="text" id='seoMallDesc' class='ipt' style='width:70%' value="{$object['seoMallDesc']}" maxLength='100'/></td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	  	{if ($grant)}
 | 
			
		||||
	     <td colspan='2' align='center'>
 | 
			
		||||
	     	<button type="button" class="btn btn-primary btn-mright" onclick='javascript:edit()'><i class="fa fa-check"></i>保存</button> 
 | 
			
		||||
        	<button type="reset" class="btn" onclick='javascript:resetForm()'><i class="fa fa-refresh"></i>重置</button>
 | 
			
		||||
	     </td>
 | 
			
		||||
	     {/if}
 | 
			
		||||
	  </tr>
 | 
			
		||||
	 </table>
 | 
			
		||||
</div>
 | 
			
		||||
							
								
								
									
										152
									
								
								hyhproject/admin/view/sysconfigs/config6.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										152
									
								
								hyhproject/admin/view/sysconfigs/config6.html
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,152 @@
 | 
			
		||||
<style>
 | 
			
		||||
.staffName label{width:120px;display:inline-block;}
 | 
			
		||||
.staffName label input[type='checkbox']{margin-right:5px;}
 | 
			
		||||
</style>
 | 
			
		||||
<div class="layui-tab-item staffName">
 | 
			
		||||
     <table class='wst-form wst-box-top'>
 | 
			
		||||
      <tr>
 | 
			
		||||
      	<td colspan='2'>
 | 
			
		||||
      		   <div id='alertTips' class='alert alert-success alert-tips fade in' style='margin:0px 0px'>
 | 
			
		||||
				  <div id='headTip' class='head'><i class='fa fa-lightbulb-o'></i>操作说明</div>
 | 
			
		||||
				  <ul class='body'>
 | 
			
		||||
				    <li>因微信通和短信通知会在事件发生的时候触发,请勿同时发送给太多人,以免造成提交延时影响用户体验。</li>
 | 
			
		||||
				  </ul>
 | 
			
		||||
				</div>
 | 
			
		||||
      	</td>
 | 
			
		||||
      </tr>
 | 
			
		||||
      <tr>
 | 
			
		||||
	     <td colspan='2' class='head-ititle'>用户下单:</td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th width='150'>提醒方式:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     	<label><input type='checkbox' id='wxSubmitOrderTip' class='ipt' {if $object["wxSubmitOrderTip"]==1}checked{/if} onclick='javascript:checkTip("wxSubmitOrderTip,smsSubmitOrderTip","submitOrderTipUsers")'/>微信提醒</label>
 | 
			
		||||
	     	<label><input type='checkbox' id='smsSubmitOrderTip' class='ipt' {if $object["smsSubmitOrderTip"]==1}checked{/if} onclick='javascript:checkTip("wxSubmitOrderTip,smsSubmitOrderTip","submitOrderTipUsers")'/>短信提醒</label>
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th valign="top">提醒人:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	        {volist name='list' id='vo'}
 | 
			
		||||
	     	<label class='staffName'><input type='checkbox' class='ipt submitOrderTipUsers' value='{$vo['staffId']}' {if in_array($vo['staffId'],$object["submitOrderTipUsers"])}checked{/if}/>{$vo['staffName']}</label>
 | 
			
		||||
	     	{/volist}
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <td colspan='2' class='head-ititle'>支付订单:</td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th>提醒方式:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     	<label><input type='checkbox' id='wxPayOrderTip' class='ipt' {if $object["wxPayOrderTip"]==1}checked{/if} onclick='javascript:checkTip("wxPayOrderTip,smsPayOrderTip","payOrderTipUsers")'/>微信提醒</label>
 | 
			
		||||
	     	<label><input type='checkbox' id='smsPayOrderTip' class='ipt' {if $object["smsPayOrderTip"]==1}checked{/if} onclick='javascript:checkTip("wxPayOrderTip,smsPayOrderTip","payOrderTipUsers")'/>短信提醒</label>
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th valign="top">提醒人:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     	{volist name='list' id='vo'}
 | 
			
		||||
	     	<label class='staffName'><input type='checkbox' class='ipt payOrderTipUsers' value='{$vo['staffId']}' {if in_array($vo['staffId'],$object["payOrderTipUsers"])}checked{/if}/>{$vo['staffName']}</label>
 | 
			
		||||
	     	{/volist}
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <td colspan='2' class='head-ititle'>取消订单:</td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th>提醒方式:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     	<label><input type='checkbox' id='wxCancelOrderTip' class='ipt' {if $object["wxCancelOrderTip"]==1}checked{/if} onclick='javascript:checkTip("wxCancelOrderTip,smsCancelOrderTip","cancelOrderTipUsers")'/>微信提醒</label>
 | 
			
		||||
	     	<label><input type='checkbox' id='smsCancelOrderTip' class='ipt' {if $object["smsCancelOrderTip"]==1}checked{/if} onclick='javascript:checkTip("wxCancelOrderTip,smsCancelOrderTip","cancelOrderTipUsers")'/>短信提醒</label>
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th valign="top">提醒人:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     	{volist name='list' id='vo'}
 | 
			
		||||
	     	<label class='staffName'><input type='checkbox' class='ipt cancelOrderTipUsers' value='{$vo['staffId']}' {if in_array($vo['staffId'],$object["cancelOrderTipUsers"])}checked{/if}/>{$vo['staffName']}</label>
 | 
			
		||||
	     	{/volist}
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <td colspan='2' class='head-ititle'>拒收订单:</td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th>提醒方式:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     	<label><input type='checkbox' id='wxRejectOrderTip' class='ipt' {if $object["wxRejectOrderTip"]==1}checked{/if} onclick='javascript:checkTip("wxRejectOrderTip,smsRejectOrderTip","rejectOrderTipUsers")'/>微信提醒</label>
 | 
			
		||||
	     	<label><input type='checkbox' id='smsRejectOrderTip' class='ipt' {if $object["smsRejectOrderTip"]==1}checked{/if} onclick='javascript:checkTip("wxRejectOrderTip,smsRejectOrderTip","rejectOrderTipUsers")'/>短信提醒</label>
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th valign="top">提醒人:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     	{volist name='list' id='vo'}
 | 
			
		||||
	     	<label class='staffName'><input type='checkbox' class='ipt rejectOrderTipUsers' value='{$vo['staffId']}' {if in_array($vo['staffId'],$object["rejectOrderTipUsers"])}checked{/if}/>{$vo['staffName']}</label>
 | 
			
		||||
	     	{/volist}
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <td colspan='2' class='head-ititle'>申请退款:</td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th>提醒方式:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     	<label><input type='checkbox' id='wxRefundOrderTip' class='ipt' {if $object["wxRefundOrderTip"]==1}checked{/if} onclick='javascript:checkTip("wxRefundOrderTip,smsRefundOrderTip","refundOrderTipUsers")'/>微信提醒</label>
 | 
			
		||||
	     	<label><input type='checkbox' id='smsRefundOrderTip' class='ipt' {if $object["smsRefundOrderTip"]==1}checked{/if} onclick='javascript:checkTip("wxRefundOrderTip,smsRefundOrderTip","refundOrderTipUsers")'/>短信提醒</label>
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th valign="top">提醒人:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     	{volist name='list' id='vo'}
 | 
			
		||||
	     	<label class='staffName'><input type='checkbox' class='ipt refundOrderTipUsers' value='{$vo['staffId']}' {if in_array($vo['staffId'],$object["refundOrderTipUsers"])}checked{/if}/>{$vo['staffName']}</label>
 | 
			
		||||
	     	{/volist}
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <td colspan='2' class='head-ititle'>订单投诉:</td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th>提示方式:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     	<label><input type='checkbox' id='wxComplaintOrderTip' class='ipt' {if $object["wxComplaintOrderTip"]==1}checked{/if} onclick='javascript:checkTip("wxComplaintOrderTip,smsComplaintOrderTip","complaintOrderTipUsers")'/>微信提醒</label>
 | 
			
		||||
	     	<label><input type='checkbox' id='smsComplaintOrderTip' class='ipt' {if $object["smsComplaintOrderTip"]==1}checked{/if} onclick='javascript:checkTip("wxComplaintOrderTip,smsComplaintOrderTip","complaintOrderTipUsers")'/>短信提醒</label>
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th valign="top">提醒人:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     	{volist name='list' id='vo'}
 | 
			
		||||
	     	<label class='staffName'><input type='checkbox' class='ipt complaintOrderTipUsers' value='{$vo['staffId']}' {if in_array($vo['staffId'],$object["complaintOrderTipUsers"])}checked{/if}/>{$vo['staffName']}</label>
 | 
			
		||||
	     	{/volist}
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <td colspan='2' class='head-ititle'>申请提现:</td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th>提醒方式:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     	<label><input type='checkbox' id='wxCashDrawsTip' class='ipt' {if $object["wxCashDrawsTip"]==1}checked{/if} onclick='javascript:checkTip("wxCashDrawsTip,smsCashDrawsTip","cashDrawsTipUsers")'/>微信提醒</label>
 | 
			
		||||
	     	<label><input type='checkbox' id='smsCashDrawsTip' class='ipt' {if $object["smsCashDrawsTip"]==1}checked{/if} onclick='javascript:checkTip("wxCashDrawsTip,smsCashDrawsTip","cashDrawsTipUsers")'/>短信提醒</label>
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	     <th valign="top">提醒人:</th>
 | 
			
		||||
	     <td>
 | 
			
		||||
	     	{volist name='list' id='vo'}
 | 
			
		||||
	     	<label class='staffName'><input type='checkbox' class='ipt cashDrawsTipUsers' value='{$vo['staffId']}' {if in_array($vo['staffId'],$object["cashDrawsTipUsers"])}checked{/if}/>{$vo['staffName']}</label>
 | 
			
		||||
	     	{/volist}
 | 
			
		||||
	     </td>
 | 
			
		||||
	  </tr>
 | 
			
		||||
	  <tr>
 | 
			
		||||
	  	{if ($grant)}
 | 
			
		||||
	     <td colspan='2' align='center'>
 | 
			
		||||
	     	<button type="button" class="btn btn-primary btn-mright" onclick='javascript:edit()'><i class="fa fa-check"></i>保存</button> 
 | 
			
		||||
        	<button type="reset" class="btn" ><i class="fa fa-refresh"></i>重置</button>
 | 
			
		||||
	     </td>
 | 
			
		||||
	     {/if}
 | 
			
		||||
	  </tr>
 | 
			
		||||
	 </table>
 | 
			
		||||
</div>
 | 
			
		||||
							
								
								
									
										33
									
								
								hyhproject/admin/view/sysconfigs/dataConfigs.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										33
									
								
								hyhproject/admin/view/sysconfigs/dataConfigs.html
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,33 @@
 | 
			
		||||
<?php $grant = WSTGrant('SCPZ_02');  ?>
 | 
			
		||||
 | 
			
		||||
<div class="layui-tab-item layui-show layui-form">
 | 
			
		||||
 | 
			
		||||
     <table class='wst-form wst-box-top'>
 | 
			
		||||
     <input type="hidden" id='isDataConfigs' class='ipt' value="1">
 | 
			
		||||
		{foreach $dataConfigs as $vo}
 | 
			
		||||
			<tr>
 | 
			
		||||
		     <th width='350'>{$vo.fieldName}</th>
 | 
			
		||||
		     <td><input type="text" id='{$vo.configId}' class='ipt' value="{$vo.fieldValue}" maxLength='100' placeholder='{$vo.fieldName}'/></td>
 | 
			
		||||
		  </tr>
 | 
			
		||||
		{/foreach}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
	  {if ($grant)}
 | 
			
		||||
 | 
			
		||||
	  <tr>
 | 
			
		||||
 | 
			
		||||
	     <td colspan='2' align='center'>
 | 
			
		||||
 | 
			
		||||
	     	<button type="button" onclick='javascript:edit()' style='margin-right:15px;' class='btn btn-primary btn-mright'><i class="fa fa-check"></i>保存</button>
 | 
			
		||||
 | 
			
		||||
            <button type="reset"  class='btn'><i class="fa fa-refresh"></i>重置</button>
 | 
			
		||||
 | 
			
		||||
	     </td>
 | 
			
		||||
 | 
			
		||||
	  </tr>
 | 
			
		||||
 | 
			
		||||
	  {/if}
 | 
			
		||||
 | 
			
		||||
	 </table>
 | 
			
		||||
 | 
			
		||||
</div>
 | 
			
		||||
							
								
								
									
										63
									
								
								hyhproject/admin/view/sysconfigs/edit.html
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										63
									
								
								hyhproject/admin/view/sysconfigs/edit.html
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,63 @@
 | 
			
		||||
{extend name="base" /}
 | 
			
		||||
 | 
			
		||||
{block name="css"}
 | 
			
		||||
 | 
			
		||||
<link rel="stylesheet" type="text/css" href="__STATIC__/plugins/webuploader/webuploader.css?v={$v}" />
 | 
			
		||||
 | 
			
		||||
<style>
 | 
			
		||||
 | 
			
		||||
.layui-form-label{width:140px;}
 | 
			
		||||
 | 
			
		||||
.layui-input-block{  margin-left: 170px;}
 | 
			
		||||
 | 
			
		||||
#wst-tab-5 input[type="text"]{width:50%}
 | 
			
		||||
 | 
			
		||||
td{height:40px; }
 | 
			
		||||
 | 
			
		||||
</style>
 | 
			
		||||
 | 
			
		||||
{/block}
 | 
			
		||||
 | 
			
		||||
{block name="js"}
 | 
			
		||||
 | 
			
		||||
<script type='text/javascript' src='__STATIC__/plugins/webuploader/webuploader.js?v={$v}' type="text/javascript"></script>
 | 
			
		||||
 | 
			
		||||
<script src="__ADMIN__/sysconfigs/sysconfigs.js?v={$v}" type="text/javascript"></script>
 | 
			
		||||
 | 
			
		||||
{/block}
 | 
			
		||||
 | 
			
		||||
{block name="main"}
 | 
			
		||||
 | 
			
		||||
<form autocomplete='off'> 
 | 
			
		||||
 | 
			
		||||
<div class="layui-tab layui-tab-brief" lay-filter="msgTab">
 | 
			
		||||
 | 
			
		||||
	   <ul class="layui-tab-title">
 | 
			
		||||
			<li class="layui-this">数据配置</li>
 | 
			
		||||
	      <!-- <li class="layui-this">基础设置</li>
 | 
			
		||||
 | 
			
		||||
	      <li>服务器设置</li>
 | 
			
		||||
 | 
			
		||||
	      <li>运营设置</li>
 | 
			
		||||
 | 
			
		||||
	      <li>密匙设置</li>
 | 
			
		||||
 | 
			
		||||
	      <li>图片设置</li>
 | 
			
		||||
 | 
			
		||||
	      <li>通知设置</li>
 | 
			
		||||
 | 
			
		||||
	      <li>SEO设置</li>
 | 
			
		||||
 -->
 | 
			
		||||
	   </ul>
 | 
			
		||||
 | 
			
		||||
	   <div class="layui-tab-content" style="padding: 10px 0;">
 | 
			
		||||
 | 
			
		||||
   {include file='sysconfigs/dataConfigs,sysconfigs/config1,sysconfigs/config2,sysconfigs/config3,sysconfigs/config4,sysconfigs/config6,sysconfigs/config5' /}
 | 
			
		||||
 | 
			
		||||
   </div>
 | 
			
		||||
 | 
			
		||||
</div>
 | 
			
		||||
 | 
			
		||||
</form>
 | 
			
		||||
 | 
			
		||||
{/block}
 | 
			
		||||
							
								
								
									
										156
									
								
								hyhproject/admin/view/sysconfigs/sysconfigs.js
									
									
									
									
									
										Executable file
									
								
							
							
						
						
									
										156
									
								
								hyhproject/admin/view/sysconfigs/sysconfigs.js
									
									
									
									
									
										Executable file
									
								
							@@ -0,0 +1,156 @@
 | 
			
		||||
var layer = layui.layer;
 | 
			
		||||
var laytpl, form,laypage;
 | 
			
		||||
$(function(){
 | 
			
		||||
	form = layui.form;
 | 
			
		||||
  	form.render();
 | 
			
		||||
	form.on('switch(seoMallSwitch)', function(data){
 | 
			
		||||
	  	if(this.checked){
 | 
			
		||||
	  		WST.showHide(0,'#close');
 | 
			
		||||
	  	}else{
 | 
			
		||||
	  		WST.showHide(1,'#close');
 | 
			
		||||
	  	}
 | 
			
		||||
	});
 | 
			
		||||
	form.on('switch(signScoreSwitch)', function(data){
 | 
			
		||||
	  	if(this.checked){
 | 
			
		||||
	  		WST.showHide(1,'#signScore,#signScores')
 | 
			
		||||
	  	}else{
 | 
			
		||||
	  		WST.showHide(0,'#signScore,#signScores')
 | 
			
		||||
	  	}
 | 
			
		||||
	});
 | 
			
		||||
	form.on('switch(isOpenScorePay)', function(data){
 | 
			
		||||
	  	if(this.checked){
 | 
			
		||||
	  		WST.showHide(1,'#scoreToMoneyTr')
 | 
			
		||||
	  	}else{
 | 
			
		||||
	  		WST.showHide(0,'#scoreToMoneyTr')
 | 
			
		||||
	  	}
 | 
			
		||||
	});
 | 
			
		||||
	form.on('switch(isOrderScore)', function(data){
 | 
			
		||||
	  	if(this.checked){
 | 
			
		||||
	  		WST.showHide(1,'#moneyToScoreTr')
 | 
			
		||||
	  	}else{
 | 
			
		||||
	  		WST.showHide(0,'#moneyToScoreTr')
 | 
			
		||||
	  	}
 | 
			
		||||
	});
 | 
			
		||||
	form.on('switch(isAppraisesScore)', function(data){
 | 
			
		||||
	  	if(this.checked){
 | 
			
		||||
	  		WST.showHide(1,'#appraisesScoreTr')
 | 
			
		||||
	  	}else{
 | 
			
		||||
	  		WST.showHide(0,'#appraisesScoreTr')
 | 
			
		||||
	  	}
 | 
			
		||||
	});
 | 
			
		||||
	form.on('switch(isCryptPwd)', function(data){
 | 
			
		||||
	  	if(this.checked){
 | 
			
		||||
	  		WST.showHide(1,'.pwdCryptKeyTr')
 | 
			
		||||
	  	}else{
 | 
			
		||||
	  		WST.showHide(0,'.pwdCryptKeyTr')
 | 
			
		||||
	  	}
 | 
			
		||||
	});
 | 
			
		||||
    var element = layui.element;
 | 
			
		||||
	element.on('tab(msgTab)', function(data){
 | 
			
		||||
	   if(data.index==4)initUploads();
 | 
			
		||||
	});
 | 
			
		||||
});
 | 
			
		||||
var isInitUpload = false;
 | 
			
		||||
function initUploads(){
 | 
			
		||||
	if(isInitUpload)return;
 | 
			
		||||
	var uploads = ['watermarkFile','mallLogo','shopLogo','userLogo','goodsLogo'],key;
 | 
			
		||||
	for(var i=0;i<uploads.length;i++){
 | 
			
		||||
		key = uploads[i];
 | 
			
		||||
		WST.upload({
 | 
			
		||||
			  k:key,
 | 
			
		||||
		  	  pick:'#'+key+"Picker",
 | 
			
		||||
		  	  formData: {dir:'sysconfigs'},
 | 
			
		||||
		  	  accept: {extensions: 'gif,jpg,jpeg,png',mimeTypes: 'image/jpg,image/jpeg,image/png,image/gif'},
 | 
			
		||||
		  	  callback:function(f){
 | 
			
		||||
		  		  var json = WST.toAdminJson(f);
 | 
			
		||||
		  		  if(json.status==1){
 | 
			
		||||
		  			 $('#'+this.k+'Msg').empty().hide();
 | 
			
		||||
		  			 $('#'+this.k+'Prevw').attr('src',WST.conf.IMGURL+'/'+json.savePath+json.name);
 | 
			
		||||
		  			 $('#'+this.k).val(json.savePath+json.name);
 | 
			
		||||
		  		  }
 | 
			
		||||
			  },
 | 
			
		||||
			  progress:function(rate){
 | 
			
		||||
				  $('#'+this.k+'Msg').show().html('已上传'+rate+"%");
 | 
			
		||||
			  }
 | 
			
		||||
		    });
 | 
			
		||||
	}
 | 
			
		||||
	isInitUpload = true;
 | 
			
		||||
}
 | 
			
		||||
function checkTip(ids,obj){
 | 
			
		||||
   var ids = ids.split(',');
 | 
			
		||||
   if(!$('#'+ids[0])[0].checked && !$('#'+ids[1])[0].checked)$('.'+obj).each(function(){
 | 
			
		||||
   	   $(this).attr('checked',false);
 | 
			
		||||
   })
 | 
			
		||||
}
 | 
			
		||||
function edit(){
 | 
			
		||||
	if(!WST.GRANT.SCPZ_02)return;
 | 
			
		||||
	var params = WST.getParams('.ipt');
 | 
			
		||||
	var signScore = '';
 | 
			
		||||
	for(var i=0;i<30;i++){
 | 
			
		||||
		if(i>0 && params.signScore0!=0){
 | 
			
		||||
			if(!params['signScore'+i] || params['signScore'+i]==0){
 | 
			
		||||
				params['signScore'+i] = params['signScore'+(i-1)];
 | 
			
		||||
			}
 | 
			
		||||
		}
 | 
			
		||||
		if(!params.signScore0 || params.signScore0==0){
 | 
			
		||||
			signScore += '0,';
 | 
			
		||||
		}else{
 | 
			
		||||
			if(!params['signScore'+i])params['signScore'+i] = 0;
 | 
			
		||||
			signScore +=  params['signScore'+i] + ',';
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	params.signScore = signScore;
 | 
			
		||||
	var strTitle = ['用户下单','支付订单','取消订单','拒收订单','申请退款','订单投诉','用户提现'];
 | 
			
		||||
	var strTip = ['SubmitOrderTip','PayOrderTip','CancelOrderTip','RejectOrderTip',
 | 
			
		||||
	               'RefundOrderTip','ComplaintOrderTip','CashDrawsTip'];
 | 
			
		||||
	var strUser = ['submitOrderTipUsers','payOrderTipUsers','cancelOrderTipUsers','rejectOrderTipUsers',
 | 
			
		||||
	               'refundOrderTipUsers','complaintOrderTipUsers','cashDrawsTipUsers'];
 | 
			
		||||
	var ids = [],wxId = '',smsId;
 | 
			
		||||
	for(var i=0;i<strUser.length;i++){
 | 
			
		||||
        ids = [];
 | 
			
		||||
		$('.'+strUser[i]).each(function(){
 | 
			
		||||
           if($(this)[0].checked)ids.push($(this).val());
 | 
			
		||||
		});
 | 
			
		||||
		wxId = 'wx'+strTip[i];
 | 
			
		||||
		smsId = 'sms'+strTip[i];
 | 
			
		||||
		params[wxId] = $('#'+wxId)[0].checked?1:0;
 | 
			
		||||
		params[smsId] = $('#'+smsId)[0].checked?1:0;
 | 
			
		||||
		params[strUser[i]] = ids.join(',');
 | 
			
		||||
		if(params[wxId]==0 && params[smsId]==0 && ids.length>0){
 | 
			
		||||
			WST.msg('请选择'+strTitle[i]+'提醒方式',{icon:1});
 | 
			
		||||
			return;
 | 
			
		||||
		}
 | 
			
		||||
		if((params[wxId]==1 || params[smsId]==1) && ids.length==0){
 | 
			
		||||
			WST.msg('请选择'+strTitle[i]+'提醒人',{icon:1});
 | 
			
		||||
			return;
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
	var loading = WST.msg('正在保存数据,请稍后...', {icon: 16,time:60000});
 | 
			
		||||
    $.post(WST.U('admin/sysconfigs/edit'),params,function(data,textStatus){
 | 
			
		||||
          layer.close(loading);
 | 
			
		||||
          var json = WST.toAdminJson(data);
 | 
			
		||||
          if(json.status==1){
 | 
			
		||||
        	  WST.msg(json.msg,{icon:1});
 | 
			
		||||
          }
 | 
			
		||||
   });
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
$(function(){
 | 
			
		||||
	$('#watermarkColor').colpick({
 | 
			
		||||
	layout:'hex',
 | 
			
		||||
	submit:1,
 | 
			
		||||
	colorScheme:'dark',
 | 
			
		||||
	onChange:function(hsb,hex,rgb,el,bySetColor) {
 | 
			
		||||
		$(el).css('border-color','#'+hex);
 | 
			
		||||
	},
 | 
			
		||||
	onSubmit:function(hsb,hex,rgb,el,bySetColor){
 | 
			
		||||
		if(!bySetColor) $(el).val('#'+hex);
 | 
			
		||||
		$(el).colpickHide();
 | 
			
		||||
	}
 | 
			
		||||
	}).keyup(function(){
 | 
			
		||||
		$(this).colpickSetColor(this.value);
 | 
			
		||||
		$(this).colpickHide();
 | 
			
		||||
	});
 | 
			
		||||
 | 
			
		||||
});
 | 
			
		||||
		Reference in New Issue
	
	Block a user