dlnotice.html 4.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. {template 'public/header'}
  2. {template 'public/comhead'}
  3. <link rel="stylesheet" type="text/css" href="../addons/zh_jdgjb/template/public/ygcss.css">
  4. <style type="text/css">
  5. input[type="radio"] + label::before {
  6. content: "\a0"; /*不换行空格*/
  7. display: inline-block;
  8. vertical-align: middle;
  9. font-size: 16px;
  10. width: 1em;
  11. height: 1em;
  12. margin-right: .4em;
  13. border-radius: 50%;
  14. border: 2px solid #ddd;
  15. text-indent: .15em;
  16. line-height: 1;
  17. }
  18. input[type="radio"]:checked + label::before {
  19. background-color: #44ABF7;
  20. background-clip: content-box;
  21. padding: .1em;
  22. border: 2px solid #44ABF7;
  23. }
  24. input[type="radio"] {
  25. position: absolute;
  26. clip: rect(0, 0, 0, 0);
  27. }
  28. </style>
  29. <ul class="nav nav-tabs">
  30. <span class="ygxian"></span>
  31. <div class="ygdangq">当前位置:</div>
  32. <li class="active"><a href="{php echo $this->createWebUrl('notice')}">消息设置</a></li>
  33. </ul>
  34. <div class="main">
  35. <form action="" method="post" class="form-horizontal form" enctype="multipart/form-data" id="invitative">
  36. <div class="panel panel-default ygdefault">
  37. <div class="panel-heading wyheader">
  38. 消息设置(聚合短息服务)
  39. </div>
  40. <div class="panel-body">
  41. <div class="form-group">
  42. <label class="col-xs-12 col-sm-3 col-md-2 control-label">接收人手机号</label>
  43. <div class="col-sm-9">
  44. <input type="text" name="js_tel" value="{$item['js_tel']}" id="web_name" class="form-control" placeholder="请输入接收人手机号" />
  45. </div>
  46. </div>
  47. <div class="form-group">
  48. <label class="col-xs-12 col-sm-3 col-md-2 control-label">应用key</label>
  49. <div class="col-sm-9">
  50. <input type="text" name="appkey" value="{$item['appkey']}" id="web_name" class="form-control" placeholder="请输入应用key" />
  51. </div>
  52. </div>
  53. <div class="form-group ygyi2">
  54. <label class="col-xs-12 col-sm-3 col-md-2 control-label">模板ID</label>
  55. <div class="col-sm-9">
  56. <input type="text" name="tpl_id" value="{$item['tpl_id']}" id="web_name" class="form-control" placeholder="请输入模板id" />
  57. </div>
  58. </div>
  59. </div>
  60. </div>
  61. <div class="form-group">
  62. <input type="submit" name="submit" value="保存设置" class="btn col-lg-3" style="color: white;background-color: #44ABF7;" />
  63. <input type="hidden" name="token" value="{$_W['token']}" />
  64. <input type="hidden" name="id" value="{$item['id']}" />
  65. </div>
  66. </form>
  67. </div>
  68. <!-- {template 'common/footer'} -->
  69. <script type="text/javascript">
  70. $(function(){
  71. //$("select#ygadd").change(function(){
  72. // console.log($(this).val())
  73. // var ygtype = $(this).val()
  74. // if(ygtype==1){
  75. // $(".ygyi").css({"display":"none"})
  76. // }else if(ygtype==2){
  77. // $(".ygyi").css({"display":"block"})
  78. // }
  79. //})
  80. "{if $item}"
  81. "{if $item['type']=='1'}"
  82. $('.ygyi').hide();
  83. $('.ygyi3').hide();
  84. "{/if}"
  85. "{if $item['type']=='2'}"
  86. $('.ygyi2').hide();
  87. $('.ygyi3').hide();
  88. "{/if}"
  89. "{if $item['type']=='3'}"
  90. $('.ygyi').hide();
  91. $('.ygyi2').hide();
  92. "{/if}"
  93. "{else}"
  94. $('.ygyi').hide();
  95. $('.ygyi3').hide();
  96. "{/if}"
  97. $('#type').change(function(){
  98. $('.ygyi').show();
  99. $('.ygyi2').show();
  100. $('.ygyi3').show();
  101. if($(this).val() == '1') {
  102. $('.ygyi').hide();
  103. $('.ygyi3').hide();
  104. }
  105. if($(this).val() == '2') {
  106. $('.ygyi2').hide();
  107. $('.ygyi3').hide();
  108. }
  109. if($(this).val() == '3') {
  110. $('.ygyi').hide();
  111. $('.ygyi2').hide();
  112. }
  113. });
  114. // $("#frame-7").addClass("in");
  115. $("#frame-6").show();
  116. $("#yframe-6").addClass("wyactive");
  117. });
  118. </script>
  119. {template 'common/footer'}