68f14c8180d3ee788d050eeff311c023.php 19 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616
  1. <?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <?php $shoname_name = D('Home/Front')->get_config_by_name('shoname'); ?>
  6. <title><?php echo $shoname; ?></title>
  7. <link rel="shortcut icon" href="" />
  8. <meta name="renderer" content="webkit">
  9. <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  10. <meta name="viewport" content="width=device-width, initial-scale=1.0, minimum-scale=1.0, maximum-scale=1.0, user-scalable=0">
  11. <link rel="stylesheet" href="/layuiadmin/style/admin.css" media="all">
  12. <!-- 让IE8/9支持媒体查询,从而兼容栅格 -->
  13. <!--[if lt IE 9]>
  14. <script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
  15. <script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
  16. <![endif]-->
  17. <link href="./resource/css/bootstrap.min.css?v=201903260001" rel="stylesheet">
  18. <link href="./resource/css/common.css?v=201903260001" rel="stylesheet">
  19. <script type="text/javascript">
  20. window.sysinfo = {
  21. <?php if (!empty($_W['uniacid']) ){ ?>'uniacid': '<?php echo ($_W['uniacid']); ?>',<?php } ?>
  22. <?php if( !empty($_W['acid']) ){ ?>'acid': '<?php echo ($_W['acid']); ?>',<?php } ?>
  23. <?php if (!empty($_W['openid']) ) { ?>'openid': '<?php echo ($_W['openid']); ?>',<?php } ?>
  24. <?php if( !empty($_W['uid']) ) { ?>'uid': '<?php echo ($_W['uid']); ?>',<?php } ?>
  25. 'isfounder': <?php if (!empty($_W['isfounder']) ) { ?>1<?php }else{ ?>0<?php } ?>,
  26. 'siteroot': '<?php echo ($_W['siteroot']); ?>',
  27. 'siteurl': '<?php echo ($_W['siteurl']); ?>',
  28. 'attachurl': '<?php echo ($_W['attachurl']); ?>',
  29. 'attachurl_local': '<?php echo ($_W['attachurl_local']); ?>',
  30. 'attachurl_remote': '<?php echo ($_W['attachurl_remote']); ?>',
  31. 'module' : {'url' : '<?php if( defined('MODULE_URL') ) { ?>{MODULE_URL}<?php } ?>', 'name' : '<?php if (defined('IN_MODULE') ) { ?>{IN_MODULE}<?php } ?>'},
  32. 'cookie' : {'pre': ''},
  33. 'account' : <?php echo json_encode($_W['account']);?>,
  34. };
  35. </script>
  36. <script type="text/javascript" src="./resource/js/lib/jquery-1.11.1.min.js"></script>
  37. <script type="text/javascript" src="./resource/js/lib/bootstrap.min.js"></script>
  38. <script type="text/javascript" src="./resource/js/app/util.js?v=201903260001"></script>
  39. <script type="text/javascript" src="./resource/js/app/common.min.js?v=201903260001"></script>
  40. <script type="text/javascript" src="./resource/js/require.js?v=201903260001"></script>
  41. <script type="text/javascript" src="./resource/js/lib/jquery.nice-select.js?v=201903260001"></script>
  42. <link rel="stylesheet" href="/layuiadmin/layui/css/layui.css" media="all">
  43. <link href="/static/css/snailfish.css" rel="stylesheet">
  44. <style>
  45. .layui-table > caption + thead > tr:first-child > td, .layui-table > caption + thead > tr:first-child > th, .layui-table > colgroup + thead > tr:first-child > td, .layui-table> colgroup + thead > tr:first-child > th, .layui-table > thead:first-child > tr:first-child > td, .layui-table > thead:first-child > tr:first-child > th {
  46. color: #000;
  47. }
  48. .table>thead>tr>th, .table>tbody>tr>th, .table>tfoot>tr>th, .table>thead>tr>td, .table>tbody>tr>td, .table>tfoot>tr>td {
  49. color: #000;
  50. }
  51. </style>
  52. </head>
  53. <body layadmin-themealias="default">
  54. <div class="layui-fluid">
  55. <div class="layui-card">
  56. <div class="layui-card-header layui-elem-quote">当前位置:<span class="line-text">小程序路径</span></div>
  57. <div class="layui-card-body" style="padding:15px;">
  58. <form action="" method="post" class="layui-form" lay-filter="component-layui-form-item" enctype="multipart/form-data" >
  59. <table class="table table-responsive layui-table" lay-even lay-skin="line" lay-size="lg">
  60. <thead>
  61. <tr>
  62. <th >页面</th>
  63. <th >路径(*用具体内容替换)</th>
  64. <th>&nbsp;</th>
  65. </tr>
  66. </thead>
  67. <tbody>
  68. <tr>
  69. <td>商城首页</td>
  70. <td>
  71. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/pages/index/index">
  72. lionfish_comshop/pages/index/index
  73. </a>
  74. </td>
  75. <td>&nbsp;</td>
  76. </tr>
  77. <tr>
  78. <td>商城首页带团长</td>
  79. <td>
  80. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/pages/index/index?community_id=*">
  81. lionfish_comshop/pages/index/index?community_id=*
  82. </a>
  83. </td>
  84. <td>&nbsp;</td>
  85. </tr>
  86. <tr>
  87. <td>分类</td>
  88. <td>
  89. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/pages/type/index">
  90. lionfish_comshop/pages/type/index
  91. </a>
  92. </td>
  93. <td>&nbsp;</td>
  94. </tr>
  95. <tr>
  96. <td>购物车</td>
  97. <td>
  98. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/pages/order/shopCart">
  99. lionfish_comshop/pages/order/shopCart
  100. </a>
  101. </td>
  102. <td>&nbsp;</td>
  103. </tr>
  104. <tr>
  105. <td>个人中心</td>
  106. <td>
  107. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/pages/user/me">
  108. lionfish_comshop/pages/user/me
  109. </a>
  110. </td>
  111. <td>&nbsp;</td>
  112. </tr>
  113. <tr>
  114. <td>我的订单</td>
  115. <td>
  116. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/pages/order/index">
  117. lionfish_comshop/pages/order/index
  118. </a>
  119. </td>
  120. <td>&nbsp;</td>
  121. </tr>
  122. <tr>
  123. <td>商品详情</td>
  124. <td>
  125. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/pages/goods/goodsDetail?id=*">
  126. lionfish_comshop/pages/goods/goodsDetail?id=*
  127. </a>
  128. </td>
  129. <td>&nbsp;</td>
  130. </tr>
  131. <tr>
  132. <td>团长申请页</td>
  133. <td>
  134. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/moduleA/groupCenter/apply">
  135. lionfish_comshop/moduleA/groupCenter/apply
  136. </a>
  137. </td>
  138. <td>&nbsp;</td>
  139. </tr>
  140. <tr>
  141. <td>供应商申请页</td>
  142. <td>
  143. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/pages/supply/recruit">
  144. lionfish_comshop/pages/supply/recruit
  145. </a>
  146. </td>
  147. <td>&nbsp;</td>
  148. </tr>
  149. <tr>
  150. <td>供应商列表页</td>
  151. <td>
  152. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/pages/supply/index">
  153. lionfish_comshop/pages/supply/index
  154. </a>
  155. </td>
  156. <td>&nbsp;</td>
  157. </tr>
  158. <tr>
  159. <td>某供应商详情页</td>
  160. <td>
  161. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/pages/supply/home?id=*">
  162. lionfish_comshop/pages/supply/home?id=*
  163. </a>
  164. </td>
  165. <td>&nbsp;</td>
  166. </tr>
  167. <tr>
  168. <td>供应商中心</td>
  169. <td>
  170. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/moduleB/supply/index">
  171. lionfish_comshop/moduleB/supply/index
  172. </a>
  173. </td>
  174. <td>&nbsp;</td>
  175. </tr>
  176. <tr>
  177. <td>余额充值</td>
  178. <td>
  179. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/pages/user/charge">
  180. lionfish_comshop/pages/user/charge
  181. </a>
  182. </td>
  183. <td>&nbsp;</td>
  184. </tr>
  185. <tr>
  186. <td>积分签到/积分兑换/积分商城</td>
  187. <td>
  188. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/moduleA/score/signin">
  189. lionfish_comshop/moduleA/score/signin
  190. </a>
  191. </td>
  192. <td>&nbsp;</td>
  193. </tr>
  194. <tr>
  195. <td>我的优惠券</td>
  196. <td>
  197. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/pages/user/coupon">
  198. lionfish_comshop/pages/user/coupon
  199. </a>
  200. </td>
  201. <td>&nbsp;</td>
  202. </tr>
  203. <tr>
  204. <td>会员卡</td>
  205. <td>
  206. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/moduleA/vip/upgrade">
  207. lionfish_comshop/moduleA/vip/upgrade
  208. </a>
  209. </td>
  210. <td>&nbsp;</td>
  211. </tr>
  212. <tr>
  213. <td>拼团首页</td>
  214. <td>
  215. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/moduleA/pin/index">
  216. lionfish_comshop/moduleA/pin/index
  217. </a>
  218. </td>
  219. <td>&nbsp;</td>
  220. </tr>
  221. <tr>
  222. <td>我的拼团</td>
  223. <td>
  224. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/moduleA/pin/me">
  225. lionfish_comshop/moduleA/pin/me
  226. </a>
  227. </td>
  228. <td>&nbsp;</td>
  229. </tr>
  230. <tr>
  231. <td>拼团商品详情</td>
  232. <td>
  233. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/moduleA/pin/goodsDetail?id=*">
  234. lionfish_comshop/moduleA/pin/goodsDetail?id=*
  235. </a>
  236. </td>
  237. <td>&nbsp;</td>
  238. </tr>
  239. <tr>
  240. <td>付费会员首页</td>
  241. <td>
  242. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/moduleA/vip/upgrade">
  243. lionfish_comshop/moduleA/vip/upgrade
  244. </a>
  245. </td>
  246. <td>&nbsp;</td>
  247. </tr>
  248. <tr>
  249. <td>菜谱</td>
  250. <td>
  251. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/moduleA/menu/index">
  252. lionfish_comshop/moduleA/menu/index
  253. </a>
  254. </td>
  255. <td>&nbsp;</td>
  256. </tr>
  257. <tr>
  258. <td>菜谱详情</td>
  259. <td>
  260. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/moduleA/menu/details?id=*">
  261. lionfish_comshop/moduleA/menu/details?id=*
  262. </a>
  263. </td>
  264. <td>&nbsp;</td>
  265. </tr>
  266. <tr>
  267. <td>视频商品列表</td>
  268. <td>
  269. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/moduleA/video/index">
  270. lionfish_comshop/moduleA/video/index
  271. </a>
  272. </td>
  273. <td>&nbsp;</td>
  274. </tr>
  275. <tr>
  276. <td>视频商品详情</td>
  277. <td>
  278. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/moduleA/video/detail?id=*">
  279. lionfish_comshop/moduleA/video/detail?id=*
  280. </a>
  281. </td>
  282. <td>&nbsp;</td>
  283. </tr>
  284. <tr>
  285. <td>分销申请</td>
  286. <td>
  287. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/distributionCenter/pages/recruit">
  288. lionfish_comshop/distributionCenter/pages/recruit
  289. </a>
  290. </td>
  291. <td>&nbsp;</td>
  292. </tr>
  293. <tr>
  294. <td>分销中心</td>
  295. <td>
  296. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/distributionCenter/pages/me">
  297. lionfish_comshop/distributionCenter/pages/me
  298. </a>
  299. </td>
  300. <td>&nbsp;</td>
  301. </tr>
  302. <tr>
  303. <td>分销中心-我的粉丝</td>
  304. <td>
  305. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/distributionCenter/pages/fans">
  306. lionfish_comshop/distributionCenter/pages/fans
  307. </a>
  308. </td>
  309. <td>&nbsp;</td>
  310. </tr>
  311. <tr>
  312. <td>分销中心-推广明细</td>
  313. <td>
  314. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/distributionCenter/pages/goodsDetails">
  315. lionfish_comshop/distributionCenter/pages/goodsDetails
  316. </a>
  317. </td>
  318. <td>&nbsp;</td>
  319. </tr>
  320. <tr>
  321. <td>分销中心-分销提现</td>
  322. <td>
  323. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/distributionCenter/pages/excharge">
  324. lionfish_comshop/distributionCenter/pages/excharge
  325. </a>
  326. </td>
  327. <td>&nbsp;</td>
  328. </tr>
  329. <tr>
  330. <td>分销中心-我的二维码</td>
  331. <td>
  332. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/distributionCenter/pages/share">
  333. lionfish_comshop/distributionCenter/pages/share
  334. </a>
  335. </td>
  336. <td>&nbsp;</td>
  337. </tr>
  338. <tr>
  339. <td>团长中心</td>
  340. <td>
  341. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/moduleA/groupCenter/index">
  342. lionfish_comshop/moduleA/groupCenter/index
  343. </a>
  344. </td>
  345. <td>&nbsp;</td>
  346. </tr>
  347. <tr>
  348. <td>团长中心-我的团单</td>
  349. <td>
  350. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/moduleA/groupCenter/groupList">
  351. lionfish_comshop/moduleA/groupCenter/groupList
  352. </a>
  353. </td>
  354. <td>&nbsp;</td>
  355. </tr>
  356. <tr>
  357. <td>团长中心-社区用户</td>
  358. <td>
  359. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/moduleA/groupCenter/communityMembers">
  360. lionfish_comshop/moduleA/groupCenter/communityMembers
  361. </a>
  362. </td>
  363. <td>&nbsp;</td>
  364. </tr>
  365. <tr>
  366. <td>团长中心-结算记录</td>
  367. <td>
  368. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/moduleA/groupCenter/distributionList">
  369. lionfish_comshop/moduleA/groupCenter/distributionList
  370. </a>
  371. </td>
  372. <td>&nbsp;</td>
  373. </tr>
  374. <tr>
  375. <td>团长中心-我的钱包</td>
  376. <td>
  377. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/moduleA/groupCenter/wallet">
  378. lionfish_comshop/moduleA/groupCenter/wallet
  379. </a>
  380. </td>
  381. <td>&nbsp;</td>
  382. </tr>
  383. <tr>
  384. <td>团长中心-提现申请</td>
  385. <td>
  386. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/moduleA/groupCenter/editInfo">
  387. lionfish_comshop/moduleA/groupCenter/editInfo
  388. </a>
  389. </td>
  390. <td>&nbsp;</td>
  391. </tr>
  392. <tr>
  393. <td>团长中心-核销管理</td>
  394. <td>
  395. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/moduleA/groupCenter/communityMembers">
  396. lionfish_comshop/moduleA/groupCenter/communityMembers
  397. </a>
  398. </td>
  399. <td>&nbsp;</td>
  400. </tr>
  401. <tr>
  402. <td>团长中心-团长分销</td>
  403. <td>
  404. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/moduleA/groupCenter/gruopInfo">
  405. lionfish_comshop/moduleA/groupCenter/gruopInfo
  406. </a>
  407. </td>
  408. <td>&nbsp;</td>
  409. </tr>
  410. <tr>
  411. <td>接龙首页</td>
  412. <td>
  413. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/moduleA/solitaire/index">
  414. lionfish_comshop/moduleA/solitaire/index
  415. </a>
  416. </td>
  417. <td>&nbsp;</td>
  418. </tr>
  419. <tr>
  420. <td>接龙详情</td>
  421. <td>
  422. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/moduleA/solitaire/details?id=*">
  423. lionfish_comshop/moduleA/solitaire/details?id=*
  424. </a>
  425. </td>
  426. <td>&nbsp;</td>
  427. </tr>
  428. <tr>
  429. <td>个人中心--我的接龙</td>
  430. <td>
  431. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/moduleA/solitaire/me">
  432. lionfish_comshop/moduleA/solitaire/me
  433. </a>
  434. </td>
  435. <td>&nbsp;</td>
  436. </tr>
  437. <tr>
  438. <td>附近社区</td>
  439. <td>
  440. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/pages/position/community">
  441. lionfish_comshop/pages/position/community
  442. </a>
  443. </td>
  444. <td>&nbsp;</td>
  445. </tr>
  446. <tr>
  447. <td>常见帮助</td>
  448. <td>
  449. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/pages/user/protocol">
  450. lionfish_comshop/pages/user/protocol
  451. </a>
  452. </td>
  453. <td>&nbsp;</td>
  454. </tr>
  455. <tr>
  456. <td>关于我们</td>
  457. <td>
  458. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/pages/user/articleProtocol?about=1">
  459. lionfish_comshop/pages/user/articleProtocol?about=1
  460. </a>
  461. </td>
  462. <td>&nbsp;</td>
  463. </tr>
  464. <tr>
  465. <td>直播列表</td>
  466. <td>
  467. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/moduleB/live/index">
  468. lionfish_comshop/moduleB/live/index
  469. </a>
  470. </td>
  471. <td>&nbsp;</td>
  472. </tr>
  473. <tr>
  474. <td>直播间</td>
  475. <td>
  476. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/moduleB/__plugin__/wx2b03c6e691cd7370/pages/live-player-plugin?room_id=*">
  477. lionfish_comshop/moduleB/__plugin__/wx2b03c6e691cd7370/pages/live-player-plugin?room_id=*
  478. </a>
  479. </td>
  480. <td>&nbsp;</td>
  481. </tr>
  482. <tr>
  483. <td>主题活动详情</td>
  484. <td>
  485. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/moduleA/special/index?id=*">
  486. lionfish_comshop/moduleA/special/index?id=*
  487. </a>
  488. </td>
  489. <td>&nbsp;</td>
  490. </tr>
  491. <tr>
  492. <td>礼品卡兑换中心</td>
  493. <td>
  494. <a href="javascript:;" class="js-clip line-text" data-url="lionfish_comshop/moduleB/virtualcard/index">
  495. lionfish_comshop/moduleB/virtualcard/index
  496. </a>
  497. </td>
  498. <td>&nbsp;</td>
  499. </tr>
  500. </tbody>
  501. </table>
  502. </form>
  503. </div>
  504. </div>
  505. </div>
  506. <script src="/layuiadmin/layui/layui.js"></script>
  507. <script>
  508. layui.config({
  509. base: '/layuiadmin/' //静态资源所在路径
  510. }).extend({
  511. index: 'lib/index' //主入口模块
  512. }).use('index');
  513. </script>
  514. <script>
  515. //由于模块都一次性加载,因此不用执行 layui.use() 来加载对应模块,直接使用即可:
  516. var layer = layui.layer;
  517. var $;
  518. layui.use(['jquery', 'layer','form','colorpicker'], function(){
  519. $ = layui.$;
  520. var form = layui.form;
  521. var colorpicker = layui.colorpicker;
  522. var nav_bg_color = '<?php echo ($data["nav_bg_color"]); ?>';
  523. //表单赋值
  524. colorpicker.render({
  525. elem: '#minicolors'
  526. ,color: nav_bg_color ? nav_bg_color : '#F75451'
  527. ,done: function(color){
  528. $('#test-colorpicker-form-input').val(color);
  529. }
  530. });
  531. var index_top_font_color = '<?php echo ($data["index_top_font_color"]); ?>';
  532. colorpicker.render({
  533. elem: '#minicolors2'
  534. ,color: index_top_font_color ? index_top_font_color : '#FFFFFF'
  535. ,done: function(color){
  536. $('#test-colorpicker-form-input2').val(color);
  537. }
  538. });
  539. //监听提交
  540. form.on('submit(formDemo)', function(data){
  541. $.ajax({
  542. url: data.form.action,
  543. type: data.form.method,
  544. data: data.field,
  545. dataType:'json',
  546. success: function (info) {
  547. if(info.status == 0)
  548. {
  549. layer.msg(info.result.message,{icon: 1,time: 2000});
  550. }else if(info.status == 1){
  551. var go_url = location.href;
  552. if( info.result.hasOwnProperty("url") )
  553. {
  554. go_url = info.result.url;
  555. }
  556. layer.msg('操作成功',{time: 1000,
  557. end:function(){
  558. location.href = info.result.url;
  559. }
  560. });
  561. }
  562. }
  563. });
  564. return false;
  565. });
  566. })
  567. </script>
  568. </body>