Sfoglia il codice sorgente

feat:gitnore忽略

yangfeng 3 anni fa
parent
commit
961aaa1512
100 ha cambiato i file con 14586 aggiunte e 1 eliminazioni
  1. 0 1
      .gitignore
  2. 128 0
      entbase-mobile/page_entbase_mobile/component/auto-adjust-heihgt-textarea.html
  3. 44 0
      entbase-mobile/page_entbase_mobile/component/button-group.html
  4. 30 0
      entbase-mobile/page_entbase_mobile/component/header.html
  5. 102 0
      entbase-mobile/page_entbase_mobile/component/j-loading.html
  6. 144 0
      entbase-mobile/page_entbase_mobile/component/list.html
  7. 45 0
      entbase-mobile/page_entbase_mobile/component/meta.html
  8. 159 0
      entbase-mobile/page_entbase_mobile/component/reset-weui.html
  9. 130 0
      entbase-mobile/page_entbase_mobile/component/switch&checkbox.html
  10. 98 0
      entbase-mobile/page_entbase_mobile/css/add_ent.css
  11. 47 0
      entbase-mobile/page_entbase_mobile/css/add_personnel.css
  12. 362 0
      entbase-mobile/page_entbase_mobile/css/addition_exclusive_word.css
  13. 71 0
      entbase-mobile/page_entbase_mobile/css/auth_management.css
  14. 185 0
      entbase-mobile/page_entbase_mobile/css/base.css
  15. 161 0
      entbase-mobile/page_entbase_mobile/css/bind_result.css
  16. 248 0
      entbase-mobile/page_entbase_mobile/css/buy_production.css
  17. 142 0
      entbase-mobile/page_entbase_mobile/css/choose_admin.css
  18. 563 0
      entbase-mobile/page_entbase_mobile/css/choose_area.css
  19. 92 0
      entbase-mobile/page_entbase_mobile/css/choose_branch.css
  20. 636 0
      entbase-mobile/page_entbase_mobile/css/choose_industry.css
  21. 173 0
      entbase-mobile/page_entbase_mobile/css/choose_user.css
  22. 45 0
      entbase-mobile/page_entbase_mobile/css/enterprise_architecture.css
  23. 105 0
      entbase-mobile/page_entbase_mobile/css/introduce_page.css
  24. 579 0
      entbase-mobile/page_entbase_mobile/css/keyWord.css
  25. 120 0
      entbase-mobile/page_entbase_mobile/css/messageType.css
  26. 269 0
      entbase-mobile/page_entbase_mobile/css/people_management.css
  27. 155 0
      entbase-mobile/page_entbase_mobile/css/personnel_info.css
  28. 746 0
      entbase-mobile/page_entbase_mobile/css/public.css
  29. 4 0
      entbase-mobile/page_entbase_mobile/css/styles.pure.css
  30. 89 0
      entbase-mobile/page_entbase_mobile/css/sub_entrance.css
  31. 127 0
      entbase-mobile/page_entbase_mobile/css/sub_management.css
  32. 14 0
      entbase-mobile/page_entbase_mobile/css/swiper.min.css
  33. 60 0
      entbase-mobile/page_entbase_mobile/css/switch_mode.css
  34. 157 0
      entbase-mobile/page_entbase_mobile/css/treasure_box.css
  35. 4 0
      entbase-mobile/page_entbase_mobile/css/weui.min.css
  36. 3 0
      entbase-mobile/page_entbase_mobile/iconfont/iconfont.css
  37. BIN
      entbase-mobile/page_entbase_mobile/iconfont/iconfont.eot
  38. BIN
      entbase-mobile/page_entbase_mobile/iconfont/iconfont.ttf
  39. BIN
      entbase-mobile/page_entbase_mobile/iconfont/iconfont.woff
  40. BIN
      entbase-mobile/page_entbase_mobile/iconfont/iconfont.woff2
  41. BIN
      entbase-mobile/page_entbase_mobile/image/active_disabled.png
  42. BIN
      entbase-mobile/page_entbase_mobile/image/banner_title.png
  43. BIN
      entbase-mobile/page_entbase_mobile/image/bg.jpg
  44. BIN
      entbase-mobile/page_entbase_mobile/image/close.png
  45. BIN
      entbase-mobile/page_entbase_mobile/image/empty.png
  46. BIN
      entbase-mobile/page_entbase_mobile/image/icon_add.png
  47. BIN
      entbase-mobile/page_entbase_mobile/image/item-img-1.png
  48. BIN
      entbase-mobile/page_entbase_mobile/image/item-img-10.png
  49. BIN
      entbase-mobile/page_entbase_mobile/image/item-img-11.png
  50. BIN
      entbase-mobile/page_entbase_mobile/image/item-img-12.png
  51. BIN
      entbase-mobile/page_entbase_mobile/image/item-img-13.png
  52. BIN
      entbase-mobile/page_entbase_mobile/image/item-img-14.png
  53. BIN
      entbase-mobile/page_entbase_mobile/image/item-img-15.png
  54. BIN
      entbase-mobile/page_entbase_mobile/image/item-img-16.png
  55. BIN
      entbase-mobile/page_entbase_mobile/image/item-img-17.png
  56. BIN
      entbase-mobile/page_entbase_mobile/image/item-img-18.png
  57. BIN
      entbase-mobile/page_entbase_mobile/image/item-img-19.png
  58. BIN
      entbase-mobile/page_entbase_mobile/image/item-img-2.png
  59. BIN
      entbase-mobile/page_entbase_mobile/image/item-img-3.png
  60. BIN
      entbase-mobile/page_entbase_mobile/image/item-img-4.png
  61. BIN
      entbase-mobile/page_entbase_mobile/image/item-img-5.png
  62. BIN
      entbase-mobile/page_entbase_mobile/image/item-img-6.png
  63. BIN
      entbase-mobile/page_entbase_mobile/image/item-img-7.png
  64. BIN
      entbase-mobile/page_entbase_mobile/image/item-img-8.png
  65. BIN
      entbase-mobile/page_entbase_mobile/image/item-img-9.png
  66. BIN
      entbase-mobile/page_entbase_mobile/image/marker.png
  67. BIN
      entbase-mobile/page_entbase_mobile/image/merge.png
  68. BIN
      entbase-mobile/page_entbase_mobile/image/part.png
  69. BIN
      entbase-mobile/page_entbase_mobile/image/pic-code.png
  70. BIN
      entbase-mobile/page_entbase_mobile/image/sj_item_1.png
  71. BIN
      entbase-mobile/page_entbase_mobile/image/sj_item_2.png
  72. BIN
      entbase-mobile/page_entbase_mobile/image/sj_item_3.png
  73. BIN
      entbase-mobile/page_entbase_mobile/image/sj_item_4.png
  74. BIN
      entbase-mobile/page_entbase_mobile/image/subtract.png
  75. BIN
      entbase-mobile/page_entbase_mobile/image/treasure_box_bg.jpg
  76. BIN
      entbase-mobile/page_entbase_mobile/image/treasure_box_bg.png
  77. BIN
      entbase-mobile/page_entbase_mobile/image/weixin.png
  78. BIN
      entbase-mobile/page_entbase_mobile/image/xuanzhogn-transparent.png
  79. BIN
      entbase-mobile/page_entbase_mobile/image/xuanzhong.png
  80. BIN
      entbase-mobile/page_entbase_mobile/image/zhifubao.png
  81. 405 0
      entbase-mobile/page_entbase_mobile/js/additionWord.js
  82. 456 0
      entbase-mobile/page_entbase_mobile/js/choose-area.js
  83. 267 0
      entbase-mobile/page_entbase_mobile/js/choose_industry.js
  84. 898 0
      entbase-mobile/page_entbase_mobile/js/common.js
  85. 0 0
      entbase-mobile/page_entbase_mobile/js/common.min.js
  86. 671 0
      entbase-mobile/page_entbase_mobile/js/commonForVue.js
  87. 489 0
      entbase-mobile/page_entbase_mobile/js/dispense_choose_area.js
  88. 421 0
      entbase-mobile/page_entbase_mobile/js/exclusiveWord.js
  89. 841 0
      entbase-mobile/page_entbase_mobile/js/fastclick.js
  90. 78 0
      entbase-mobile/page_entbase_mobile/js/filter_words.js
  91. 80 0
      entbase-mobile/page_entbase_mobile/js/filter_words_old.js
  92. 1 0
      entbase-mobile/page_entbase_mobile/js/jquery-2.1.4.min.js
  93. 1017 0
      entbase-mobile/page_entbase_mobile/js/keyWord.js
  94. 2453 0
      entbase-mobile/page_entbase_mobile/js/mapJSON.js
  95. 13 0
      entbase-mobile/page_entbase_mobile/js/rem.js
  96. 1 0
      entbase-mobile/page_entbase_mobile/js/rem.min.js
  97. 434 0
      entbase-mobile/page_entbase_mobile/js/sub_entrance.js
  98. 14 0
      entbase-mobile/page_entbase_mobile/js/swiper.min.js
  99. 1 0
      entbase-mobile/page_entbase_mobile/js/template-web.js
  100. 9 0
      entbase-mobile/page_entbase_mobile/js/weui.min.js

+ 0 - 1
.gitignore

@@ -3,7 +3,6 @@ node_modules
 dist
 rev
 page_entbase_pc
-page_entbase_mobile
 # local env files
 .env.local
 .env.*.local

+ 128 - 0
entbase-mobile/page_entbase_mobile/component/auto-adjust-heihgt-textarea.html

@@ -0,0 +1,128 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport"
+        content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <meta name="apple-mobile-web-app-status-bar-style" content="black">
+    <meta http-equiv="X-UA-Compatible" content="ie=edge">
+    <title>高度自适应的textarea</title>
+    <script src="../js/rem.js"></script>
+    <link rel="stylesheet" href="../css/base.css">
+    <link rel="stylesheet" href="../iconfont/iconfont.css">
+    <link rel="stylesheet" href="../css/public.css">
+    <style>
+        #textarea {
+            display: block;
+            margin: 0 auto;
+            overflow: hidden;
+            width: 90%;
+            font-size: 14px;
+            height: 18px;
+            line-height: 24px;
+            padding: 2px;
+        }
+
+        textarea {
+            outline: 0 none;
+            border-color: rgba(82, 168, 236, 0.8);
+            box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.1), 0 0 8px rgba(82, 168, 236, 0.6);
+        }
+    </style>
+</head>
+
+<body>
+    <div class="j-container">
+        <div class="j-header">
+            <span class="header-left iconfont icon-fanhui"></span>
+            <span class="header-title">订阅设置</span>
+            <span class="header-right">完成</span>
+        </div>
+        <div class="j-body">
+            <textarea id="textarea" placeholder="回复内容"></textarea>
+        </div>
+        <div class="j-footer"></div>
+    </div>
+
+    <script src="../js/jquery-2.1.4.min.js"></script>
+    <script src="../js/common.js"></script>
+    <script>
+        // 参考1:https://www.cnblogs.com/7qin/p/10660687.html
+        // 参考2:http://caibaojian.com/textarea-autoheight.html
+        /**
+        * 文本框根据输入内容自适应高度
+        * @param                {HTMLElement}        输入框元素
+        * @param                {Number}                设置光标与输入框保持的距离(默认0)
+        * @param                {Number}                设置最大高度(可选)
+        */
+        var autoTextarea = function (elem, extra, maxHeight) {
+            extra = extra || 0;
+            var isFirefox = !!document.getBoxObjectFor || 'mozInnerScreenX' in window,
+                isOpera = !!window.opera && !!window.opera.toString().indexOf('Opera'),
+                addEvent = function (type, callback) {
+                    elem.addEventListener ?
+                        elem.addEventListener(type, callback, false) :
+                        elem.attachEvent('on' + type, callback);
+                },
+                getStyle = elem.currentStyle ? function (name) {
+                    var val = elem.currentStyle[name];
+
+                    if (name === 'height' && val.search(/px/i) !== 1) {
+                        var rect = elem.getBoundingClientRect();
+                        return rect.bottom - rect.top -
+                            parseFloat(getStyle('paddingTop')) -
+                            parseFloat(getStyle('paddingBottom')) + 'px';
+                    };
+
+                    return val;
+                } : function (name) {
+                    return getComputedStyle(elem, null)[name];
+                },
+                minHeight = parseFloat(getStyle('height'));
+
+            elem.style.resize = 'none';
+
+            var change = function () {
+                var scrollTop, height,
+                    padding = 0,
+                    style = elem.style;
+
+                if (elem._length === elem.value.length) return;
+                elem._length = elem.value.length;
+
+                if (!isFirefox && !isOpera) {
+                    padding = parseInt(getStyle('paddingTop')) + parseInt(getStyle('paddingBottom'));
+                };
+                scrollTop = document.body.scrollTop || document.documentElement.scrollTop;
+
+                elem.style.height = minHeight + 'px';
+                if (elem.scrollHeight > minHeight) {
+                    if (maxHeight && elem.scrollHeight > maxHeight) {
+                        height = maxHeight - padding;
+                        style.overflowY = 'auto';
+                    } else {
+                        height = elem.scrollHeight - padding;
+                        style.overflowY = 'hidden';
+                    };
+                    style.height = height + extra + 'px';
+                    scrollTop += parseInt(style.height) - elem.currHeight;
+                    document.body.scrollTop = scrollTop;
+                    document.documentElement.scrollTop = scrollTop;
+                    elem.currHeight = parseInt(style.height);
+                };
+            };
+
+            addEvent('propertychange', change);
+            addEvent('input', change);
+            addEvent('focus', change);
+            change();
+        };
+
+        var text = document.getElementById("textarea");
+        autoTextarea(text);// 调用
+    </script>
+</body>
+
+</html>

+ 44 - 0
entbase-mobile/page_entbase_mobile/component/button-group.html

@@ -0,0 +1,44 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport"
+        content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <meta name="apple-mobile-web-app-status-bar-style" content="black">
+    <meta http-equiv="X-UA-Compatible" content="ie=edge">
+    <title>button-group</title>
+    <script src="../js/rem.js"></script>
+    <link rel="stylesheet" href="../css/base.css">
+    <link rel="stylesheet" href="../css/public.css">
+    <link rel="stylesheet" href="../iconfont/iconfont.css">
+</head>
+
+<body>
+    <div class="j-container">
+        <div class="j-header">
+            <span class="header-left iconfont icon-fanhui"></span>
+            <span class="header-title">订阅设置</span>
+            <span class="header-right">完成</span>
+        </div>
+        <div class="j-body"></div>
+        <!-- buttonGroup一般放在footer中 -->
+        <!-- buttonGroup下必须为button标签 -->
+        <div class="j-footer">
+            <div class="j-button-group">
+                <button class="j-button-cancel">重置</button>
+                <button class="j-button-confirm">确认</button>
+            </div>
+            <div class="j-button-group">
+                <button class="j-button-confirm">确认</button>
+            </div>
+            <div class="j-button-group">
+                <button class="j-button-cancel" disabled>重置</button>
+                <button class="j-button-confirm" disabled>确认</button>
+            </div>
+        </div>
+    </div>
+</body>
+
+</html>

+ 30 - 0
entbase-mobile/page_entbase_mobile/component/header.html

@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport"
+        content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <meta name="apple-mobile-web-app-status-bar-style" content="black">
+    <meta http-equiv="X-UA-Compatible" content="ie=edge">
+    <title>Header</title>
+    <script src="../js/rem.js"></script>
+    <link rel="stylesheet" href="../css/base.css">
+    <link rel="stylesheet" href="../iconfont/iconfont.css">
+    <link rel="stylesheet" href="../css/public.css">
+</head>
+
+<body>
+    <div class="j-container">
+        <div class="j-header">
+            <span class="header-left iconfont icon-fanhui"></span>
+            <span class="header-title">订阅设置</span>
+            <span class="header-right">完成</span>
+        </div>
+        <div class="j-body"></div>
+        <div class="j-footer"></div>
+    </div>
+</body>
+
+</html>

+ 102 - 0
entbase-mobile/page_entbase_mobile/component/j-loading.html

@@ -0,0 +1,102 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport"
+        content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <meta name="apple-mobile-web-app-status-bar-style" content="black">
+    <meta http-equiv="X-UA-Compatible" content="ie=edge">
+    <title>loading</title>
+    <script src="../js/rem.js"></script>
+    <link rel="stylesheet" href="../css/base.css">
+    <link rel="stylesheet" href="../iconfont/iconfont.css">
+    <link rel="stylesheet" href="../css/public.css">
+    <style>
+        .j-container {
+            background-color: #fff;
+        }
+    </style>
+</head>
+
+<body>
+    <div class="j-container">
+        <div class="j-header">
+            <span class="header-left iconfont icon-fanhui"></span>
+            <span class="header-title">loading</span>
+            <span class="header-right">done</span>
+        </div>
+        <div class="j-body">
+            <button class="j-button d">显示loading</button>
+        </div>
+        <div class="j-footer"></div>
+    </div>
+
+    <!-- <div class='j-loading'>
+        <div class="j-mask black"></div>
+        <div class="j-toast">
+            <i class="j-toast_icon j-loading-icon"></i>
+            <p class="j-toast_content">loading</p>
+        </div>
+    </div> -->
+
+    <script src="../js/jquery-2.1.4.min.js"></script>
+    <script src="../js/common.js"></script>
+    <script>
+        // 新增ajax全局loading状态
+        $('.j-button.d').on('click', function () {
+            // 单独使用loading弹框
+            var loading = vTools.jLoading({
+                content: '加载中...',
+                bgc: 'black',
+                iconHide: true,
+                // 可选。传入固定宽度,需要带单位,最大为6.2rem,超过6.2rem则按6.2rem显示
+                width: '5rem',
+                // 多长时间后自己关闭,单位ms
+                // 如果不传duration,则不会关闭,需要自己调用hide()手动关闭
+                duration: 1500,
+                // 关闭的回调,只有传duration,并且duration为正数时才会起作用
+                callback: function() {
+                    alert('关闭回调')
+                }
+            })
+
+            // 同样还可以使用loading.hide()手动关闭
+            // 一般情况下,这两种回调最好使用只一个,不然会有意想不到的冲突
+            
+            // loading.hide(function() {
+            //     alert('手动关闭回调')
+            // })
+        })
+
+
+        // 在ajax请求中使用loading弹框
+        vTools.ajax({
+            url: '/ent/entinfo',
+            type: 'POST',
+            // 如果要想显示loading需要在对象中添加一个loading属性
+            // 当loading属性值为{}时,显示默认样式
+            // loading: {},
+
+            // iconHide: true表示隐藏loading图标,如果不想隐藏,该参数不传
+            loading: {
+                content: '加载中...',
+                bgc: 'black',
+                // iconHide: true
+            },
+            success: function (res) {
+                console.log('ajax success');
+                console.log(res);
+            },
+            error: function (err) {
+                console.log(err);
+            },
+            complete: function() {
+                console.log('ajax complete');
+            }
+        })
+    </script>
+</body>
+
+</html>

+ 144 - 0
entbase-mobile/page_entbase_mobile/component/list.html

@@ -0,0 +1,144 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport"
+        content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <meta name="apple-mobile-web-app-status-bar-style" content="black">
+    <meta http-equiv="X-UA-Compatible" content="ie=edge">
+    <title>List</title>
+    <script src="../js/rem.js"></script>
+    <link rel="stylesheet" href="../css/weui.min.css">
+    <link rel="stylesheet" href="../css/base.css">
+    <link rel="stylesheet" href="../iconfont/iconfont.css">
+    <link rel="stylesheet" href="../css/public.css">
+    <style>
+        .j-body {
+            padding-top: 20px;
+            background-color: #fff;
+        }
+        .j-cells {
+            margin-top: 20px;
+        }
+    </style>
+</head>
+
+<body>
+    <div class="j-container">
+        <div class="j-header">
+            <span class="header-left iconfont icon-fanhui"></span>
+            <span class="header-title">List</span>
+            <span class="header-right">完成</span>
+        </div>
+        <div class="j-body">
+            <div class="j-cells">
+                <a class="j-cell" href="javascript:;">
+                    <div class="j-cell_left iconfont icon-yijianfankui"></div>
+                    <div class="j-cell_right">
+                        <div class="j-cell_rl">运营部</div>
+                        <div class="j-cell_rr">
+                            <span class="j-cell-text">5人</span>
+                            <i class="iconfont icon-arrow"></i>
+                        </div>
+                    </div>
+                </a>
+                <a class="j-cell" href="javascript:;">
+                    <div class="j-cell_left iconfont icon-yijianfankui"></div>
+                    <div class="j-cell_right">
+                        <div class="j-cell_rl">运营部</div>
+                        <div class="j-cell_rr">
+                            <span class="j-cell-text">5人</span>
+                            <i class="iconfont icon-arrow"></i>
+                        </div>
+                    </div>
+                </a>
+                <a class="j-cell" href="javascript:;">
+                    <div class="j-cell_left iconfont icon-yijianfankui"></div>
+                    <div class="j-cell_right">
+                        <div class="j-cell_rl">运营部</div>
+                        <div class="j-cell_rr">
+                            <span class="j-cell-text">5人</span>
+                            <i class="iconfont icon-arrow"></i>
+                        </div>
+                    </div>
+                </a>
+            </div>
+
+            <!-- 在j-cells上添加一个with-icon类名,并使用下面的结构 -->
+            <div class="j-cells without-icon">
+                <a class="j-cell" href="javascript:;">
+                    <div class="j-cell_left">运营部</div>
+                    <div class="j-cell_right">
+                        <span class="j-cell-text ellipsis">5人</span>
+                        <i class="iconfont icon-arrow"></i>
+                    </div>
+                </a>
+                <a class="j-cell" href="javascript:;">
+                    <div class="j-cell_left">运营部</div>
+                    <div class="j-cell_right">
+                        <span class="j-cell-text ellipsis">5人</span>
+                        <i class="iconfont icon-arrow"></i>
+                    </div>
+                </a>
+                <a class="j-cell" href="javascript:;">
+                    <div class="j-cell_left">运营部</div>
+                    <div class="j-cell_right">
+                        <span class="j-cell-text ellipsis">5人</span>
+                        <i class="iconfont icon-arrow"></i>
+                    </div>
+                </a>
+            </div>
+
+            
+            <!-- 在j-cells上添加一个with-sub-info类名,并使用下面的结构,在稍微修饰 -->
+            <style>
+                .with-sub-info {
+                    border: 1px solid sienna;
+                }
+                .with-sub-info .j-cell.area .j-cell_right {
+                    max-width: 72%;
+                }
+            </style>
+            <div class="j-cells with-sub-info">
+                <div class="j-cell area">
+                    <div class="cell-hd">
+                        <div class="j-cell_left">区域</div>
+                        <div class="j-cell_right">
+                            <!-- <span class="j-cell-text ellipsis">请选择区域</span> -->
+                            <span class="j-cell-text ellipsis">9个省、3个市(分布在2个省内)</span>
+                            <i class="iconfont icon-arrow"></i>
+                        </div>
+                    </div>
+                    <div class="cell-ft ellipsis">安徽、北京、重庆、河南(郑州、许昌)、河北(保定、许昌)</div>
+                </div>
+                <div class="j-cell">
+                    <div class="cell-hd">
+                        <div class="j-cell_left">采购单位行业</div>
+                        <div class="j-cell_right">
+                            <!-- <span class="j-cell-text ellipsis">请选择采购单位行业</span> -->
+                            <span class="j-cell-text ellipsis">3个行业</span>
+                            <i class="iconfont icon-arrow"></i>
+                        </div>
+                    </div>
+                    <div class="cell-ft ellipsis">安监、保监、财政</div>
+                </div>
+                <div class="j-cell">
+                    <div class="cell-hd">
+                        <div class="j-cell_left">关键词</div>
+                        <div class="j-cell_right">
+                            <!-- <span class="j-cell-text ellipsis">请按关键词分类选择</span> -->
+                            <span class="j-cell-text ellipsis">1个分类</span>
+                            <i class="iconfont icon-arrow"></i>
+                        </div>
+                    </div>
+                    <div class="cell-ft ellipsis">未分类</div>
+                </div>
+            </div>
+        </div>
+        <div class="j-footer"></div>
+    </div>
+</body>
+
+</html>

+ 45 - 0
entbase-mobile/page_entbase_mobile/component/meta.html

@@ -0,0 +1,45 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+
+<head>
+    <meta charset="UTF-8">
+    <!-- 禁止双击缩放 -->
+    <meta name="viewport"
+        content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
+    <!--删除苹果默认的工具栏和菜单栏 -->
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <!--隐藏状态栏/设置状态栏颜色 -->
+    <meta name="apple-mobile-web-app-status-bar-style" content="black">
+    <!--QQ强制全屏-->
+    <meta name="x5-fullscreen" content="true">
+    <!--UC强制全屏-->
+    <meta name="fullscreen" content="yes">
+
+    <!-- ios禁止自动识别手机号 -->
+    <meta name="format-detection" content="telephone=no, email=no"/>
+    
+    <meta http-equiv="X-UA-Compatible" content="ie=edge">
+    <title>Meta</title>
+    <script src="../js/rem.js"></script>
+    <link rel="stylesheet" href="../css/weui.min.css">
+    <link rel="stylesheet" href="../css/base.css">
+    <link rel="stylesheet" href="../iconfont/iconfont.css">
+    <link rel="stylesheet" href="../css/public.css">
+</head>
+
+<body>
+    <div class="j-container">
+        <div class="j-header">
+            <span class="header-left iconfont icon-fanhui"></span>
+            <span class="header-title">Meta标签</span>
+            <span class="header-right">完成</span>
+        </div>
+        <div class="j-body"></div>
+        <div class="j-footer"></div>
+    </div>
+
+    <script src="../js/jquery-2.1.4.min.js"></script>
+    <script src="../js/common.js"></script>
+</body>
+
+</html>

+ 159 - 0
entbase-mobile/page_entbase_mobile/component/reset-weui.html

@@ -0,0 +1,159 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport"
+        content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <meta name="apple-mobile-web-app-status-bar-style" content="black">
+    <meta http-equiv="X-UA-Compatible" content="ie=edge">
+    <title>重置weui的样式</title>
+    <script src="../js/rem.js"></script>
+    <link rel="stylesheet" href="../css/weui.min.css">
+    <link rel="stylesheet" href="../css/base.css">
+    <link rel="stylesheet" href="../iconfont/iconfont.css">
+    <link rel="stylesheet" href="../css/public.css">
+    <style>
+        .j-body {
+            padding-top: 20px;
+            background-color: #fff;
+        }
+
+        .j-cell {
+            border-bottom: 1px dashed sienna;
+        }
+
+        .weui-btn {
+            width: auto;
+        }
+    </style>
+</head>
+
+<body>
+    <div class="j-container">
+        <div class="j-header">
+            <span class="header-left iconfont icon-fanhui"></span>
+            <span class="header-title">重置weui的样式</span>
+            <span class="header-right">完成</span>
+        </div>
+        <div class="j-body">
+            <!-- 在j-cells上添加一个with-icon类名,并使用下面的结构 -->
+            <div class="j-cells without-icon">
+                <a class="j-cell alert1" href="javascript:;">
+                    <div class="weui-btn weui-btn_primary">使用j-alert不带title</div>
+                </a>
+                <a class="j-cell alert2" href="javascript:;">
+                    <div class="weui-btn weui-btn_primary">使用j-alert带title</div>
+                </a>
+                <a class="j-cell confirm" href="javascript:;">
+                    <div class="weui-btn weui-btn_primary">weui的confirm方法,使用j-alert类名</div>
+                </a>
+                <a class="j-cell dialog" href="javascript:;">
+                    <div class="weui-btn weui-btn_primary">使用j-dialog类名</div>
+                </a>
+                <a class="j-cell toast" href="javascript:;">
+                    <div class="weui-btn weui-btn_primary">使用j-toast类名</div>
+                </a>
+
+                <a class="j-cell" href="https://weui.io/">
+                    <div class="weui-btn weui-btn_primary">weui.io</div>
+                </a>
+                <a class="j-cell" href="https://weui.io/weui.js/">
+                    <div class="weui-btn weui-btn_primary">weui.js</div>
+                </a>
+            </div>
+        </div>
+        <div class="j-footer"></div>
+    </div>
+    <script src="../js/jquery-2.1.4.min.js"></script>
+    <script src="../js/weui.min.js"></script>
+    <script src="../js/common.js"></script>
+    <script>
+        // weui.css示例: https://weui.io/
+        // weui.js示例:  https://weui.io/weui.js/
+        // weui.js文档:  https://www.kancloud.cn/ywfwj2008/weuijs/274297
+        var ui = {
+            init: function () {
+                this.alertClickEvent()
+                this.confirmClickEvent()
+                this.dialogClickEvent()
+                this.toastClickEvent()
+            },
+            alertClickEvent: function () {
+                $('.j-cell.alert1').on('click', function () {
+                    weui.alert('中心提示文字,具体样式自定义', {
+                        // title: '有title时可以加上',
+                        className: 'j-alert',
+                        buttons: [{
+                            label: '我知道了',
+                            type: 'primary',
+                            onClick: function () { console.log('ok') }
+                        }]
+                    });
+                })
+                $('.j-cell.alert2').on('click', function () {
+                    weui.alert('中心提示文字,具体样式自定义', {
+                        title: '有title时可以加上',
+                        className: 'j-alert',
+                        buttons: [{
+                            label: '我知道了',
+                            type: 'primary',
+                            onClick: function () { console.log('ok') }
+                        }]
+                    });
+                })
+            },
+            confirmClickEvent: function () {
+                $('.j-cell.confirm').on('click', function () {
+                    weui.confirm('自定义了三种样式:<p>default黑色</p><p>primary蓝色</p><p>warning红色</p><b>这三个类要写在buttons数组中每一项的type属性上</b>', {
+                        title: 'confirm也是用j-alert类名',
+                        className: 'j-alert',
+                        buttons: [{
+                            label: 'NO',
+                            type: 'default',
+                            onClick: function () { console.log('no') }
+                        }, {
+                            label: 'YES',
+                            type: 'warning',
+                            onClick: function () { console.log('yes') }
+                        }]
+                    });
+                })
+            },
+            dialogClickEvent: function () {
+                $('.j-cell.dialog').on('click', function () {
+                    weui.dialog({
+                        title: 'dialog标题',
+                        content: 'dialog内容',
+                        className: 'j-dialog',
+                        buttons: [{
+                            label: '取消',
+                            type: 'default',
+                            onClick: function () { console.log('取消') }
+                        }, {
+                            label: '确定',
+                            type: 'primary',
+                            onClick: function () { console.log('确定') }
+                        }]
+                    });
+                })
+            },
+            toastClickEvent: function () {
+                $('.j-cell.toast').on('click', function () {
+                    weui.toast('操作成功', {
+                        duration: 3000,
+                        className: 'j-toast',
+                        callback: function(){ console.log('close') }
+                    });
+                })
+            },
+        }
+        console.log(ui);
+
+        ui.init()
+
+    </script>
+</body>
+
+</html>

+ 130 - 0
entbase-mobile/page_entbase_mobile/component/switch&checkbox.html

@@ -0,0 +1,130 @@
+<!DOCTYPE html>
+<html lang="zh-CN">
+
+<head>
+    <meta charset="UTF-8">
+    <meta name="viewport"
+        content="width=device-width,initial-scale=1,minimum-scale=1,maximum-scale=1,user-scalable=no" />
+    <meta name="apple-mobile-web-app-capable" content="yes">
+    <meta name="apple-mobile-web-app-status-bar-style" content="black">
+    <meta http-equiv="X-UA-Compatible" content="ie=edge">
+    <title>Switch and CheckBox</title>
+    <script src="../js/rem.js"></script>
+    <link rel="stylesheet" href="../css/weui.min.css">
+    <link rel="stylesheet" href="../css/base.css">
+    <link rel="stylesheet" href="../iconfont/iconfont.css">
+    <link rel="stylesheet" href="../css/public.css">
+    <style>
+        .j-body {
+            padding-top: 20px;
+            background-color: #fff;
+        }
+
+        .j-cells .j-cell_right:after {
+            left: 0.32rem;
+        }
+
+        .j-cell.blue-bgc {
+            background-color: #2ABED1;
+            /* color: #fff; */
+        }
+
+        .column {
+            flex-direction: column;
+        }
+    </style>
+</head>
+
+<body>
+    <div class="j-container">
+        <div class="j-header">
+            <span class="header-left iconfont icon-fanhui"></span>
+            <span class="header-title">Switch and CheckBox</span>
+            <span class="header-right">完成</span>
+        </div>
+        <div class="j-body">
+            <div class="switch j-cells">
+                <div class="j-cell">
+                    <div class="j-cell_left">
+                        j-switch
+                    </div>
+                    <div class="j-cell_right">
+                        <input class="j-switch" type="checkbox">
+                    </div>
+                </div>
+                <div class="j-cell">
+                    <div class="j-cell_left">
+                        weui-switch
+                    </div>
+                    <div class="j-cell_right">
+                        <input class="weui-switch" type="checkbox">
+                    </div>
+                </div>
+                <div class="j-cell">
+                    <div class="j-cell_left">
+                        checkbox 单选框
+                    </div>
+                    <div class="j-cell_right">
+                        <input type="radio" class="checkbox" name="mode1">
+                        <input type="radio" class="checkbox" name="mode1">
+                        <input type="radio" class="checkbox" name="mode1">
+                        <input type="radio" class="checkbox" name="mode1">
+                    </div>
+                </div>
+                <div class="j-cell">
+                    <div class="j-cell_left">
+                        checkbox 多选框
+                    </div>
+                    <div class="j-cell_right">
+                        <input type="checkbox" class="checkbox">
+                        <input type="checkbox" class="checkbox">
+                        <input type="checkbox" class="checkbox">
+                        <input type="checkbox" class="checkbox">
+                    </div>
+                </div>
+
+                
+                <div class="j-cell blue-bgc">
+                    <div class="j-cell_left">
+                        蓝色背景的单选
+                    </div>
+                    <!-- 需要在input上多加一个 transparent 类名 -->
+                    <div class="j-cell_right">
+                        <input type="radio" class="checkbox transparent" name="mode2">
+                        <input type="radio" class="checkbox transparent" name="mode2">
+                        <input type="radio" class="checkbox transparent" name="mode2">
+                        <input type="radio" class="checkbox transparent" name="mode2">
+                    </div>
+                </div>
+                <div class="j-cell blue-bgc">
+                    <div class="j-cell_left">
+                        蓝色背景的多选
+                    </div>
+                    <!-- 需要在input上多加一个 transparent 类名 -->
+                    <div class="j-cell_right">
+                        <input type="checkbox" class="checkbox transparent">
+                        <input type="checkbox" class="checkbox transparent">
+                        <input type="checkbox" class="checkbox transparent">
+                        <input type="checkbox" class="checkbox transparent">
+                    </div>
+                </div>
+                <div class="j-cell blue-bgc">
+                    <div class="ball-clip-rotate">
+                        <div class="ball"></div>
+                    </div>
+                </div>
+                <div class="j-cell blue-bgc column">
+                    <p>weui-loading: 使用时需要先引入weui.min.css</p>
+                    <div class="weui-loading"></div>
+                </div>
+                <div class="j-cell blue-bgc column">
+                    <p>j-loading-icon: 使用时需要先引入public.css</p>
+                    <div class="j-loading-icon"></div>
+                </div>
+            </div>
+        </div>
+        <div class="j-footer"></div>
+    </div>
+</body>
+
+</html>

+ 98 - 0
entbase-mobile/page_entbase_mobile/css/add_ent.css

@@ -0,0 +1,98 @@
+.j-body {
+  display: flex;
+  flex-direction: column;
+  justify-content: space-between;
+}
+
+.j-body .bottom-container {
+  flex: 1;
+  overflow-y: scroll;
+}
+
+.search-container {
+  padding: 0.3rem 0.32rem;
+  min-height: 1.08rem;
+  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
+  background-color: #fff;
+}
+
+.search-container .j-input {
+  width: 100%;
+  height: 100%;
+  overflow: hidden;
+  font-size: 0.32rem;
+  line-height: 0.48rem;
+}
+
+.tip {
+  margin: 0.16rem 0 0.24rem;
+  color: #9b9ca3;
+  font-size: 0.24rem;
+}
+
+.j-button-group {
+  background-color: transparent;
+}
+
+.like-search {
+  display: none;
+}
+
+.like-search .search-result {
+  background-color: #fff;
+}
+
+.list-item {
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+}
+
+.list-item:active {
+  background-color: #E6E6E6;
+}
+
+.list-item .title {
+  flex: 1;
+  padding: 0.32rem;
+  font-size: 0.28rem;
+  color: #171826;
+  line-height: 0.4rem;
+}
+
+.list-item .trailing {
+  display: none;
+}
+
+.j-toast_icon {
+  font-size: 0.64rem;
+  color: #fff;
+}
+
+.j-toast_content {
+  font-size: 0.3rem;
+  color: #fff;
+}
+
+.icon-search,
+.icon-add,
+.icon-delete {
+  display: inline-block;
+  width: 0.4rem;
+  height: 0.4rem;
+}
+
+.icon-search {
+  background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAL3SURBVHgB7VhvbtMwFH/PYXzuEcoJ6NhAGoMtPsHGCVZOADdYewK6E6w7AeMEaQsDiW203CBH6DfEsvjxnP5zOyex2yIk1J9UyXby7F/8/hdggw02KATCEoj6/Yr4lZ4QQQgKa4BUHT8a8i/mXQeUwid5sHsJK8KLYPStX8U0Pedh6CSAEJOiC/n6eQOWhDPB6Mv1ewQ85WEFfKGJgnoj918MwBNOBKPeTRsFnFgedZg0HypGB1NaAcQqq/7YUPvssADqh3u7F7BOgtHnmxYivJsXwpZKRFPK7WGeXO/rj0OlVIuHNViBJBaTu24gZmodgSAWgagfvHzWBUd0r25PiahhLA0pSLbl3l7sIi/yHmQOsUCO7hPpQ07jcH+nSYhvjaUKplvnrvK5BFGpU3NO92zk0u2rFyH3d9raLIylkLUTushaCerbA6K6sdSW0t8DTWibBcJ4Mp/Tji9BUCo0p5QkTVgR2qE4ErSNpTCK+qUhy0oQgY6MaWdZ1S5C3YmzucO30qMyGfsNElQnQ1ZFB9aELCwZaubda2UyeU4yEySKYZ0QNLVlQlpOxX8XOPR5O4+g1yZeoIcpsAg5Nmh+ZbmdeGK6H8fGuOxlkbPamQw5TR3DmhBdfdfkpnbn4oDCvihmhSZC1TXqlwEhmCs6XNKmlWB6B1pwqmbXqF8EW3ZykbMSzKI+PsidDVgBqNKP5tw1O+WGmSzqL+ROXVXDEtAFLwd/0zlartmpuB5ko0YSfXONnabp2mNkJZu+OZovWvn2nqyF4IjkbR2JzhekYk78DQVJ11Z4jp0q5FvXTmHLFgNKAllUkc+OcsCY5Ie8w0A7FJMe5/AauDVWTiTdu7qI1fVIRbZmqAzjHuYMtzJHqfmQ9G7cox7fpiDd4YWFLxLoSNBWSXoxKXZ1/cckIx+SS/2zMD6sGjyGp0QqNKsSVDDAQAzS3/jTdmgOyU74alfCOgmuAgvJARPctr37D8qtUSLQauXrudSxlnvlFmywwQb/Kf4A9ABITZPcxlgAAAAASUVORK5CYII=) no-repeat center;
+  background-size: 100%;
+}
+
+.icon-add {
+  background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAALsSURBVHgB7ZlRctowEIb/FW1nmr5wBPctTdoQThBIT9AbpCcIOUHCCUJO0PQEOUFicgIg07R5q4/AS/PSou0K6AwgGcvGMe6Eb4aBEZKtX95drdbAhg3PG0JOvA97DShV05oaAO8To8pAdXqTIRMi+SUf7mvo24dmvYscWElAEPaqW1q1iHD8b7IpiIioO8KoLWIiZCSTgOnEz2T0MXJAhFxmFZJawLvrXkuROs2w4klEVMHZ/UHta5pBqQTsXA86ea16HPI0OvfNvRPv/j6djMm8QeWKmRsohv4j6WbUrA+TOip4sMUqLHDyhv3XTFc+HRMFjM1GLoiCIVBjN7w7T+63hJ2wdwRWX7BGmPXJj4/1Ttz/sQK2w16gxHTkZ4D1MhR/eBvnDy/iRlVQkVDJATLy/bA2tzg7NwNGNkwAOZVvZ2Ry+oBZfXHaI5QEmUvLRELXf04BlYniUrEF5dx/nAIKDpl+MFquZkvAOKtcv+O6qG5P5jaHJUBDHaCkEFRtsc1hQlT4puWNtk3bEkCcPXQ+NZLoWYvr2gcCeLAY51ft77lPWKHUegJPkOfnSbKA/w3bByT3QHmx5mb5AE86JZpRks3mmAvNEi022CZE1EdJkQwhWmxzODF3UVJI2YtrCahAD1BSNFN3sc0S8E0qZiV15OjhcO92sdGdjZKKPcKtDXabtlPAK/y5QMnQituudqeAvpw/pd5ZnqfAfBlXdozNT/blCPeb1c8SpBaRliJXnIDYVMI8Bc26jTWjCWfLir5LcyFTj1mnKZl7PzSXF3u9UuLdm7tQNrgGiqUv6Ug9qZNXNvqSRp9EaWEphskGTHHXp2+qQ8luODjnmOpAXhizuW/WvMvrqc4D5sLi2J/hyApXZfoerZVm8tNx6RnXTTWdynIdIQfMqv+Cbvu8D7DGYgVmhDSQspY0XfHOI/RFlonPXCcfPtzcHYxIIpWWygHpQOr7wdxrVpMgMvVZcZfl25WYbdiwIT1/AUOUEmheqdEJAAAAAElFTkSuQmCC) no-repeat center;
+  background-size: 100%;
+}
+
+.icon-delete {
+  background: transparent url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACgAAAAoCAYAAACM/rhtAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAFNSURBVHgB7ZdBSwMxEIVfraXSgyKinj2LFy8i+P/FP+FJBBEP9tBDW0pnaBaW0mxeJgOFMh882Cyb8DXpZrJAEARBwDKDHxP2wTH53KPkWXIv+ZZsYEPFXiRP6fq31OEMZXSgh3R9JXmVnKOeSep7k9o6ZnFVGMGV5K/Xtkh2cpe9e/+SRakju8Q/kjvJNLUvJLfgljsn9070pQU3SaZWckhuDQJW0CLZLFcrWCPpImcRZCTHXnLKCHZyszTyklMsM9iRm8kpnOSUFkHlkGRHs5zCbNRHpXUGD/0PO2o28ywtgrmXZAlbxYGn4NA+9wV7WXQRLG3C1rLoIshWCDfJGsHa8uUiyQpaa2uzJCv4Bnv5ykleY/dCDcJs1DO019ZV6jPv3dOjf/FUzsygDq5LrL9Yj/4fsJWv/Zn8xO6k7oblQymH5ydsEATBSbMF7ipyouNZToUAAAAASUVORK5CYII=) no-repeat center;
+  background-size: 100%;
+}

+ 47 - 0
entbase-mobile/page_entbase_mobile/css/add_personnel.css

@@ -0,0 +1,47 @@
+.add-personnel .add-form .weui-cells {
+  margin-top: 0;
+}
+
+.add-personnel .add-form .weui-cell {
+  padding: 0.3rem 0.32rem;
+  align-items: baseline;
+}
+
+.add-personnel .add-form .weui-label {
+  width: 1.6rem;
+  font-size: 0.3rem;
+  color: #5F5E64;
+}
+
+.add-personnel .add-form .weui-input {
+  font-size: 0.32rem;
+  color: #5F5E64;
+}
+
+.add-personnel .add-form .weui-input::-webkit-input-placeholder {
+  color: #C0C4CC;
+}
+
+.add-personnel .add-form .j-cells {
+  margin-top: 0.2rem;
+}
+
+.add-personnel .add-form .j-cells .j-cell_rl {
+  font-size: 0.32rem;
+  color: #171826;
+}
+
+.add-personnel .add-form .j-cells .j-cell-text {
+  color: #2ABED1;
+  font-size: 0.28rem;
+}
+
+.add-personnel .add-form .j-cells .icon-arrow {
+  color: #C0C4CC;
+}
+
+.add-personnel .add-form .error-tip {
+  display: none;
+  color: #FB483D;
+  font-size: 0.24rem;
+}

+ 362 - 0
entbase-mobile/page_entbase_mobile/css/addition_exclusive_word.css

@@ -0,0 +1,362 @@
+.exclusive-word,
+.addition-word {
+  display: flex;
+  flex-direction: column;
+  justify-content: space-between;
+  width: 100;
+  height: 100%;
+  overflow: hidden;
+}
+
+.exclusive-word .content,
+.addition-word .content {
+  flex: 1;
+  overflow-y: scroll;
+}
+
+.exclusive-word .title,
+.addition-word .title {
+  font-size: 0.26rem;
+  color: #888;
+  padding: 0.3rem;
+  line-height: 0.38rem;
+}
+
+.exclusive-word .enter .enterOne,
+.addition-word .enter .enterOne {
+  min-height: 47px;
+  width: 100%;
+  padding: 0.3rem;
+  font-size: 0.3rem;
+  background: #fff;
+}
+
+.exclusive-word .enter .btnChoose,
+.addition-word .enter .btnChoose {
+  border-top: 1px solid #e0e0e0;
+  overflow: hidden;
+  background: #fff;
+}
+
+.exclusive-word .enter .btnChoose button,
+.addition-word .enter .btnChoose button {
+  float: left;
+  height: 0.6rem;
+  font-size: 0.3rem;
+  width: 50%;
+  background: #fff;
+  margin: 0.15rem 0;
+  color: #1d1d1d;
+}
+
+.exclusive-word .enter .btnChoose button:first-child,
+.addition-word .enter .btnChoose button:first-child {
+  border-right: 1px solid #e0e0e0;
+}
+
+.exclusive-word .enter .btn,
+.addition-word .enter .btn {
+  margin-top: 0.16rem;
+  margin-bottom: 0.16rem;
+  display: flex;
+}
+
+.exclusive-word .enter .btn button,
+.addition-word .enter .btn button {
+  width: 50%;
+  height: 0.94rem;
+  background: #2cb7ca;
+  color: #fff;
+  font-size: 0.36rem;
+  opacity: 0.5;
+}
+.exclusive-word .enter .btn a,
+.addition-word .enter .btn a {
+  width: 50%;
+  height: 0.94rem;
+  background: #fff;
+  color: #2cb7ca;
+  font-size: 0.36rem;
+  display: flex;
+  justify-content: center;
+  align-items: center;
+}
+
+
+.exclusive-word .showKeyWord ul li,
+.addition-word .showKeyWord ul li {
+  margin-bottom: 0.16rem;
+  overflow: hidden;
+}
+
+.exclusive-word .showKeyWord ul li .one,
+.addition-word .showKeyWord ul li .one {
+  display: flex;
+  background: #fff;
+  line-height: 0.54rem;
+  padding: 0.2rem 0;
+}
+
+.exclusive-word .showKeyWord ul li .one div,
+.addition-word .showKeyWord ul li .one div {
+  flex: 1;
+}
+
+.exclusive-word .showKeyWord ul li .one div span,
+.addition-word .showKeyWord ul li .one div span {
+  display: flex;
+  padding: 0 0.3rem;
+}
+
+.exclusive-word .showKeyWord ul li .one div span strong,
+.addition-word .showKeyWord ul li .one div span strong {
+  font-size: 0.3rem;
+  color: #1d1d1d;
+  font-weight: normal;
+  display: block;
+  width: 1.3rem;
+}
+
+.exclusive-word .showKeyWord ul li .one div span p,
+.addition-word .showKeyWord ul li .one div span p {
+  flex: 1;
+  font-size: 0.3rem;
+  color: #686868;
+}
+
+.exclusive-word .showKeyWord ul li .one button,
+.addition-word .showKeyWord ul li .one button {
+  width: 1.96rem;
+  background: #fff;
+  color: #2cb7ca;
+  border-left: 1px solid #e0e0e0;
+  font-size: 0.3rem;
+  position: relative;
+  left: 0;
+}
+
+.exclusive-word .showKeyWord ul li .one button i,
+.addition-word .showKeyWord ul li .one button i {
+  font-size: 0.4rem;
+  padding-right: 0.1rem;
+}
+
+.exclusive-word .showKeyWord ul li .modify,
+.addition-word .showKeyWord ul li .modify {
+  display: none;
+  margin-top: 0.16rem;
+}
+
+.exclusive-word .showKeyWord ul li .modify textarea,
+.addition-word .showKeyWord ul li .modify textarea {
+  box-sizing: border-box;
+  min-height: 0.94rem;
+  resize: none;
+  width: 100%;
+  display: flex;
+  align-items: center;
+  padding: 0.3rem;
+  background: #fff;
+  outline: none;
+  font-size: 0.3rem;
+  color: #1d1d1d;
+}
+
+.exclusive-word .showKeyWord ul li .modify span,
+.addition-word .showKeyWord ul li .modify span {
+  width: 100%;
+  display: block;
+  line-height: 0.5rem;
+  padding: 0.2rem 0.3rem;
+  background: #fff;
+  outline: none;
+  font-size: 0.3rem;
+  color: #1d1d1d;
+  user-modify: read-write-plaintext-only;
+  -webkit-user-modify: read-write-plaintext-only;
+}
+
+.exclusive-word .showKeyWord ul li .modify button,
+.addition-word .showKeyWord ul li .modify button {
+  width: 50%;
+  height: 0.88rem;
+  float: left;
+  margin-top: 0.16rem;
+  font-size: 0.28rem;
+}
+
+.exclusive-word .showKeyWord ul li .modify button.addAdjunctWord, .exclusive-word .showKeyWord ul li .modify button.addExclusion,
+.addition-word .showKeyWord ul li .modify button.addAdjunctWord,
+.addition-word .showKeyWord ul li .modify button.addExclusion {
+  position: relative;
+  background: #fff;
+}
+
+.exclusive-word .showKeyWord ul li .modify button.addExclusion:before,
+.addition-word .showKeyWord ul li .modify button.addExclusion:before {
+  position: absolute;
+  content: "";
+  width: 1px;
+  height: 0.64rem;
+  background-color: #e0e0e0;
+  left: 0;
+  top: 0.13rem;
+}
+
+.exclusive-word .showKeyWord ul li .modify button.deleteKey,
+.addition-word .showKeyWord ul li .modify button.deleteKey {
+  color: #fff;
+  background: #fe737a;
+  font-size: 0.3rem;
+}
+
+.exclusive-word .showKeyWord ul li .modify button.ascertainKey,
+.addition-word .showKeyWord ul li .modify button.ascertainKey {
+  color: #fff;
+  background: #2cb7ca;
+  font-size: 0.3rem;
+}
+
+.exclusive-word .addKeyWord,
+.addition-word .addKeyWord {
+  position: fixed;
+  bottom: 0;
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  justify-content: center;
+  width: 100%;
+  text-align: center;
+  line-height: 1;
+}
+
+.exclusive-word .addKeyWord i,
+.addition-word .addKeyWord i {
+  margin-bottom: 0.4rem;
+  font-size: 1rem;
+  color: #2cb7ca;
+}
+
+.exclusive-word .addKeyWord p,
+.addition-word .addKeyWord p {
+  height: 0.56rem;
+  line-height: 0.56rem;
+  background-color: #fff;
+  font-size: 0.28rem;
+  color: #888;
+}
+
+.exclusive-word .problem,
+.addition-word .problem {
+  margin-top: 0.4rem;
+  font-size: 0.3rem;
+  color: #2cb7ca;
+  float: right;
+  margin-right: 0.3rem;
+  padding-bottom: 1.5rem
+}
+
+.exclusive-word .problem i,
+.addition-word .problem i {
+  margin-left: 0.06rem;
+}
+
+.exclusive-word .problemPop,
+.addition-word .problemPop {
+  background: rgba(0, 0, 0, 0.5);
+  position: fixed;
+  width: 100%;
+  height: 100%;
+  height: 100vh;
+  top: 0;
+  left: 0;
+  right: 0;
+  bottom: 0;
+  display: none;
+  align-items: center;
+  justify-content: center;
+}
+
+.exclusive-word .problemPop .problemPopContent,
+.addition-word .problemPop .problemPopContent {
+  width: 5.6rem;
+  min-height: 7.23rem;
+  display: inline-block;
+  background: #fff;
+  border-radius: 4px;
+  position: relative;
+  padding: 0.58rem 0;
+}
+
+.exclusive-word .problemPop .problemPopContent h3,
+.addition-word .problemPop .problemPopContent h3 {
+  font-size: 0.34rem;
+  text-align: center;
+  padding-bottom: 0.2rem;
+}
+
+.exclusive-word .problemPop .problemPopContent ul,
+.addition-word .problemPop .problemPopContent ul {
+  padding: 0 0.4rem;
+}
+
+.exclusive-word .problemPop .problemPopContent ul li,
+.addition-word .problemPop .problemPopContent ul li {
+  margin-top: 0.16rem;
+}
+
+.exclusive-word .problemPop .problemPopContent ul li h4,
+.addition-word .problemPop .problemPopContent ul li h4 {
+  font-size: 0.3rem;
+  line-height: 1.5;
+  color: #1d1d1d;
+}
+
+.exclusive-word .problemPop .problemPopContent ul li p,
+.addition-word .problemPop .problemPopContent ul li p {
+  font-size: 0.28rem;
+  color: #868686;
+  line-height: 1.4;
+}
+
+.exclusive-word .problemPop .problemPopContent button,
+.addition-word .problemPop .problemPopContent button {
+  width: 100%;
+  background: #fff;
+  border-top: 1px solid #e0e0e0;
+  position: absolute;
+  bottom: 0;
+  height: 1rem;
+  font-size: 0.36rem;
+  color: #2cb7ca;
+}
+
+.custom-toast .weui-toast {
+  font-size: 0.3rem;
+  padding: 0.2rem;
+  width: auto;
+  max-width: 6rem;
+  min-height: 0;
+  height: auto;
+  top: 50%;
+  left: 50%;
+  margin-left: 0;
+  margin-top: -0.47rem;
+  transform: translateX(-50%) translateY(-50%);
+}
+
+.custom-toast .weui-icon_toast {
+  display: none;
+}
+
+.custom-toast .weui-toast__content {
+  margin: 0;
+}
+
+.weui-dialog .weui-dialog__ft .weui-dialog__btn_primary {
+  color: #2cb7ca;
+}
+
+.weui-dialog input {
+  caret-color: #2cb7ca;
+}

+ 71 - 0
entbase-mobile/page_entbase_mobile/css/auth_management.css

@@ -0,0 +1,71 @@
+.auth-management .save {
+  color: #2ABED1;
+  font-size: 0.3rem;
+  line-height: 0.44rem;
+}
+
+.auth-management .auth-body .manage-item {
+  display: flex;
+  justify-content: space-between;
+  align-items: center;
+  background-color: #fff;
+  padding: 0.3rem 0.32rem;
+}
+
+.auth-management .auth-body .label {
+  color: #171826;
+  font-size: 0.32rem;
+  line-height: 0.48rem;
+}
+
+.auth-management .auth-body .value {
+  color: #9B9CA3;
+  font-size: 0.28rem;
+  line-height: 0.4rem;
+}
+
+.auth-management .auth-body .renew {
+  padding: 0.06rem 0.22rem;
+  color: #2ABED1;
+  font-size: 0.26rem;
+  line-height: 0.4rem;
+  border: 1px solid #2ABED1;
+  border-radius: 4px;
+  font-weight: bold;
+}
+
+.auth-management .auth-body .business {
+  margin: 0.2rem 0;
+}
+
+.auth-management .auth-body .limit-count {
+  position: relative;
+}
+
+.auth-management .auth-body .limit-count:after {
+  position: absolute;
+  content: '';
+  width: 100%;
+  height: 1px;
+  background-color: rgba(0, 0, 0, 0.05);
+  bottom: 0;
+  left: 0.32rem;
+  transform-origin: 0 0;
+  transform: scaleY(0.9);
+}
+
+.auth-management .auth-body .people-handle {
+  margin-top: 0.2rem;
+}
+
+.auth-management .auth-body .people-handle em {
+  margin-right: .12rem;
+  color: #9B9CA3;
+  font-size: 0.28rem;
+  line-height: 0.4rem;
+}
+
+.auth-management .auth-body .people-handle .icon-arrow {
+  color: #C0C4CC;
+  font-size: 0.26rem;
+}

+ 185 - 0
entbase-mobile/page_entbase_mobile/css/base.css

@@ -0,0 +1,185 @@
+* {
+  -webkit-box-sizing: border-box;
+  box-sizing: border-box;
+  -webkit-overflow-scrolling: touch;
+  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
+  -webkit-tap-highlight-color: transparent;
+}
+body,
+div,
+dl,
+dt,
+dd,
+ul,
+ol,
+li,
+h1,
+h2,
+h3,
+h4,
+h5,
+h6,
+pre,
+code,
+form,
+fieldset,
+legend,
+input,
+textarea,
+p,
+blockquote,
+th,
+td,
+hr,
+button,
+article,
+aside,
+details,
+figcaption,
+figure,
+footer,
+header,
+hgroup,
+menu,
+nav,
+section,
+sumary {
+  margin: 0;
+  padding: 0;
+}
+html,
+body {
+  /* max-width: 750px; */
+  -webkit-text-size-adjust: 100%;
+  margin: 0 auto;
+  height: 100%;
+  overflow-x: hidden;
+  -webkit-box-sizing: border-box;
+  box-sizing: border-box;
+  font-size: 0.24rem;
+  background: rgba(245, 244, 249, 1);
+  color: #3d3d3d;
+  font-family: "Microsoft YaHei", "Helvetica Neue", "Roboto", "Segoe UI",
+    "PingFang SC", "Hiragino Sans GB", sans-serif;
+}
+
+ul,
+ol {
+  list-style: none;
+}
+/*清除输入框内阴影*/
+input,
+textarea,
+select,
+button {
+  outline: none;
+  border: 0;
+  -webkit-appearance: none;
+  appearance: none;
+}
+button,
+span,
+div {
+  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
+  /* -webkit-user-modify:read-only; */
+}
+img {
+  border: 0;
+  vertical-align: middle;
+  max-width: 100%;
+  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
+}
+
+a {
+  text-decoration: none;
+  color: #3d3d3d;
+  -webkit-tap-highlight-color: rgba(255, 255, 255, 0);
+  -webkit-user-select: none;
+  -moz-user-focus: none;
+  -moz-user-select: none;
+}
+/*禁用长按页面时的弹出菜单(iOS下有效) ,img和a标签都要加*/
+img,
+a {
+  -webkit-touch-callout: none;
+}
+em,
+i {
+  font-style: normal;
+}
+
+/*兼容ios调取h5页面的头部*/
+.ios-head {
+  display: none;
+  position: fixed;
+  top: 0;
+  padding-top: 15px;
+  background: #18974b;
+  width: 100%;
+  z-index: 100;
+}
+/*base*/
+.clearfix {
+  zoom: 1;
+}
+.clearfix:after {
+  clear: both;
+  height: 0;
+  overflow: hidden;
+  display: block;
+  visibility: hidden;
+  content: "";
+}
+
+.left {
+  float: left;
+}
+
+.right {
+  float: right;
+}
+.ellipsis {
+  overflow: hidden;
+  text-overflow: ellipsis;
+  white-space: nowrap;
+  text-align: justify
+}
+
+/* 超过2行省略号显示 */
+.ellipsis-2 {
+    overflow: hidden;
+    text-overflow: ellipsis;
+    display: -webkit-box;
+    -webkit-line-clamp: 2;
+    -webkit-box-orient: vertical;
+    text-align: justify
+}
+
+/* 超过3行省略号显示 */
+.ellipsis-3 {
+    overflow: hidden;
+    text-overflow: ellipsis;
+    display: -webkit-box;
+    -webkit-line-clamp: 3;
+    -webkit-box-orient: vertical;
+}
+
+.show {
+  display: block;
+}
+.hide {
+  display: none;
+}
+@media (min-width: 320px){html{font-size: 42.6667px;} }
+@media (min-width: 360px){html{font-size: 48px;} }
+@media (min-width: 375px){html{font-size: 50px;} }
+@media (min-width: 384px){html{font-size: 51.2px;} }
+@media (min-width: 414px){html{font-size: 55.2px;} }
+@media (min-width: 448px){html{font-size: 59.7333px;} }
+@media (min-width: 480px){html{font-size: 48px;} }
+@media (min-width: 512px){html{font-size: 68.2667px;} }
+@media (min-width: 544px){html{font-size: 72.5333px;} }
+@media (min-width: 576px){html{font-size: 76.8px;} }
+@media (min-width: 608px){html{font-size: 81.0667px;} }
+@media (min-width: 640px){html{font-size: 85.3333px;} }
+@media (min-width: 750px){html{font-size: 100px;} }

+ 161 - 0
entbase-mobile/page_entbase_mobile/css/bind_result.css

@@ -0,0 +1,161 @@
+.bd-info {
+  display: flex;
+  align-items: center;
+  justify-content: center;
+}
+
+.bd-info .iconfont {
+  color: #2cb7ca;
+  font-size: 1.4rem;
+}
+
+.bd-info .info-tip {
+  display: flex;
+  flex-direction: column;
+  align-content: center;
+  justify-content: center;
+  text-align: center;
+}
+
+.bd-info .info-tip .tip-text {
+  color: #2ABED1;
+  font-size: 0.36rem;
+}
+
+.bd-info .info-tip .tip-tel,
+.bd-info .info-tip .tip-sub-text {
+  color: #5F5E64;
+  font-size: 0.26rem;
+  text-align: center;
+}
+
+.no-com {
+  display: none;
+}
+
+.no-com .bd-info {
+  flex-direction: column;
+  margin-top: 1.4rem;
+}
+
+.no-com .bd-info .info-tip .tip-tel {
+  margin: 0.08rem 0 0.32rem;
+}
+
+.no-com .bd-info .info-tip .tip-tel,
+.no-com .bd-info .info-tip .tip-sub-text {
+  width: 5.6rem;
+}
+
+.no-com.error .iconfont,
+.no-com.error .info-tip .tip-text {
+  color: #FB483D;
+}
+
+.no-com .bd-action {
+  margin-top: 1.28rem;
+  text-align: center;
+}
+
+.no-com .bd-action .j-button-confirm {
+  margin: 0 auto 0.32rem;
+  width: 3.3rem;
+  height: 0.8rem;
+}
+
+.no-com .bd-action .change-tel {
+  color: #2ABED1;
+  font-size: 0.3rem;
+}
+
+.no-com .nothing {
+  display: flex;
+  flex-direction: column;
+  justify-content: center;
+  align-items: center;
+}
+
+.no-com .nothing .nothing-pic {
+  margin-top: 2.14rem;
+  width: 2rem;
+  height: 2.12rem;
+}
+
+.no-com .nothing .nothing-tip {
+  margin: 0.76rem 0 0.96rem;
+  color: #5F5E64;
+  font-size: 0.26rem;
+  text-align: center;
+}
+
+.no-com .nothing .nothing-button {
+  flex: auto;
+  margin: 0 auto 0.32rem;
+  width: 3.3rem;
+  height: 0.8rem;
+}
+
+.some-com {
+  padding-bottom: 0.28rem;
+  display: none;
+}
+
+.some-com .bd-info {
+  padding: 0.64rem 0.48rem 0.36rem;
+}
+
+.some-com .bd-info .iconfont {
+  margin-right: 0.16rem;
+  font-size: 0.6rem;
+}
+
+.some-com .bd-info .tip-text {
+  font-size: 0.32rem;
+}
+
+.some-com .bd-info .tip-tel {
+  font-size: 0.26rem;
+}
+
+.some-com .j-cells:before,
+.some-com .j-cells:after {
+  height: 0;
+}
+
+.some-com .bd-list {
+  padding-top: 0.48rem;
+}
+
+.some-com .bd-list .list-tip {
+  font-size: 0.28rem;
+}
+
+.some-com .bd-list .list-title {
+  margin-bottom: 0.16rem;
+  color: #5F5E64;
+  font-size: 0.26rem;
+}
+
+.some-com .bd-list .list-container {
+  display: none;
+  margin-top: 0.48rem;
+}
+
+.some-com .bd-list .list-container .without-icon {
+  border-radius: 8px;
+  overflow: hidden;
+}
+
+.some-com .bd-list .j-cell {
+  padding-top: 0.2rem;
+  padding-bottom: 0.2rem;
+}
+
+.some-com .bd-list .j-cell .j-cell_left {
+  max-width: 80%;
+  white-space: pre-wrap;
+}
+
+.j-footer {
+  display: none;
+}

+ 248 - 0
entbase-mobile/page_entbase_mobile/css/buy_production.css

@@ -0,0 +1,248 @@
+@charset "UTF-8";
+.j-body {
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+}
+
+input::-webkit-input-placeholder {
+  color: #c0c4cc;
+  font-size: 0.3rem;
+}
+
+.j-cell_right {
+  color: #9B9CA3;
+}
+
+.j-cell_right .j-cell-text,
+.j-cell_right .icon-arrow {
+  font-size: 0.28rem;
+}
+
+.body-content.buy {
+  width: 100%;
+}
+
+.body-content.buy .com-name {
+  margin-bottom: 0.2rem;
+  padding: 0.32rem;
+  color: #5F5E64;
+  font-size: 0.3rem;
+  line-height: 0.44rem;
+  background-color: #fff;
+}
+
+.body-content.renew {
+  margin-top: 0;
+  width: 100%;
+}
+
+.body-content.renew .user-info {
+  padding: 0.24rem;
+  background-color: #fff;
+  line-height: 0.4rem;
+}
+
+.body-content.renew .title {
+  padding: 0 0 0.16rem;
+  color: #171826;
+  font-size: 0.32rem;
+  font-weight: 500;
+}
+
+.body-content.renew .user-info-item {
+  display: flex;
+  color: #5F5E64;
+  font-size: 0.28rem;
+  line-height: 0.44rem;
+}
+
+.body-content.renew .user-info-item .item-left,
+.body-content.renew .user-info-item .item-right {
+  font-size: inherit;
+}
+
+.body-content.renew .user-info-item .item-left {
+  min-width: auto;
+  white-space: nowrap;
+}
+
+.body-content.renew .user-cycle {
+  margin-top: 0.2rem;
+}
+
+.price-table {
+  padding: 0 0.32rem;
+  margin-bottom: 0.48rem;
+  width: 100%;
+}
+
+.price-table table {
+  width: 100%;
+  border-collapse: collapse;
+}
+
+.price-table table tbody {
+  border: 1px solid #e5e5e5;
+}
+
+.price-table table tr {
+  display: flex;
+  align-self: center;
+  justify-content: center;
+  height: 0.72rem;
+  border-bottom: 1px solid #e5e5e5;
+}
+
+.price-table table tr:last-of-type {
+  border-bottom: 0;
+}
+
+.price-table table tr td {
+  display: flex;
+  align-self: center;
+  justify-content: center;
+  flex: 1;
+}
+
+.price-table .table-title {
+  display: flex;
+  align-items: center;
+  position: relative;
+  margin: 0.2rem 0 0.08rem 0.24rem;
+  height: 0.76rem;
+  color: #171826;
+  font-size: 0.3rem;
+}
+
+.price-table .table-title:before {
+  content: "";
+  position: absolute;
+  left: -0.24rem;
+  top: 50%;
+  width: 0.06rem;
+  height: 0.32rem;
+  background-color: #2abed1;
+  border-radius: 0.02rem;
+  transform: translateY(-50%);
+}
+
+.j-footer {
+  width: 100%;
+  background-color: #fff;
+}
+
+.j-footer .total-container {
+  display: flex;
+  align-items: center;
+  padding: 0.18rem 0;
+  justify-content: space-between;
+}
+
+.j-footer .total-container .total-label,
+.j-footer .total-container .total-price {
+  height: 100%;
+}
+
+.j-footer .total-container .total-label {
+  font-size: 0.28rem;
+  color: #9b9ca3;
+}
+
+.j-footer .total-container .total-price {
+  display: flex;
+  align-items: center;
+  font-size: 0.4rem;
+  font-weight: 700;
+  color: #fb483d;
+}
+
+.j-footer .total-container .total-price .p-l {
+  margin-right: 0.1rem;
+  font-size: 0.32rem;
+}
+
+.j-footer .submit-container {
+  padding-bottom: 0.24rem;
+  display: flex;
+  flex-direction: column;
+}
+
+.j-footer .submit-container .statement {
+  display: flex;
+  align-items: center;
+  margin-bottom: 0.16rem;
+  min-height: 0.64rem;
+  font-size: 0.24rem;
+  color: #5f5e64;
+}
+
+.j-footer .submit-container .statement .state {
+  margin-left: 0.14rem;
+  height: 100%;
+}
+
+.j-footer .submit-container .statement a {
+  color: #2abed1;
+}
+
+.industry-selected-picker .weui-picker__group {
+  display: flex;
+  flex-wrap: wrap;
+  align-items: center;
+}
+
+.industry-selected-picker .weui-half-screen-dialog__ft {
+  margin-top: 0.1rem;
+}
+
+.industry-item {
+  position: relative;
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  margin: 0 0.13rem 0.16rem 0;
+  width: 1.56rem;
+  height: 0.72rem;
+  color: #171826;
+  font-size: 0.28rem;
+  background-color: #f5f6f7;
+  border-radius: 0.08rem;
+}
+
+.industry-item:nth-of-type(4n) {
+  margin-right: 0;
+}
+
+.user-count-picker .weui-half-screen-dialog__bd {
+  margin: 0 0.32rem;
+  padding-top: 0.4rem;
+}
+
+.user-count-picker .weui-half-screen-dialog__bd .weui-picker__group {
+  position: relative;
+  display: flex;
+  align-items: center;
+  padding: 0.3rem 0;
+  height: 1.08rem;
+  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
+}
+
+.user-count-picker .weui-half-screen-dialog__bd .weui-picker__group.pass:after {
+  content: "人";
+  position: absolute;
+  right: 0;
+  top: 50%;
+  font-size: 0.32rem;
+  transform: translateY(-50%);
+}
+
+.user-count-picker .weui-half-screen-dialog__bd .weui-picker__group .weui-input {
+  height: 100%;
+  font-size: 0.32rem;
+}
+
+.user-count-picker .weui-half-screen-dialog__bd .weui-picker__group .weui-input::-webkit-input-placeholder {
+  color: #c0c4cc;
+  font-size: 0.32rem;
+}

+ 142 - 0
entbase-mobile/page_entbase_mobile/css/choose_admin.css

@@ -0,0 +1,142 @@
+.choose-admin .header-title {
+  font-size: 0.36rem;
+}
+
+.choose-admin .header-right {
+  font-size: 0.28rem;
+  color: #2ABED1;
+}
+
+.choose-admin .admin {
+  display: flex;
+  flex-direction: column;
+  height: 100%;
+  overflow: hidden;
+}
+
+.choose-admin .admin .a-title {
+  width: 100%;
+  height: 1.08rem;
+  display: flex;
+  align-items: center;
+  padding: 0 0.32rem;
+  background-color: #fff;
+}
+
+.choose-admin .admin .a-title .search {
+  display: flex;
+  align-items: center;
+  width: 100%;
+  height: 0.72rem;
+  padding: 0 0.26rem;
+  background-color: #F5F6F7;
+  border-radius: 0.08rem;
+}
+
+.choose-admin .admin .a-title .search .icon-sousuo {
+  font-size: 0.48rem;
+  color: #C0C4CC;
+}
+
+.choose-admin .admin .a-title .search .search-input {
+  flex: 1;
+  padding: 0 0.3rem;
+  font-size: 0.28rem;
+  line-height: 0.4rem;
+  background-color: transparent;
+}
+
+.choose-admin .admin .a-cells {
+  margin-top: 0.2rem;
+  flex: 1;
+  overflow-y: scroll;
+  overflow-x: hidden;
+}
+
+.choose-admin .admin .a-cells .a-cell {
+  position: relative;
+  display: flex;
+  justify-content: space-between;
+  align-items: center;
+  padding: 0.16rem 0.32rem;
+  background-color: #fff;
+}
+
+.choose-admin .admin .a-cells .a-cell:after {
+  position: absolute;
+  content: '';
+  bottom: 0;
+  left: 0.32rem;
+  width: 100%;
+  height: 1px;
+  background-color: rgba(0, 0, 0, 0.05);
+  transform-origin: 0 0;
+  transform: scaleY(0.8);
+}
+
+.choose-admin .admin .a-cells .a-cell .name {
+  font-size: 0.32rem;
+  line-height: 0.48rem;
+  color: #171826;
+}
+
+.choose-admin .admin .a-cells .a-cell .contact {
+  color: #5F5E64;
+  font-size: 0.24rem;
+  line-height: 0.36rem;
+}
+
+.choose-admin .admin .a-cells .a-cell .checkbox, .choose-admin .admin .a-cells .a-cell .checkbox:checked {
+  width: 0.36rem;
+  height: 0.36rem;
+}
+
+.add-admin-dialog {
+  display: none;
+}
+
+.add-admin-dialog .weui-dialog {
+  border-radius: 0.16rem;
+  left: 0.72rem;
+  right: 0.72rem;
+}
+
+.add-admin-dialog .weui-dialog__hd {
+  font-size: 0.36rem;
+  padding: 0.48rem 0;
+}
+
+.add-admin-dialog .weui-dialog__bd {
+  margin: 0 0 0.46rem;
+  padding: 0;
+}
+
+.add-admin-dialog .weui-dialog__ft {
+  line-height: 0.92rem;
+}
+
+.add-admin-dialog .admin-input {
+  width: 5.1rem;
+  height: 0.96rem;
+  line-height: 0.96rem;
+  border: 1px solid rgba(0, 0, 0, 0.1);
+  padding: 0 0.32rem;
+  border-radius: 0.08rem;
+}
+
+.add-admin-dialog .cancel_btn {
+  color: #171826;
+  font-size: 0.36rem;
+  font-weight: normal;
+}
+
+.add-admin-dialog .confirm_btn {
+  color: #2ABED1;
+  font-size: 0.36rem;
+  font-weight: normal;
+  background-color: transparent;
+}
+
+.add-admin-dialog .confirm_btn[disabled] {
+  opacity: 0.5;
+}

File diff suppressed because it is too large
+ 563 - 0
entbase-mobile/page_entbase_mobile/css/choose_area.css


+ 92 - 0
entbase-mobile/page_entbase_mobile/css/choose_branch.css

@@ -0,0 +1,92 @@
+.choose-branch .header-title {
+  font-size: 0.36rem;
+}
+
+.choose-branch .header-right {
+  font-size: 0.28rem;
+  color: #2ABED1;
+}
+
+.choose-branch .j-title {
+  padding: 0.32rem 0.32rem 0.16rem;
+  font-size: 0.32rem;
+  line-height: 0.48rem;
+  color: #9B9CA3;
+}
+
+.choose-branch .j-cells:after {
+  display: none;
+}
+
+.choose-branch .j-cell .j-cell_left {
+  display: flex;
+  align-items: center;
+  margin-right: 0;
+}
+
+.choose-branch .j-cell .j-cell_left .checkbox, .choose-branch .j-cell .j-cell_left .checkbox:checked {
+  width: 0.36rem;
+  height: 0.36rem;
+}
+
+.choose-branch .j-cell .j-cell_right:after {
+  left: 0.84rem;
+}
+
+.choose-branch .j-cell .j-cell_rl {
+  font-size: 0.32rem;
+}
+
+.choose-branch .j-cell .icon-arrow {
+  color: #C0C4CC;
+}
+
+.add-branch-dialog {
+  display: none;
+}
+
+.add-branch-dialog .weui-dialog {
+  border-radius: 0.16rem;
+  left: 0.72rem;
+  right: 0.72rem;
+}
+
+.add-branch-dialog .weui-dialog__hd {
+  font-size: 0.36rem;
+  padding: 0.48rem 0;
+}
+
+.add-branch-dialog .weui-dialog__bd {
+  margin: 0 0 0.46rem;
+  padding: 0;
+}
+
+.add-branch-dialog .weui-dialog__ft {
+  line-height: 0.92rem;
+}
+
+.add-branch-dialog .branch-input {
+  width: 5rem;
+  height: 0.96rem;
+  line-height: 0.96rem;
+  border: 1px solid rgba(0, 0, 0, 0.1);
+  padding: 0 0.32rem;
+  border-radius: 0.08rem;
+}
+
+.add-branch-dialog .cancel_btn {
+  color: #171826;
+  font-size: 0.36rem;
+  font-weight: normal;
+}
+
+.add-branch-dialog .confirm_btn {
+  color: #2ABED1;
+  font-size: 0.36rem;
+  font-weight: normal;
+  background-color: transparent;
+}
+
+.add-branch-dialog .confirm_btn[disabled] {
+  opacity: 0.5;
+}

+ 636 - 0
entbase-mobile/page_entbase_mobile/css/choose_industry.css

@@ -0,0 +1,636 @@
+@charset "UTF-8";
+.scrollbar-none::-webkit-scrollbar {
+  display: none;
+}
+
+/*禁止长按复制 加给body*/
+.no-touch {
+  -webkit-touch-callout: none;
+  -webkit-user-select: none;
+  -khtml-user-select: none;
+  -moz-user-select: none;
+  -ms-user-select: none;
+  user-select: none;
+}
+
+.j-pd {
+  padding-left: 0.24rem;
+  padding-right: 0.24rem;
+}
+
+.j-arrow {
+  display: inline-block;
+  width: 0.26rem;
+  height: 0.26rem;
+  border: 2px solid #5f5e64;
+  border-bottom-color: transparent;
+  border-right-color: transparent;
+  background: 0 0;
+  transform: rotate(-45deg);
+}
+
+.j-container {
+  display: flex;
+  flex-direction: column;
+  justify-content: space-between;
+  height: 100%;
+}
+
+.j-header {
+  position: relative;
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  /* height: 0.88rem;
+  padding: 0 0.24rem; */
+  font-size: 0.36rem;
+  background-color: #fff;
+  border-bottom: 1px solid rgba(0, 0, 0, 0.1);
+}
+
+.j-header:after {
+  content: " ";
+  position: absolute;
+  left: 0;
+  bottom: 0;
+  width: 100%;
+  height: 1px;
+  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.1) 50%, transparent 50%);
+}
+
+.j-header .header-left,
+.j-header .header-title,
+.j-header .header-right {
+  display: inline-block;
+}
+
+.j-header .header-left {
+  color: #5f5e64;
+  font-size: 0.4rem;
+}
+
+.j-header .header-title {
+  color: #171826;
+}
+
+.j-body {
+  flex: 1;
+  overflow-y: scroll;
+}
+
+@keyframes ballRotate {
+  0% {
+    transform: rotate(0);
+  }
+  50% {
+    transform: rotate(180deg);
+  }
+  100% {
+    transform: rotate(360deg);
+  }
+}
+
+.ball-clip-rotate {
+  position: absolute;
+  left: 50%;
+  top: 50%;
+  z-index: 2;
+  transform: translate(-50%, -50%);
+}
+
+.ball-clip-rotate .ball {
+  display: inline-block;
+  width: 26px;
+  height: 26px;
+  border-radius: 50%;
+  border: 2px solid #fff;
+  border-bottom-color: transparent;
+  background: 0 0;
+  -webkit-animation: ballRotate 0.75s 0s linear infinite;
+  animation: ballRotate 0.75s 0s linear infinite;
+}
+
+.j-button-group {
+  display: flex;
+  justify-content: space-between;
+  align-items: center;
+  width: 100%;
+  height: 1.12rem;
+  padding: 0.16rem 0.32rem;
+  background-color: #fff;
+}
+
+.j-button-confirm,
+.j-button-cancel {
+  flex: 1;
+  height: 100%;
+  font-size: 0.32rem;
+  border-radius: 0.08rem;
+}
+
+.j-button-cancel {
+  margin-right: 0.26rem;
+  color: #5f5e64;
+  background-color: #edeff2;
+}
+
+.j-button-confirm {
+  color: #fff;
+  background-color: #2cb7ca;
+}
+
+button[disabled] {
+  opacity: 0.5;
+}
+
+.j-cells {
+  position: relative;
+  font-size: 0.32rem;
+  background-color: #fff;
+  overflow: hidden;
+}
+
+.j-cells:before, .j-cells:after {
+  content: ' ';
+  position: absolute;
+  left: 0;
+  right: 0;
+  height: 1px;
+  border-top: 1px solid rgba(0, 0, 0, 0.05);
+  color: rgba(131, 62, 62, 0.05);
+  -webkit-transform-origin: 0 0;
+  transform-origin: 0 0;
+  -webkit-transform: scaleY(0.5);
+  transform: scaleY(0.5);
+  z-index: 2;
+}
+
+.j-cells:before {
+  top: 0;
+}
+
+.j-cells:after {
+  bottom: 0;
+}
+
+.j-cell {
+  position: relative;
+  display: flex;
+  align-items: center;
+  padding-left: 0.32rem;
+  width: 100%;
+  height: 1.08rem;
+}
+
+.j-cell .j-cell_left {
+  margin-right: 0.28rem;
+}
+
+.j-cell .j-cell_right {
+  padding-right: 0.32rem;
+  display: flex;
+  align-items: center;
+  flex: 1;
+  height: 100%;
+}
+
+.j-cell .j-cell_right:after {
+  content: ' ';
+  position: absolute;
+  left: 1.04rem;
+  right: 0;
+  bottom: 0;
+  height: 1px;
+  border-top: 1px solid rgba(0, 0, 0, 0.05);
+  color: rgba(0, 0, 0, 0.05);
+  -webkit-transform-origin: 0 0;
+  transform-origin: 0 0;
+  -webkit-transform: scaleY(0.5);
+  transform: scaleY(0.5);
+  z-index: 2;
+}
+
+.j-cell .j-cell_right .j-cell_rl {
+  flex: 1;
+}
+
+.j-cell:last-of-type .j-cell_right:after {
+  height: 0;
+}
+
+/* 自定义弹窗*/
+.j-dialog .weui-animate-fade-out {
+  -webkit-animation: d ease 0s forwards;
+  animation: d ease 0s forwards;
+}
+
+.j-dialog .weui-dialog__hd {
+  background: #f5f4f9;
+  padding: 0.17rem 0;
+  color: #000;
+  font-size: 0.34rem;
+  text-align: center;
+}
+
+.j-dialog .weui-dialog__bd {
+  padding: 0.37rem 0;
+  color: #1d1d1d;
+  font-size: 0.32rem;
+  text-align: center;
+}
+
+.j-dialog .weui-dialog__ft:after {
+  border: 0;
+}
+
+.j-dialog .weui-dialog__btn:after {
+  border: 0;
+}
+
+.j-dialog .weui-dialog__ft {
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  padding-bottom: 0.38rem;
+  box-sizing: border-box;
+  text-align: center;
+}
+
+.j-dialog .weui-dialog__btn {
+  display: block;
+  width: 1.72rem;
+  height: 0.72rem;
+  line-height: 0.72rem;
+  color: #fff;
+  padding: 0;
+  flex: none;
+  text-align: center;
+  border-radius: 3px;
+}
+
+.j-dialog .weui-dialog__btn_primary {
+  background-color: #2cb7ca;
+  margin-right: 1rem;
+}
+
+.j-dialog .weui-dialog__btn_default {
+  background-color: #bfbfc3;
+}
+
+/* 自定义switch按钮 */
+.j-switch {
+  box-sizing: border-box;
+  position: relative;
+  width: 1.04rem;
+  height: 0.64rem;
+  border: 2px solid #edeff2;
+  border-radius: 0.32rem;
+  background-color: #edeff2;
+  outline: 0;
+  -webkit-transition: background-color 0.1s, border 0.1s;
+  transition: background-color 0.1s, border 0.1s;
+  -webkit-appearance: none;
+}
+
+.j-switch:before {
+  content: "";
+  position: absolute;
+  top: 0;
+  left: 0;
+  bottom: 0;
+  right: 0;
+  border-radius: 0.32rem;
+  background-color: #edeff2;
+  -webkit-transition: -webkit-transform 0.35s cubic-bezier(0.45, 1, 0.4, 1);
+  transition: -webkit-transform 0.35s cubic-bezier(0.45, 1, 0.4, 1);
+  transition: transform 0.35s cubic-bezier(0.45, 1, 0.4, 1);
+  transition: transform 0.35s cubic-bezier(0.45, 1, 0.4, 1), -webkit-transform 0.35s cubic-bezier(0.45, 1, 0.4, 1);
+}
+
+.j-switch:after {
+  content: "";
+  position: absolute;
+  top: 50%;
+  left: 0.04rem;
+  margin-top: -0.26rem;
+  width: 0.52rem;
+  height: 0.52rem;
+  border-radius: 50%;
+  background-color: #fff;
+  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
+  -webkit-transition: -webkit-transform 0.35s cubic-bezier(0.4, 0.4, 0.25, 1.35);
+  transition: -webkit-transform 0.35s cubic-bezier(0.4, 0.4, 0.25, 1.35);
+  transition: transform 0.35s cubic-bezier(0.4, 0.4, 0.25, 1.35);
+  transition: transform 0.35s cubic-bezier(0.4, 0.4, 0.25, 1.35), -webkit-transform 0.35s cubic-bezier(0.4, 0.4, 0.25, 1.35);
+}
+
+.j-switch:checked {
+  border-color: #2cb7ca;
+  background-color: #2cb7ca;
+}
+
+.j-switch:checked:before {
+  transform: scale(0);
+}
+
+.j-switch:checked:after {
+  transform: translateX(0.4rem);
+}
+
+.j-toast .weui-toast {
+  font-size: 0.3rem;
+  padding: 0.2rem;
+  width: auto;
+  max-width: 6rem;
+  min-height: 0;
+  height: auto;
+  top: 50%;
+  left: 50%;
+  margin-left: 0;
+  margin-top: -0.47rem;
+  transform: translateX(-50%) translateY(-50%);
+}
+
+.j-toast .weui-icon_toast {
+  display: none;
+}
+
+.j-toast .weui-toast__content {
+  margin: 0;
+}
+
+.jymobile-tab-triangle {
+  position: relative;
+}
+
+.jymobile-tab-triangle:after {
+  content: "";
+  position: absolute;
+  top: 50%;
+  right: 0;
+  width: 0;
+  height: 0;
+  font-size: 0;
+  line-height: 0;
+  border-style: solid;
+  border-width: 0.1rem;
+  border-color: #aaa transparent transparent transparent;
+  transform: translate(140%, -30%);
+}
+
+.jymobile-tab-triangle.active:after {
+  border-color: transparent transparent #2cb7ca transparent;
+  transform: translate(140%, -70%);
+}
+
+.jymobile-tab-triangle.current {
+  color: #2cb7ca;
+}
+
+.jymobile-tab-triangle.current:after {
+  border-color: #2cb7ca transparent transparent transparent;
+}
+
+.choose_industry {
+  position: relative;
+  display: flex;
+  flex-direction: column;
+  justify-content: space-between;
+  height: 100%;
+}
+
+.choose_industry .optional_count {
+  background: #fff;
+  height: .88rem;
+  line-height: .88rem;
+  padding: 0 .3rem;
+  font-size: .3rem;
+  color: #1d1d1d;
+}
+
+.choose_industry .optional_count em {
+  color: #2cb7ca;
+}
+
+.choose_industry .result {
+  padding: .2rem .3rem;
+  background:rgba(245,244,249,1);
+  /* margin-bottom: 0.2rem; */
+}
+
+.choose_industry .result .label {
+  color: #1d1d1d;
+  font-size: .26rem;
+}
+
+.choose_industry .result .result_name, .choose_industry .result .result_count {
+  color: #888888;
+  font-size: .26rem;
+}
+
+.choose_industry .result .update_tips {
+  display: none;
+  padding-left: 1rem;
+  color: #FE737A;
+}
+
+.choose_industry .form {
+  flex: 1;
+  overflow: scroll;
+}
+
+.choose_industry .slide {
+  position: absolute;
+  top: 50%;
+  right: 0;
+  display: flex;
+  flex-direction: column;
+  width: 0.3rem;
+  transform: translateY(-50%);
+}
+
+.choose_industry .slide a {
+  display: inline-block;
+  width: 100%;
+}
+
+.choose_industry .select-area-box {
+  padding-bottom: .94rem;
+  background-color: #fff;
+  min-height: 100%;
+}
+
+.choose_industry .list {
+  padding: 0 .3rem;
+}
+
+.choose_industry .list .wenhao {
+  display: inline-block;
+  padding: 0 0.1rem;
+  height: .7rem;
+  line-height: .7rem;
+}
+
+.choose_industry .list .show_tips {
+  color: #2cb7ca;
+  font-size: .34rem;
+}
+
+.choose_industry .list .tips_detail {
+  width: 6.4rem;
+  padding: .2rem;
+  margin-top: -0.1rem;
+  margin-bottom: .25rem;
+  display: none;
+  box-shadow: 0px 0px 6px rgba(0, 0, 0, 0.16);
+  text-align: justify;
+  font-size: .26rem;
+  color: #1d1d1d;
+  line-height: .4rem;
+  border-radius: 2px;
+}
+
+.choose_industry .list .list_item {
+  display: flex;
+  align-items: baseline;
+  border-bottom: 1px solid #e0e0e0;
+}
+
+.choose_industry .list .list_item:last-of-type {
+  border-bottom: none;
+}
+
+.choose_industry .list .list_item .item_label {
+  width: .2rem;
+  text-align: left;
+}
+
+.choose_industry .list .list_item .item_industry_list {
+  display: flex;
+  flex: 1;
+  flex-wrap: wrap;
+  justify-content: flex-start;
+  padding-top: .25rem;
+}
+
+.choose_industry .list .list_item .item_industry_list .industry_item {
+  margin: 0 .08rem;
+  margin-bottom: .25rem;
+  padding: 0 .3rem;
+  height: .7rem;
+  line-height: .7rem;
+  font-size: .28rem;
+  color: #1d1d1d;
+  background-color: #f5f4f9;
+  border-radius: .03rem;
+}
+
+.choose_industry .list .list_item .item_industry_list .industry_item.active {
+  color: #fff;
+  background-color: #2cb7ca;
+}
+
+.choose_industry .list .list_item .item_industry_list .industry_item[disabled] {
+  color: #fff;
+  background-color: #bfbfc3;
+}
+
+/* 添加行业弹窗 */
+.add_alert{
+  position: fixed;
+  width: 4.52rem;
+  box-shadow: 0px 0px 10px rgba(8, 31, 38, 0.08);
+  background: #fff;
+  z-index: 9999;
+}
+.add_alert .add_alert_main{
+  position: relative;
+  padding: 0.24rem 0.32rem;
+  width: 100%;
+  height: 100%;
+}
+.add_alert .add_alert_main .triangle{
+  position: absolute;
+  left: 8px;
+  top: -18px;
+  width: 0px;
+  height: 0px;
+  border-right: 0.16rem solid transparent;
+  border-left: 0.16rem solid transparent;
+  border-bottom: 0.16rem solid transparent;
+  border-top: 0.16rem solid #fff;
+  transform: rotate(180deg);
+  
+}
+.add_alert .add_alert_main  .add_option{
+  color: #5F5E64;
+  font-size: 13px;
+  line-height: 20px;
+}
+.add_alert .add_alert_main  .add_button{
+  display: flex;
+  margin-top: 0.24rem;
+}
+.add_alert .add_alert_main  .btn_group{
+  display: flex;
+  justify-content: center;
+  align-items: center;
+  width: 0.92rem;
+  height: 0.48rem;
+  border-radius: 4px;
+  background: #EDEFF2;
+  color: #5F5E64;
+  font-size: 12px;
+  line-height: 18px;
+}
+.add_alert .add_alert_main  .btn_confirm{
+  margin-left: 0.32rem;
+  background: #2ABED1;
+  color: #FFFFFF;
+}
+.select-area-box .negative .add_alert_main .triangle{
+  position: absolute;
+  left: 8px;
+  bottom: -16px;
+  top: inherit;
+  width: 0px;
+  height: 0px;
+  border-right: 0.16rem solid transparent;
+  border-left: 0.16rem solid transparent;
+  border-bottom: 0.16rem solid #fff;
+  border-top: 0.16rem solid transparent;
+  transform: rotate(180deg);
+}
+
+/* 添加成功弹窗提示 */
+.add_toast{
+  display: none;
+  position: fixed;
+  left: 50%;
+  top: 45%;
+  transform: translateX(-50%);
+}
+.add_toast .add_toast_main{
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  justify-content: center;
+  width: 1.8rem;
+  height: 1.8rem;
+  border-radius: 8px;
+  background: #000000;
+  opacity: 0.72;
+}
+.add_toast .icon_add{
+  width: 0.64rem;
+  height: 0.64rem;
+}
+.add_toast .icon_add .icon_add_img{
+  width: 100%;
+  height: 100%;
+}
+.add_toast .add_text{
+  color: #FFFFFF;
+  font-size: 0.3rem;
+  line-height: 0.44rem;
+}

+ 173 - 0
entbase-mobile/page_entbase_mobile/css/choose_user.css

@@ -0,0 +1,173 @@
+.choose-user {
+  background-color: #F7F9FA;
+}
+
+.choose-user .pm-body .company {
+  position: relative;
+  display: flex;
+  justify-content: space-between;
+  align-items: center;
+  padding: 0.32rem;
+  background-color: #fff;
+}
+
+.choose-user .pm-body .company:after {
+  position: absolute;
+  content: '';
+  width: 100%;
+  height: 1px;
+  /*no*/
+  bottom: 0;
+  left: 0;
+  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
+  transform-origin: 0 0;
+  transform: scaleY(0.5);
+  z-index: 99;
+  box-sizing: border-box;
+}
+
+.choose-user .pm-body .company .c-name {
+  line-height: 0.48rem;
+  font-size: 0.32rem;
+  color: #171826;
+}
+
+.choose-user .pm-body .already {
+  padding: .2rem 0;
+  text-align: center;
+  color: #2ABED1;
+  font-size: .26rem;
+  line-height: .4rem;
+}
+
+.choose-user .pm-body .branch .branch-item {
+  background-color: transparent;
+}
+
+.choose-user .pm-body .branch .branch-item .person {
+  display: none;
+  background-color: transparent;
+}
+
+.choose-user .pm-body .branch .branch-item .person .person-item {
+  position: relative;
+  display: flex;
+  justify-content: space-between;
+  align-items: center;
+  padding: 0.16rem 0.32rem;
+}
+
+.choose-user .pm-body .branch .branch-item .person .person-item:after {
+  position: absolute;
+  content: '';
+  width: 100%;
+  height: 1px;
+  /*no*/
+  bottom: 0;
+  left: 0;
+  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
+  transform-origin: 0 0;
+  transform: scaleY(0.5);
+  z-index: 99;
+  box-sizing: border-box;
+}
+
+.choose-user .pm-body .branch .branch-item .person .username {
+  color: #171826;
+  font-size: 0.32rem;
+  line-height: 0.48rem;
+}
+
+.choose-user .pm-body .branch .branch-item .person .contact {
+  color: #5F5E64;
+  font-size: 0.24rem;
+  line-height: 0.36rem;
+}
+
+.choose-user .pm-body .branch .weui-cells {
+  background-color: transparent;
+  margin-top: 0;
+}
+
+.choose-user .pm-body .branch .weui-cells:after {
+  display: none;
+}
+
+.choose-user .pm-body .branch .weui-cell_access {
+  background-color: #fff;
+}
+
+.choose-user .pm-body .branch .weui-cell_access:active {
+  background-color: transparent;
+}
+
+.choose-user .pm-body .branch .weui-cell__bd p {
+  max-width: 6.2rem;
+}
+
+.choose-user .pm-body .branch .weui-cell__ft {
+  font-size: .24rem;
+}
+
+.choose-user .pm-body .branch .weui-cell_access .weui-cell__ft:after {
+  width: 6px;
+  height: 6px;
+  right: 0.04rem;
+  transform: rotate(135deg);
+  transition: transform 0.3s;
+  border-color: #C0C4CC;
+  font-size: .24rem;
+}
+
+.choose-user .pm-body .branch .weui-cell {
+  padding: 0.24rem 0.32rem;
+  line-height: 0.4rem;
+}
+
+.choose-user .pm-body .branch .weui-cell .weui-cell__bd {
+  font-size: 0.28rem;
+}
+
+.choose-user .pm-body .branch .weui-cell:after {
+  position: absolute;
+  content: '';
+  width: 100%;
+  height: 1px;
+  /*no*/
+  bottom: 0;
+  left: 0;
+  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
+  transform-origin: 0 0;
+  transform: scaleY(0.5);
+  z-index: 99;
+  box-sizing: border-box;
+}
+
+.choose-user .pm-body .branch .branch-item.active .weui-cell__ft:after {
+  transform: rotate(-45deg);
+}
+
+.choose-user .checkbox {
+  background-color: #fff;
+  width: 0.4rem;
+  height: 0.4rem;
+  margin-right: 0.06rem;
+}
+
+.choose-user .checkbox:checked {
+  width: 0.4rem;
+  height: 0.4rem;
+}
+
+.choose-user .checkbox[disabled] {
+  background-color: #ddd;
+}
+
+.choose-user .checkbox:checked[disabled] {
+  border: 0;
+  width: 0.4rem;
+  height: 0.4rem;
+  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAACWklEQVRogc2a0a2DMAxFGYEROkJH6AiMwAiM0A0YoSMwQXX1kvSbETpCRuB9OK2gxJCEJKSSVQlROHbsGxtaVRE+AGpA3gDRAaoH5AioNyA1fas3HZPD8/l3B+Qtxn0jQIsGUA8ClVOADYBos4ObKIZCM6b65OCAaE06RARfmE6yIibHh4TgvzYCuESCl7fEUd9Yjdf1ILzo4ue6r4kmFL49H/7rROsJ/7qWA/+1myM8LgXCT8TkUNjIqza+Nu7Ai7YAyB1j6gGk9SWmziqVrA6Y9uBsuAmQMMae83z+3S3RP2Wzmtv4u3HRMfsqAKjnud+cD79WGLORMr+Z1QLOVZ5xEU33tB5KKF4Wfjv6H8PFNGunwOMYvJwA0XmcXBq8USNkz3/14OADpHyosKO5keF7PvKqD7imrjz0fzy2V2zCPwKv6+TAYjICFT23wbDwdnDUB+A/DuxJKHdz19pJBu+6AuphA3DJ21XPsoCPIh7asYhFxzthb0MywE+AentUP//gaT2C2nv2uPByAsmol3yBdwI1rWY2eApqQCfq/dDJwHsql4uJJrSZ03B8SgDgkm7WMIEMlzO+uOm6r2vCQWmY3Sh8mOfVJin89DPQHB4pgVmbANqtU84Yy5GyqqIN9QM5k3pAskh6hFXIZevoz2rhjOHGy7iamzmRcz7wNnaG/kmlIp/Qub/wwHmD/ga854uOspzY3jBLdkIHwxfghH/a8E58WuVs8PFesy4dSb5PaLrHjlQW6EgecMaR0NTSgAT1YAnSJcCZxoynIPv2VXr+dxs6R7Sxov0PjKmUDgqYeRwAAAAASUVORK5CYII=) no-repeat center center;
+  background-color: #fff !important;
+  background-size: 100% 100%;
+}

+ 45 - 0
entbase-mobile/page_entbase_mobile/css/enterprise_architecture.css

@@ -0,0 +1,45 @@
+.ea-body {
+  background-color: #F5F4F9;
+}
+
+.ea-body .company-name {
+  padding: 0.32rem 0.32rem 0.16rem;
+  font-size: 0.32rem;
+  line-height: 0.48rem;
+}
+
+.ea-body .company-handle {
+  padding-left: 0.32rem;
+  background-color: #fff;
+}
+
+.ea-body .company-handle .h-list {
+  position: relative;
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  height: 1.08rem;
+}
+
+.ea-body .company-handle .h-list span {
+  font-size: 0.32rem;
+  color: #171826;
+}
+
+.ea-body .company-handle .h-list i {
+  color: #C0C4CC;
+  font-size: 0.24rem;
+  margin-right: 0.32rem;
+}
+
+.ea-body .company-handle .h-list:after {
+  position: absolute;
+  content: '';
+  width: 100%;
+  height: 1px;
+  background-color: rgba(0, 0, 0, 0.05);
+  bottom: 0;
+  left: 0;
+  transform-origin: 0 0;
+  transform: scaleY(0.9);
+}

+ 105 - 0
entbase-mobile/page_entbase_mobile/css/introduce_page.css

@@ -0,0 +1,105 @@
+.introduce-page .j-header {
+  position: fixed;
+  width: 100%;
+  background-color: transparent;
+}
+
+.introduce-page .j-header:after {
+  display: none;
+}
+
+.introduce-page .j-body .sj-banner {
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  width: 100%;
+  height: 7.8rem;
+  padding-top: .88rem;
+  background: url(../image/bg.jpg) no-repeat top center;
+  background-size: 100% 7.8rem;
+}
+
+.introduce-page .j-body .sj-banner .banner-title {
+  width: 5.47rem;
+  height: 1.14rem;
+}
+
+.introduce-page .j-body .sj-banner .sub-title {
+  font-size: 0.44rem;
+  line-height: 0.64rem;
+  color: #fff;
+  font-weight: bold;
+  letter-spacing: 4px;
+}
+
+.introduce-page .j-body .sj-banner .banner-text {
+  margin-top: 0.16rem;
+  padding: 0.08rem 0.32rem;
+  background: rgba(255, 255, 255, 0.12);
+  border-radius: 0.9rem;
+  text-align: center;
+  color: #fff;
+}
+
+.introduce-page .j-body .sj-banner .banner-text p {
+  font-size: 0.24rem;
+  line-height: 0.36rem;
+}
+
+.introduce-page .j-body .sj-banner .banner-text p:nth-child(2) {
+  margin-top: 0.04rem;
+}
+
+.introduce-page .j-body .sj-info {
+  background-color: #fff;
+}
+
+.introduce-page .j-body .sj-info .sj-title {
+  padding-top: 0.68rem;
+  font-size: 0.4rem;
+  line-height: 0.6rem;
+  text-align: center;
+  letter-spacing: 0.04em;
+  color: #05A6F3;
+}
+
+.introduce-page .j-body .sj-info .item {
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  margin-top: 0.64rem;
+}
+
+.introduce-page .j-body .sj-info .item .item-title {
+  width: 3.26rem;
+  height: 0.64rem;
+  line-height: 0.64rem;
+  background-color: #05A6F3;
+  border-radius: 0.72rem;
+  color: #fff;
+  font-size: 0.32rem;
+  text-align: center;
+}
+
+.introduce-page .j-body .sj-info .item .item-text {
+  display: flex;
+  margin-top: 0.48rem;
+  padding: 0 0.4rem;
+}
+
+.introduce-page .j-body .sj-info .item .item-text img {
+  width: .96rem;
+  height: .96rem;
+  margin-right: 0.32rem;
+}
+
+.introduce-page .j-body .sj-info .item .item-text p {
+  font-size: 0.28rem;
+  color: #171826;
+  line-height: 0.4rem;
+  text-align: justify;
+}
+
+.introduce-page .j-body .sj-info .item .item-text:nth-child(odd) {
+  margin-top: 0.64rem;
+}

+ 579 - 0
entbase-mobile/page_entbase_mobile/css/keyWord.css

@@ -0,0 +1,579 @@
+.keyWord {
+  display: flex;
+  flex-direction: column;
+  justify-content: space-between;
+  width: 100%;
+  height: 100%;
+  overflow: hidden;
+}
+
+.keyWord .add-keyword-container,
+.keyWord .all-classify-column {
+  /* display: flex;
+  flex-direction: column;
+  justify-content: space-between; */
+  overflow-y: scroll;
+}
+
+.keyWord .add-keyword-container .classify {
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  padding: 0 .3rem;
+  height: 0.94rem;
+  background-color: #fff;
+}
+
+.keyWord .add-keyword-container .classify .classify-l {
+  font-size: .32rem;
+  color: #1d1d1d;
+}
+
+.keyWord .add-keyword-container .classify .classify-r {
+  display: flex;
+  align-items: center;
+  justify-content: end;
+  height: 100%;
+  color: #888888;
+  font-size: .28rem;
+}
+
+.keyWord .add-keyword-container .classify .classify-r .icon-arrow {
+  margin-left: .1rem;
+  font-size: .26rem;
+}
+
+.keyWord .add-keyword-container .express_tips {
+  height: 1.05rem;
+}
+
+.keyWord .add-keyword-container .express_tips .classify-tips {
+  padding: .1rem .3rem 0.07rem;
+  font-size: .26rem;
+  color: #888;
+  line-height: .38rem;
+}
+
+.keyWord .add-keyword-container .express_tips .fast_import {
+  width: 100%;
+  text-align: right;
+  padding-right: 0.3rem;
+}
+
+.keyWord .add-keyword-container .express_tips .fast_import .fast_button {
+  font-size: 0.26rem;
+  color: #2CB7CA;
+}
+
+.keyWord .add-keyword-container .content {
+  flex: 1;
+  overflow-y: scroll;
+  /* padding-bottom: 0.92rem; */
+}
+
+.keyWord .add-keyword-container .content .enter .enterOne {
+  min-height: 47px;
+  width: 100%;
+  padding: 0.3rem;
+  font-size: .3rem;
+  background: #fff;
+}
+
+.keyWord .add-keyword-container .content .enter .btnChoose {
+  border-top: 1px solid #e0e0e0;
+  overflow: hidden;
+  background: #fff;
+}
+
+.keyWord .add-keyword-container .content .enter .btnChoose button {
+  float: left;
+  height: 0.6rem;
+  font-size: .3rem;
+  width: 50%;
+  background: #fff;
+  margin: 0.15rem 0;
+  color: #1D1D1D;
+}
+
+.keyWord .add-keyword-container .content .enter .btnChoose button:first-child {
+  border-right: 1px solid #e0e0e0;
+}
+
+.keyWord .add-keyword-container .content .enter .btn {
+  margin-top: .16rem;
+  margin-bottom: .16rem;
+  display: flex;
+}
+
+.keyWord .add-keyword-container .content .enter .btn button {
+  width: 50%;
+  height: 0.94rem;
+  background: #2cb7ca;
+  color: #fff;
+  font-size: .36rem;
+  opacity: .5;
+}
+.keyWord .add-keyword-container .content .enter .btn a {
+  width: 50%;
+  height: 0.94rem;
+  display: flex;
+  justify-content: center;
+  align-items: center;
+  background: #fff;
+  color: #2CB7CA;
+  font-size: .36rem;
+}
+
+.keyWord .add-keyword-container .title {
+  font-size: .26rem;
+  color: #888;
+  padding: .3rem;
+  line-height: .38rem;
+}
+
+.keyWord .all-classify-column {
+  border-top: 1px solid transparent;
+}
+
+.keyWord .all-classify-column .keylimit {
+  display: flex;
+  justify-content: space-between;
+  height: 0.92rem;
+  align-items: center;
+  padding: 0 0.3rem;
+}
+
+.keyWord .all-classify-column .keylimit .fast_button {
+  font-size: 0.26rem;
+  color: #2CB7CA;
+}
+
+.keyWord .all-classify-column .classify-list .classify-item {
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  padding: 0 .3rem;
+  height: 1.1rem;
+  background-color: #fff;
+  border-bottom: 1px solid #CECECE;
+}
+
+.keyWord .all-classify-column .classify-list .classify-item:first-of-type {
+  border-top: 1px solid #CECECE;
+}
+
+.keyWord .all-classify-column .classify-list .classify-item .classify-item-l {
+  font-size: .32rem;
+  color: #1d1d1d;
+}
+
+.keyWord .all-classify-column .classify-list .classify-item .classify-item-r {
+  display: flex;
+  align-items: center;
+  justify-content: end;
+  height: 100%;
+  color: #888888;
+  font-size: .28rem;
+}
+
+.keyWord .all-classify-column .classify-list .classify-item .classify-item-r .icon-arrow {
+  margin-left: .2rem;
+  font-size: .26rem;
+}
+
+.keyWord .all-classify-column .no-list {
+  display: flex;
+  flex-direction: column;
+  justify-content: center;
+  align-items: center;
+}
+
+.keyWord .all-classify-column .no-list .empty-list {
+  margin-top: 1.8rem;
+  width: 100%;
+  height: 1.96rem;
+  display: flex;
+  justify-content: center;
+  align-items: center;
+}
+
+.keyWord .all-classify-column .no-list .empty-list img {
+  width: 1.96rem;
+  height: 1.96rem;
+}
+
+.keyWord .all-classify-column .no-list .nokeyclass {
+  margin-top: 0.4rem;
+  font-size: 0.3rem;
+  font-weight: 400;
+  line-height: 24px;
+  color: #888888;
+  opacity: 1;
+}
+
+.keyWord .showKeyWord ul li {
+  margin-bottom: .16rem;
+  overflow: hidden;
+}
+
+.keyWord .showKeyWord ul li .one {
+  display: flex;
+  background: #fff;
+  line-height: .54rem;
+  padding: 0.2rem 0;
+}
+
+.keyWord .showKeyWord ul li .one div {
+  flex: 1;
+}
+
+.keyWord .showKeyWord ul li .one div span {
+  display: flex;
+  padding: 0 .3rem;
+}
+
+.keyWord .showKeyWord ul li .one div span strong {
+  font-size: 0.3rem;
+  color: #1d1d1d;
+  font-weight: normal;
+  display: block;
+  width: 1.3rem;
+}
+
+.keyWord .showKeyWord ul li .one div span p {
+  flex: 1;
+  /* height: 0.54rem; */
+  /* line-height: 0.54rem; */
+  display: flex;
+  flex-wrap: wrap;
+  font-size: 0.3rem;
+  color: #686868;
+}
+
+.keyWord .showKeyWord ul li .one button {
+  width: 1.96rem;
+  background: #fff;
+  color: #2cb7ca;
+  border-left: 1px solid #E0E0E0;
+  font-size: .3rem;
+  position: relative;
+  left: 0;
+}
+
+.keyWord .showKeyWord ul li .one button i {
+  font-size: .4rem;
+  padding-right: 0.1rem;
+}
+
+.keyWord .showKeyWord ul li .modify {
+  display: none;
+  margin-top: .16rem;
+}
+
+.keyWord .showKeyWord ul li .modify textarea {
+  box-sizing: border-box;
+  min-height: .94rem;
+  resize: none;
+  width: 100%;
+  display: flex;
+  align-items: center;
+  padding: .3rem;
+  background: #fff;
+  outline: none;
+  font-size: 0.3rem;
+  color: #1d1d1d;
+}
+
+.keyWord .showKeyWord ul li .modify span {
+  width: 100%;
+  display: block;
+  line-height: 0.5rem;
+  padding: 0.2rem .3rem;
+  background: #fff;
+  outline: none;
+  font-size: 0.3rem;
+  color: #1d1d1d;
+  user-modify: read-write-plaintext-only;
+  -webkit-user-modify: read-write-plaintext-only;
+}
+
+.keyWord .showKeyWord ul li .modify button {
+  width: 50%;
+  height: .88rem;
+  float: left;
+  margin-top: 0.16rem;
+  font-size: .28rem;
+}
+
+.keyWord .showKeyWord ul li .modify button.addAdjunctWord, .keyWord .showKeyWord ul li .modify button.addExclusion {
+  position: relative;
+  background: #fff;
+}
+
+.keyWord .showKeyWord ul li .modify button.addExclusion:before {
+  position: absolute;
+  content: '';
+  width: 1px;
+  height: .64rem;
+  background-color: #e0e0e0;
+  left: 0;
+  top: 0.13rem;
+}
+
+.keyWord .showKeyWord ul li .modify button.deleteKey {
+  color: #fff;
+  background: #FE737A;
+  font-size: .3rem;
+}
+
+.keyWord .showKeyWord ul li .modify button.ascertainKey {
+  color: #fff;
+  background: #2cb7ca;
+  font-size: .3rem;
+}
+
+.keyWord .addKeyWord {
+  position: fixed;
+  bottom: 0;
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  justify-content: center;
+  width: 100%;
+  /* background: rgba(245, 244, 249, 1); */
+  text-align: center;
+  line-height: 1;
+}
+
+.keyWord .addKeyWord i {
+  margin-bottom: .3rem;
+  font-size: 1rem;
+  color: #2cb7ca;
+}
+
+.keyWord .addKeyWord p {
+  width: 100%;
+  height: .56rem;
+  line-height: .56rem;
+  background-color: #fff;
+  font-size: .28rem;
+  color: #888;
+}
+
+.keyWord .addbutton {
+  width: 100%;
+  text-align: center;
+  line-height: 1;
+  height: 0.94rem;
+  background: #2CB7CA;
+}
+
+.keyWord .addbutton .addNewKeyword {
+  width: 100%;
+  height: 100%;
+}
+
+.keyWord .addbutton .addNewKeyword i {
+  width: 100%;
+  height: 100%;
+  display: flex;
+  justify-content: center;
+  align-items: center;
+  font-size: 0.36rem;
+  color: #fff;
+}
+
+.keyWord .problem {
+  margin-top: .4rem;
+  font-size: .3rem;
+  color: #2cb7ca;
+  float: right;
+  margin-right: 0.3rem;
+  padding-bottom: 1.7rem;
+}
+
+.keyWord .problem i {
+  margin-left: .06rem;
+}
+
+.dialog-container {
+  background: rgba(0, 0, 0, 0.5);
+  position: fixed;
+  width: 100%;
+  height: 100%;
+  height: 100vh;
+  top: 0;
+  left: 0;
+  right: 0;
+  bottom: 0;
+  display: none;
+  align-items: center;
+  justify-content: center;
+}
+
+.dialog-container .problemPopContent {
+  width: 5.6rem;
+  min-height: 7.23rem;
+  display: inline-block;
+  background: #fff;
+  border-radius: 4px;
+  position: relative;
+  padding: 0.58rem 0;
+}
+
+.dialog-container .problemPopContent h3 {
+  font-size: .34rem;
+  text-align: center;
+  padding-bottom: 0.2rem;
+}
+
+.dialog-container .problemPopContent ul {
+  padding: 0 .4rem;
+}
+
+.dialog-container .problemPopContent ul li {
+  margin-top: 0.16rem;
+}
+
+.dialog-container .problemPopContent ul li h4 {
+  font-size: .3rem;
+  line-height: 1.5;
+  color: #1d1d1d;
+}
+
+.dialog-container .problemPopContent ul li p {
+  font-size: .28rem;
+  color: #868686;
+  line-height: 1.4;
+}
+
+.dialog-container .problemPopContent button {
+  width: 100%;
+  background: #fff;
+  border-top: 1px solid #E0E0E0;
+  position: absolute;
+  bottom: 0;
+  height: 1rem;
+  font-size: .36rem;
+  color: #2cb7ca;
+}
+
+.custom-toast .weui-toast {
+  font-size: .3rem;
+  padding: 0.2rem;
+  width: auto;
+  max-width: 6rem;
+  min-height: 0;
+  height: auto;
+  top: 50%;
+  left: 50%;
+  margin-left: 0;
+  margin-top: -0.47rem;
+  transform: translateX(-50%) translateY(-50%);
+}
+
+.custom-toast .weui-icon_toast {
+  display: none;
+}
+
+.custom-toast .weui-toast__content {
+  margin: 0;
+}
+
+.weui-dialog .weui-dialog__ft .weui-dialog__btn_primary {
+  color: #2cb7ca;
+}
+
+.weui-dialog input {
+  caret-color: #2cb7ca;
+}
+
+.classify-edit-pop .weui-dialog {
+  height: 3.56rem;
+  border-radius: 0.06rem;
+}
+
+.classify-edit-pop .weui-dialog .weui-dialog__hd,
+.classify-edit-pop .weui-dialog .weui-dialog__bd {
+  padding: 0;
+  text-align: left;
+  font-size: .34rem;
+}
+
+.classify-edit-pop .weui-dialog .weui-dialog__hd {
+  padding-left: .3rem;
+  height: .88rem;
+  line-height: .88rem;
+  background-color: #F4F4F9;
+}
+
+.classify-edit-pop .weui-dialog .weui-dialog__hd .weui-dialog__title {
+  font-size: 0.34rem;
+  font-weight: 400;
+}
+
+.classify-edit-pop .weui-dialog .weui-dialog__bd {
+  padding: .38rem .3rem;
+  margin-top: 0;
+  margin-bottom: 0;
+}
+
+.classify-edit-pop .weui-dialog .weui-dialog__bd .classify-keyword {
+  padding: 0 .17rem;
+  height: 0.8rem;
+  width: 100%;
+  font-size: .32rem;
+  border: 1px solid #CECECE;
+}
+
+.classify-edit-pop .weui-dialog .weui-dialog__ft {
+  margin-top: .1rem;
+  margin-bottom: .3rem;
+  justify-content: space-around;
+  border-top: 0;
+}
+
+.classify-edit-pop .weui-dialog .weui-dialog__ft .dialog__btn {
+  display: inline-block;
+  width: 1.72rem;
+  height: .72rem;
+  line-height: .72rem;
+  color: #fff;
+}
+
+.classify-edit-pop .weui-dialog .weui-dialog__ft .dialog__btn_confirm {
+  background-color: #2CB7CA;
+}
+
+.classify-edit-pop .weui-dialog .weui-dialog__ft .dialog__btn_cancel {
+  background-color: #BFBFC3;
+}
+
+.classify-edit-pop .weui-dialog .weui-dialog__ft:after {
+  border: none;
+}
+
+.j-dialog .weui-dialog__hd {
+  margin-top: .24rem;
+  background: #fff;
+}
+
+.j-dialog .weui-dialog__hd .weui-dialog__title {
+  color: #171826;
+}
+
+.j-dialog .weui-dialog__bd {
+  text-align: left;
+  margin-top: 0;
+}
+
+.j-dialog .weui-dialog__bd .weui-dialog__bd__hd {
+  font-size: 0.3rem;
+  color: #5F5E64;
+}
+
+.j-dialog .weui-dialog__bd .weui-dialog__bd__ft {
+  font-size: 0.26rem;
+  color: #9B9CA3;
+  margin-top: 0.2rem;
+}

+ 120 - 0
entbase-mobile/page_entbase_mobile/css/messageType.css

@@ -0,0 +1,120 @@
+body {
+  background: #fff;
+  font-size: 0.3rem;
+}
+
+body .industry {
+  display: flex;
+  flex-direction: column;
+  justify-content: space-between;
+  width: 100%;
+  height: 100%;
+  overflow: hidden;
+}
+
+body .industry .content {
+  flex: 1;
+  overflow-y: scroll;
+}
+
+body .industry .all {
+  margin: 0 0.3rem;
+  padding: 0.3rem 0;
+  border-bottom: 1px solid #E0E0E0;
+}
+
+body .industry .all span {
+  background: #F4F4F9;
+  display: inline-block;
+  width: 1.58rem;
+  height: .7rem;
+  border-radius: 3px;
+  text-align: center;
+  line-height: .7rem;
+  font-weight: bold;
+}
+
+body .industry .all span.active {
+  background: #2cb7ca;
+  color: #fff;
+}
+
+body .industry .list ul li {
+  margin: 0 0.3rem;
+  padding: 0.3rem 0;
+  border-bottom: 1px solid #E0E0E0;
+}
+
+body .industry .list ul li dt {
+  background: #F4F4F9;
+  display: block;
+  width: 1.58rem;
+  height: .7rem;
+  border-radius: 3px;
+  text-align: center;
+  line-height: .7rem;
+  font-weight: bold;
+  margin-bottom: 0.2rem;
+}
+
+body .industry .list ul li dd {
+  background: #F4F4F9;
+  display: inline-block;
+  width: 1.58rem;
+  height: .7rem;
+  border-radius: 3px;
+  text-align: center;
+  line-height: .7rem;
+  margin-right: .05rem;
+  margin-bottom: 0.2rem;
+}
+
+body .industry .list ul li .active {
+  background: #2cb7ca;
+  color: #fff;
+}
+
+body .industry .list ul li .question {
+  display: inline-block;
+}
+
+body .industry .list ul li i {
+  font-size: .52rem;
+  color: #2cb7ca;
+  margin-left: 0.2rem;
+  position: relative;
+  top: 0.08rem;
+}
+
+body .industry .consfirm {
+  position: fixed;
+  left: 0;
+  bottom: 0;
+  width: 100%;
+}
+
+body .industry .consfirm button {
+  width: 100%;
+  height: 0.94rem;
+  background: #2cb7ca;
+  font-size: .36rem;
+  color: #fff;
+}
+
+body .industry .resetOne {
+  width: 100%;
+}
+
+body .industry .resetOne button {
+  width: 50%;
+  height: 0.94rem;
+  background: #2cb7ca;
+  font-size: .36rem;
+  color: #fff;
+  float: left;
+}
+
+body .industry .resetOne button:first-child {
+  background: #fff;
+  color: #2cb7ca;
+}

+ 269 - 0
entbase-mobile/page_entbase_mobile/css/people_management.css

@@ -0,0 +1,269 @@
+.people-management .pm-body .company {
+  position: relative;
+  display: flex;
+  justify-content: space-between;
+  align-items: center;
+  padding: 0.36rem 0.32rem 0.16rem;
+  background-color: #fff;
+}
+
+.people-management .pm-body .company:after {
+  position: absolute;
+  content: '';
+  width: 100%;
+  height: 1px;
+  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
+  bottom: 0;
+  left: 0;
+  transform-origin: 0 0;
+  transform: scaleY(0.5);
+}
+
+.people-management .pm-body .company .c-name {
+  line-height: 0.48rem;
+  font-size: 0.32rem;
+  color: #171826;
+}
+
+.people-management .pm-body .company .c-name .icon-yijianfankui {
+  color: #2ABED1;
+  font-size: 0.26rem;
+  margin-left: 0.28rem;
+}
+
+.people-management .pm-body .company .c-count {
+  color: #5F5E64;
+  font-size: 0.24rem;
+  line-height: 0.36rem;
+}
+
+.people-management .pm-body .company .batch {
+  width: 1.48rem;
+  height: 0.52rem;
+  line-height: 0.52rem;
+  text-align: center;
+  border: 1px solid #2ABED1;
+  color: #2ABED1;
+  border-radius: 0.08rem;
+  font-size: 0.26rem;
+}
+
+.people-management .pm-body .add-handle {
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  padding: 0.16rem 0.64rem;
+  background-color: #fff;
+}
+
+.people-management .pm-body .add-handle button {
+  display: block;
+  width: 2.72rem;
+  height: 0.8rem;
+  line-height: 0.8rem;
+  font-size: 0.32rem;
+  background-color: #2ABED1;
+  color: #fff;
+  border-radius: 0.08rem;
+  cursor: pointer;
+}
+
+.people-management .pm-body .branch .b-cells {
+  margin-top: 0.2rem;
+}
+
+.people-management .pm-body .branch .b-cells:after {
+  display: none;
+}
+
+.people-management .pm-body .branch .b-cells .j-cell {
+  height: auto;
+  padding: 0.32rem 0 0.32rem 0.32rem;
+}
+
+.people-management .pm-body .branch .b-cells .branch-cell {
+  position: relative;
+}
+
+.people-management .pm-body .branch .b-cells .branch-cell:after {
+  display: block;
+  position: absolute;
+  content: '';
+  width: 100%;
+  height: 1px;
+  /*no*/
+  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
+  bottom: 0;
+  left: 1.04rem;
+  -webkit-transform: scaleY(0.5);
+  -ms-transform: scaleY(0.5);
+  transform: scaleY(0.5);
+  -webkit-transform-origin: 0 0;
+  -ms-transform-origin: 0 0;
+  transform-origin: 0 0;
+  background-image: none;
+  z-index: 99;
+  box-sizing: border-box;
+}
+
+.people-management .pm-body .branch .b-cells .j-cell_left img {
+  display: block;
+  width: 0.48rem;
+  height: 0.48rem;
+}
+
+.people-management .pm-body .branch .b-cells .j-cell_right:after {
+  display: none;
+}
+
+.people-management .pm-body .branch .b-cells .j-cell_rl {
+  font-size: 0.32rem;
+  color: #171826;
+}
+
+.people-management .pm-body .branch .b-cells .j-cell-text {
+  font-size: 0.28rem;
+  color: #9B9CA3;
+}
+
+.people-management .pm-body .branch .b-cells .icon-arrow {
+  color: #C0C4CC;
+}
+
+.people-management .pm-body .member .j-cells-title {
+  padding: 0.2rem 0.32rem;
+  line-height: 0.4rem;
+  color: #9B9CA3;
+}
+
+.people-management .pm-body .member .j-cell {
+  height: auto;
+  padding: 0.32rem 0 0.32rem 0.32rem;
+  box-sizing: border-box;
+  position: relative;
+}
+
+.people-management .pm-body .member .j-cell:after {
+  position: absolute;
+  content: '';
+  width: 100%;
+  height: 1px;
+  /*no*/
+  bottom: 0;
+  left: 0;
+  border-bottom: 1px solid rgba(0, 0, 0, 0.05);
+  transform-origin: 0 0;
+  transform: scaleY(0.5);
+  z-index: 99;
+  box-sizing: border-box;
+}
+
+.people-management .pm-body .member .j-cell .icon-arrow {
+  color: #C0C4CC;
+}
+
+.people-management .pm-body .member .j-cell_right::after {
+  display: none;
+}
+
+.people-management .pm-body .member .username {
+  color: #171826;
+  font-size: 0.32rem;
+  line-height: 0.48rem;
+}
+
+.people-management .pm-body .member .contact {
+  color: #5F5E64;
+  font-size: 0.24rem;
+  line-height: 0.36rem;
+}
+
+.people-management .pm-body .member .a-admin,
+.people-management .pm-body .member .b-admin {
+  display: inline-block;
+  width: 1.52rem;
+  height: 0.4rem;
+  line-height: 0.4rem;
+  font-size: 0.24rem;
+  margin-left: 0.08rem;
+  border-radius: 0.08rem;
+  text-align: center;
+  box-sizing: border-box;
+}
+
+.people-management .pm-body .member .a-admin {
+  color: #2ABED1;
+  border: 0.02rem solid #2ABED1;
+}
+
+.people-management .pm-body .member .b-admin {
+  color: #FF9F40;
+  border: 0.02rem solid #FF9F40;
+}
+
+.people-management .pm-body .j-cells:before, .people-management .pm-body .j-cells:after {
+  display: none;
+}
+
+.people-management .footer-tips .tips {
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  padding: 0.2rem 0.32rem;
+  background-color: #FFF4E8;
+}
+
+.people-management .footer-tips .tips span {
+  color: #FF9F40;
+  font-size: 0.26rem;
+  line-height: 0.4rem;
+}
+
+.people-management .footer-tips .tips a {
+  display: inline-block;
+  padding: 0.12rem 0.32rem;
+  color: #FF9F40;
+  font-size: 0.26rem;
+  line-height: 0.4rem;
+  border: 1px solid #FF9F40;
+  border-radius: 0.16rem;
+}
+
+.people-management .j-cell_rr {
+  display: flex;
+  align-items: center;
+}
+
+.people-management .checkbox,
+.people-management .checkbox:checked {
+  width: 0.36rem;
+  height: 0.36rem;
+  margin-left: 0.2rem;
+}
+
+.js_dialog .weui-dialog {
+  border-radius: 0.16rem;
+  left: 0.72rem;
+  right: 0.72rem;
+}
+
+.js_dialog .weui-dialog__hd {
+  font-size: 0.36rem;
+  padding: 0;
+}
+
+.js_dialog .weui-dialog__bd {
+  margin: 0;
+  padding: 0.46rem 0;
+  color: #171826;
+}
+
+.js_dialog .weui-dialog__ft {
+  line-height: 0.92rem;
+}
+
+.js_dialog .del_btn, .js_dialog .cancel_btn, .js_dialog .know {
+  color: #2ABED1;
+  font-size: 0.36rem;
+  font-weight: normal;
+}

+ 155 - 0
entbase-mobile/page_entbase_mobile/css/personnel_info.css

@@ -0,0 +1,155 @@
+.personnel-info .info-top {
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  padding: 0.2rem 0.32rem 0.16rem;
+  background-color: #fff;
+}
+
+.personnel-info .info-top .user-info {
+  display: flex;
+  align-items: center;
+}
+
+.personnel-info .info-top .user-info .name {
+  color: #171826;
+  font-size: 0.32rem;
+  line-height: 0.48rem;
+}
+
+.personnel-info .info-top .user-info .role {
+  display: inline-block;
+  margin-left: 0.24rem;
+  padding: 0 0.16rem;
+  line-height: 0.36rem;
+  border-radius: 0.08rem;
+}
+
+.personnel-info .info-top .user-info .a-admin {
+  color: #2ABED1;
+  border: 0.02rem solid #2ABED1;
+}
+
+.personnel-info .info-top .user-info .b-admin {
+  color: #FF9F40;
+  border: 0.02rem solid #FF9F40;
+}
+
+.personnel-info .info-top .contact {
+  color: #5F5E64;
+  line-height: 0.36rem;
+}
+
+.personnel-info .info-top .i-t-right {
+  padding: 0.06rem 0.22rem;
+  color: #2ABED1;
+  line-height: 0.4rem;
+  border: 1px solid #2ABED1;
+  border-radius: 0.08rem;
+}
+
+.personnel-info .info-middle {
+  margin-top: 0.2rem;
+}
+
+.personnel-info .info-middle .panel-list {
+  position: relative;
+  padding: 0.3rem 0.32rem;
+  display: flex;
+  align-items: center;
+  background-color: #fff;
+}
+
+.personnel-info .info-middle .panel-list:after {
+  position: absolute;
+  content: '';
+  bottom: 0;
+  left: 0.32rem;
+  width: 100%;
+  height: 1px;
+  background-color: rgba(0, 0, 0, 0.05);
+  transform-origin: 0 0;
+  transform: scaleY(0.8);
+}
+
+.personnel-info .info-middle .panel-list .p-label {
+  width: 1.6rem;
+  line-height: 0.48rem;
+  color: #5F5E64;
+  font-size: 0.3rem;
+}
+
+.personnel-info .info-middle .panel-list .p-value {
+  display: flex;
+  align-items: center;
+  color: #171826;
+  font-size: 0.32rem;
+}
+
+.personnel-info .info-middle .panel-list .p-value i {
+  display: none;
+  color: #C0C4CC;
+}
+
+.personnel-info .info-middle .panel-list .email-input {
+  flex: 1;
+  border: 0;
+  outline: 0;
+  line-height: 0.48rem;
+  font-size: 0.32rem;
+}
+
+.personnel-info .info-middle .panel-list .label-active {
+  color: #171826;
+  font-size: 0.32rem;
+}
+
+.personnel-info .info-middle .panel-list .value-active {
+  color: #2ABED1;
+  font-size: 0.28rem;
+}
+
+.personnel-info .info-middle .panel-active {
+  justify-content: space-between;
+}
+
+.personnel-info .j-button-group {
+  justify-content: center;
+}
+
+.personnel-info .j-button-group .leave-delete {
+  display: inline-block;
+  color: #FB483D;
+  font-size: 0.36rem;
+  line-height: 0.48rem;
+}
+
+.personnel-info .js_dialog .weui-dialog {
+  border-radius: 0.16rem;
+  left: 0.72rem;
+  right: 0.72rem;
+}
+
+.personnel-info .js_dialog .weui-dialog__hd {
+  font-size: 0.36rem;
+  padding: 0.48rem 0;
+  padding: 0;
+}
+
+.personnel-info .js_dialog .weui-dialog__ft {
+  line-height: 0.92rem;
+}
+
+.personnel-info .js_dialog .weui-dialog__bd {
+  padding: 0.46rem 0;
+  margin: 0;
+  color: #171826;
+  font-size: 0.32rem;
+  line-height: 0.48rem;
+}
+
+.personnel-info .js_dialog .del_btn, .personnel-info .js_dialog .cancel_btn {
+  color: #2ABED1;
+  font-size: 0.36rem;
+  font-weight: normal;
+}

+ 746 - 0
entbase-mobile/page_entbase_mobile/css/public.css

@@ -0,0 +1,746 @@
+@charset "UTF-8";
+.scrollbar-none::-webkit-scrollbar {
+  display: none;
+}
+
+body {
+  color: #171826;
+  line-height: 1.6;
+}
+
+input,
+textarea {
+  caret-color: #2cb7ca;
+}
+
+.error-tip {
+  display: none;
+  color: #FB483D;
+  font-size: .24rem;
+}
+
+/*禁止长按复制 加给body*/
+.no-touch {
+  -webkit-touch-callout: none;
+  -webkit-user-select: none;
+  -khtml-user-select: none;
+  -moz-user-select: none;
+  -ms-user-select: none;
+  user-select: none;
+}
+
+.j-pd {
+  padding-left: 0.32rem;
+  padding-right: 0.32rem;
+}
+
+.j-arrow {
+  display: inline-block;
+  width: 0.26rem;
+  height: 0.26rem;
+  border: 2px solid #5f5e64;
+  border-bottom-color: transparent;
+  border-right-color: transparent;
+  background: 0 0;
+  transform: rotate(-45deg);
+}
+
+.highlight-text {
+  color: #2cb7ca;
+}
+
+.j-container {
+  display: flex;
+  flex-direction: column;
+  justify-content: space-between;
+  height: 100%;
+}
+
+.j-header {
+  position: relative;
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  padding: 10.66667vw 3.2vw 0 3.2vw;
+  height: 21.33333vw;
+  font-size: 0.36rem;
+  font-size: 17px;
+  background-color: #fff;
+  box-sizing: border-box;
+}
+
+.j-header:after {
+  content: '';
+  position: absolute;
+  left: 0;
+  bottom: 0;
+  width: 100%;
+  height: 1px;
+  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.1) 65%, transparent 35%);
+}
+
+.j-header .header-left,
+.j-header .header-title,
+.j-header .header-right {
+  display: flex;
+  align-items: center;
+}
+
+.j-header .header-left {
+  color: #5f5e64;
+  color: #444;
+  font-size: 0.4rem;
+}
+
+.j-header .header-title {
+  color: #171826;
+}
+
+.j-header .header-right {
+  height: 100%;
+  min-width: 0.4rem;
+  font-size: 0.3rem;
+}
+
+.j-body {
+  flex: 1;
+  overflow-y: scroll;
+  overflow-x: hidden;
+}
+
+.j-footer {
+  box-shadow: 0px -2px 8px rgba(54, 147, 179, 0.051);
+}
+
+@keyframes ballRotate {
+  0% {
+    transform: rotate(0);
+  }
+  100% {
+    transform: rotate(360deg);
+  }
+}
+
+.ball-clip-rotate {
+  position: absolute;
+  left: 50%;
+  top: 50%;
+  z-index: 2;
+  transform: translate(-50%, -50%);
+}
+
+.ball-clip-rotate .ball {
+  display: inline-block;
+  width: 26px;
+  height: 26px;
+  border-radius: 50%;
+  border: 3px solid #fff;
+  border-bottom-color: transparent;
+  background: 0 0;
+  -webkit-animation: ballRotate 0.75s 0s linear infinite;
+  animation: ballRotate 0.75s 0s linear infinite;
+}
+
+.j-mask {
+  position: fixed;
+  z-index: 1000;
+  top: 0;
+  right: 0;
+  left: 0;
+  bottom: 0;
+}
+
+.black {
+  background: rgba(0, 0, 0, 0.6);
+}
+
+.j-loading {
+  display: none;
+}
+
+.j-loading .j-toast {
+  position: fixed;
+  top: 45%;
+  left: 50%;
+  z-index: 1001;
+  padding: 0.2rem;
+  min-width: 2.2rem;
+  max-width: 6.2rem;
+  width: auto;
+  height: auto;
+  color: #fff;
+  font-size: 0.28rem;
+  text-align: center;
+  background: rgba(18, 18, 18, 0.7);
+  border-radius: 5px;
+  transform: translate(-50%, -50%);
+}
+
+.j-loading .j-toast.icon {
+  padding: 0.5rem 0.2rem;
+}
+
+.j-loading .j-toast.icon .j-toast_icon {
+  display: inline-block;
+  width: 38px;
+  height: 38px;
+}
+
+.j-loading .j-toast .j-toast_icon {
+  display: none;
+}
+
+.j-loading .j-toast .j-toast_content {
+  text-align: center;
+}
+
+.j-loading-icon {
+  display: inline-block;
+  width: 20px;
+  height: 20px;
+  vertical-align: baseline;
+  background: transparent url("data:image/svg+xml;charset=utf8, %3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120' viewBox='0 0 100 100'%3E%3Cpath fill='none' d='M0 0h100v100H0z'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E9E9E9' rx='5' ry='5' transform='translate(0 -30)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23989697' rx='5' ry='5' transform='rotate(30 105.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%239B999A' rx='5' ry='5' transform='rotate(60 75.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23A3A1A2' rx='5' ry='5' transform='rotate(90 65 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23ABA9AA' rx='5' ry='5' transform='rotate(120 58.66 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23B2B2B2' rx='5' ry='5' transform='rotate(150 54.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23BAB8B9' rx='5' ry='5' transform='rotate(180 50 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23C2C0C1' rx='5' ry='5' transform='rotate(-150 45.98 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23CBCBCB' rx='5' ry='5' transform='rotate(-120 41.34 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23D2D2D2' rx='5' ry='5' transform='rotate(-90 35 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23DADADA' rx='5' ry='5' transform='rotate(-60 24.02 65)'/%3E%3Crect width='7' height='20' x='46.5' y='40' fill='%23E2E2E2' rx='5' ry='5' transform='rotate(-30 -5.98 65)'/%3E%3C/svg%3E") no-repeat;
+  background-size: 100%;
+  -webkit-animation: ballRotate 1s steps(12) infinite;
+  animation: ballRotate 1s steps(12) infinite;
+}
+
+.j-button-group {
+  display: flex;
+  justify-content: space-between;
+  align-items: center;
+  width: 100%;
+  padding: 0.16rem 0.32rem 0.24rem;
+  background-color: #fff;
+}
+
+.j-button-confirm, .j-picker .weui-half-screen-dialog__ft .weui-picker__btn,
+.j-button-cancel {
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  flex: 1;
+  width: 100%;
+  height: 0.92rem;
+  font-size: 0.32rem;
+  line-height: inherit;
+  text-align: center;
+  border-radius: 0.16rem;
+}
+
+.j-button-cancel {
+  margin-right: 0.26rem;
+  color: #5f5e64;
+  background-color: #edeff2;
+}
+
+.j-button-confirm, .j-picker .weui-half-screen-dialog__ft .weui-picker__btn {
+  color: #fff;
+  background-color: #2cb7ca;
+}
+
+button[disabled] {
+  opacity: 0.5;
+}
+
+.j-cells {
+  position: relative;
+  width: 100%;
+  font-size: 0.32rem;
+  background-color: #fff;
+}
+
+.j-cells:before, .j-cells:after {
+  content: '';
+  position: absolute;
+  left: 0;
+  right: 0;
+  width: 100%;
+  height: 1px;
+  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.05) 70%, transparent 30%);
+}
+
+.j-cells:before {
+  top: 0;
+}
+
+.j-cells:after {
+  bottom: 0;
+}
+
+.j-cell {
+  position: relative;
+  display: flex;
+  align-items: center;
+  padding-left: 0.32rem;
+  width: 100%;
+  min-height: 1.08rem;
+  overflow: hidden;
+}
+
+.j-cell .j-cell_left {
+  margin-right: 0.28rem;
+  white-space: nowrap;
+}
+
+.j-cell .j-cell_right {
+  padding-right: 0.32rem;
+  display: flex;
+  align-items: center;
+  flex: 1;
+  height: 100%;
+}
+
+.j-cell .j-cell_right:after {
+  content: '';
+  position: absolute;
+  left: 1.04rem;
+  right: 0;
+  bottom: 0;
+  width: 100%;
+  height: 1px;
+  background-image: linear-gradient(0deg, rgba(0, 0, 0, 0.05) 80%, transparent 20%);
+}
+
+.j-cell .j-cell_right .iconfont {
+  margin-left: 0.2rem;
+}
+
+.j-cell .j-cell_right .j-cell_rl {
+  flex: 1;
+}
+
+.j-cell:last-of-type .j-cell_right:after {
+  height: 0;
+  border-top: 0;
+}
+
+.j-cells.without-icon .j-cell {
+  justify-content: space-between;
+}
+
+.j-cells.without-icon .j-cell_right:after {
+  left: 0.32rem;
+}
+
+.j-cells.without-icon .j-cell_right {
+  display: flex;
+  align-items: center;
+  justify-content: flex-end;
+  max-width: 65%;
+}
+
+.j-cells.without-icon .j-cell_right:after {
+  left: 0.32rem;
+}
+
+.j-cells.with-sub-info {
+  margin: 0.2rem 0.24rem;
+  width: auto;
+  border-radius: 0.16rem;
+}
+
+.j-cells.with-sub-info:before, .j-cells.with-sub-info:after {
+  height: 0;
+}
+
+.j-cells.with-sub-info .j-cell_right:after {
+  left: 0.32rem;
+}
+
+.j-cells.with-sub-info .j-cell {
+  flex-direction: column;
+  justify-content: space-between;
+  padding-top: 0.24rem;
+  padding-bottom: 0.24rem;
+  color: #9b9ca3;
+  font-size: 0.28rem;
+}
+
+.j-cells.with-sub-info .cell-hd {
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  width: 100%;
+}
+
+.j-cells.with-sub-info .cell-ft {
+  padding-right: 0.32rem;
+  width: 100%;
+}
+
+.j-cells.with-sub-info .j-cell_left {
+  color: #171826;
+  font-size: 0.36rem;
+}
+
+.j-cells.with-sub-info .j-cell_right {
+  flex-wrap: nowrap;
+  justify-content: flex-end;
+  max-width: 65%;
+}
+
+.border-all {
+  position: relative;
+}
+
+.border-all:after {
+  content: '';
+  position: absolute;
+  left: 0;
+  top: 0;
+  z-index: -1;
+  width: 200%;
+  height: 200%;
+  border: 1px solid rgba(0, 0, 0, 0.1);
+  -webkit-transform-origin: 0 0;
+  transform-origin: 0 0;
+  -webkit-transform: scale(0.5, 0.5);
+  transform: scale(0.5, 0.5);
+}
+
+.weui-dialog {
+  left: 0.72rem;
+  right: 0.72rem;
+  border-radius: 0.16rem;
+}
+
+.weui-skin_android .weui-dialog__btn,
+.weui-dialog__btn {
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  margin: 0;
+  padding: 0;
+  width: 100%;
+  height: 100%;
+  color: #2cb7ca;
+  font-size: 0.36rem;
+  font-weight: 400;
+}
+
+.weui-skin_android .weui-dialog__btn {
+  border-left: 1px solid rgba(0, 0, 0, 0.1);
+}
+
+.weui-skin_android .weui-dialog__btn:first-of-type {
+  border-left: 0;
+}
+
+.weui-skin_android .weui-dialog__btn:after,
+.weui-dialog__btn:after {
+  transform: scale(1);
+}
+
+.weui-skin_android .weui-dialog__btn:last-child {
+  margin: 0;
+}
+
+.weui-skin_android .weui-dialog__btn_default,
+.weui-dialog__btn_default {
+  color: #171826;
+}
+
+.weui-skin_android .weui-dialog__btn_primary,
+.weui-dialog__btn_primary {
+  color: #2cb7ca;
+}
+
+.weui-skin_android .weui-dialog__btn_warning,
+.weui-dialog__btn_warning {
+  color: #fb483d;
+}
+
+.weui-skin_android .weui-dialog__bd,
+.weui-dialog__bd {
+  margin: 0.44rem 0.4rem 0.44rem;
+  padding: 0;
+  min-height: auto;
+  font-size: 0.32rem;
+  color: #171826;
+  text-align: center;
+}
+
+.weui-dialog__bd:first-child {
+  padding: 0;
+}
+
+.weui-skin_android .weui-dialog__ft,
+.weui-dialog__ft {
+  display: flex;
+  padding: 0;
+  height: 0.92rem;
+  border-top: 1px solid #efeffe;
+  text-align: center;
+}
+
+.j-alert .weui-dialog__hd {
+  padding: 0.48rem 0.4rem 0;
+  color: #1d1d1d;
+  text-align: center;
+}
+
+.j-alert .weui-dialog__hd .weui-dialog__title {
+  font-size: 0.34rem;
+  font-weight: 700;
+}
+
+.j-dialog .weui-dialog__hd {
+  background: #f5f4f9;
+  padding: 0.17rem 0;
+  color: #000;
+  font-size: 0.34rem;
+  text-align: center;
+}
+
+.j-dialog .weui-dialog__ft:after {
+  border: 0;
+}
+
+.weui-toast {
+  font-size: 0.3rem;
+  padding: 0.15rem 0.2rem;
+  max-width: 6rem;
+  min-height: 0;
+  width: auto;
+  height: auto;
+  top: 45%;
+  left: 50%;
+  margin-left: 0;
+  transform: translate(-50%, -50%);
+}
+
+.j-toast .weui-icon_toast {
+  display: none;
+}
+
+.j-toast .weui-toast__content {
+  margin: 0;
+}
+
+.j-toast-icon .weui-toast {
+  width: 2.2rem;
+  height: 2.2rem;
+  padding: 0.2rem 0.2rem;
+}
+
+.j-toast-icon .weui-icon_toast {
+  margin: 0.1rem 0 0;
+}
+
+.j-toast-icon .weui-toast__content {
+  margin: 0;
+}
+
+.j-switch {
+  box-sizing: border-box;
+  position: relative;
+  width: 1.04rem;
+  height: 0.64rem;
+  border: 2px solid #edeff2;
+  border-radius: 0.32rem;
+  background-color: #edeff2;
+  outline: 0;
+  -webkit-transition: background-color 0.1s, border 0.1s;
+  transition: background-color 0.1s, border 0.1s;
+  -webkit-appearance: none;
+}
+
+.j-switch:before {
+  content: '';
+  position: absolute;
+  top: 0;
+  left: 0;
+  bottom: 0;
+  right: 0;
+  border-radius: 0.32rem;
+  background-color: #edeff2;
+  -webkit-transition: -webkit-transform 0.35s cubic-bezier(0.45, 1, 0.4, 1);
+  transition: -webkit-transform 0.35s cubic-bezier(0.45, 1, 0.4, 1);
+  transition: transform 0.35s cubic-bezier(0.45, 1, 0.4, 1);
+  transition: transform 0.35s cubic-bezier(0.45, 1, 0.4, 1), -webkit-transform 0.35s cubic-bezier(0.45, 1, 0.4, 1);
+}
+
+.j-switch:after {
+  content: '';
+  position: absolute;
+  top: 50%;
+  left: 0.04rem;
+  margin-top: -0.26rem;
+  width: 0.52rem;
+  height: 0.52rem;
+  border-radius: 50%;
+  background-color: #fff;
+  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.4);
+  -webkit-transition: -webkit-transform 0.35s cubic-bezier(0.4, 0.4, 0.25, 1.35);
+  transition: -webkit-transform 0.35s cubic-bezier(0.4, 0.4, 0.25, 1.35);
+  transition: transform 0.35s cubic-bezier(0.4, 0.4, 0.25, 1.35);
+  transition: transform 0.35s cubic-bezier(0.4, 0.4, 0.25, 1.35), -webkit-transform 0.35s cubic-bezier(0.4, 0.4, 0.25, 1.35);
+}
+
+.j-switch:checked {
+  border-color: #2cb7ca;
+  background-color: #2cb7ca;
+}
+
+.j-switch:checked:before {
+  transform: scale(0);
+}
+
+.j-switch:checked:after {
+  transform: translateX(0.4rem);
+}
+
+.j-picker.adaption .weui-half-screen-dialog__bd {
+  flex: 1;
+}
+
+.j-picker.adaption .weui-half-screen-dialog__bd .weui-picker__bd {
+  height: auto;
+}
+
+.j-picker .weui-picker {
+  display: flex;
+  flex-direction: column;
+  justify-content: space-between;
+  padding: 0 0.32rem;
+  min-height: 6.24rem;
+}
+
+.j-picker .weui-half-screen-dialog {
+  max-height: 70%;
+}
+
+.j-picker .weui-half-screen-dialog__hd {
+  justify-content: space-between;
+  padding: 0.44rem 0.44rem 0.24rem 0;
+  width: 100%;
+}
+
+.j-picker .weui-half-screen-dialog__hd .weui-half-screen-dialog__hd__main {
+  flex: none;
+  order: 1;
+  padding: 0;
+  text-align: left;
+}
+
+.j-picker .weui-half-screen-dialog__hd .weui-half-screen-dialog__hd__main .weui-half-screen-dialog__title {
+  color: #171826;
+  font-size: 0.4rem;
+  font-weight: normal;
+}
+
+.j-picker .weui-half-screen-dialog__hd .weui-half-screen-dialog__hd__side {
+  order: 2;
+}
+
+.j-picker .weui-half-screen-dialog__hd .weui-half-screen-dialog__hd__side .weui-picker__btn {
+  color: #c0c4cc;
+  font-size: 0.42rem;
+}
+
+.j-picker .weui-half-screen-dialog__bd {
+  font-size: 0.36rem;
+}
+
+.j-picker .weui-half-screen-dialog__ft {
+  padding: 0.16rem 0 0.24rem;
+}
+
+.j-picker .weui-half-screen-dialog__ft .weui-picker__btn {
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  margin: 0;
+  padding: 0;
+  color: #f7f9fa;
+  font-size: 0.36rem;
+  font-weight: 400;
+}
+
+.j-tab-triangle {
+  position: relative;
+}
+
+.j-tab-triangle:after {
+  content: '';
+  position: absolute;
+  top: 50%;
+  right: 0;
+  width: 0;
+  height: 0;
+  font-size: 0;
+  line-height: 0;
+  border-style: solid;
+  border-width: 0.1rem;
+  border-color: #aaa transparent transparent transparent;
+  transform: translate(140%, -30%);
+}
+
+.j-tab-triangle.active:after {
+  border-color: transparent transparent #2cb7ca transparent;
+  transform: translate(140%, -70%);
+}
+
+.j-tab-triangle.current {
+  color: #2cb7ca;
+}
+
+.j-tab-triangle.current:after {
+  border-color: #2cb7ca transparent transparent transparent;
+}
+
+.checkbox {
+  width: 0.4rem;
+  height: 0.4rem;
+  border: 1px solid #ddd;
+  border-radius: 50%;
+  margin-right: 0.2rem;
+  -webkit-appearance: none;
+  background: #fff;
+}
+
+.checkbox:checked {
+  border: 0;
+  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAACpElEQVRogc1asa2DMBBlhIyQMpKNxAiMwAiMwAhswAgZgQrOHSVwLhiBERghvwCSwMdgOzYG6aQUhLw7v3u+Z+J5Bq4g724U6pCUTeIznlGGHQHsKcOBAPbT544yntOiTSnUoYnf/Rm0X7YRAXxShgMFfCkH4zkBjE8HTos21QYtCJ/xzDpwAhgTwN4k8OWK4GBlRYK8u1HGc2vA/yfSPaC+GwFPoQ6tVn1vNQoMfgJPyiYxzXXl3ijbSA88YOwa/BzKfUEKDK4C/hOSe8cD6vv1wOOLMhykGvtUtVFPotunDmDsHORBCPth1PoLUmeDStvUKdrUObgxqinE9xRt+q/6TjarZWW79cZFGXaiVQjy7va+0S/byDX4LYUhZZOIvrPoBafKw7BbVFOW1ozn7pt3B/xe9ed4QH33KNSho+pXv4CngC9SNon0zVcDTwFHNTqb/wTwqcX5TQry3KNHmmswfMYzEXif8Uz5mQwHT1r/55MGC+AJ4FPruVIJrJwRhToUbjA74LeATxuoHvg5gSMJFf24bO9YAy+7AgTwuQVAirfrmeULvBHxYDhINTEpm0SYhGgMsQ1+LG4v3f17B09rCyqa2Y0fzzCeq8pXJUpiPB/F6jTwc1GVJ1GNQ6dp3lJSLqkEyjbSG+YYDrKnBA+o77a8xruQunK219yeN/aGNaM0j9NTAvpmXqA2VsHDSigMWMrFdDnt1vY8xtpSep4hUz+qTGXbIG1K+iWMvW7137x1Y27UQtBzHyqd6A80qi/00AsqXfKETuWFh0OjLwSv/KLjSkkcbZjXTYLhoA3eeRI6tBFd86h8Inhzr1m/L+v7xESZQ6m8XCJnARckoketca+paNGmVuiievllG032tKKjtezf1f36u43PeEYAY1PV/gMeU6lGAhyHxgAAAABJRU5ErkJggg==) no-repeat center center;
+  background-size: 100% 100%;
+}
+
+.checkbox.transparent:checked {
+  border: 0;
+  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAACQAAAAkCAYAAADhAJiYAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAHBSURBVHgBzZiPcYIwFIeDE7hB6QR1gzqCG2g3cAPtBLqBdoK6Ae0EXCd4bmA3+PW9JlxTJEJCgnx37xQSku9IyL9MeQIg558FxxPHnGNqQvjmOJv45DhlWXZWKWCRFUcBf0p5VsWCC5tzEPpDvcT44SnHDvGRMqe+Mjn0q04FQffFzjKE9FCrFHQzEYZDWuFf801qThuOXA3HzNR5DfRnfS/mlUdmCZEa9u3YnHkAfZQ/EyOzGkjmyPHWcD+HPUYh7SdesbXqOzakF1VijvRs7dfB1wdHvgdJXCMtdZnljbxryfCOccgIh1v9h6CbM3Qa8ZX5rVMyXtoKhB7Bfd5kiIxwUTcSCbW5hq/38JdZwAPVkk4NUlt0l5nB3QJOobYHqKNUbxmYJqMuGaWCWoX23HeMICOUrlHTxbKh4n0kGeEUMjA2LxdUlMXdOnTq2CSQEfKqsAL+7CLLlK4O6lUI9C4itM/YrMRlnAs0w4u6H6+Nd9FtaojN3qkJPYkOsXqsILTtYjGmjeKAUmVnmVrzpehTUqbfYUNNTMYoQn8I1oawN0YspMMX8DgXypQn+DvSe1Z6IJWwj/QkPji+VMCR3g//T7SIqLP6vQAAAABJRU5ErkJggg==) no-repeat center center;
+  background-size: 100% 100%;
+}
+
+.j-button {
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  height: 0.72rem;
+  padding: 0 0.2rem;
+  background-color: #f5f6f7;
+  color: #5f5e64;
+  border-radius: 0.08rem;
+}
+
+.j-button-item {
+  position: relative;
+  display: inline-block;
+  color: #171826;
+}
+
+.j-button-item.active {
+  color: #2abed1;
+  background-color: #e8fafd;
+}
+
+.j-button-item.active:after {
+  content: '';
+  position: absolute;
+  right: 0;
+  bottom: 0;
+  width: 0.24rem;
+  height: 0.24rem;
+  background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAKySURBVHgB7Zg/aNRQHMd/eXfWP6i9omJBhBOXa0W4bK6ni6Murro76Cgu1kF0aysOjnXTyTopLkEcHM8TxIMOHghFQfBAaUtp8/P9Qt+Rpnm99y+XBO6zXJJ7gc83v+S9XwIwZsyY0jIbdB54UFIuBF/mEfFu6QLUX7drR2qVeUC8RfulChDJT7KAbzbFsdIEaLxt19nBSL4eP16KADJ5ovAB9pMnCh1g9n276VVZgAA12RgGBaURdG4OkycKWYGZoHPHQ1hQGVu4CkSrq6I8UagKkDwgzOmcU5gAojUATXIPkGwNdMk1QFproEtuAYYtUKrkEsCVPDHyAC7liZEGUGkNdBnZQqbaGugykgrotAa6ZF4B3dZAlwpkiElrILg2PQVL/nm4ceYE/N3ahu6/jdRxmd1Cpq0BQfKPZs4O9inApY9fU8dWwTGiNUDD1iApT1AAGU4DDFoDRKPWIE2eePb9l/QcZ7eQ7QIlk7//7Qe8+flHep6TAHnJE9azUFJedfYQ2MgTVgGoNWAT7BPfnBbHnl6sw8mJA3C8WoErpyZhdWNTGsJWntM3XshkrQGJxyFBEk3iQJ7oGVWAWgOG8JxvHkr+93tzK7rycZKVcCTPn2B8px1gpzV4IvufJElWFqJx9LAbeU6IuKg1C+m0BrKrnIaJPLHmhVPKFaDWgMvfUx0vq0QSU3l++yyttPxXQ1dim9ZgeUdMVgljeU4I+JB+961A7KvBVTBEVgkbeURY7F5uvqRtaQVcvruKStw+dxqO8Wn28cqquTyfOtdZOCf2Ux9i1y/eriB59MJWt+X3xLE9C1mR5T0vvB6XJ3ZVIIuvBi5Iu/KCQQWy+mpgCz2w617op8kTUQWy/GpgSB8xfIEMFmTiAs/mxdshfX6te9zjM78pPqyx7eVey++rnPgfnLxxiLvERTEAAAAASUVORK5CYII=) no-repeat;
+  background-size: contain;
+}

File diff suppressed because it is too large
+ 4 - 0
entbase-mobile/page_entbase_mobile/css/styles.pure.css


+ 89 - 0
entbase-mobile/page_entbase_mobile/css/sub_entrance.css

@@ -0,0 +1,89 @@
+body {
+  background: #F5F6F7;
+}
+
+body .company {
+  width: 100%;
+  padding: 0.24rem 0.32rem;
+  background: #fff;
+}
+
+body .company .company_name {
+  font-size: 0.32rem;
+  color: #171826;
+}
+
+body .company .company_date {
+  font-size: 0.24rem;
+  color: #9B9CA3;
+}
+
+body .sub_company {
+  width: 100%;
+  padding: 0 0.26rem;
+}
+
+body .sub_company .sub_range {
+  width: 100%;
+}
+
+body .sub_company .sub_range .range {
+  width: 100%;
+  height: 0.8rem;
+  margin: 0.4rem 0 0 0.08rem;
+}
+
+body .sub_company .sub_range .range .range_title {
+  font-size: 0.28rem;
+  color: #171826;
+}
+
+body .sub_company .sub_range .range .range_tips {
+  font-size: 0.24rem;
+  color: #9B9CA3;
+}
+
+body .sub_company .sub_range .j-cells.with-sub-info {
+  margin-left: 0;
+  margin-right: 0;
+}
+
+body .sub_company .sub_range .j-cells.with-sub-info .j-cell_left {
+  font-size: 0.32rem;
+}
+
+body .sub_company .sub_range .icon-wenhao {
+  margin-left: 0.2rem;
+  color: #2ABED1;
+}
+
+.j-alert .weui-dialog__bd {
+  text-align: left;
+}
+
+.staff {
+  height: 100%;
+  border-top: 1px solid transparent;
+}
+
+.staff .empty-container {
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  margin: 1.6rem auto 0.24rem;
+  width: 3.2rem;
+  height: 3.2rem;
+}
+
+.staff .empty-container .empty {
+  width: 2rem;
+}
+
+.staff .tips {
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  color: #9B9CA3;
+  font-size: .26rem;
+  line-height: .4rem;
+}

+ 127 - 0
entbase-mobile/page_entbase_mobile/css/sub_management.css

@@ -0,0 +1,127 @@
+.j-cells {
+  margin-top: 0.2rem;
+  border-top: 1px solid transparent;
+  background-color: transparent;
+}
+
+.j-cell {
+  background-color: #fff;
+}
+
+.j-cell .j-cell_right:after {
+  left: 0.32rem;
+}
+
+.j-cells:before,
+.j-cells:after {
+  height: 0;
+}
+
+.com-info,
+.department-info {
+  display: flex;
+  flex-direction: column;
+  padding: 0.24rem 0.32rem;
+  background-color: #fff;
+}
+
+.com-info .info-hd,
+.department-info .info-hd {
+  color: #171826;
+  font-size: 0.32rem;
+}
+
+.com-info .info-bd,
+.department-info .info-bd {
+  margin-top: 0.08rem;
+  color: #9B9CA3;
+  font-size: 0.24rem;
+}
+
+.com-admin .j-cells .j-cell_right {
+  display: flex;
+  align-items: center;
+  justify-content: flex-end;
+}
+
+.com-admin .sub-mode,
+.com-admin .sub-dispense-settings,
+.com-admin .sub-settings {
+  margin-bottom: 0.2rem;
+}
+
+.com-admin .sub-settings,
+.com-admin .dispense-settings {
+  display: none;
+}
+
+.com-admin .settings-detail-container {
+  display: none;
+}
+
+.com-admin .sub-settings .settings-detail {
+  display: flex;
+  flex-direction: column;
+  padding-top: 0.1rem;
+  padding-bottom: 0.08rem;
+}
+
+.com-admin .sub-settings .cell-item {
+  display: flex;
+  align-items: center;
+  justify-content: space-between;
+  padding: 0.08rem 0;
+  padding-right: 0.32rem;
+  width: 100%;
+  color: #5f5e64;
+  font-size: 0.26rem;
+  line-height: 0.4rem;
+}
+
+.com-admin .sub-settings .cell-item .item-l {
+  white-space: nowrap;
+}
+
+.department-admin .title,
+.department-admin .sub-title {
+  padding: 0.2rem 0.32rem;
+  color: #9B9CA3;
+  font-size: 0.26rem;
+}
+
+.department-admin .sub-title {
+  padding-top: 0.16rem;
+  font-size: 0.24rem;
+  text-align: center;
+}
+
+.department-admin .j-cell_right {
+  justify-content: flex-end;
+}
+
+.staff {
+  height: 100%;
+  border-top: 1px solid transparent;
+}
+
+.staff .empty-container {
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  margin: 1.6rem auto 0.24rem;
+  width: 3.2rem;
+  height: 3.2rem;
+}
+
+.staff .empty-container .empty {
+  width: 2rem;
+}
+
+.staff .tips {
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  color: #9B9CA3;
+  font-size: 0.26rem;
+  line-height: 0.4rem;
+}

File diff suppressed because it is too large
+ 14 - 0
entbase-mobile/page_entbase_mobile/css/swiper.min.css


+ 60 - 0
entbase-mobile/page_entbase_mobile/css/switch_mode.css

@@ -0,0 +1,60 @@
+.mode-tabs {
+  border-top: 1px solid transparent;
+}
+
+.mode-tab-item {
+  display: flex;
+  flex-direction: column;
+  align-items: center;
+  justify-content: center;
+  margin-top: 0.2rem;
+  background-color: #fff;
+}
+
+.item-description {
+  display: flex;
+  justify-content: space-between;
+  margin-bottom: 0.08rem;
+  padding: 0.24rem 0.32rem;
+  width: 100%;
+}
+
+.item-description .description-left .desc-title {
+  color: #171826;
+  font-size: 0.32rem;
+  line-height: 0.48rem;
+}
+
+.item-description .description-left .desc-sub-title {
+  margin: 0.12rem 0 0 0;
+  color: #9B9CA3;
+  font-size: 0.24rem;
+}
+
+.item-description .description-right {
+  margin-left: 0.3rem;
+}
+
+.item-buttons {
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  width: 100%;
+  height: 0.8rem;
+  font-size: 0.3rem;
+  color: #171826;
+  border-top: 1px solid rgba(0, 0, 0, 0.05);
+}
+
+.item-buttons .item-button {
+  display: flex;
+  align-items: center;
+  justify-content: center;
+  flex: 1;
+  height: 100%;
+}
+
+.item-buttons .button-r {
+  color: #2ABED1;
+  border-left: 1px solid rgba(0, 0, 0, 0.05);
+}

File diff suppressed because it is too large
+ 157 - 0
entbase-mobile/page_entbase_mobile/css/treasure_box.css


File diff suppressed because it is too large
+ 4 - 0
entbase-mobile/page_entbase_mobile/css/weui.min.css


File diff suppressed because it is too large
+ 3 - 0
entbase-mobile/page_entbase_mobile/iconfont/iconfont.css


BIN
entbase-mobile/page_entbase_mobile/iconfont/iconfont.eot


BIN
entbase-mobile/page_entbase_mobile/iconfont/iconfont.ttf


BIN
entbase-mobile/page_entbase_mobile/iconfont/iconfont.woff


BIN
entbase-mobile/page_entbase_mobile/iconfont/iconfont.woff2


BIN
entbase-mobile/page_entbase_mobile/image/active_disabled.png


BIN
entbase-mobile/page_entbase_mobile/image/banner_title.png


BIN
entbase-mobile/page_entbase_mobile/image/bg.jpg


BIN
entbase-mobile/page_entbase_mobile/image/close.png


BIN
entbase-mobile/page_entbase_mobile/image/empty.png


BIN
entbase-mobile/page_entbase_mobile/image/icon_add.png


BIN
entbase-mobile/page_entbase_mobile/image/item-img-1.png


BIN
entbase-mobile/page_entbase_mobile/image/item-img-10.png


BIN
entbase-mobile/page_entbase_mobile/image/item-img-11.png


BIN
entbase-mobile/page_entbase_mobile/image/item-img-12.png


BIN
entbase-mobile/page_entbase_mobile/image/item-img-13.png


BIN
entbase-mobile/page_entbase_mobile/image/item-img-14.png


BIN
entbase-mobile/page_entbase_mobile/image/item-img-15.png


BIN
entbase-mobile/page_entbase_mobile/image/item-img-16.png


BIN
entbase-mobile/page_entbase_mobile/image/item-img-17.png


BIN
entbase-mobile/page_entbase_mobile/image/item-img-18.png


BIN
entbase-mobile/page_entbase_mobile/image/item-img-19.png


BIN
entbase-mobile/page_entbase_mobile/image/item-img-2.png


BIN
entbase-mobile/page_entbase_mobile/image/item-img-3.png


BIN
entbase-mobile/page_entbase_mobile/image/item-img-4.png


BIN
entbase-mobile/page_entbase_mobile/image/item-img-5.png


BIN
entbase-mobile/page_entbase_mobile/image/item-img-6.png


BIN
entbase-mobile/page_entbase_mobile/image/item-img-7.png


BIN
entbase-mobile/page_entbase_mobile/image/item-img-8.png


BIN
entbase-mobile/page_entbase_mobile/image/item-img-9.png


BIN
entbase-mobile/page_entbase_mobile/image/marker.png


BIN
entbase-mobile/page_entbase_mobile/image/merge.png


BIN
entbase-mobile/page_entbase_mobile/image/part.png


BIN
entbase-mobile/page_entbase_mobile/image/pic-code.png


BIN
entbase-mobile/page_entbase_mobile/image/sj_item_1.png


BIN
entbase-mobile/page_entbase_mobile/image/sj_item_2.png


BIN
entbase-mobile/page_entbase_mobile/image/sj_item_3.png


BIN
entbase-mobile/page_entbase_mobile/image/sj_item_4.png


BIN
entbase-mobile/page_entbase_mobile/image/subtract.png


BIN
entbase-mobile/page_entbase_mobile/image/treasure_box_bg.jpg


BIN
entbase-mobile/page_entbase_mobile/image/treasure_box_bg.png


BIN
entbase-mobile/page_entbase_mobile/image/weixin.png


BIN
entbase-mobile/page_entbase_mobile/image/xuanzhogn-transparent.png


BIN
entbase-mobile/page_entbase_mobile/image/xuanzhong.png


BIN
entbase-mobile/page_entbase_mobile/image/zhifubao.png


+ 405 - 0
entbase-mobile/page_entbase_mobile/js/additionWord.js

@@ -0,0 +1,405 @@
+$(function(){
+
+    $('.knowBtn').on('click',function(){
+        $(".problemPop").hide()
+    })
+    $(".problem").on('click',function(){
+        $(".problemPop").css("display",'flex');
+    })
+
+    function hasWords () {
+        // var showKeyWordLength = $(".showKeyWord ul").find('li').length;
+        // if(showKeyWordLength === 0){
+        //     $(".addkeyWord").show();
+        // } else {
+        //     $(".addkeyWord").hide();
+        // }
+        $(".enter").hide();
+    }
+    // 把所有的附加词添加到数组里面
+    var additionArr = []
+    // 获取地址栏参数
+    var addkey = location.search
+    console.log(addkey)
+    // 获取关键词设置
+    if(addkey == '?addkey'){
+        $(".addKeyWord i").hide()
+        sessionStorage.setItem('ismodify',0)
+        // if(JSON.stringify(additionArr) == '[]'){
+        //     sessionStorage.setItem('noaddition_key',JSON.stringify(additionArr))
+        // }else{
+        //     sessionStorage.setItem('noaddition_key',JSON.stringify(unique(additionArr)))
+        // }
+        if(sessionStorage.getItem('iconClick') == 1){
+            if(sessionStorage.getItem('isadd') == 1){
+                console.log(JSON.parse(sessionStorage.getItem('addition_key')))
+                additionArr = JSON.parse(sessionStorage.getItem('addition_key'))
+                if(JSON.stringify(additionArr) == '[]'|| additionArr == null){
+                    $(".addKeyWord i").hide()
+                }else{
+                    hasWords()
+                    $(".addKeyWord i").show()
+                }
+                var data = {
+                    course:additionArr
+                }
+                var comHTML = template('appendKeyWords',data)
+                $('.showKeyWord>ul').html(comHTML)
+            }
+        }else{
+            if(sessionStorage.getItem('isadd') == 1){
+                console.log(JSON.parse(sessionStorage.getItem('noaddition_key')))
+                noadditionArr = JSON.parse(sessionStorage.getItem('noaddition_key'))
+                if(JSON.stringify(noadditionArr) == '[]'|| noadditionArr == null){
+                    $(".addKeyWord i").hide()
+                }else{
+                    hasWords()
+                    $(".addKeyWord i").show()
+                }
+                var data = {
+                    course:noadditionArr
+                }
+                var comHTML = template('appendKeyWords',data)
+                $('.showKeyWord>ul').html(comHTML)
+                additionArr = noadditionArr
+            }else{
+                console.log(JSON.parse(sessionStorage.getItem('noaddition_key')))
+                noadditionArr = JSON.parse(sessionStorage.getItem('noaddition_key'))
+                if(JSON.stringify(noadditionArr) == '[]'|| noadditionArr == null){
+                    $(".addKeyWord i").hide()
+                }else{
+                    hasWords()
+                    $(".addKeyWord i").show()
+                }
+                var data = {
+                    course:noadditionArr
+                }
+                var comHTML = template('appendKeyWords',data)
+                $('.showKeyWord>ul').html(comHTML)
+                // additionArr = noadditionArr
+            }
+        }
+    }else{
+        sessionStorage.setItem('ismodify',1)
+        if(sessionStorage.getItem('isadd') == 0){
+            vTools.ajax({
+                url:'/subscribe/key/get',
+                type:'POST',
+                data:{},
+                success:function(res) {
+                    console.log(res)
+                    var classindex = sessionStorage.getItem('classindex')
+                    if(res.data.data.length == classindex){
+                        classindex = parseInt(classindex)-1
+                    }else{
+                        classindex = sessionStorage.getItem('classindex')
+                    }
+                    var indexclick = sessionStorage.getItem('indexclick')
+                    console.log(res.data.data[classindex].a_key[indexclick].appendkey)
+                    if(res.data.data[classindex].a_key[indexclick].appendkey == null){
+                        res.data.data[classindex].a_key[indexclick].appendkey = []
+                    }
+                    additionArr = res.data.data[classindex].a_key[indexclick].appendkey
+                    if(JSON.stringify(additionArr) == '[]'){
+                        $(".addKeyWord i").hide()
+                    }else{
+                        hasWords()
+                    }
+                    var data = {
+                        course:additionArr
+                    }
+                    var comHTML = template('appendKeyWords',data)
+                    $('.showKeyWord>ul').html(comHTML)
+                },
+                error:function(err) {
+                    console.log(err)
+                }
+            })
+        }else{
+            console.log(JSON.parse(sessionStorage.getItem('addition_key')))
+            additionArr = JSON.parse(sessionStorage.getItem('addition_key'))
+            if(JSON.stringify(additionArr) == '[]'){
+                $(".addKeyWord i").hide()
+            }else{
+                hasWords()
+            }
+            var data = {
+                course:additionArr
+            }
+            var comHTML = template('appendKeyWords',data)
+            $('.showKeyWord>ul').html(comHTML)
+        }
+        
+    }
+    // 添加按钮
+    $(".addKeyWord i").on('click',function(){
+        $(".addkeyWord").show()
+        $(this).hide()
+        $(".addkeyWord input").focus()
+        $('.showKeyWord').find('.one').show()
+        $('.showKeyWord').find('.modify').hide()
+    })
+    // 输入框自适应高度
+    $('textarea').each(function(i,dom){
+        // console.log(i,dom)
+        dom.style.height = dom.scrollHeight +'px';
+    })
+    $("textarea").on("input", function() {
+        this.style.height = 'auto';
+        this.style.height = this.scrollHeight + "px";
+    })
+    // 添加keyWords检查输入框内是否有文字,如果有才能点击添加按钮
+    $('.addkeyWord input.enterOne').on('input', function() {
+        if ($(this).val().length >= 100) {
+            var s = $(this).val().slice(0,100)
+            $(this).val(s)
+
+            weui.toast('排除词不能超过100字', {
+                duration: 2000,
+                className: 'text-overflow100',
+                callback: function(){ console.log('close') }
+            });
+            return
+        }
+
+        var buttonDOM = $(this).siblings().find('button')[0]
+        if ($(this).val().length >= 1) {
+            buttonDOM.style.opacity = 1
+            buttonDOM.removeAttribute("disabled")
+        } else {
+            buttonDOM.style.opacity = .5
+            buttonDOM.setAttribute("disabled", true)
+        }
+    })
+    // 添加 按钮的点击事件
+    $('.addkeyWord .btn button').on('click', function(){
+        // var timestamp = new Date().getTime();//动态生成不同的id,因为id唯一不能重复,所以 用时间戳 代替  防止重复
+        // console.log(timestamp)
+        var keyWord = $('.addkeyWord input.enterOne').val()
+        // 去空格
+        keyWord = keyWord.replace(/\s+/g, ' ').trim();
+        var html = `<li>
+                        <div class="one">
+                            <div>
+                                <span>
+                                    <p class="key">${ keyWord }</p>
+                                </span>
+                            </div>
+                            <button class="editKeyWord"><i class="iconfont icon-xiugai"></i> 修改</button>
+                        </div>
+                        <div class="modify">
+                            <textarea  name=""  rows="1"  placeholder="" maxlength="20">${ keyWord}</textarea>
+                            <button class="deleteKey">删除</button>
+                            <button class="ascertainKey">确定</button>
+                        </div>
+                    </li>`
+        $('.showKeyWord > ul').prepend(html)
+        
+        // 隐藏
+        $(".addkeyWord").hide();
+        $('.showKeyWord').show();
+        $(".addKeyWord i").show()
+        $('.enter.addkeyWord > input').val('')
+        var buttonDOM = $('.enter.addkeyWord .btn button')[0]
+        buttonDOM.style.opacity = .5
+        buttonDOM.setAttribute("disabled", true)
+        console.log(sessionStorage.getItem('iconClick'))
+        var iconClicks = sessionStorage.getItem('iconClick')
+        if(addkey == '?addkey'){
+            sessionStorage.setItem('ismodify', 0)
+            if(iconClicks == 0){
+                $('.showKeyWord>ul').find('li').find('.one').find('.key').each(function(index,value){
+                    console.log(additionArr)
+                    additionArr.push(value.innerHTML)
+                    add_empty(additionArr)
+                    sessionStorage.setItem('noaddition_key',JSON.stringify(unique(additionArr)))
+                })
+            }else{
+                $('.showKeyWord>ul').find('li').find('.one').find('.key').each(function(index,value){
+                    additionArr.push(value.innerHTML)
+                    add_empty(additionArr)
+                    sessionStorage.setItem('addition_key',JSON.stringify(unique(additionArr)))
+                })
+            }
+        }else{
+            sessionStorage.setItem('ismodify', 1)
+            $('.showKeyWord>ul').find('li').find('.one').find('.key').each(function(index,value){
+                additionArr.push(value.innerHTML)
+                add_empty(additionArr)
+                sessionStorage.setItem('addition_key',JSON.stringify(unique(additionArr)))
+            })
+        }
+    })
+    // 添加 取消按钮
+    $('.addkeyWord .btn .cancel').on('click', function(){
+        $(this).parents('.addkeyWord').hide()
+        $(".addKeyWord i").show()
+    })
+    // 编辑
+    _that = ''
+     isClick = false
+    $(".showKeyWord").on('click', '.editKeyWord',function(e){
+        isClick = true
+        _that = $(this)
+        console.log(_that,isClick)
+        $('.enter.addkeyWord').hide()
+        $('.addKeyWord').hide()
+        let oSpan = $(this).parent().siblings().children('textarea');
+        console.log($(oSpan).val())
+        let val = $(oSpan).val()
+        $(this).parent().siblings().show().parents('li').siblings().children('.modify').hide().siblings('.one').show()
+        $(oSpan).val('').focus().val(val) 
+        $(this).parent().hide()
+        $(this).parent().siblings().css('display','block')
+    })
+
+    // 编辑 删除
+    $('.showKeyWord').on('click', '.deleteKey', function(e) {
+        var jQueryDOM = $(this).parents('li')
+        var $that = $(this)
+        weui.confirm('确定删除附加词?', {
+            buttons: [{
+                label: '取消',
+                type: 'default',
+                onClick: function () { console.log('不删了') }
+            }, {
+                label: '确定',
+                type: 'primary',
+                onClick: function () {
+                    console.log(JSON.parse(sessionStorage.getItem('addition_key')))
+                    var thatval = $that.siblings('textarea').val()
+                    console.log(thatval)
+                    // var additionkeyArr =JSON.parse(sessionStorage.getItem('addition_key'))
+                    console.log(additionArr)
+                    for(var i=0;i<additionArr.length;i++){
+                        console.log(additionArr[i])
+                        if(additionArr[i]==thatval){
+                            console.log(i)
+                            if(additionArr.length == 1){
+                                additionArr = []
+                            }else{
+                                additionArr.splice(i,1)
+                            }
+                            add_empty(additionArr)
+                        }
+                    }
+                    console.log(additionArr)
+                    if(addkey == '?addkey'){
+                        sessionStorage.setItem('ismodify',0)
+                        if(JSON.stringify(additionArr) == '[]'){
+                            sessionStorage.setItem('noaddition_key',JSON.stringify(additionArr))
+                        }else{
+                            sessionStorage.setItem('noaddition_key',JSON.stringify(unique(additionArr)))
+                        }
+                        if(JSON.stringify(additionArr) == '[]'){
+                            sessionStorage.setItem('addition_key',JSON.stringify(additionArr))
+                        }else{
+                            sessionStorage.setItem('addition_key',JSON.stringify(unique(additionArr)))
+                        }
+                        
+                    }else{
+                        sessionStorage.setItem('ismodify',1)
+                        if(JSON.stringify(additionArr) == '[]'){
+                            sessionStorage.setItem('addition_key',JSON.stringify(additionArr))
+                        }else{
+                            sessionStorage.setItem('addition_key',JSON.stringify(unique(additionArr)))
+                        }
+                        if(JSON.stringify(additionArr) == '[]'){
+                            sessionStorage.setItem('noaddition_key',JSON.stringify(additionArr))
+                        }else{
+                            sessionStorage.setItem('noaddition_key',JSON.stringify(unique(additionArr)))
+                        }
+                        
+                    }
+                    jQueryDOM.remove()
+                    hasWords()
+                    $('.addKeyWord').show()
+                }
+            }]
+        });
+    })
+    // 判断附加词是否为空
+    function add_empty(arr){
+        console.log(arr)
+        if(arr.length==0){
+            sessionStorage.setItem('add_length',0)
+        }else{
+            sessionStorage.removeItem('add_length')
+        }
+    }
+
+    // 编辑 确定
+    $('.showKeyWord').on('click', '.ascertainKey', function(e) {
+        $('.addKeyWord').show()
+        if(isClick == false){
+            
+        }else{
+            var $index = 0
+            console.log($(_that).parent().find('.key').text())
+            console.log(additionArr)
+            // 循环数组得到点击那个修改按钮的下标
+            additionArr.forEach(function(value,index){
+                console.log($(_that).parent().find('.key').text())
+                if($(_that).parent().find('.key').text() == value){
+                    console.log(index)
+                    $index = index
+                }
+            })
+            // 得到下标后替换掉数组中这个下标的值,存入sessionstroage
+            var $this = $(this)
+            console.log($this)
+            var keyWord = $(this).siblings('textarea').val()
+            // 去空格
+            keyWord = keyWord.replace(/\s+/g, ' ').trim();
+            if(keyWord.length > 20){
+                weui.toast('关键词不能超过20字', {
+                    duration: 2000,
+                    className: 'custom-toast',
+                    callback: function () { console.log('close') }
+                });
+            }else{  
+                $this.parent().siblings().find('.key').text(keyWord)
+                console.log($this)
+                additionArr.splice($index,1,keyWord)
+                console.log(additionArr)
+                // 保存在本地一个值,点击返回上一级的时候进入关键词设置页面
+                if(addkey == '?addkey'){
+                    sessionStorage.setItem('ismodify',0)
+                    sessionStorage.setItem('noaddition_key',JSON.stringify(unique(additionArr)))
+                }else{
+                    sessionStorage.setItem('ismodify',1)
+                    sessionStorage.setItem('addition_key',JSON.stringify(unique(additionArr)))
+                }
+                $this.parent().hide().siblings().show()
+                $('.addKeyWord').show()
+            }
+        }
+    })
+    // 数组去重
+    function unique(arr) {
+        let newArr = [arr[0]];
+        for (let i = 1; i < arr.length; i++) {
+            let repeat = false;
+            for (let j = 0; j < newArr.length; j++) {
+                if (arr[i] === newArr[j]) {
+                    repeat = true;
+                    break;
+                }else{
+                    
+                }
+            }
+            if (!repeat) {
+                newArr.push(arr[i]);
+            }
+        }
+        return newArr;
+    }
+
+    //防止键盘把当前输入框给挡住
+    $('input[type="text"],textarea').focus(function () {
+        var target = this;
+        setTimeout(function(){
+            target.scrollIntoViewIfNeeded();
+        },400);
+    });
+})

+ 456 - 0
entbase-mobile/page_entbase_mobile/js/choose-area.js

@@ -0,0 +1,456 @@
+$(function () {
+    // 后端数据结构
+    var areaData = {
+        'data': {
+            // 选择的数量
+            'area': {
+                '北京': [],
+                '河南': [
+                    '洛阳市',
+                    '驻马店市',
+                    '周口市',
+                    '郑州市'
+                ],
+                '湖南': ['长沙市'],
+                '澳门': [],
+                '甘肃': []
+            },
+            'buyset': {
+                // 购买的全省的数量(不带市)
+                'areacount': 5,
+                'buyerclasscount': 11,
+                // 购买的城市
+                'newcitys': []
+            }
+        },
+        'errMsg': '',
+        'success': true
+    };
+
+    // 已经购买过的城市数量
+    var alreadyBuy = {
+        country: 0,
+        province: 0,
+        city: {
+            // 一共买了多少个城市
+            totalCount: 0,
+            // 分布在几个省份
+            pCount: 0
+        }
+    }
+    // 获取区域设置接口
+    vTools.ajax({
+        url:'/subscribe/area/get',
+        type:'POST',
+        data:{},
+        success:function(res) {
+            console.log(res)
+            var subVipState =  res.data
+            if (subVipState) {
+                areaData.data =subVipState
+                init()
+            } else {
+                getDataWitXHR()
+            }
+        },
+        err:function(error) {
+            console.log(error)
+        }
+    })
+
+    // ----------------- 以下定义功能函数 ----------------------------
+    function createMoreCity(arr) {
+        var tempHtml = arr.map(function (v) {
+            return '<button class="city">' + v.name + '</button>'
+        }).join('')
+        return tempHtml
+    }
+
+    // 数组求和
+    function arrSum(arr) {
+        var sum = 0
+        arr.forEach(function(item, i) {
+            sum += item
+        })
+        console.log('sum',sum)
+        return sum
+    }
+
+    // 省下拉市事件
+    var isAnimating = false
+    function slideFunc() {
+        if (isAnimating) return
+        isAnimating = true
+        if ($(this).next('.tab_content:not(:animated)').css("display") == "block") {
+            $(this).children().children('i').removeClass('rotate-arrow')
+        } else {
+            $(this).children().children('i').addClass('rotate-arrow')
+        }
+        $(this).toggleClass('selected').next('.tab_content:not(:animated)').slideToggle(500)
+        $(this).parent().siblings().children('.tab').removeClass('selected');
+        setTimeout(function() {
+            isAnimating = false
+        }, 500)
+    }
+
+    // 新增求值 ---- 统计数量,不做视图操作
+    function getResult() {
+        var selectedCount = {
+            country: 0,
+            province: 0,
+            city: {
+                // 一共选了多少个城市
+                totalCount: 0,
+                // 分布在几个省份
+                pCount: 0
+            }
+        }
+        // 获取所有点亮的城市的值
+        var selected = getActiveCityDetail()
+        // if(JSON.stringify(selected) == '{}'){
+        //     selected = Object.keys(selected)
+        // }
+        // console.log(selected)
+        for (var p in selected) {
+            // console.log(p)
+            if (p === '全国') {
+                selectedCount = {
+                    country: -1,
+                    province: 0,
+                    city: {
+                        totalCount: 0,
+                        pCount: 0
+                    }
+                }
+                setDataInResult(selectedCount);
+                resetButtonLock(false)
+                return;
+            }
+
+            if (selected[p].length === 0) {
+                selectedCount.province ++
+            } else {
+                selectedCount.city.pCount ++
+                selected[p].forEach(function(item, index) {
+                    selectedCount.city.totalCount ++
+                })
+            }
+        }
+        setDataInResult(selectedCount);
+
+        if (Object.keys(selected).length === 0) {
+            resetButtonLock(true)
+        } else {
+            resetButtonLock(false)
+        }
+    }
+
+    function setDataInResult(selected) {
+        // 已选择数量数据渲染
+        console.log(selected)
+        if (selected.country === -1) {
+            $('.result-selected .result-info .info-overview').text('全国')
+        } else {
+            // 已选择数量
+            var count = {
+                p: selected.province + '个省',
+                c: selected.city.totalCount + '个市',
+                s: '分布在' + selected.city.pCount + '个省内'
+            }
+            if (selected.province === 0) {
+                $('.result-selected .result-info .info-overview').text(count.c + '(' + count.s + ')')
+            } else if (selected.city.totalCount === 0) {
+                $('.result-selected .result-info .info-overview').text(count.p)
+            } else {
+                $('.result-selected .result-info .info-overview').text(count.p + '、' + count.c + '(' + count.s + ')')
+            }
+        }
+        console.log($('.info-overview').text())
+        sessionStorage.setItem('areaNum',$('.info-overview').text())
+    }
+
+    // 点亮的城市数量详情(需要省和城市名称)
+    function getActiveCityDetail() {
+        var isWholeCountry = $('.tab.whole input').is(':checked')
+        if (isWholeCountry) {
+            // 选择全国
+            var str = $('.area-list li .tab.whole .province').text().replace(/\s+ | [\r\n]/g, '')
+            var obj = {}
+            obj[str] = []
+            return obj
+        } else {
+            var arr = []
+            $('.area-list li:not(.index)').each(function (i, dom) {
+                var $dom = $(dom)
+                if ($dom.children('.tab').hasClass('whole')) return
+                var isMunicipality = $dom.find('.tab').hasClass('municipality')
+                var pName = $dom.find('.province').text().replace(/\s+ | [\r\n]/g, '')
+                var selectedObj = {
+                    name: pName,
+                    children: []
+                }                
+
+                // 是否是直辖市或自治区
+                if (isMunicipality) {
+                    if ($dom.find('input:not([disabled])').is(':checked')) {
+                        arr.push(selectedObj)
+
+                    }
+                } else {
+                    var allCitylength = $dom.find('button').length
+
+                    if ($dom.find('button.active').length === allCitylength) {
+                        arr.push(selectedObj)
+                    } else {
+                        $dom.find('button.active').each(function (c, buttonDOM) {
+                            var cName = $(buttonDOM).text().replace(/\s+ | [\r\n]/g, '')
+                            selectedObj.children.push(cName)
+                        })
+                        if (selectedObj.children.length) {
+                            arr.push(selectedObj)
+                        }
+                    }
+                }
+            })
+            console.log(arr)
+            var selectedCityDetail = {}
+            arr.forEach(function (item, i) {
+                selectedCityDetail[item.name] = item.children
+            })
+            console.log(selectedCityDetail)
+            return selectedCityDetail
+        }
+    }
+
+    // 初始选择的城市恢复,根据传入的p恢复为Active蓝色按钮
+    // 需要放到init之后
+    function renderSelectedCityActive(p = {}) {
+        for (const k in p) {
+            if (k === '全国') {
+                $('.area-list li:not(.index):eq(0)').find('input').trigger('click')
+                return
+            }
+
+            if (p[k].length == 0) {
+                // 购买的省份
+                $('.province').each(function () {
+                    var t = $(this).text().trim();
+                    if (k == t && p[k].length == 0) {
+                        var li = $(this).parents('li')
+                        // 改变按钮状态
+                        li.find('.city').addClass('active')
+                        // 改变input的状态
+                        li.find('input.checkbox').prop('checked', true)
+                    }
+                })
+            } else {
+                $('.city').each(function () {
+                    var t = $(this).text().trim();
+                    $this = $(this);
+                    p[k].forEach( function (v){
+                        if (v !== t) return
+                        // 改变按钮状态
+                        $this.addClass('active')
+                        // 改变input的样式
+                        $this.parents('li').find('input.checkbox').addClass('opt')
+                    })
+                })
+            }
+        }
+    }
+
+    function resetButtonLock(f) {
+        $('.j-button-confirm').prop('disabled', f)
+        $('#cancel').prop('disabled', f)
+    }
+
+
+    // 根据数据进行求总数 --- 上方已购买数据信息的初始化
+    function initAlreadyBuy(buyset, citys) {
+        if (buyset.areacount === -1) {
+            $('.result-purchased .result-info .buy-set-info').text('全国')
+            alreadyBuy = {
+                country: -1,
+                province: 0,
+                city: {
+                    totalCount: 0,
+                    pCount: 0
+                }
+            }
+            return
+        } else {
+            // 购买的全省的数量(不包含市)
+            alreadyBuy.province = buyset.areacount;
+            // 购买的城市总数量
+            alreadyBuy.city.pCount = citys.length
+            alreadyBuy.city.totalCount = arrSum(citys)
+
+            var buySetInfo = {
+                p: alreadyBuy.province + '个省',
+                c: alreadyBuy.city.totalCount + '个市',
+                s: '分布在' + alreadyBuy.city.pCount + '个省内'
+            }
+
+            if (alreadyBuy.province === 0) {
+                $('.result-purchased .result-info .buy-set-info').text(buySetInfo.c + '(' + buySetInfo.s + ')')
+            } else if (alreadyBuy.city.totalCount === 0) {
+                $('.result-purchased .result-info .buy-set-info').text(buySetInfo.p)
+            } else {
+                $('.result-purchased .result-info .buy-set-info').text(buySetInfo.p + '、' + buySetInfo.c + '(' + buySetInfo.s + ')')
+            }
+        }
+    }
+
+    // 初始化方法
+    function init() {
+        var data = areaData.data
+        console.log(data)
+        var buyset = data.buyset;
+        var citys = buyset.newcitys;
+        console.log(citys)
+        initAlreadyBuy(buyset, citys)
+        // 根据返回数据进行渲染(默认选中已选择的)
+        renderSelectedCityActive(data.area)
+        getResult()
+    }
+
+    // ----------------- 以下绑定事件 ----------------------------
+    // 0.渲染城市列表
+    $(".select-area-box ul li:not('.index')").each(function () {
+        var text = $(this).find(".province").text().trim()
+        var data = null
+        chinaMapJSON.some(function (v) {
+            data = v
+            return v.name.indexOf(text) !== -1
+        })
+        var box = $(this).find('div.tab_content')
+        var html = createMoreCity(data.city)
+        box.html(html)
+    })
+    // fastClick初始化: https://github.com/ftlabs/fastclick
+    FastClick.attach(document.body)
+    // 1.省下拉市
+    $(".select-area-box .tab:not(.municipality)").on('click', slideFunc)
+    // 2.点击全国按钮onchange事件;
+    $('.checkbox.other').on('change', function () {
+        var isChecked = $(this).is(':checked')
+        if (isChecked) {
+            $(this).prop('checked', true);
+            $('.checkbox:not(.other):not([disabled])').prop('checked', false).removeClass('opt');
+            $('.city:not([disabled])').removeClass('active');
+            $('.tab_content').slideUp();
+        }
+        getResult()
+    })
+    // 3.点击非全国按钮onchange事件
+    $('.checkbox:not(.other)').on('change', function () {
+        $('.checkbox.other').prop('checked', false);
+        var isChecked = $(this).is(':checked');
+        if (isChecked) {
+            $(this).prop('checked', true).removeClass('opt');
+            $(this).parents('li').find('.city').addClass('active');
+            // 控制点击checkbox时候是否展开下方的城市列表
+            // $(this).parent().parent('.tab:not(.municipality)').siblings('.tab_content').slideDown();
+        } else {
+            $(this).prop('checked', false);
+            $(this).parents('li').find('.city').removeClass('active');
+        }
+        getResult();
+    })
+    // 4.点击城市按钮触发的事件
+    $('.tab_content').on('click', '.city', function () {
+        // 全国取消选中
+        $('.checkbox.other').prop('checked', false);
+        $(this).toggleClass('active')
+        // 省下所有选中的地市数量
+        var activeCityLength = $(this).parent().find('.city.active').length;
+        // 省下一共有几个城市
+        var cityLength = $(this).parent().find('.city').length;
+        var oInput = $(this).parents('li').find('input.checkbox')
+
+        if (activeCityLength === cityLength) {//当选中的城市数量等于该省下所有城市总数时,即为全选
+            if ($(this).siblings('.city[disabled]').length === 0) {
+                oInput.removeClass('opt').prop('checked', true)
+            }
+        } else if (activeCityLength === 0) {
+            oInput.prop('checked', false).removeClass('opt')
+        } else {//半选
+            oInput.prop("checked", false).addClass('opt')
+        }
+        getResult();
+    })
+    // 5. 重置按钮点击事件
+    $('.j-button-cancel').on('click', function () {
+        alreadyBuy = {
+            country: 0,
+            province: 0,
+            city: {
+                // 一共买了多少个城市
+                totalCount: 0,
+                // 分布在几个省份
+                pCount: 0
+            }
+        }
+        $('.checkbox').prop('checked', false).removeAttr('disabled');
+        $('.city').removeClass('active');
+        $('input').removeClass('opt')
+        $('.tab_content').slideUp();
+        $('.tab .iconfont').removeClass('rotate-arrow')
+        init();
+    })
+
+    // 6.锚点跳转
+    $("body").on('click', '.slide a', function () {
+        var s = $(this).html()
+        if (s == '#') {
+            return;
+        }
+        document.querySelector('#' + s).scrollIntoView({
+            block: 'center'
+        });
+    })
+    // 阻止input checkbox选中取消 触发父元素下拉事件
+    $('.checkbox').click(function (e) {
+        e.stopPropagation();
+    })
+
+    // ----------------------- 以下数据交互 ------------------
+    function getDataWitXHR() {
+        // $DoPost('/subscribepay/vipsubscribe/getSubBuyMsg', {}, function (res) {
+        //     if (!res.success) return
+        //     areaData.data = res.data
+        //     sessionStorage.setItem('sub_vip_state', JSON.stringify(res.data))
+        //     init()
+        // })
+    }
+
+    
+    
+    // 确认按钮事件
+    $('.j-button-confirm').on('click', function () {
+        var areaobj = getActiveCityDetail()
+        console.dir(areaobj)
+        // 获取点亮的城市详情
+        vTools.ajax({
+            url: '/subscribe/area/update',
+            type: 'POST',
+            data: areaobj,
+            success:function(res){
+                console.log(res)
+                history.back()
+            },
+            error:function(err){
+                console.log(err)
+            }
+        })
+        areaData.data.area = getActiveCityDetail()
+        console.log(areaData.data)
+        sessionStorage.setItem('sub_vip_state', JSON.stringify(areaData.data))
+    })
+
+    // 获取点亮的城市的列表详情(带省名和城市名)
+    // getActiveCityDetail()
+
+    // 回显为蓝色激活样式
+    // renderSelectedCityActive()
+})

+ 267 - 0
entbase-mobile/page_entbase_mobile/js/choose_industry.js

@@ -0,0 +1,267 @@
+// 模拟数据
+var data = {
+    "data": [],
+    "errMsg": "",
+    "success": true
+}
+var industry_obj = [
+    {name:'教育',names:'学校'},
+    {name:'卫健委',names:'医疗'},
+    {name:'交通',names:'运输物流'},
+    {name:'工信',names:'信息技术',typename:'电信行业'},
+    {name:'农业',names:'农林牧渔'},
+    {name:'住建',names:'建筑业'},
+    {name:'城管',names:'市政'},
+    {name:'人行',names:'金融业'},
+]
+// 推荐的行业
+var commond_industry = []
+// 监听页面滚动事件
+$('.form').scroll(function() {
+    $('.add_alert').hide()
+});
+// 获取采购单位行业
+var result = [] /* 已选择的行业 数组为空时即选择的全部行业 不为空时对应选择的结果 */
+vTools.ajax({
+    url: '/subscribe/buyerclass/get',
+    type: 'POST',
+    data: {},
+    success:function(res){
+        console.log("xxx",res)
+        initData(res)
+        if(res.data!=null)data=res
+        resultCount()
+    },
+    error:function(err){
+        console.log(err)
+    }
+})
+
+// 初始化行业数据,渲染到页面
+function initData(res) {
+    if(res.data==null)res.data=[];
+    result=res.data;
+    if(res.data.length==0){
+        buyCount = -1
+    }else{
+        buyCount = res.data.length;//已购买的行业数量  -1是全部行业,正数为购买的行业数量
+    }
+    console.log(buyCount)
+    array = res.data;//已选择的行业(数组)
+    /* 已购买过的行业 */
+    if (buyCount == -1) {
+        $('.result_name').html('全部行业')
+    } else {
+        $('.result_name').html(buyCount + '个行业')
+    }
+    if (array.length == 0) {
+        $('.result_count').html('全部行业');
+        $('.industry_item.whole').addClass('active')
+    } else {
+        $('.result_count').html(array.length + '个行业');
+        $('.industry_item:not(.whole)').each(function () {
+            var text = $(this).text().trim()
+            // console.log(text)
+            for (var i = 0; i < array.length; i++) {
+                var element = array[i];
+                if (element == text) {
+                    $(this).addClass('active')
+                }
+            }
+        })
+    }
+}
+// 实时改变选择结果
+function resultCount() {
+    $('.result_count').empty();
+    var count = $('.list').find('.industry_item.active:not(.whole)').length;
+    if ($('.industry_item.whole').hasClass('active')) {
+        $('.result_count').html('全部行业');
+        result = [];
+        if (buyCount != -1) {
+            $('.update_tips').show();
+        } else {
+            $('.update_tips').hide();
+        }
+    } else {
+        var buttons = $('.select-area-box .list button:not(.whole)');
+        var canChangeArr = [];
+        buttons.each(function () {
+            if ($(this).hasClass('active')) {
+                canChangeArr.push($(this).text())
+            }
+        })
+        if (count > buyCount) {
+            $('.update_tips').show();
+        } else {
+            $('.update_tips').hide();
+        }
+        $('.result_count').html(count + '个行业');
+
+        if ($('.list').find('.industry_item.active:not(.whole)').length === 0) {
+            $('.save-btn').prop('disabled', true)
+        } else {
+            $('.save-btn').prop('disabled', false)
+        }
+        result = canChangeArr;
+    }
+}
+$(function () {
+
+    // 公共资源交易介绍提示框
+    $('#showTips').click(function (e) {
+        e.stopPropagation();
+        $('.tips_detail').slideToggle()
+    });
+    // 点击导航跳转
+    $("body").on('click', '.slide a', function () {
+        var s = $(this).html()
+        if (s == '#') {
+            return;
+        }
+        document.querySelector('#' + s).scrollIntoView({
+            block: 'center'
+        });
+    })
+    // 选择全部行业
+    $('.industry_item.whole').on('click', function () {
+        $(this).addClass('active').parents('.list').find('.industry_item:not(.whole)').removeClass('active');
+        resultCount();
+    })
+    // 选择非全部行业
+    $('.industry_item:not(.whole)').on('click', function (e) {
+        $('.add_alert').hide()
+        var add_option = $('.add_option')
+        // 选中的按钮行业
+        var industryname = ''
+        var addArr;
+        var distance = $(e.target).offset()
+        var xx = distance.left
+        var yy = distance.top + $(this).height() + 8
+        console.log(distance)
+        // 小三角的位置
+        $('.triangle').css('left', 8)
+        // 如果高度大于620,弹窗在上边显示
+        if (xx >= 150&& xx < 250) {
+            xx = 140
+            $('.triangle').css('left',1.5+'rem')
+        } else if (xx >= 250) {
+            xx = 140
+            $('.triangle').css('left',3+'rem')
+        }
+        // 如果高度大于620,弹窗在上边显示
+        if(distance.top >= 620) {
+            yy = distance.top - 114
+            $('.add_alert').addClass('negative')
+        }else{
+            yy = distance.top + $(this).height() + 8
+            $('.add_alert').removeClass('negative')
+        }
+        $('.add_alert').css('top',yy)
+        $('.add_alert').css('left',xx)
+        if(!$(this).hasClass('active')){
+            industryname = $(this).text()
+        }else{
+            industryname = ''
+            $('.add_alert').hide()
+        }
+        $('.industry_item.whole').removeClass('active');
+        $(this).toggleClass('active');
+        industry_obj.forEach(function(item){
+            if(industryname == item.name){
+                if(item.typename != undefined) {
+                    add_option.html('根据您的选择,推荐添加【'+item.names+','+item.typename+'】')
+                    addArr = [item.names,item.typename]
+                }else{
+                    add_option.html('根据您的选择,推荐添加【'+item.names+'】')
+                    addArr = [item.names]
+                }
+                $('.add_alert').show()
+            }else if(industryname == item.names){
+                if(item.typename != undefined) {
+                    add_option.html('根据您的选择,推荐添加【'+item.name+','+item.typename+'】')
+                    addArr = [item.name,item.typename]
+                }else{
+                    add_option.html('根据您的选择,推荐添加【'+item.name+'】')
+                    addArr = [item.name]
+                }
+                $('.add_alert').show()
+            }else if(industryname == item.typename){
+                add_option.html('根据您的选择,推荐添加【'+item.name+','+item.names+'】')
+                addArr = [item.name,item.names]
+                $('.add_alert').show()
+            }
+            commond_industry = addArr
+        })
+        resultCount();
+    })
+
+    // 弹窗取消按钮
+    $('.btn_cancel').on('click',function(){
+        $('.add_alert').hide()
+    })
+    // 弹窗确定按钮
+    $('.btn_confirm').on('click',function(){
+        var buttons = $('.select-area-box .list button')
+        buttons.each(function () {
+            var allText = $(this)
+            commond_industry.forEach(function(item){
+                if(item == allText.text()){
+                    allText.addClass('active')
+                }
+            })
+        })
+        $('.add_alert').hide()
+        $('.add_toast').show()
+        setTimeout(() => {
+            $('.add_toast').hide()
+        }, 1500)
+        resultCount()
+    })
+
+    // 重置按钮事件
+    $('.j-button-cancel').on('click', function () {
+        $('.list').find('.industry_item').removeClass('active');
+        $('.update_tips').hide();
+        initData(data);
+    })
+    // 确认按钮事件
+    $('.j-button-confirm').on('click', function () {
+        //data.data = result
+        //console.log(data.data)
+        // sessionStorage.setItem('sub_vip_state', JSON.stringify(data.data))
+        vTools.ajax({
+            url: '/subscribe/buyerclass/update',
+            type: 'POST',
+            data:{
+                "buyset":result
+            },
+            success:function(res){
+                console.log(res)
+                history.back()
+            },
+            error:function(err){
+                console.log(err)
+            }
+        })
+        // history.back()
+    })
+
+
+    function getDataWitXHR() {
+        // $DoPost('/subscribepay/vipsubscribe/getSubBuyMsg', {}, function (res) {
+        //     if (!res.success) return
+        //     data.data = res.data
+        //     sessionStorage.setItem('sub_vip_state', JSON.stringify(res.data))
+        //     initData();
+        // })
+    }
+
+    // var subVipState =  sessionStorage.getItem('sub_vip_state')
+    // if (subVipState) {
+    //     data.data = JSON.parse(subVipState)
+    //     initData();
+    // } else {
+    //     getDataWitXHR()
+    // }
+})

+ 898 - 0
entbase-mobile/page_entbase_mobile/js/common.js

@@ -0,0 +1,898 @@
+// 头部返回按钮事件
+$('.j-header .header-left').on('click', function () {
+    window.history.back()
+})
+
+window.afterClickBack = function () {
+  console.log('afterClickBack', location.href)
+}
+
+var vTools = {
+    // 公共前缀url
+    baseUrl: '/entniche',
+    // 公共header
+    commonHeader: {
+        'version': 'v2.9.6'
+    },
+    errorCodeMap: {
+        1001: '需要重新登录',
+        1002: '缺失参数',
+        1003: '没有权限',
+    },
+    $env: {},
+    loadingTransition: 300,
+    redirectURi: [
+        '/phone/bind',
+        '/phone/sendidentcode',
+        '/ent/myents',
+        '/ent/entinfo',
+        '/ent/selectent',
+        '/ent/association',
+        '/power/persons',
+        '/department/persons',
+        '/department/add',
+        '/department/update',
+        '/department/delete',
+        '/department/detail',
+        '/department/move',
+        '/department/childrens',
+        '/department/setadmin',
+        '/person/manager',
+        '/person/add',
+        '/person/detail',
+        '/person/delete',
+        '/person/update',
+        '/person/move',
+        '/framework/delete',
+        '/framework/move',
+        '/power/set',
+        '/ent/framework',
+        '/ent/add',
+        '/person/pcManager'
+    ],
+    // 公共ajax封装
+    ajax: function (options) {
+        var that = this
+        // var options = {
+        //     url: url,            String
+        //     data: data,          Object
+        //     type: type,          String: 'GET'/'POST'
+        //     contentType: contentType,  String: 'application/x-www-form-urlencoded'/'application/json;charset=UTF-8'
+        //     success: success,    Function
+        //     beforeSend: beforeSend,  Function
+        //     error: error,    Function,
+        //     loading: {
+        //        content: '加载中...',
+        //        bgc: 'black'
+        //     },    Object
+        // }
+        options.contentType = options.contentType || 'application/json;charset=UTF-8'
+        if (options.contentType === 'application/json;charset=UTF-8') {
+            options.data = JSON.stringify(options.data) || '{}'
+        } else {
+            options.data = options.data || {}
+        }
+
+        if (options.loading) {
+            var loading = this.jLoading(options.loading)
+        }
+
+        // 页面baseUrl重写
+        var inRedirectUriArr = false;
+        var newUrl = options.url;
+        if(options.url.indexOf('?') > -1){
+            newUrl = options.url.split('?')[0];
+        }
+        for (var i = 0; i < this.redirectURi.length; i++) {
+            if (newUrl == this.redirectURi[i]) {
+                inRedirectUriArr = true
+                break
+            }
+        }
+        if (inRedirectUriArr) {
+            this.baseUrl = '/entbase'
+        } else {
+            this.baseUrl = '/entnicheNew'
+        }
+
+        // 执行请求
+        $.ajax({
+            url: this.baseUrl + options.url,
+            type: options.type,
+            dataType: 'json',
+            contentType: options.contentType || 'application/json;charset=UTF-8',
+            headers: this.commonHeader,
+            // processData: options.processData || true,
+            data: options.data,
+            beforeSend: function (res) {
+                options.beforeSend && options.beforeSend(res)
+            },
+            success: function (res) {
+                if (options.loading) {
+                    loading.hide(function(){
+                        options.success && options.success(res);
+                    })
+                } else {
+                    options.success && options.success(res);
+                }
+            },
+            error: function (res) {
+                loading.hide(function () {
+                    that.jLoading({
+                        iconHide: true,
+                        content: '请求失败',
+                        duration: 1500,
+                        callback: function() {
+                            options.error && options.error(res);
+                        }
+                    })
+                })
+            },
+            complete: function () {
+                if (options.loading) {
+                    loading.hide(function() {
+                        options.complete && options.complete();
+                    })
+                } else {
+                    options.complete && options.complete();
+                }
+            }
+        });
+    },
+    // 传入你要获取的参数的名字
+    getParam: function (name) {
+        var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i');
+        var r = window.location.search.substr(1).match(reg); //获取url中'?'符后的字符串并正则匹配
+
+        var context = '';
+        if (r != null) context = r[2];
+        // 释放变量
+        reg = null;
+        r = null;
+        return context == null || context == '' || context == 'undefined' ? '' : context;
+    },
+    // 数组对象根据某一个值进行冒泡排序
+    // arr 数组
+    // value 字符串
+    bSort: function (arr, value) {
+        var len = arr.length;
+        for (var i = 0; i < len - 1; i++) {
+            for (var j = 0; j < len - 1 - i; j++) {
+                // 相邻元素两两对比,元素交换,大的元素交换到后面
+                if (arr[j][value] > arr[j + 1][value]) {
+                    var temp = arr[j];
+                    arr[j] = arr[j + 1];
+                    arr[j + 1] = temp;
+                }
+            }
+        }
+        return arr;
+    },
+    // 格式化金钱的函数
+    // s: 金额(number) 必传
+    // n: 保留小数的位数(int:0-100)
+    formatMoney: function (s, n) {
+        if (n === undefined) {
+            n = -1
+        } else {
+            n = n > 0 && n <= 20 ? n : 2;
+        }
+        var intS = parseInt(s)
+        var point = '.'
+        var left;
+        var right;
+        s = parseFloat((s + '').replace(/[^\d\.-]/g, ''))
+        // 没传n,默认(如果为整数,则不保留小数。如果为浮点数,则保留两位小数)
+        if (n === -1) {
+            if (s === intS) {
+                n = 0
+                right = ''
+                point = ''
+            } else {
+                n = 2
+                s = s.toFixed(n);
+                right = s.split('.')[1];
+            }
+            s = s + ''
+            left = s.split('.')[0].split('').reverse();
+        } else {
+            s = parseFloat((s + '').replace(/[^\d\.-]/g, '')).toFixed(n) + '';
+            left = s.split('.')[0].split('').reverse();
+            right = s.split('.')[1];
+        }
+
+        t = '';
+        for (i = 0; i < left.length; i++) {
+            t += left[i] + ((i + 1) % 3 == 0 && (i + 1) != left.length ? ',' : '');
+        }
+
+        var money = t.split('').reverse().join('') + point + right;
+        return money;
+    },
+    // 解决ios返回不刷新页面的问题
+    iosBackRefresh: function () {
+        var isPageHide = false;
+        window.addEventListener('pageshow', function () {
+            if (isPageHide) {
+                location.reload();
+            }
+        });
+        window.addEventListener('pagehide', function () {
+            isPageHide = true;
+        });
+    },
+    // 解决移动端软键盘弹起遮挡输入框及ios下软键盘关闭后底部留白问题
+    // 解决键盘弹起'.j-footer'往上顶的问题
+    // 原始代码在:jianyuMobile:vip_subscribe分支/trial_info.html
+    initScrollView: function (options) {
+        options.inputClassName = options.inputClassName || 'input'
+        options.bottom = options.bottom || '.j-footer'
+        options.exclude = options.exclude || 'exclude'
+        /*
+            options = {
+                // 输入框公共类名 String(为css选择器): 如'.j-input'
+                inputClassName: inputClassName,
+
+                // 底部按钮 String(为css选择器): 如'.j-footer'
+                bottom: bottomContainer,
+
+                // 排除的底部区域的button String(为字符串): 如'exclude',默认为'exclude'
+                // 如果底部区域是隐藏的,此时键盘弹起在收起,就会显示,加上一个排除的类名,就不会进行隐藏了
+                exclude: exclude
+
+                // =========废弃=========>
+                // view属性废弃,view属性是在底部元素使用定位时候用的
+                // 滚动区域 String(为css选择器): 如'.container'
+                // view: scrollView
+                // ======================>
+            }
+        */
+        var u = navigator.userAgent, app = navigator.appVersion;
+        var isAndroid = u.indexOf('Android') > -1 || u.indexOf('Linux') > -1;
+
+        // var clientHeight = $(options.view).height()
+        // var clientHeight = document.documentElement.clientHeight || document.body.clientHeight
+        // function change() {
+        //     $(options.view || document.body).height(clientHeight)
+        // }
+
+        var clientHeight = document.documentElement.clientHeight || document.body.clientHeight;
+        // change函数参考: https://blog.csdn.net/andyfine/article/details/82695236
+        function change() {
+            var footer = $(options.bottom)
+            // 首先判断footer此时有没有options.exclude的类名,有此类名则不会隐藏
+            // $('.ele').is(':hidden')
+            // $('.ele').is(':visible')
+            if (footer.hasClass(options.exclude)) return
+            if (document.body.scrollHeight < clientHeight) {
+                footer.hide()
+            } else {
+                footer.show()
+            }
+        }
+        // 给所有input绑定一个focus事件,用来判断键盘弹起。执行完成就解绑该事件
+        function focusOnce() {
+            $(options.inputClassName).on('focus', function (e) {
+                e.target.scrollIntoView({ 'block': 'center' })
+                $(options.inputClassName).off('focus')
+            })
+        }
+
+        if (isAndroid) {
+            // 在安卓中键盘弹起会触发window.onresize事件
+            // ios中则不会触发window.resize事件
+            change();
+            window.addEventListener('resize', change);
+        } else {
+            // 进入页面绑定,触发一次就解绑
+            focusOnce()
+        }
+
+        $(options.inputClassName).on('blur', function (e) {
+            setTimeout(function() {
+                var dom = document.activeElement;
+                if (dom.className.includes(options.inputClassName.replace(/\./g))) {
+                    if (isAndroid) {
+                        dom.scrollIntoView({ 'block': 'center' })
+                    } else {
+                        // dom.scrollIntoView({'block': 'bottom'})
+                    }
+                } else {
+                    window.scroll(0, 0)
+                    // 当页面上没有获得焦点的input时候就说明键盘收起来了。
+                    // 给input绑定focus事件用来监听其弹起
+                    focusOnce()
+                }
+            }, 50)
+        })
+    },
+    // 通过userAgent获取用户手机操作系统类型
+    androidOrIOS: function () {
+        var u = navigator.userAgent.toLowerCase();
+        var app = navigator.appVersion;
+        var agent = null;
+        if (/iphone|ipod|ipad|ios/.test(u)) {
+            agent = 'ios'
+        } else {
+            agent = 'android'
+        }
+        return agent
+    },
+    // 带动画的weui picker的显示隐藏
+    pickerAnimatedShow: function (selector, f) {
+        if (f) {
+            // 添加进场动画,并显示
+            $(selector).find('.weui-mask').removeClass('weui-animate-fade-out').addClass('weui-animate-fade-in')
+            $(selector).find('.weui-picker').removeClass('weui-animate-slide-down').addClass('weui-animate-slide-up')
+            $(selector).show(300);
+        } else {
+            // 添加离场动画,并隐藏
+            $(selector).find('.weui-mask').removeClass('weui-animate-fade-in').addClass('weui-animate-fade-out')
+            $(selector).find('.weui-picker').removeClass('weui-animate-slide-up').addClass('weui-animate-slide-down')
+            $(selector).hide(300);
+        }
+    },
+    // 键盘弹起和收起的事件(只在安卓有效果)
+    keyboardUpAndDown: function (upCallBack, downCallBack) {
+        var clientHeight = document.documentElement.clientHeight || document.body.clientHeight;
+        $(window).on('resize', function () {
+            var nowClientHeight = document.documentElement.clientHeight || document.body.clientHeight;
+            if (clientHeight > nowClientHeight) {
+                // 键盘弹出的事件处理
+                upCallBack && upCallBack()
+                console.log('键盘弹出')
+            }
+            else {
+                // 键盘收起的事件处理
+                downCallBack && downCallBack()
+                console.log('键盘收起')
+            }
+        });
+    },
+    // 取[m, n]随机数
+    getRandomNumber: function (min, max) {
+        return Math.floor(Math.random() * (max - min + 1) + min);
+    },
+    // 获取唯一的uuid
+    // https://www.kancloud.cn/ifeng/js100/622666
+    getRandomUuid: function () {
+        var s = [];
+        var hexDigits = "0123456789abcdef";
+        for (var i = 0; i < 36; i++) {
+            s[i] = hexDigits.substr(Math.floor(Math.random() * 0x10), 1);
+        }
+        s[14] = "4";  // bits 12-15 of the time_hi_and_version field to 0010
+        s[19] = hexDigits.substr((s[19] & 0x3) | 0x8, 1);  // bits 6-7 of the clock_seq_hi_and_reserved to 01
+        s[8] = s[13] = s[18] = s[23] = "-";
+
+        var uuid = s.join("");
+        return uuid;
+    },
+    // 获取随机字符串
+    // 不传参数则获取长度不固定的字符串
+    getRandomString: function (len) {
+        var randomString = '';
+        if (len) {
+            /****默认去掉了容易混淆的字符oOLl,9gq,Vv,Uu,I1****/
+            var $chars = 'ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678';
+            var maxPos = $chars.length;
+            for (i = 0; i < len; i++) {
+                randomString += $chars.charAt(Math.floor(Math.random() * maxPos));
+            }
+        } else {
+            // Math.random()  生成随机数字, eg: 0.123456
+            // .toString(36)  转化成36进制 : "0.4fzyo82mvyr"
+            // .substring(2)  去掉前面两位 : "yo82mvyr"
+            // .slice(-8)  截取最后八位 : "yo82mvyr"
+            randomString = Math.random().toString(36).substring(2)
+        }
+        return randomString;
+    },
+    // FROM: https://www.jianshu.com/p/90ed8b728975
+    // 比较两个兑现是否相等
+    // 返回true为相等,返回false为不相等
+    deepCompare: function (x, y) {
+        var i, l, leftChain, rightChain;
+        function compare2Objects(x, y) {
+            var p;
+            // remember that NaN === NaN returns false
+            // and isNaN(undefined) returns true
+            if (isNaN(x) && isNaN(y) && typeof x === 'number' && typeof y === 'number') {
+                return true;
+            }
+
+            // Compare primitives and functions.
+            // Check if both arguments link to the same object.
+            // Especially useful on the step where we compare prototypes
+            if (x === y) {
+                return true;
+            }
+
+            // Works in case when functions are created in constructor.
+            // Comparing dates is a common scenario. Another built-ins?
+            // We can even handle functions passed across iframes
+            if ((typeof x === 'function' && typeof y === 'function') ||
+                (x instanceof Date && y instanceof Date) ||
+                (x instanceof RegExp && y instanceof RegExp) ||
+                (x instanceof String && y instanceof String) ||
+                (x instanceof Number && y instanceof Number)) {
+                return x.toString() === y.toString();
+            }
+
+            // At last checking prototypes as good as we can
+            if (!(x instanceof Object && y instanceof Object)) {
+                return false;
+            }
+
+            if (x.isPrototypeOf(y) || y.isPrototypeOf(x)) {
+                return false;
+            }
+
+            if (x.constructor !== y.constructor) {
+                return false;
+            }
+
+            if (x.prototype !== y.prototype) {
+                return false;
+            }
+
+            // Check for infinitive linking loops
+            if (leftChain.indexOf(x) > -1 || rightChain.indexOf(y) > -1) {
+                return false;
+            }
+
+            // Quick checking of one object being a subset of another.
+            // todo: cache the structure of arguments[0] for performance
+            for (p in y) {
+                if (y.hasOwnProperty(p) !== x.hasOwnProperty(p)) {
+                    return false;
+                } else if (typeof y[p] !== typeof x[p]) {
+                    return false;
+                }
+            }
+
+            for (p in x) {
+                if (y.hasOwnProperty(p) !== x.hasOwnProperty(p)) {
+                    return false;
+                } else if (typeof y[p] !== typeof x[p]) {
+                    return false;
+                }
+
+                switch (typeof (x[p])) {
+                    case 'object':
+                    case 'function':
+
+                        leftChain.push(x);
+                        rightChain.push(y);
+
+                        if (!compare2Objects(x[p], y[p])) {
+                            return false;
+                        }
+
+                        leftChain.pop();
+                        rightChain.pop();
+                        break;
+
+                    default:
+                        if (x[p] !== y[p]) {
+                            return false;
+                        }
+                        break;
+                }
+            }
+
+            return true;
+        }
+
+        if (arguments.length < 1) {
+            return true; //Die silently? Don't know how to handle such case, please help...
+            // throw "Need two or more arguments to compare";
+        }
+
+        for (i = 1, l = arguments.length; i < l; i++) {
+
+            leftChain = []; //Todo: this can be cached
+            rightChain = [];
+
+            if (!compare2Objects(arguments[0], arguments[i])) {
+                return false;
+            }
+        }
+
+        return true;
+    },
+    // 全局loading框
+    jLoading: function(options) {
+        // 设置options参数的默认值
+        options.content = options.content || 'loading...'
+        options.bgc = options.bgc || 'transparent'
+        options.icon = options.icon || 'j-loading-icon'
+        options.duration = options.duration || 0
+        // 将其拼接成width: 5rem;的形式
+        options.width = options.width ? 'width:' + options.width + ';' : ''
+        // 结构
+        // <div class="j-loading">
+        //     <div class="j-mask"></div>
+        //     <div class="j-toast">
+        //         <i class="j-toast_icon j-loading-icon"></i>
+        //         <p class="j-toast_content">loading</p>
+        //     </div>
+        // </div>
+
+        var that = this
+        var bgcClassMap = {
+            transparent: '',
+            black: 'black'
+        }
+
+        var icon = options.iconHide ? '' : 'icon';
+        var html = '<div class="j-loading"><div class="j-mask ' + bgcClassMap[options.bgc] + '"></div><div class="j-toast '+ icon +'" style="' + options.width + '"><i class="j-toast_icon ' + options.icon + '"></i><p class="j-toast_content">' + options.content + '</p></div></div>'
+        var _html = $(html)
+        $('body').append(_html)
+        _html.fadeIn(this.loadingTransition)
+
+        var _loading = {
+            _html: _html,
+            hide: function(callback) {
+                this._html.fadeOut(that.loadingTransition, function() {
+                    this.remove()
+                    callback && callback()
+                })
+            }
+        }
+
+        if (options.duration > 0) {
+            setTimeout(function() {
+                _loading.hide(options.callback)
+            }, options.duration)
+        }
+
+        return _loading
+    },
+    splitPhone: function(phone) {
+        return String(phone).replace(/\s/g, '').replace(/(?=(\d{4})+$)/g, ' ')
+    },
+    // https://blog.csdn.net/jacoox/article/details/80719456
+    // https://github.com/Advanced-Frontend/Daily-Interview-Question/issues/129、https://segmentfault.com/a/1190000012490380
+    // 防抖: 其中 func 为需要进行防抖操作的函数(如发送联想请求的函数),delay 为延迟时间
+    debounce: function(func, delay) {
+        var timer = null
+        return function() {
+            var _this = this
+            var _arg = arguments
+            clearTimeout(timer)
+            timer = setTimeout(function() {
+                func.apply(_this, _arg)
+            }, delay)
+        }
+    },
+    // 节流: 其中 func 为需要进行节流操作的函数,wait为等待时间
+    throttle: function(func, wait) {
+        var lastTime = 0
+        return function(e) {
+            var now = +new Date()
+            if (now - lastTime > wait) {
+                func.apply(this, arguments)
+                lastTime = now
+            }
+        }
+    },
+    isWeiXinBrower: function() {
+        var ua = navigator.userAgent.toLowerCase();
+        if(ua.match(/MicroMessenger/i) == 'micromessenger') {
+          return true;
+        } else {
+          return false;
+        }
+    },
+    // 解决 客户端2.9.5 replace失效问题
+    locationReplace: function (url){
+      if(history.replaceState){
+        history.replaceState(null, document.title, url);
+        history.go(0);
+      }else{
+        location.replace(url);
+      }
+    },
+    iosAppFns: function () {
+      window.JyObjMessage = new Object()
+      window.JyObj = {
+        //清除 JyObjMessage
+        clearMessage:function(){
+          JyObjMessage = new Object();
+        },
+        //隐藏显示底部菜单栏 0:隐藏;1:显示
+        hiddenBottom:function(val){
+          JyObjMessage["hidden"]=val;
+               window.webkit.messageHandlers.hiddenBottom.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //刷新到指定的webview
+        //name 对应的值:search 搜索 subscribe 订阅 box 百宝箱 me 我的
+        //type 对应的值:0:当前页 1:一级页面
+        refreshAppointTab: function (name,type) {
+          JyObjMessage.name = name
+          JyObjMessage.type = type
+          window.webkit.messageHandlers.refreshAppointTab.postMessage(JyObjMessage)
+          JyObj.clearMessage()
+        },
+        //微信登录
+        loginByWeixin:function(){
+               window.webkit.messageHandlers.loginByWeixin.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //分享功能
+        share:function(type,title,content,link){
+          JyObjMessage["type"]=type
+          JyObjMessage["title"]=title
+          JyObjMessage["content"]=content
+          JyObjMessage["link"]=link
+               window.webkit.messageHandlers.share.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //保存用户token
+        saveUserToken:function(val){
+          JyObjMessage["token"]=val;
+               window.webkit.messageHandlers.saveUserToken.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //获取用户token
+        getUserToken:function(){
+          return JyObj.IosCall("getUserToken")
+        },
+        //移除用户token
+        removeUserToken:function(){
+               window.webkit.messageHandlers.removeUserToken.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //查看开关状态 是否接受消息
+        checkNoticePermission:function(){
+          return  JyObj.IosCall("checkNoticePermission")
+        },
+        //打开接受消息开关
+        openSystemNotification:function(){
+               window.webkit.messageHandlers.openSystemNotification.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //获取极光推送id
+        getPushRid:function(){
+          return JyObj.IosCall("getPushRid")
+        },
+        //跳转外部链接
+        openExternalLink:function(url,title){
+          JyObjMessage["url"]=url
+          JyObjMessage["title"]=title
+               window.webkit.messageHandlers.openExternalLink.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //获取当前版本号
+        getVersion:function(){
+          return JyObj.IosCall("getVersion")
+        },
+        alert:function(content){
+          JyObjMessage["content"]=content
+               window.webkit.messageHandlers.alert.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //是否安装了微信
+        isInstallWeixin:function(){
+          return JyObj.IosCall("isInstallWeixin")
+        },
+        //登录加密
+        getCipherText:function(val){
+          JyObjMessage["phone"]=val
+          return JyObj.IosCall("getCipherText",JyObjMessage)
+        },
+        //刷新首页和订阅页面
+        checkLab:function(){
+               window.webkit.messageHandlers.checkLab.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //登录成功后向客户端传参
+        loginSuccess:function(status){
+          JyObjMessage["status"]=status
+               window.webkit.messageHandlers.loginSuccess.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //客户端登录页面点击返回 跳转到搜索首页
+        backUrl:function(val){
+          JyObjMessage["status"] = val;
+               window.webkit.messageHandlers.backUrl.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //清空通知栏消息
+        clearPushMessage:function(){
+               window.webkit.messageHandlers.clearPushMessage.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //隐藏小红点
+        hideRedSpotOnMenu:function(menu){
+          JyObjMessage["menu"] = menu;
+               window.webkit.messageHandlers.hideRedSpotOnMenu.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //显示小红点
+        showRedSpotOnMenu:function(menu){
+          JyObjMessage["menu"] = menu;
+               window.webkit.messageHandlers.showRedSpotOnMenu.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //微信支付
+        wxPay:function(order){
+          JyObjMessage["order"] = order;
+               window.webkit.messageHandlers.wxPay.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //支付宝支付
+        aliPay:function(order){
+          JyObjMessage["order"] = order;
+               window.webkit.messageHandlers.aliPay.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //获取原生的推送id
+        getOtherPushRid:function(){
+          return JyObj.IosCall("getOtherPushRid")
+        },
+        //获取手机型号
+        getPhoneBrand:function(){
+          return JyObj.IosCall("getPhoneBrand")
+        },
+        //获取定位
+        getLocation:function(){
+          return JyObj.IosCall("getLocation")
+        },
+        //切换菜单
+        chooseTab:function(indexTab){
+          JyObjMessage["indexTab"] = indexTab;
+               window.webkit.messageHandlers.chooseTab.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //打开照相机
+        skipCamera:function(){
+               window.webkit.messageHandlers.skipCamera.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //打开相册
+        skipAlbum:function(){
+               window.webkit.messageHandlers.skipAlbum.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //点击返回调用
+        judgeIsHidden:function(referer){
+          JyObjMessage["referer"] = referer;
+          window.webkit.messageHandlers.judgeIsHidden.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //返回值 处理
+        IosCall: function (functionName,args){
+          if (args!=""&&args!=undefined){
+            JyObj.clearMessage();
+          }
+              var payload = {"jsName": functionName, "arguments": args};
+            var res = prompt(JSON.stringify(payload));
+          if (res!=""){
+            var resObj=JSON.parse(res)
+            var type = resObj.type
+            switch (type){
+              case "int":
+                return parseInt(resObj.value)
+              case "string":
+                return resObj.value
+              case "bool":
+                if(resObj.value=="true"){
+                  return true
+                }
+                return false
+              default:
+                return ""
+            }
+          }
+          return ""
+        }
+      }
+    },
+  //   getRefer: function () {
+  //     var recordPathSource = {
+  //       me: {
+  //           // 从这几个页面中来
+  //           from: [
+  //               '/jyapp/front/myOrder/toMyOrder'
+  //           ],
+  //           // 到哪里去
+  //           to: '/jyapp/free/me'
+  //       },
+  //       treasure: {
+  //           from: [
+  //               '/page_entniche/page/add_ent/add_ent.html',
+  //               '/page_entniche/page/user/bind_result.html',
+  //               '/page_entniche/page/user/selected_ent.html',
+  //               '/page_entniche/page/user/selected_ent.html',
+  //           ],
+  //           to: '/jyapp/jylab/index'
+  //       }
+  //     }
+  //     var uri = ''
+  //     if (window.URL) {
+  //       uri = new URL(document.referrer)
+  //     } else {
+  //       var uri = document.createElement('a')
+  //       uri.href = document.referrer
+  //     }
+  //     console.log(document.referrer)
+  //     console.log(uri)
+  //     var pathName = uri.pathname
+  //     for (var key in recordPathSource) {
+  //         var r = recordPathSource[key].from.indexOf(pathName)
+  //         if (r !== -1) {
+  //             sessionStorage.setItem('paySuccessNextStepLink', recordPathSource[key].to)
+  //         }
+  //     }
+  // }
+}
+
+vTools.$env = {
+  inWeiXin: vTools.isWeiXinBrower(),
+  platform: vTools.isWeiXinBrower() ? 'wx' : 'app',
+  operateSystem: vTools.androidOrIOS()
+}
+
+// iosApp全局注册内置方法
+if (!vTools.$env.inWeiXin && vTools.$env.operateSystem === 'ios') {
+  vTools.iosAppFns()
+  vTools.iosBackRefresh()
+}
+
+/*
+   * 时间格式化函数(将时间格式化为,2019年08月12日,2019-08-12,2019/08/12的形式)
+   *
+   *
+   *   pattern参数(想要什么格式的数据就传入什么格式的数据)
+   *     · 'yyyy-MM-dd'  ---> 输出如2019-09-20
+   *     · 'yyyy-MM-dd hh:mm'  --->  输出如2019-09-20 08:20
+   *     · 'yyyy-MM-dd hh:mm:ss'  --->  输出如2019-09-20 08:20:23
+   *     · 'yyyy/MM/dd'  --->  输出如2019/09/20
+   *     · 'yyyy年MM月dd日'  --->  输出如2019年09月20日
+   *     · 'yyyy年MM月dd日 hh时mm分'  --->  输出如2019年09月20日 08时20分
+   *     · 'yyyy年MM月dd日 hh时mm分ss秒'  --->  输出如2019年09月20日 08时20分23秒
+   *     · 'yyyy年MM月dd日 hh时mm分ss秒 EE'  --->  输出如2019年09月20日 08时20分23秒 周二
+   *     · 'yyyy年MM月dd日 hh时mm分ss秒 EEE'  --->  输出如2019年09月20日 08时20分23秒 星期二
+   *
+   *  参考: https://www.cnblogs.com/mr-wuxiansheng/p/6296646.html
+   */
+Date.prototype.pattern = function (fmt) {
+    var o = {
+        'y+': this.getFullYear(),
+        'M+': this.getMonth() + 1, //月份
+        'd+': this.getDate(), //日
+        'h+': this.getHours() % 12 == 0 ? 12 : this.getHours() % 12, //小时
+        'H+': this.getHours(), //小时
+        'm+': this.getMinutes(), //分
+        's+': this.getSeconds(), //秒
+        'q+': Math.floor((this.getMonth() + 3) / 3), //季度
+        'S': this.getMilliseconds(), //毫秒
+        'E+': this.getDay(), // 周
+    };
+    var week = {
+        '0': '日',
+        '1': '一',
+        '2': '二',
+        '3': '三',
+        '4': '四',
+        '5': '五',
+        '6': '六'
+    };
+    if (/(y+)/.test(fmt)) {
+        fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length));
+    }
+    if (/(E+)/.test(fmt)) {
+        fmt = fmt.replace(RegExp.$1, ((RegExp.$1.length > 1) ? (RegExp.$1.length > 2 ? '星期' : '周') : '') + week[
+            this.getDay() + '']);
+    }
+    for (var k in o) {
+        if (new RegExp('(' + k + ')').test(fmt)) {
+            fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k])
+                .length)));
+        }
+    }
+    return fmt;
+}

File diff suppressed because it is too large
+ 0 - 0
entbase-mobile/page_entbase_mobile/js/common.min.js


+ 671 - 0
entbase-mobile/page_entbase_mobile/js/commonForVue.js

@@ -0,0 +1,671 @@
+window.afterClickBack = function () {
+  console.log('afterClickBack', location.href)
+}
+
+var vTools = {
+    // 公共前缀url
+    baseUrl: '/entnicheNew',
+    // 公共header
+    commonHeader: {
+        'version': 'v2.9.6'
+    },
+    errorCodeMap: {
+        1001: '需要重新登录',
+        1002: '缺失参数',
+        1003: '没有权限',
+    },
+    $env: {},
+    loadingTransition: 300,
+    // 传入你要获取的参数的名字
+    getParam: function (name) {
+        var reg = new RegExp('(^|&)' + name + '=([^&]*)(&|$)', 'i');
+        var r = window.location.search.substr(1).match(reg); //获取url中'?'符后的字符串并正则匹配
+
+        var context = '';
+        if (r != null) context = r[2];
+        // 释放变量
+        reg = null;
+        r = null;
+        return context == null || context == '' || context == 'undefined' ? '' : context;
+    },
+    // 数组对象根据某一个值进行冒泡排序
+    // arr 数组
+    // value 字符串
+    bSort: function (arr, value) {
+        var len = arr.length;
+        for (var i = 0; i < len - 1; i++) {
+            for (var j = 0; j < len - 1 - i; j++) {
+                // 相邻元素两两对比,元素交换,大的元素交换到后面
+                if (arr[j][value] > arr[j + 1][value]) {
+                    var temp = arr[j];
+                    arr[j] = arr[j + 1];
+                    arr[j + 1] = temp;
+                }
+            }
+        }
+        return arr;
+    },
+    // 格式化金钱的函数
+    // s: 金额(number) 必传
+    // n: 保留小数的位数(int:0-100)
+    formatMoney: function (s, n) {
+        if (n === undefined) {
+            n = -1
+        } else {
+            n = n > 0 && n <= 20 ? n : 2;
+        }
+        var intS = parseInt(s)
+        var point = '.'
+        var left;
+        var right;
+        s = parseFloat((s + '').replace(/[^\d\.-]/g, ''))
+        // 没传n,默认(如果为整数,则不保留小数。如果为浮点数,则保留两位小数)
+        if (n === -1) {
+            if (s === intS) {
+                n = 0
+                right = ''
+                point = ''
+            } else {
+                n = 2
+                s = s.toFixed(n);
+                right = s.split('.')[1];
+            }
+            s = s + ''
+            left = s.split('.')[0].split('').reverse();
+        } else {
+            s = parseFloat((s + '').replace(/[^\d\.-]/g, '')).toFixed(n) + '';
+            left = s.split('.')[0].split('').reverse();
+            right = s.split('.')[1];
+        }
+
+        t = '';
+        for (i = 0; i < left.length; i++) {
+            t += left[i] + ((i + 1) % 3 == 0 && (i + 1) != left.length ? ',' : '');
+        }
+
+        var money = t.split('').reverse().join('') + point + right;
+        return money;
+    },
+    // 解决ios返回不刷新页面的问题
+    iosBackRefresh: function () {
+        var isPageHide = false;
+        window.addEventListener('pageshow', function () {
+            if (isPageHide) {
+                location.reload();
+            }
+        });
+        window.addEventListener('pagehide', function () {
+            isPageHide = true;
+        });
+    },
+    // 通过userAgent获取用户手机操作系统类型
+    androidOrIOS: function () {
+        var u = navigator.userAgent.toLowerCase();
+        var app = navigator.appVersion;
+        var agent = null;
+        if (/iphone|ipod|ipad|ios/.test(u)) {
+            agent = 'ios'
+        } else {
+            agent = 'android'
+        }
+        return agent
+    },
+    // 取[m, n]随机数
+    getRandomNumber: function (min, max) {
+        return Math.floor(Math.random() * (max - min + 1) + min);
+    },
+    // 获取唯一的uuid
+    // https://www.kancloud.cn/ifeng/js100/622666
+    getRandomUuid: function () {
+        var s = [];
+        var hexDigits = "0123456789abcdef";
+        for (var i = 0; i < 36; i++) {
+            s[i] = hexDigits.substr(Math.floor(Math.random() * 0x10), 1);
+        }
+        s[14] = "4";  // bits 12-15 of the time_hi_and_version field to 0010
+        s[19] = hexDigits.substr((s[19] & 0x3) | 0x8, 1);  // bits 6-7 of the clock_seq_hi_and_reserved to 01
+        s[8] = s[13] = s[18] = s[23] = "-";
+
+        var uuid = s.join("");
+        return uuid;
+    },
+    // 获取随机字符串
+    // 不传参数则获取长度不固定的字符串
+    getRandomString: function (len) {
+        var randomString = '';
+        if (len) {
+            /****默认去掉了容易混淆的字符oOLl,9gq,Vv,Uu,I1****/
+            var $chars = 'ABCDEFGHJKMNPQRSTWXYZabcdefhijkmnprstwxyz2345678';
+            var maxPos = $chars.length;
+            for (i = 0; i < len; i++) {
+                randomString += $chars.charAt(Math.floor(Math.random() * maxPos));
+            }
+        } else {
+            // Math.random()  生成随机数字, eg: 0.123456
+            // .toString(36)  转化成36进制 : "0.4fzyo82mvyr"
+            // .substring(2)  去掉前面两位 : "yo82mvyr"
+            // .slice(-8)  截取最后八位 : "yo82mvyr"
+            randomString = Math.random().toString(36).substring(2)
+        }
+        return randomString;
+    },
+    // FROM: https://www.jianshu.com/p/90ed8b728975
+    // 比较两个兑现是否相等
+    // 返回true为相等,返回false为不相等
+    deepCompare: function (x, y) {
+        var i, l, leftChain, rightChain;
+        function compare2Objects(x, y) {
+            var p;
+            // remember that NaN === NaN returns false
+            // and isNaN(undefined) returns true
+            if (isNaN(x) && isNaN(y) && typeof x === 'number' && typeof y === 'number') {
+                return true;
+            }
+
+            // Compare primitives and functions.
+            // Check if both arguments link to the same object.
+            // Especially useful on the step where we compare prototypes
+            if (x === y) {
+                return true;
+            }
+
+            // Works in case when functions are created in constructor.
+            // Comparing dates is a common scenario. Another built-ins?
+            // We can even handle functions passed across iframes
+            if ((typeof x === 'function' && typeof y === 'function') ||
+                (x instanceof Date && y instanceof Date) ||
+                (x instanceof RegExp && y instanceof RegExp) ||
+                (x instanceof String && y instanceof String) ||
+                (x instanceof Number && y instanceof Number)) {
+                return x.toString() === y.toString();
+            }
+
+            // At last checking prototypes as good as we can
+            if (!(x instanceof Object && y instanceof Object)) {
+                return false;
+            }
+
+            if (x.isPrototypeOf(y) || y.isPrototypeOf(x)) {
+                return false;
+            }
+
+            if (x.constructor !== y.constructor) {
+                return false;
+            }
+
+            if (x.prototype !== y.prototype) {
+                return false;
+            }
+
+            // Check for infinitive linking loops
+            if (leftChain.indexOf(x) > -1 || rightChain.indexOf(y) > -1) {
+                return false;
+            }
+
+            // Quick checking of one object being a subset of another.
+            // todo: cache the structure of arguments[0] for performance
+            for (p in y) {
+                if (y.hasOwnProperty(p) !== x.hasOwnProperty(p)) {
+                    return false;
+                } else if (typeof y[p] !== typeof x[p]) {
+                    return false;
+                }
+            }
+
+            for (p in x) {
+                if (y.hasOwnProperty(p) !== x.hasOwnProperty(p)) {
+                    return false;
+                } else if (typeof y[p] !== typeof x[p]) {
+                    return false;
+                }
+
+                switch (typeof (x[p])) {
+                    case 'object':
+                    case 'function':
+
+                        leftChain.push(x);
+                        rightChain.push(y);
+
+                        if (!compare2Objects(x[p], y[p])) {
+                            return false;
+                        }
+
+                        leftChain.pop();
+                        rightChain.pop();
+                        break;
+
+                    default:
+                        if (x[p] !== y[p]) {
+                            return false;
+                        }
+                        break;
+                }
+            }
+
+            return true;
+        }
+
+        if (arguments.length < 1) {
+            return true; //Die silently? Don't know how to handle such case, please help...
+            // throw "Need two or more arguments to compare";
+        }
+
+        for (i = 1, l = arguments.length; i < l; i++) {
+
+            leftChain = []; //Todo: this can be cached
+            rightChain = [];
+
+            if (!compare2Objects(arguments[0], arguments[i])) {
+                return false;
+            }
+        }
+
+        return true;
+    },
+    // 全局loading框
+    jLoading: function(options) {
+        // 设置options参数的默认值
+        options.content = options.content || 'loading...'
+        options.bgc = options.bgc || 'transparent'
+        options.icon = options.icon || 'j-loading-icon'
+        options.duration = options.duration || 0
+        // 将其拼接成width: 5rem;的形式
+        options.width = options.width ? 'width:' + options.width + ';' : ''
+        // 结构
+        // <div class="j-loading">
+        //     <div class="j-mask"></div>
+        //     <div class="j-toast">
+        //         <i class="j-toast_icon j-loading-icon"></i>
+        //         <p class="j-toast_content">loading</p>
+        //     </div>
+        // </div>
+
+        var that = this
+        var bgcClassMap = {
+            transparent: '',
+            black: 'black'
+        }
+
+        var icon = options.iconHide ? '' : 'icon';
+        var html = '<div class="j-loading"><div class="j-mask ' + bgcClassMap[options.bgc] + '"></div><div class="j-toast '+ icon +'" style="' + options.width + '"><i class="j-toast_icon ' + options.icon + '"></i><p class="j-toast_content">' + options.content + '</p></div></div>'
+        var _html = $(html)
+        $('body').append(_html)
+        _html.fadeIn(this.loadingTransition)
+
+        var _loading = {
+            _html: _html,
+            hide: function(callback) {
+                this._html.fadeOut(that.loadingTransition, function() {
+                    this.remove()
+                    callback && callback()
+                })
+            }
+        }
+
+        if (options.duration > 0) {
+            setTimeout(function() {
+                _loading.hide(options.callback)
+            }, options.duration)
+        }
+
+        return _loading
+    },
+    splitPhone: function(phone) {
+        return String(phone).replace(/\s/g, '').replace(/(?=(\d{4})+$)/g, ' ')
+    },
+    // https://blog.csdn.net/jacoox/article/details/80719456
+    // https://github.com/Advanced-Frontend/Daily-Interview-Question/issues/129、https://segmentfault.com/a/1190000012490380
+    // 防抖: 其中 func 为需要进行防抖操作的函数(如发送联想请求的函数),delay 为延迟时间
+    debounce: function(func, delay) {
+        var timer = null
+        return function() {
+            var _this = this
+            var _arg = arguments
+            clearTimeout(timer)
+            timer = setTimeout(function() {
+                func.apply(_this, _arg)
+            }, delay)
+        }
+    },
+    // 节流: 其中 func 为需要进行节流操作的函数,wait为等待时间
+    throttle: function(func, wait) {
+        var lastTime = 0
+        return function(e) {
+            var now = +new Date()
+            if (now - lastTime > wait) {
+                func.apply(this, arguments)
+                lastTime = now
+            }
+        }
+    },
+    isWeiXinBrower: function() {
+        var ua = navigator.userAgent.toLowerCase();
+        if(ua.match(/MicroMessenger/i) == 'micromessenger') {
+          return true;
+        } else {
+          return false;
+        }
+    },
+    // 解决 客户端2.9.5 replace失效问题
+    locationReplace: function (url){
+      if(history.replaceState){
+        history.replaceState(null, document.title, url);
+        history.go(0);
+      }else{
+        location.replace(url);
+      }
+    },
+    iosAppFns: function () {
+      window.JyObjMessage = new Object()
+      window.JyObj = {
+        //清除 JyObjMessage
+        clearMessage:function(){
+          JyObjMessage = new Object();
+        },
+        //隐藏显示底部菜单栏 0:隐藏;1:显示
+        hiddenBottom:function(val){
+          JyObjMessage["hidden"]=val;
+               window.webkit.messageHandlers.hiddenBottom.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //刷新到指定的webview
+        //name 对应的值:search 搜索 subscribe 订阅 box 百宝箱 me 我的
+        //type 对应的值:0:当前页 1:一级页面
+        refreshAppointTab: function (name,type) {
+          JyObjMessage.name = name
+          JyObjMessage.type = type
+          window.webkit.messageHandlers.refreshAppointTab.postMessage(JyObjMessage)
+          JyObj.clearMessage()
+        },
+        //微信登录
+        loginByWeixin:function(){
+               window.webkit.messageHandlers.loginByWeixin.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //分享功能
+        share:function(type,title,content,link){
+          JyObjMessage["type"]=type
+          JyObjMessage["title"]=title
+          JyObjMessage["content"]=content
+          JyObjMessage["link"]=link
+               window.webkit.messageHandlers.share.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //保存用户token
+        saveUserToken:function(val){
+          JyObjMessage["token"]=val;
+               window.webkit.messageHandlers.saveUserToken.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //获取用户token
+        getUserToken:function(){
+          return JyObj.IosCall("getUserToken")
+        },
+        //移除用户token
+        removeUserToken:function(){
+               window.webkit.messageHandlers.removeUserToken.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //查看开关状态 是否接受消息
+        checkNoticePermission:function(){
+          return  JyObj.IosCall("checkNoticePermission")
+        },
+        //打开接受消息开关
+        openSystemNotification:function(){
+               window.webkit.messageHandlers.openSystemNotification.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //获取极光推送id
+        getPushRid:function(){
+          return JyObj.IosCall("getPushRid")
+        },
+        //跳转外部链接
+        openExternalLink:function(url,title){
+          JyObjMessage["url"]=url
+          JyObjMessage["title"]=title
+               window.webkit.messageHandlers.openExternalLink.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //获取当前版本号
+        getVersion:function(){
+          return JyObj.IosCall("getVersion")
+        },
+        alert:function(content){
+          JyObjMessage["content"]=content
+               window.webkit.messageHandlers.alert.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //是否安装了微信
+        isInstallWeixin:function(){
+          return JyObj.IosCall("isInstallWeixin")
+        },
+        //登录加密
+        getCipherText:function(val){
+          JyObjMessage["phone"]=val
+          return JyObj.IosCall("getCipherText",JyObjMessage)
+        },
+        //刷新首页和订阅页面
+        checkLab:function(){
+               window.webkit.messageHandlers.checkLab.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //登录成功后向客户端传参
+        loginSuccess:function(status){
+          JyObjMessage["status"]=status
+               window.webkit.messageHandlers.loginSuccess.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //客户端登录页面点击返回 跳转到搜索首页
+        backUrl:function(val){
+          JyObjMessage["status"] = val;
+               window.webkit.messageHandlers.backUrl.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //清空通知栏消息
+        clearPushMessage:function(){
+               window.webkit.messageHandlers.clearPushMessage.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //隐藏小红点
+        hideRedSpotOnMenu:function(menu){
+          JyObjMessage["menu"] = menu;
+               window.webkit.messageHandlers.hideRedSpotOnMenu.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //显示小红点
+        showRedSpotOnMenu:function(menu){
+          JyObjMessage["menu"] = menu;
+               window.webkit.messageHandlers.showRedSpotOnMenu.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //微信支付
+        wxPay:function(order){
+          JyObjMessage["order"] = order;
+               window.webkit.messageHandlers.wxPay.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //支付宝支付
+        aliPay:function(order){
+          JyObjMessage["order"] = order;
+               window.webkit.messageHandlers.aliPay.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //获取原生的推送id
+        getOtherPushRid:function(){
+          return JyObj.IosCall("getOtherPushRid")
+        },
+        //获取手机型号
+        getPhoneBrand:function(){
+          return JyObj.IosCall("getPhoneBrand")
+        },
+        //获取定位
+        getLocation:function(){
+          return JyObj.IosCall("getLocation")
+        },
+        //切换菜单
+        chooseTab:function(indexTab){
+          JyObjMessage["indexTab"] = indexTab;
+               window.webkit.messageHandlers.chooseTab.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //打开照相机
+        skipCamera:function(){
+               window.webkit.messageHandlers.skipCamera.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //打开相册
+        skipAlbum:function(){
+               window.webkit.messageHandlers.skipAlbum.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //点击返回调用
+        judgeIsHidden:function(referer){
+          JyObjMessage["referer"] = referer;
+          window.webkit.messageHandlers.judgeIsHidden.postMessage(JyObjMessage);
+          JyObj.clearMessage();
+        },
+        //返回值 处理
+        IosCall: function (functionName,args){
+          if (args!=""&&args!=undefined){
+            JyObj.clearMessage();
+          }
+              var payload = {"jsName": functionName, "arguments": args};
+            var res = prompt(JSON.stringify(payload));
+          if (res!=""){
+            var resObj=JSON.parse(res)
+            var type = resObj.type
+            switch (type){
+              case "int":
+                return parseInt(resObj.value)
+              case "string":
+                return resObj.value
+              case "bool":
+                if(resObj.value=="true"){
+                  return true
+                }
+                return false
+              default:
+                return ""
+            }
+          }
+          return ""
+        },
+        // 新打开相机方法
+        skipCameraWithParam: function (type) {
+          JyObjMessage.type = type
+          window.webkit.messageHandlers.skipCameraWithParam.postMessage(JyObjMessage)
+          JyObj.clearMessage()
+        },
+        // 新打开相册客户端方法
+        skipAlbumWithParam: function (type) {
+          JyObjMessage.type = type
+          window.webkit.messageHandlers.skipAlbumWithParam.postMessage(JyObjMessage)
+          JyObj.clearMessage()
+        }
+      }
+    },
+  //   getRefer: function () {
+  //     var recordPathSource = {
+  //       me: {
+  //           // 从这几个页面中来
+  //           from: [
+  //               '/jyapp/front/myOrder/toMyOrder'
+  //           ],
+  //           // 到哪里去
+  //           to: '/jyapp/free/me'
+  //       },
+  //       treasure: {
+  //           from: [
+  //               '/page_entniche/page/add_ent/add_ent.html',
+  //               '/page_entniche/page/user/bind_result.html',
+  //               '/page_entniche/page/user/selected_ent.html',
+  //               '/page_entniche/page/user/selected_ent.html',
+  //           ],
+  //           to: '/jyapp/jylab/index'
+  //       }
+  //     }
+  //     var uri = ''
+  //     if (window.URL) {
+  //       uri = new URL(document.referrer)
+  //     } else {
+  //       var uri = document.createElement('a')
+  //       uri.href = document.referrer
+  //     }
+  //     console.log(document.referrer)
+  //     console.log(uri)
+  //     var pathName = uri.pathname
+  //     for (var key in recordPathSource) {
+  //         var r = recordPathSource[key].from.indexOf(pathName)
+  //         if (r !== -1) {
+  //             sessionStorage.setItem('paySuccessNextStepLink', recordPathSource[key].to)
+  //         }
+  //     }
+  // }
+}
+
+vTools.$env = {
+  inWeiXin: vTools.isWeiXinBrower(),
+  platform: vTools.isWeiXinBrower() ? 'wx' : 'app',
+  operateSystem: vTools.androidOrIOS()
+}
+
+// iosApp全局注册内置方法
+if (!vTools.$env.inWeiXin && vTools.$env.operateSystem === 'ios') {
+  vTools.iosAppFns()
+  vTools.iosBackRefresh()
+}
+
+/*
+   * 时间格式化函数(将时间格式化为,2019年08月12日,2019-08-12,2019/08/12的形式)
+   *
+   *
+   *   pattern参数(想要什么格式的数据就传入什么格式的数据)
+   *     · 'yyyy-MM-dd'  ---> 输出如2019-09-20
+   *     · 'yyyy-MM-dd hh:mm'  --->  输出如2019-09-20 08:20
+   *     · 'yyyy-MM-dd hh:mm:ss'  --->  输出如2019-09-20 08:20:23
+   *     · 'yyyy/MM/dd'  --->  输出如2019/09/20
+   *     · 'yyyy年MM月dd日'  --->  输出如2019年09月20日
+   *     · 'yyyy年MM月dd日 hh时mm分'  --->  输出如2019年09月20日 08时20分
+   *     · 'yyyy年MM月dd日 hh时mm分ss秒'  --->  输出如2019年09月20日 08时20分23秒
+   *     · 'yyyy年MM月dd日 hh时mm分ss秒 EE'  --->  输出如2019年09月20日 08时20分23秒 周二
+   *     · 'yyyy年MM月dd日 hh时mm分ss秒 EEE'  --->  输出如2019年09月20日 08时20分23秒 星期二
+   *
+   *  参考: https://www.cnblogs.com/mr-wuxiansheng/p/6296646.html
+   */
+Date.prototype.pattern = function (fmt) {
+    var o = {
+        'y+': this.getFullYear(),
+        'M+': this.getMonth() + 1, //月份
+        'd+': this.getDate(), //日
+        'h+': this.getHours() % 12 == 0 ? 12 : this.getHours() % 12, //小时
+        'H+': this.getHours(), //小时
+        'm+': this.getMinutes(), //分
+        's+': this.getSeconds(), //秒
+        'q+': Math.floor((this.getMonth() + 3) / 3), //季度
+        'S': this.getMilliseconds(), //毫秒
+        'E+': this.getDay(), // 周
+    };
+    var week = {
+        '0': '日',
+        '1': '一',
+        '2': '二',
+        '3': '三',
+        '4': '四',
+        '5': '五',
+        '6': '六'
+    };
+    if (/(y+)/.test(fmt)) {
+        fmt = fmt.replace(RegExp.$1, (this.getFullYear() + '').substr(4 - RegExp.$1.length));
+    }
+    if (/(E+)/.test(fmt)) {
+        fmt = fmt.replace(RegExp.$1, ((RegExp.$1.length > 1) ? (RegExp.$1.length > 2 ? '星期' : '周') : '') + week[
+            this.getDay() + '']);
+    }
+    for (var k in o) {
+        if (new RegExp('(' + k + ')').test(fmt)) {
+            fmt = fmt.replace(RegExp.$1, (RegExp.$1.length == 1) ? (o[k]) : (('00' + o[k]).substr(('' + o[k])
+                .length)));
+        }
+    }
+    return fmt;
+}

+ 489 - 0
entbase-mobile/page_entbase_mobile/js/dispense_choose_area.js

@@ -0,0 +1,489 @@
+// 分发设置
+$(function () {
+    // ----------------- 以下定义功能函数 ----------------------------
+    function createMoreCity(arr) {
+        var tempHtml = arr.map(function (v) {
+            return '<button class="city">' + v.name + '</button>'
+        }).join('')
+        return tempHtml
+    }
+
+    // 数组求和
+    function arrSum(arr) {
+        var sum = 0
+        arr.forEach(function(item, i) {
+            sum += item
+        })
+        return sum
+    }
+
+    // 省下拉市事件
+    var isAnimating = false
+    // 展开或者收起的状态
+    function slideFunc() {
+        if (isAnimating) return
+        isAnimating = true
+        if ($(this).next('.tab_content:not(:animated)').css("display") == "block") {
+            $(this).children().children('i').removeClass('rotate-arrow')
+        } else {
+            $(this).children().children('i').addClass('rotate-arrow')
+        }
+        $(this).toggleClass('selected').next('.tab_content:not(:animated)').slideToggle(500)
+        $(this).parent().siblings().children('.tab').removeClass('selected');
+        setTimeout(function() {
+            isAnimating = false
+        }, 500)
+    }
+
+    // 传入要展开那个li
+    function expandSlide(li, show) {
+        var _li = $(li)
+        var isMunicipality = _li.children('.tab').hasClass('municipality')
+        if (isMunicipality) return
+        if (show) {
+            _li.children('.tab').addClass('selected')
+            _li.find('.tab_content').show()
+            _li.children('.tab').find('i').addClass('rotate-arrow')
+        } else {
+            _li.children('.tab').removeClass('selected')
+            _li.find('.tab_content').hide()
+            _li.children('.tab').find('i').removeClass('rotate-arrow')
+        }
+    }
+
+    // 新增求值 ---- 统计数量,不做视图操作
+    function getResult() {
+        var selectedCount = {
+            country: 0,
+            province: 0,
+            city: {
+                // 一共选了多少个城市
+                totalCount: 0,
+                // 分布在几个省份
+                pCount: 0
+            }
+        }
+        // 获取所有点亮的城市的值
+        var selected = getActiveCityDetail()
+        
+        for (var p in selected) {
+            if (p === '全国') {
+                selectedCount = {
+                    country: -1,
+                    province: 0,
+                    city: {
+                        totalCount: 0,
+                        pCount: 0
+                    }
+                }
+                
+                setDataInResult(selectedCount);
+                resetButtonLock(false)
+                return;
+            }
+
+            if (selected[p].length === 0) {
+                selectedCount.province ++
+            } else {
+                selectedCount.city.pCount ++
+                selected[p].forEach(function(item, index) {
+                    selectedCount.city.totalCount ++
+                })
+            }
+        }
+        setDataInResult(selectedCount);
+        
+        if (Object.keys(selected).length === 0) {
+            resetButtonLock(true)
+        } else {
+            resetButtonLock(false)
+        }
+    }
+
+    function setDataInResult(selected) {
+        // 已选择数量
+        var count = {
+            p: selected.province === 0 ? '' : selected.province + '个省',
+            c: selected.city.totalCount === 0 ? '' : selected.city.totalCount + '个市',
+            s: selected.city.pCount === 1 ? '' :  '(分布在' + selected.city.pCount + '个省内)'
+        }
+
+        // 已选择数量数据渲染
+        if (selected.country === -1) {
+            $('.result-selected .result-info .info-overview').text('全国')
+        } else {
+            var dunhao = ''
+            if (selected.province !== 0 && selected.city.totalCount !== 0) {
+                dunhao = '、'
+            }
+            if (selected.city.pCount === 0 || selected.city.pCount === 1) {
+                count.s = ''
+            }
+            $('.result-selected .result-info .info-overview').text(count.p + dunhao + count.c + count.s)
+        }
+    }
+
+    // 点亮的城市数量详情(需要省和城市名称)
+    function getActiveCityDetail() {
+        var isWholeCountry = $('.tab.whole input').is(':checked')
+        if (isWholeCountry) {
+            // 选择全国
+            var str = $('.area-list li .tab.whole .province').text().replace(/\s+ | [\r\n]/g, '')
+            var obj = {}
+            obj[str] = []
+            return obj
+        } else {
+            var arr = []
+            $('.area-list li:not(.index)').each(function (i, dom) {
+                var $dom = $(dom)
+                if ($dom.children('.tab').hasClass('whole')) return
+                var isMunicipality = $dom.find('.tab').hasClass('municipality')
+                var pName = $dom.find('.province').text().replace(/\s+ | [\r\n]/g, '')
+                var selectedObj = {
+                    name: pName,
+                    children: []
+                }                
+
+                // 是否是直辖市或自治区
+                if (isMunicipality) {
+                    if ($dom.find('input:not([disabled])').is(':checked')) {
+                        arr.push(selectedObj)
+
+                    }
+                } else {
+                    var allCitylength = $dom.find('button').length
+
+                    if ($dom.find('button.active').length === allCitylength) {
+                        arr.push(selectedObj)
+                    } else {
+                        $dom.find('button.active').each(function (c, buttonDOM) {
+                            var cName = $(buttonDOM).text().replace(/\s+ | [\r\n]/g, '')
+                            selectedObj.children.push(cName)
+                        })
+                        if (selectedObj.children.length) {
+                            arr.push(selectedObj)
+                        }
+                    }
+                }
+            })
+            // console.log(arr)
+            
+            // 处理arr
+            // [
+            //     {
+            //         name: '安徽',
+            //         children: ["合肥市", "蚌埠市", "阜阳市"]
+            //     },
+            //     {
+            //         name: '海南',
+            //         children: ["三亚市", "文昌市"]
+            //     },
+            //     {
+            //         name: '河南',
+            //         children: ["郑州市", "信阳市"]
+            //     }
+            // ]
+            var selectedCityDetail = {}
+            arr.forEach(function (item, i) {
+                selectedCityDetail[item.name] = item.children
+            })
+            // console.log(selectedCityDetail)
+            return selectedCityDetail
+        }
+    }
+
+    // 初始选择的城市恢复,根据传入的p恢复为Active蓝色按钮
+    // 需要放到init之后
+    function renderSelectedCityActive(p = {}) {
+        for (const k in p) {
+            if (k === '全国') {
+                $('.area-list li:not(.index):eq(0)').find('input').trigger('click')
+                return
+            }
+
+            if (p[k].length == 0) {
+                // 购买的省份
+                $('.province').each(function () {
+                    var t = $(this).text().trim();
+                    if (k == t && p[k].length == 0) {
+                        var li = $(this).parents('li')
+                        // 改变按钮状态
+                        li.find('.city').addClass('active')
+                        // 改变input的状态
+                        li.find('input.checkbox').prop('checked', true)
+                    }
+                })
+            } else {
+                $('.city').each(function () {
+                    var t = $(this).text().trim();
+                    $this = $(this)
+                    p[k].forEach(function(v){
+                        if (v !== t) return
+                        // 改变按钮状态
+                        $this.addClass('active')
+                        // 改变input的样式
+                        $this.parents('li').find('input.checkbox').addClass('opt')
+                    })
+                })
+            }
+        }
+    }
+
+    function resetButtonLock(f) {
+        $('.j-button-confirm').prop('disabled', f)
+        $('.j-button-cancel').prop('disabled', f)
+    }
+
+
+    // 上方已订阅的数据信息的计算
+    function calculateCityData(selected) {
+        var selectedCount = {
+            country: 0,
+            province: 0,
+            city: {
+                // 一共选了多少个城市
+                totalCount: 0,
+                // 分布在几个省份
+                pCount: 0
+            }
+        }
+        // 判断是不是全国
+        if (Object.keys(selected).length === 0) {
+            selectedCount = {
+                country: -1,
+                province: 0,
+                city: {
+                    totalCount: 0,
+                    pCount: 0
+                }
+            }
+            return setOrderedCityData(selected, selectedCount)
+        }
+
+        for (var p in selected) {
+            if (p === '全国') {
+                selectedCount = {
+                    country: -1,
+                    province: 0,
+                    city: {
+                        totalCount: 0,
+                        pCount: 0
+                    }
+                }
+                return setOrderedCityData(selected, selectedCount)
+            }
+
+
+            if (selected[p].length === 0) {
+                selectedCount.province++
+            } else {
+                selectedCount.city.pCount++
+                selected[p].forEach(function (item, index) {
+                    selectedCount.city.totalCount++
+                })
+            }
+        }
+        setOrderedCityData(selected, selectedCount)
+    }
+
+    // 设置已分发城市数据
+    function setOrderedCityData (selected, selectedCount) {
+        var _this = $('.result-purchased.result-item .buy-set-info')
+        // 已选择数量
+        var count = {
+            p: selectedCount.province === 0 ? '' : selectedCount.province + '个省',
+            c: selectedCount.city.totalCount === 0 ? '' : selectedCount.city.totalCount + '个市',
+            s: selectedCount.city.pCount === 1 ? '' : '(分布在' + selectedCount.city.pCount + '个省内)'
+        }
+        var areaDetailArr = []
+        for (var key in selected) {
+            if (selected[key].length === 0) {
+                areaDetailArr.push(key)
+            } else {
+                areaDetailArr.push(key + '(' + selected[key].join('、') + ')')
+            }
+        }
+
+        // 已选择数量数据渲染
+        if (selectedCount.country === -1) {
+            _this.text('全国')
+        } else {
+            var dunhao = ''
+            if (selectedCount.province !== 0 && selectedCount.city.totalCount !== 0) {
+                dunhao = '、'
+            }
+            if (selectedCount.city.pCount === 0 || selectedCount.city.pCount === 1) {
+                count.s = ''
+            }
+            _this.text(count.p + dunhao + count.c + count.s)
+        }
+    }
+
+    // 将分发以外的限制不能点击
+    function restrictCitys(citys) {
+        if (Object.keys(citys).length === 0 || citys['全国'] !== undefined) {
+            $('.whole-country').show()
+        } else {
+            $('button').prop('disabled', true)
+            $('input').prop('disabled', true)
+            for (const k in citys) {
+                if (citys[k].length === 0) {
+                    // 选中的省份
+                    $('.province').each(function () {
+                        var t = $(this).text().trim();
+                        if (k == t) {
+                            var li = $(this).parents('li')
+                            // 改变按钮状态
+                            li.find('button').prop('disabled', false)
+                            // 改变input的状态
+                            li.find('input.checkbox').prop('disabled', false)
+                        }
+                    })
+                } else {
+                    $('.city').each(function () {
+                        var _this = $(this)
+                        var t = _this.text().trim();
+                        var $tab = null
+                        citys[k].forEach(function(v, i) {
+                            if (v !== t) return
+                            // 改变按钮状态
+                            _this.prop('disabled', false)
+                            // 改变input的样式
+                            expandSlide(_this.parents('li'), true)
+                        })
+                    })
+                }
+            }
+        }
+    }
+
+    function init() {
+        // 限制选择只能在订阅范围内
+        var restrict = sessionStorage.getItem('dispense-restrict')
+        if (restrict) {
+            restrict = JSON.parse(restrict)
+            var restrictArea = restrict.area
+        }
+        calculateCityData(restrictArea)
+        restrictCitys(restrictArea)
+
+        // 进行数据回显
+        var data = {}
+        // 根据返回数据进行渲染(默认选中已选择的)
+        var citys = sessionStorage.getItem('dispenseArea')
+        if (citys) {
+            data = JSON.parse(citys)
+        } else {
+            data = {}
+        }
+        renderSelectedCityActive(data)
+        getResult()
+    }
+
+    // ----------------- 以下绑定事件 ----------------------------
+    // 0.渲染城市列表
+    $(".select-area-box ul li:not('.index')").each(function () {
+        var text = $(this).find(".province").text().trim()
+        var data = null
+        chinaMapJSON.some(function (v) {
+            data = v
+            return v.name.indexOf(text) !== -1
+        })
+        var box = $(this).find('div.tab_content')
+        var html = createMoreCity(data.city)
+        box.html(html)
+    })
+    // fastClick初始化: https://github.com/ftlabs/fastclick
+    FastClick.attach(document.body)
+    // 1.省下拉市
+    $(".select-area-box .tab:not(.municipality)").on('click', slideFunc)
+    // 2.点击全国按钮onchange事件;
+    $('.checkbox.other').on('change', function () {
+        var isChecked = $(this).is(':checked')
+        if (isChecked) {
+            $(this).prop('checked', true);
+            $('.checkbox:not(.other):not([disabled])').prop('checked', false).removeClass('opt');
+            $('.city:not([disabled])').removeClass('active');
+            $('.tab_content').slideUp();
+        }
+        getResult()
+    })
+    // 3.点击非全国按钮onchange事件
+    $('.checkbox:not(.other)').on('change', function () {
+        $('.checkbox.other').prop('checked', false);
+        var isChecked = $(this).is(':checked');
+        if (isChecked) {
+            $(this).prop('checked', true).removeClass('opt');
+            $(this).parents('li').find('.city').addClass('active');
+            // 控制点击checkbox时候是否展开下方的城市列表
+            // $(this).parent().parent('.tab:not(.municipality)').siblings('.tab_content').slideDown();
+        } else {
+            $(this).prop('checked', false);
+            $(this).parents('li').find('.city').removeClass('active');
+        }
+        getResult();
+    })
+    // 4.点击城市按钮触发的事件
+    $('.tab_content').on('click', '.city', function () {
+        // 全国取消选中
+        $('.checkbox.other').prop('checked', false);
+        $(this).toggleClass('active')
+        // 省下所有选中的地市数量
+        var activeCityLength = $(this).parent().find('.city.active').length;
+        // 省下一共有几个城市
+        var cityLength = $(this).parent().find('.city').length;
+        var oInput = $(this).parents('li').find('input.checkbox')
+
+        if (activeCityLength === cityLength) {//当选中的城市数量等于该省下所有城市总数时,即为全选
+            if ($(this).siblings('.city[disabled]').length === 0) {
+                oInput.removeClass('opt').prop('checked', true)
+            }
+        } else if (activeCityLength === 0) {
+            oInput.prop('checked', false).removeClass('opt')
+        } else {//半选
+            oInput.prop("checked", false).addClass('opt')
+        }
+        getResult();
+    })
+    // 5. 重置按钮点击事件
+    $('.j-button-cancel').on('click', function () {
+        $('.checkbox').prop('checked', false).removeAttr('disabled');
+        $('.city').removeClass('active');
+        $('input').removeClass('opt')
+        // $('.tab_content').slideUp();
+        // $('.tab .iconfont').removeClass('rotate-arrow')
+        init();
+    })
+
+    // 6.锚点跳转
+    $("body").on('click', '.slide a', function () {
+        var s = $(this).html()
+        if (s == '#') {
+            return;
+        }
+        document.querySelector('#' + s).scrollIntoView({
+            block: 'center'
+        });
+    })
+    // 阻止input checkbox选中取消 触发父元素下拉事件
+    $('.checkbox').click(function (e) {
+        e.stopPropagation();
+    })
+
+    // ----------------------- 以下数据交互 ------------------
+    init()
+    
+    // 确认按钮事件
+    $('.j-button-confirm').on('click', function () {
+        var action = vTools.getParam('action')
+        var selectedArea = getActiveCityDetail()
+        sessionStorage.setItem('dispenseArea', JSON.stringify(selectedArea))
+        history.back()
+    })
+
+    // 获取点亮的城市的列表详情(带省名和城市名)
+    // getActiveCityDetail()
+
+    // 回显为蓝色激活样式
+    // renderSelectedCityActive()
+})

+ 421 - 0
entbase-mobile/page_entbase_mobile/js/exclusiveWord.js

@@ -0,0 +1,421 @@
+$(function(){
+
+    $('.knowBtn').on('click',function(){
+        $(".problemPop").hide()
+    })
+    $(".problem").on('click',function(){
+        $(".problemPop").css("display",'flex');
+    })
+
+    function hasWords () {
+        // var showKeyWordLength = $(".showKeyWord ul").find('li').length;
+        // if(showKeyWordLength === 0){
+        //     $(".addkeyWord").show();
+        // } else {
+        //     $(".addkeyWord").hide();
+        // }
+        $(".addkeyWord").hide()
+    }
+    // 把所有的排除词添加到数组里面
+    var exclusiveArr = []
+    // 获取地址栏参数
+    var addkey = location.search
+    console.log(addkey)
+    // 获取关键词设置
+    if(addkey == '?addkey'){
+        $(".addKeyWord").hide()
+        sessionStorage.setItem('ismodify',0)
+        // if(sessionStorage.getItem('iconClick') == 0){
+        //     if(JSON.stringify(exclusiveArr) == '[]'){
+        //         sessionStorage.setItem('noexclusive_key',JSON.stringify(exclusiveArr))
+        //     }else{
+        //         sessionStorage.setItem('noexclusive_key',JSON.stringify(unique(exclusiveArr)))
+        //     }
+        // }
+        if(sessionStorage.getItem('iconClick') == 1){
+            if(sessionStorage.getItem('isadd') == 1){
+                console.log(JSON.parse(sessionStorage.getItem('exclusive_key')))
+                exclusiveArr = JSON.parse(sessionStorage.getItem('exclusive_key'))
+                if(JSON.stringify(exclusiveArr) == '[]'|| exclusiveArr == null){
+                    console.log(5555)
+                    $(".addKeyWord").hide()
+                }else{
+                    $(".addKeyWord").show()
+                    console.log(6666)
+                    hasWords()
+                }
+                var data = {
+                    course:exclusiveArr
+                }
+                var comHTML = template('editKeyWords',data)
+                $('.showKeyWord>ul').html(comHTML)
+            }
+        }else{
+            if(sessionStorage.getItem('isadd') == 1){
+                console.log(JSON.parse(sessionStorage.getItem('noexclusive_key')))
+                noexclusiveArr = JSON.parse(sessionStorage.getItem('noexclusive_key'))
+                if(JSON.stringify(noexclusiveArr) == '[]'|| noexclusiveArr == null){
+                    $(".addKeyWord").hide()
+                }else{
+                    hasWords()
+                    $(".addKeyWord").show()
+                }
+                var data = {
+                    course:noexclusiveArr
+                }
+                var comHTML = template('editKeyWords',data)
+                $('.showKeyWord>ul').html(comHTML)
+                exclusiveArr = noexclusiveArr
+            }else{
+                console.log(JSON.parse(sessionStorage.getItem('noexclusive_key')))
+                noexclusiveArr = JSON.parse(sessionStorage.getItem('noexclusive_key'))
+                if(JSON.stringify(noexclusiveArr) == '[]'|| noexclusiveArr == null){
+                    $(".addKeyWord").hide()
+                }else{
+                    hasWords()
+                    $(".addKeyWord").show()
+                }
+                var data = {
+                    course:noexclusiveArr
+                }
+                var comHTML = template('editKeyWords',data)
+                $('.showKeyWord>ul').html(comHTML)
+            }
+        }
+    }else{
+        sessionStorage.setItem('ismodify',1)
+        if(sessionStorage.getItem('isadd') == 0){
+            vTools.ajax({
+                url:'/subscribe/key/get',
+                type:'POST',
+                data:{},
+                success:function(res) {
+                    console.log(res)
+                    var classindex = sessionStorage.getItem('classindex')
+                    if(res.data.data.length == classindex){
+                        classindex = parseInt(classindex)-1
+                    }else{
+                        classindex = sessionStorage.getItem('classindex')
+                    }
+                    var indexclick = sessionStorage.getItem('indexclick')
+                    console.log(res.data.data[classindex].a_key[indexclick].notkey)
+                    exclusiveArr = res.data.data[classindex].a_key[indexclick].notkey
+                    if(JSON.stringify(exclusiveArr) == '[]'){
+                        $(".addKeyWord").hide()
+                    }else{
+                        hasWords()
+                    }
+                    var data = {
+                        course:exclusiveArr
+                    }
+                    var comHTML = template('editKeyWords',data)
+                    $('.showKeyWord>ul').html(comHTML)
+                },
+                error:function(err) {
+                    console.log(err)
+                }
+            })
+        }else{
+            console.log(JSON.parse(sessionStorage.getItem('exclusive_key')))
+            exclusiveArr = JSON.parse(sessionStorage.getItem('exclusive_key'))
+            if(JSON.stringify(exclusiveArr) == '[]'){
+                $(".addKeyWord i").hide()
+            }else{
+                hasWords()
+            }
+            var data = {
+                course:exclusiveArr
+            }
+            var comHTML = template('editKeyWords',data)
+            $('.showKeyWord>ul').html(comHTML)
+        }
+        
+    }
+    // 添加完排除词之后再进入排除词页面显示之前添家过的排除词
+    if(sessionStorage.getItem('iconClick') == 1 && sessionStorage.getItem('exclusive_key') !== '[]'){
+        var exclusive_key= sessionStorage.getItem('exclusive_key')
+        var exc_dataArr = JSON.parse(exclusive_key)
+        var exc_data = {
+            course:exc_dataArr
+        }
+        var comHTML = template('editKeyWords', exc_data);
+    }
+    // 添加按钮
+    $(".addKeyWord i").on('click',function(){
+        $(".addkeyWord").show()
+        $('.addKeyWord').hide()
+        $(".addkeyWord input").focus()
+        $('.showKeyWord').find('.one').show()
+        $('.showKeyWord').find('.modify').hide()
+    })
+    // 添加keyWords检查输入框内是否有文字,如果有才能点击添加按钮
+    $('.addkeyWord input.enterOne').on('input', function() {
+        if ($(this).val().length >= 100) {
+            var s = $(this).val().slice(0,100)
+            $(this).val(s)
+
+            weui.toast('排除词不能超过100字', {
+                duration: 2000,
+                className: 'text-overflow100',
+                callback: function(){ console.log('close') }
+            });
+            return
+        }
+
+        var buttonDOM = $(this).siblings().find('button')[0]
+        if ($(this).val().length >= 1) {
+            buttonDOM.style.opacity = 1
+            buttonDOM.removeAttribute("disabled")
+        } else {
+            buttonDOM.style.opacity = .5
+            buttonDOM.setAttribute("disabled", true)
+        }
+    })
+    // 输入框自适应高度
+    $('textarea').each(function(i,dom){
+        // console.log(i,dom)
+        dom.style.height = dom.scrollHeight +'px';
+    })
+    $("textarea").on("input", function() {
+        this.style.height = 'auto';
+        this.style.height = this.scrollHeight + "px";
+    })
+    // 排除词数量
+    
+    // 添加 按钮的点击事件
+   
+    $('.addkeyWord .btn button').on('click', function(){
+        var keyWord = $('.addkeyWord input.enterOne').val()
+        // 去空格
+        keyWord = keyWord.replace(/\s+/g, ' ').trim();
+        var html = `<li>
+                        <div class="one">
+                            <div>
+                                <span>
+                                    <p class="key">${ keyWord }</p>
+                                </span>
+                            </div>
+                            <button class="editKeyWord"><i class="iconfont icon-xiugai"></i> 修改</button>
+                        </div>
+                        <div class="modify">
+                            <textarea  name=""  rows="1"  placeholder="">${ keyWord}</textarea>
+                            <button class="deleteKey">删除</button>
+                            <button class="ascertainKey">确定</button>
+                        </div>
+                    </li>`
+        $('.showKeyWord > ul').prepend(html)
+        
+        // 隐藏
+        $(".addkeyWord").hide();
+        $('.showKeyWord').show();
+        $(".addKeyWord").show()
+        $('.enter.addkeyWord > input').val('')
+        var buttonDOM = $('.enter.addkeyWord .btn button')[0]
+        buttonDOM.style.opacity = .5
+        buttonDOM.setAttribute("disabled", true)
+        console.log(sessionStorage.getItem('iconClick'))
+        var iconClicks = sessionStorage.getItem('iconClick')
+        if(addkey == '?addkey'){
+            sessionStorage.setItem('ismodify', 0)
+            if(iconClicks == 0){
+                $('.showKeyWord>ul').find('li').find('.one').find('.key').each(function(index,value){
+                    exclusiveArr.push(value.innerHTML)
+                    exc_empty(exclusiveArr)
+                    sessionStorage.setItem('noexclusive_key',JSON.stringify(unique(exclusiveArr)))
+                })
+            }else{
+                $('.showKeyWord>ul').find('li').find('.one').find('.key').each(function(index,value){
+                    exclusiveArr.push(value.innerHTML)
+                    exc_empty(exclusiveArr)
+                    sessionStorage.setItem('exclusive_key',JSON.stringify(unique(exclusiveArr)))
+                })
+            }
+        }else{
+            sessionStorage.setItem('ismodify', 1)
+            $('.showKeyWord>ul').find('li').find('.one').find('.key').each(function(index,value){
+                exclusiveArr.push(value.innerHTML)
+                exc_empty(exclusiveArr)
+                sessionStorage.setItem('exclusive_key',JSON.stringify(unique(exclusiveArr)))
+            })
+        }
+    })
+    // 添加 取消按钮
+    $('.addkeyWord .btn .cancel').on('click', function(){
+        $(this).parents('.addkeyWord').hide()
+        $(".addKeyWord").show()
+        $(".addKeyWord i").show()
+    })
+    // 编辑
+     _that = ''
+     isClick = false
+    $(".showKeyWord").on('click', '.editKeyWord', function(e){
+        isClick = true
+        _that = $(this)
+        console.log(_that,isClick)
+        $('.enter.addkeyWord').hide()
+        $('.addKeyWord').hide()
+        var oSpan = $(this).parent().siblings().children('textarea');
+        var val = $(oSpan).val()
+        $(this).parent().hide()
+        $(this).parent().siblings().show().parents('li').siblings().children('.modify').hide().siblings('.one').show()
+        $(oSpan).val('').focus().val(val)
+    })
+    // 编辑 删除
+    $('.showKeyWord').on('click', '.deleteKey', function(e) {
+        var jQueryDOM = $(this).parents('li')
+        var $that = $(this)
+        weui.confirm('确定删除排除词?', {
+            buttons: [{
+                label: '取消',
+                type: 'default',
+                onClick: function () { console.log('不删了') }
+            }, {
+                label: '确定',
+                type: 'primary',
+                onClick: function () {
+                    console.log(JSON.parse(sessionStorage.getItem('exclusive_key')))
+                    var thatval = $that.siblings('textarea').val()
+                    console.log(thatval)
+                    // console.log(JSON.stringify(exclusiveArr))
+                    // exclusiveArr = JSON.parse(exclusiveArr)
+                    // var exclusivekeyArr =JSON.parse(sessionStorage.getItem('exclusive_key'))
+                    for(var i=0;i<exclusiveArr.length;i++){
+                        console.log(exclusiveArr[i])
+                        if(exclusiveArr[i]==thatval){
+                            console.log(i)
+                            if(exclusiveArr.length == 1){
+                                exclusiveArr = []
+                            }else{
+                                exclusiveArr.splice(i,1)
+                            }
+                            exc_empty(exclusiveArr)
+                        }
+                    }
+                    console.log(exclusiveArr)
+                    if(addkey == '?addkey'){
+                        sessionStorage.setItem('ismodify',0)
+                        if(JSON.stringify(exclusiveArr) == '[]'){
+                            sessionStorage.setItem('noexclusive_key',JSON.stringify(exclusiveArr))
+                        }else{
+                            sessionStorage.setItem('noexclusive_key',JSON.stringify(unique(exclusiveArr)))
+                        }
+                        if(JSON.stringify(exclusiveArr) == '[]'){
+                            sessionStorage.setItem('exclusive_key',JSON.stringify(exclusiveArr))
+                        }else{
+                            sessionStorage.setItem('exclusive_key',JSON.stringify(unique(exclusiveArr)))
+                        }
+                    }else{
+                        sessionStorage.setItem('ismodify',1)
+                        if(JSON.stringify(exclusiveArr) == '[]'){
+                            sessionStorage.setItem('exclusive_key',JSON.stringify(exclusiveArr))
+                        }else{
+                            sessionStorage.setItem('exclusive_key',JSON.stringify(unique(exclusiveArr)))
+                        }
+                        if(JSON.stringify(exclusiveArr) == '[]'){
+                            sessionStorage.setItem('noexclusive_key',JSON.stringify(exclusiveArr))
+                        }else{
+                            sessionStorage.setItem('noexclusive_key',JSON.stringify(unique(exclusiveArr)))
+                        }
+                    }
+                    jQueryDOM.remove()
+                    hasWords()
+                    $('.addKeyWord').show()
+                }
+            }]
+        });
+        console.log('删除排除词:',$(this).parent().find('span').text())
+    })
+    // 判断排除词是否为空
+    function exc_empty(arr){
+        if(arr.length==0){
+            sessionStorage.setItem('exc_length',0)
+        }else{
+            sessionStorage.removeItem('exc_length')
+        }
+    }
+    // 编辑 确定
+    $('.showKeyWord').on('click', '.ascertainKey', function(e) {
+        $('.addKeyWord').show()
+        if(isClick == false){
+
+        }else{
+            var $index = 0
+            console.log($(_that).parent().find('.key').text())
+            console.log(exclusiveArr)
+            // 循环数组得到点击那个修改按钮的下标
+            exclusiveArr.forEach(function(value,index){
+                console.log(value)
+                if($(_that).parent().find('.key').text() == value){
+                    console.log(index)
+                    $index = index
+                }
+            })
+            // 得到下标后替换掉数组中这个下标的值,存入sessionstroage
+            var $this = $(this)
+            console.log($this)
+            var keyWord = $(this).siblings('textarea').val()
+            // 去空格
+            keyWord = keyWord.replace(/\s+/g, ' ').trim();
+            if(keyWord.length > 20){
+                weui.toast('关键词不能超过20字', {
+                    duration: 2000,
+                    className: 'custom-toast',
+                    callback: function () { console.log('close') }
+                });
+            }else{  
+                $this.parent().siblings().find('.key').text(keyWord)
+                console.log($index,keyWord,exclusiveArr)
+                exclusiveArr.splice($index,1,keyWord)
+                console.log(exclusiveArr)
+                // if(exclusiveArr.length==0){
+                //     exclusiveArr.push(keyWord)
+                // }else{
+                //     console.log($this.parent().siblings().find('.key').text())
+                //     exclusiveArr.forEach(function(value,index){
+                //         console.log(value)
+                //         if(value == $this.parent().siblings().find('.key').text()){
+                //             console.log(index)
+                //         }
+                //     })
+                // }
+                // exclusiveArr.push(keyWord)
+                // 保存在本地一个值,点击返回上一级的时候进入关键词设置页面
+                if(addkey == 'addkey'){
+                    sessionStorage.setItem('ismodify',0)
+                    sessionStorage.setItem('noexclusive_key',JSON.stringify(unique(exclusiveArr)))
+                }else{
+                    sessionStorage.setItem('ismodify',1)
+                    sessionStorage.setItem('exclusive_key',JSON.stringify(unique(exclusiveArr)))
+                }
+                $this.parent().hide().siblings().show()
+                $('.addKeyWord').show()
+            }
+        }
+    })
+    // 数组去重
+    function unique(arr) {
+        let newArr = [arr[0]];
+        for (let i = 1; i < arr.length; i++) {
+            let repeat = false;
+            for (let j = 0; j < newArr.length; j++) {
+                if (arr[i] === newArr[j]) {
+                    repeat = true;
+                    break;
+                }else{
+                    
+                }
+            }
+            if (!repeat) {
+                newArr.push(arr[i]);
+            }
+        }
+        return newArr;
+    }
+    // 防止键盘把当前输入框给挡住
+    $('input[type="text"],textarea').focus(function () {
+        var target = this;
+        setTimeout(function(){
+            target.scrollIntoViewIfNeeded();
+        },400);
+    });
+})

+ 841 - 0
entbase-mobile/page_entbase_mobile/js/fastclick.js

@@ -0,0 +1,841 @@
+;(function () {
+	'use strict';
+
+	/**
+	 * @preserve FastClick: polyfill to remove click delays on browsers with touch UIs.
+	 *
+	 * @codingstandard ftlabs-jsv2
+	 * @copyright The Financial Times Limited [All Rights Reserved]
+	 * @license MIT License (see LICENSE.txt)
+	 */
+
+	/*jslint browser:true, node:true*/
+	/*global define, Event, Node*/
+
+
+	/**
+	 * Instantiate fast-clicking listeners on the specified layer.
+	 *
+	 * @constructor
+	 * @param {Element} layer The layer to listen on
+	 * @param {Object} [options={}] The options to override the defaults
+	 */
+	function FastClick(layer, options) {
+		var oldOnClick;
+
+		options = options || {};
+
+		/**
+		 * Whether a click is currently being tracked.
+		 *
+		 * @type boolean
+		 */
+		this.trackingClick = false;
+
+
+		/**
+		 * Timestamp for when click tracking started.
+		 *
+		 * @type number
+		 */
+		this.trackingClickStart = 0;
+
+
+		/**
+		 * The element being tracked for a click.
+		 *
+		 * @type EventTarget
+		 */
+		this.targetElement = null;
+
+
+		/**
+		 * X-coordinate of touch start event.
+		 *
+		 * @type number
+		 */
+		this.touchStartX = 0;
+
+
+		/**
+		 * Y-coordinate of touch start event.
+		 *
+		 * @type number
+		 */
+		this.touchStartY = 0;
+
+
+		/**
+		 * ID of the last touch, retrieved from Touch.identifier.
+		 *
+		 * @type number
+		 */
+		this.lastTouchIdentifier = 0;
+
+
+		/**
+		 * Touchmove boundary, beyond which a click will be cancelled.
+		 *
+		 * @type number
+		 */
+		this.touchBoundary = options.touchBoundary || 10;
+
+
+		/**
+		 * The FastClick layer.
+		 *
+		 * @type Element
+		 */
+		this.layer = layer;
+
+		/**
+		 * The minimum time between tap(touchstart and touchend) events
+		 *
+		 * @type number
+		 */
+		this.tapDelay = options.tapDelay || 200;
+
+		/**
+		 * The maximum time for a tap
+		 *
+		 * @type number
+		 */
+		this.tapTimeout = options.tapTimeout || 700;
+
+		if (FastClick.notNeeded(layer)) {
+			return;
+		}
+
+		// Some old versions of Android don't have Function.prototype.bind
+		function bind(method, context) {
+			return function() { return method.apply(context, arguments); };
+		}
+
+
+		var methods = ['onMouse', 'onClick', 'onTouchStart', 'onTouchMove', 'onTouchEnd', 'onTouchCancel'];
+		var context = this;
+		for (var i = 0, l = methods.length; i < l; i++) {
+			context[methods[i]] = bind(context[methods[i]], context);
+		}
+
+		// Set up event handlers as required
+		if (deviceIsAndroid) {
+			layer.addEventListener('mouseover', this.onMouse, true);
+			layer.addEventListener('mousedown', this.onMouse, true);
+			layer.addEventListener('mouseup', this.onMouse, true);
+		}
+
+		layer.addEventListener('click', this.onClick, true);
+		layer.addEventListener('touchstart', this.onTouchStart, false);
+		layer.addEventListener('touchmove', this.onTouchMove, false);
+		layer.addEventListener('touchend', this.onTouchEnd, false);
+		layer.addEventListener('touchcancel', this.onTouchCancel, false);
+
+		// Hack is required for browsers that don't support Event#stopImmediatePropagation (e.g. Android 2)
+		// which is how FastClick normally stops click events bubbling to callbacks registered on the FastClick
+		// layer when they are cancelled.
+		if (!Event.prototype.stopImmediatePropagation) {
+			layer.removeEventListener = function(type, callback, capture) {
+				var rmv = Node.prototype.removeEventListener;
+				if (type === 'click') {
+					rmv.call(layer, type, callback.hijacked || callback, capture);
+				} else {
+					rmv.call(layer, type, callback, capture);
+				}
+			};
+
+			layer.addEventListener = function(type, callback, capture) {
+				var adv = Node.prototype.addEventListener;
+				if (type === 'click') {
+					adv.call(layer, type, callback.hijacked || (callback.hijacked = function(event) {
+						if (!event.propagationStopped) {
+							callback(event);
+						}
+					}), capture);
+				} else {
+					adv.call(layer, type, callback, capture);
+				}
+			};
+		}
+
+		// If a handler is already declared in the element's onclick attribute, it will be fired before
+		// FastClick's onClick handler. Fix this by pulling out the user-defined handler function and
+		// adding it as listener.
+		if (typeof layer.onclick === 'function') {
+
+			// Android browser on at least 3.2 requires a new reference to the function in layer.onclick
+			// - the old one won't work if passed to addEventListener directly.
+			oldOnClick = layer.onclick;
+			layer.addEventListener('click', function(event) {
+				oldOnClick(event);
+			}, false);
+			layer.onclick = null;
+		}
+	}
+
+	/**
+	* Windows Phone 8.1 fakes user agent string to look like Android and iPhone.
+	*
+	* @type boolean
+	*/
+	var deviceIsWindowsPhone = navigator.userAgent.indexOf("Windows Phone") >= 0;
+
+	/**
+	 * Android requires exceptions.
+	 *
+	 * @type boolean
+	 */
+	var deviceIsAndroid = navigator.userAgent.indexOf('Android') > 0 && !deviceIsWindowsPhone;
+
+
+	/**
+	 * iOS requires exceptions.
+	 *
+	 * @type boolean
+	 */
+	var deviceIsIOS = /iP(ad|hone|od)/.test(navigator.userAgent) && !deviceIsWindowsPhone;
+
+
+	/**
+	 * iOS 4 requires an exception for select elements.
+	 *
+	 * @type boolean
+	 */
+	var deviceIsIOS4 = deviceIsIOS && (/OS 4_\d(_\d)?/).test(navigator.userAgent);
+
+
+	/**
+	 * iOS 6.0-7.* requires the target element to be manually derived
+	 *
+	 * @type boolean
+	 */
+	var deviceIsIOSWithBadTarget = deviceIsIOS && (/OS [6-7]_\d/).test(navigator.userAgent);
+
+	/**
+	 * BlackBerry requires exceptions.
+	 *
+	 * @type boolean
+	 */
+	var deviceIsBlackBerry10 = navigator.userAgent.indexOf('BB10') > 0;
+
+	/**
+	 * Determine whether a given element requires a native click.
+	 *
+	 * @param {EventTarget|Element} target Target DOM element
+	 * @returns {boolean} Returns true if the element needs a native click
+	 */
+	FastClick.prototype.needsClick = function(target) {
+		switch (target.nodeName.toLowerCase()) {
+
+		// Don't send a synthetic click to disabled inputs (issue #62)
+		case 'button':
+		case 'select':
+		case 'textarea':
+			if (target.disabled) {
+				return true;
+			}
+
+			break;
+		case 'input':
+
+			// File inputs need real clicks on iOS 6 due to a browser bug (issue #68)
+			if ((deviceIsIOS && target.type === 'file') || target.disabled) {
+				return true;
+			}
+
+			break;
+		case 'label':
+		case 'iframe': // iOS8 homescreen apps can prevent events bubbling into frames
+		case 'video':
+			return true;
+		}
+
+		return (/\bneedsclick\b/).test(target.className);
+	};
+
+
+	/**
+	 * Determine whether a given element requires a call to focus to simulate click into element.
+	 *
+	 * @param {EventTarget|Element} target Target DOM element
+	 * @returns {boolean} Returns true if the element requires a call to focus to simulate native click.
+	 */
+	FastClick.prototype.needsFocus = function(target) {
+		switch (target.nodeName.toLowerCase()) {
+		case 'textarea':
+			return true;
+		case 'select':
+			return !deviceIsAndroid;
+		case 'input':
+			switch (target.type) {
+			case 'button':
+			case 'checkbox':
+			case 'file':
+			case 'image':
+			case 'radio':
+			case 'submit':
+				return false;
+			}
+
+			// No point in attempting to focus disabled inputs
+			return !target.disabled && !target.readOnly;
+		default:
+			return (/\bneedsfocus\b/).test(target.className);
+		}
+	};
+
+
+	/**
+	 * Send a click event to the specified element.
+	 *
+	 * @param {EventTarget|Element} targetElement
+	 * @param {Event} event
+	 */
+	FastClick.prototype.sendClick = function(targetElement, event) {
+		var clickEvent, touch;
+
+		// On some Android devices activeElement needs to be blurred otherwise the synthetic click will have no effect (#24)
+		if (document.activeElement && document.activeElement !== targetElement) {
+			document.activeElement.blur();
+		}
+
+		touch = event.changedTouches[0];
+
+		// Synthesise a click event, with an extra attribute so it can be tracked
+		clickEvent = document.createEvent('MouseEvents');
+		clickEvent.initMouseEvent(this.determineEventType(targetElement), true, true, window, 1, touch.screenX, touch.screenY, touch.clientX, touch.clientY, false, false, false, false, 0, null);
+		clickEvent.forwardedTouchEvent = true;
+		targetElement.dispatchEvent(clickEvent);
+	};
+
+	FastClick.prototype.determineEventType = function(targetElement) {
+
+		//Issue #159: Android Chrome Select Box does not open with a synthetic click event
+		if (deviceIsAndroid && targetElement.tagName.toLowerCase() === 'select') {
+			return 'mousedown';
+		}
+
+		return 'click';
+	};
+
+
+	/**
+	 * @param {EventTarget|Element} targetElement
+	 */
+	FastClick.prototype.focus = function(targetElement) {
+		var length;
+
+		// Issue #160: on iOS 7, some input elements (e.g. date datetime month) throw a vague TypeError on setSelectionRange. These elements don't have an integer value for the selectionStart and selectionEnd properties, but unfortunately that can't be used for detection because accessing the properties also throws a TypeError. Just check the type instead. Filed as Apple bug #15122724.
+		if (deviceIsIOS && targetElement.setSelectionRange && targetElement.type.indexOf('date') !== 0 && targetElement.type !== 'time' && targetElement.type !== 'month') {
+			length = targetElement.value.length;
+			targetElement.setSelectionRange(length, length);
+		} else {
+			targetElement.focus();
+		}
+	};
+
+
+	/**
+	 * Check whether the given target element is a child of a scrollable layer and if so, set a flag on it.
+	 *
+	 * @param {EventTarget|Element} targetElement
+	 */
+	FastClick.prototype.updateScrollParent = function(targetElement) {
+		var scrollParent, parentElement;
+
+		scrollParent = targetElement.fastClickScrollParent;
+
+		// Attempt to discover whether the target element is contained within a scrollable layer. Re-check if the
+		// target element was moved to another parent.
+		if (!scrollParent || !scrollParent.contains(targetElement)) {
+			parentElement = targetElement;
+			do {
+				if (parentElement.scrollHeight > parentElement.offsetHeight) {
+					scrollParent = parentElement;
+					targetElement.fastClickScrollParent = parentElement;
+					break;
+				}
+
+				parentElement = parentElement.parentElement;
+			} while (parentElement);
+		}
+
+		// Always update the scroll top tracker if possible.
+		if (scrollParent) {
+			scrollParent.fastClickLastScrollTop = scrollParent.scrollTop;
+		}
+	};
+
+
+	/**
+	 * @param {EventTarget} targetElement
+	 * @returns {Element|EventTarget}
+	 */
+	FastClick.prototype.getTargetElementFromEventTarget = function(eventTarget) {
+
+		// On some older browsers (notably Safari on iOS 4.1 - see issue #56) the event target may be a text node.
+		if (eventTarget.nodeType === Node.TEXT_NODE) {
+			return eventTarget.parentNode;
+		}
+
+		return eventTarget;
+	};
+
+
+	/**
+	 * On touch start, record the position and scroll offset.
+	 *
+	 * @param {Event} event
+	 * @returns {boolean}
+	 */
+	FastClick.prototype.onTouchStart = function(event) {
+		var targetElement, touch, selection;
+
+		// Ignore multiple touches, otherwise pinch-to-zoom is prevented if both fingers are on the FastClick element (issue #111).
+		if (event.targetTouches.length > 1) {
+			return true;
+		}
+
+		targetElement = this.getTargetElementFromEventTarget(event.target);
+		touch = event.targetTouches[0];
+
+		if (deviceIsIOS) {
+
+			// Only trusted events will deselect text on iOS (issue #49)
+			selection = window.getSelection();
+			if (selection.rangeCount && !selection.isCollapsed) {
+				return true;
+			}
+
+			if (!deviceIsIOS4) {
+
+				// Weird things happen on iOS when an alert or confirm dialog is opened from a click event callback (issue #23):
+				// when the user next taps anywhere else on the page, new touchstart and touchend events are dispatched
+				// with the same identifier as the touch event that previously triggered the click that triggered the alert.
+				// Sadly, there is an issue on iOS 4 that causes some normal touch events to have the same identifier as an
+				// immediately preceeding touch event (issue #52), so this fix is unavailable on that platform.
+				// Issue 120: touch.identifier is 0 when Chrome dev tools 'Emulate touch events' is set with an iOS device UA string,
+				// which causes all touch events to be ignored. As this block only applies to iOS, and iOS identifiers are always long,
+				// random integers, it's safe to to continue if the identifier is 0 here.
+				if (touch.identifier && touch.identifier === this.lastTouchIdentifier) {
+					event.preventDefault();
+					return false;
+				}
+
+				this.lastTouchIdentifier = touch.identifier;
+
+				// If the target element is a child of a scrollable layer (using -webkit-overflow-scrolling: touch) and:
+				// 1) the user does a fling scroll on the scrollable layer
+				// 2) the user stops the fling scroll with another tap
+				// then the event.target of the last 'touchend' event will be the element that was under the user's finger
+				// when the fling scroll was started, causing FastClick to send a click event to that layer - unless a check
+				// is made to ensure that a parent layer was not scrolled before sending a synthetic click (issue #42).
+				this.updateScrollParent(targetElement);
+			}
+		}
+
+		this.trackingClick = true;
+		this.trackingClickStart = event.timeStamp;
+		this.targetElement = targetElement;
+
+		this.touchStartX = touch.pageX;
+		this.touchStartY = touch.pageY;
+
+		// Prevent phantom clicks on fast double-tap (issue #36)
+		if ((event.timeStamp - this.lastClickTime) < this.tapDelay) {
+			event.preventDefault();
+		}
+
+		return true;
+	};
+
+
+	/**
+	 * Based on a touchmove event object, check whether the touch has moved past a boundary since it started.
+	 *
+	 * @param {Event} event
+	 * @returns {boolean}
+	 */
+	FastClick.prototype.touchHasMoved = function(event) {
+		var touch = event.changedTouches[0], boundary = this.touchBoundary;
+
+		if (Math.abs(touch.pageX - this.touchStartX) > boundary || Math.abs(touch.pageY - this.touchStartY) > boundary) {
+			return true;
+		}
+
+		return false;
+	};
+
+
+	/**
+	 * Update the last position.
+	 *
+	 * @param {Event} event
+	 * @returns {boolean}
+	 */
+	FastClick.prototype.onTouchMove = function(event) {
+		if (!this.trackingClick) {
+			return true;
+		}
+
+		// If the touch has moved, cancel the click tracking
+		if (this.targetElement !== this.getTargetElementFromEventTarget(event.target) || this.touchHasMoved(event)) {
+			this.trackingClick = false;
+			this.targetElement = null;
+		}
+
+		return true;
+	};
+
+
+	/**
+	 * Attempt to find the labelled control for the given label element.
+	 *
+	 * @param {EventTarget|HTMLLabelElement} labelElement
+	 * @returns {Element|null}
+	 */
+	FastClick.prototype.findControl = function(labelElement) {
+
+		// Fast path for newer browsers supporting the HTML5 control attribute
+		if (labelElement.control !== undefined) {
+			return labelElement.control;
+		}
+
+		// All browsers under test that support touch events also support the HTML5 htmlFor attribute
+		if (labelElement.htmlFor) {
+			return document.getElementById(labelElement.htmlFor);
+		}
+
+		// If no for attribute exists, attempt to retrieve the first labellable descendant element
+		// the list of which is defined here: http://www.w3.org/TR/html5/forms.html#category-label
+		return labelElement.querySelector('button, input:not([type=hidden]), keygen, meter, output, progress, select, textarea');
+	};
+
+
+	/**
+	 * On touch end, determine whether to send a click event at once.
+	 *
+	 * @param {Event} event
+	 * @returns {boolean}
+	 */
+	FastClick.prototype.onTouchEnd = function(event) {
+		var forElement, trackingClickStart, targetTagName, scrollParent, touch, targetElement = this.targetElement;
+
+		if (!this.trackingClick) {
+			return true;
+		}
+
+		// Prevent phantom clicks on fast double-tap (issue #36)
+		if ((event.timeStamp - this.lastClickTime) < this.tapDelay) {
+			this.cancelNextClick = true;
+			return true;
+		}
+
+		if ((event.timeStamp - this.trackingClickStart) > this.tapTimeout) {
+			return true;
+		}
+
+		// Reset to prevent wrong click cancel on input (issue #156).
+		this.cancelNextClick = false;
+
+		this.lastClickTime = event.timeStamp;
+
+		trackingClickStart = this.trackingClickStart;
+		this.trackingClick = false;
+		this.trackingClickStart = 0;
+
+		// On some iOS devices, the targetElement supplied with the event is invalid if the layer
+		// is performing a transition or scroll, and has to be re-detected manually. Note that
+		// for this to function correctly, it must be called *after* the event target is checked!
+		// See issue #57; also filed as rdar://13048589 .
+		if (deviceIsIOSWithBadTarget) {
+			touch = event.changedTouches[0];
+
+			// In certain cases arguments of elementFromPoint can be negative, so prevent setting targetElement to null
+			targetElement = document.elementFromPoint(touch.pageX - window.pageXOffset, touch.pageY - window.pageYOffset) || targetElement;
+			targetElement.fastClickScrollParent = this.targetElement.fastClickScrollParent;
+		}
+
+		targetTagName = targetElement.tagName.toLowerCase();
+		if (targetTagName === 'label') {
+			forElement = this.findControl(targetElement);
+			if (forElement) {
+				this.focus(targetElement);
+				if (deviceIsAndroid) {
+					return false;
+				}
+
+				targetElement = forElement;
+			}
+		} else if (this.needsFocus(targetElement)) {
+
+			// Case 1: If the touch started a while ago (best guess is 100ms based on tests for issue #36) then focus will be triggered anyway. Return early and unset the target element reference so that the subsequent click will be allowed through.
+			// Case 2: Without this exception for input elements tapped when the document is contained in an iframe, then any inputted text won't be visible even though the value attribute is updated as the user types (issue #37).
+			if ((event.timeStamp - trackingClickStart) > 100 || (deviceIsIOS && window.top !== window && targetTagName === 'input')) {
+				this.targetElement = null;
+				return false;
+			}
+
+			this.focus(targetElement);
+			this.sendClick(targetElement, event);
+
+			// Select elements need the event to go through on iOS 4, otherwise the selector menu won't open.
+			// Also this breaks opening selects when VoiceOver is active on iOS6, iOS7 (and possibly others)
+			if (!deviceIsIOS || targetTagName !== 'select') {
+				this.targetElement = null;
+				event.preventDefault();
+			}
+
+			return false;
+		}
+
+		if (deviceIsIOS && !deviceIsIOS4) {
+
+			// Don't send a synthetic click event if the target element is contained within a parent layer that was scrolled
+			// and this tap is being used to stop the scrolling (usually initiated by a fling - issue #42).
+			scrollParent = targetElement.fastClickScrollParent;
+			if (scrollParent && scrollParent.fastClickLastScrollTop !== scrollParent.scrollTop) {
+				return true;
+			}
+		}
+
+		// Prevent the actual click from going though - unless the target node is marked as requiring
+		// real clicks or if it is in the whitelist in which case only non-programmatic clicks are permitted.
+		if (!this.needsClick(targetElement)) {
+			event.preventDefault();
+			this.sendClick(targetElement, event);
+		}
+
+		return false;
+	};
+
+
+	/**
+	 * On touch cancel, stop tracking the click.
+	 *
+	 * @returns {void}
+	 */
+	FastClick.prototype.onTouchCancel = function() {
+		this.trackingClick = false;
+		this.targetElement = null;
+	};
+
+
+	/**
+	 * Determine mouse events which should be permitted.
+	 *
+	 * @param {Event} event
+	 * @returns {boolean}
+	 */
+	FastClick.prototype.onMouse = function(event) {
+
+		// If a target element was never set (because a touch event was never fired) allow the event
+		if (!this.targetElement) {
+			return true;
+		}
+
+		if (event.forwardedTouchEvent) {
+			return true;
+		}
+
+		// Programmatically generated events targeting a specific element should be permitted
+		if (!event.cancelable) {
+			return true;
+		}
+
+		// Derive and check the target element to see whether the mouse event needs to be permitted;
+		// unless explicitly enabled, prevent non-touch click events from triggering actions,
+		// to prevent ghost/doubleclicks.
+		if (!this.needsClick(this.targetElement) || this.cancelNextClick) {
+
+			// Prevent any user-added listeners declared on FastClick element from being fired.
+			if (event.stopImmediatePropagation) {
+				event.stopImmediatePropagation();
+			} else {
+
+				// Part of the hack for browsers that don't support Event#stopImmediatePropagation (e.g. Android 2)
+				event.propagationStopped = true;
+			}
+
+			// Cancel the event
+			event.stopPropagation();
+			event.preventDefault();
+
+			return false;
+		}
+
+		// If the mouse event is permitted, return true for the action to go through.
+		return true;
+	};
+
+
+	/**
+	 * On actual clicks, determine whether this is a touch-generated click, a click action occurring
+	 * naturally after a delay after a touch (which needs to be cancelled to avoid duplication), or
+	 * an actual click which should be permitted.
+	 *
+	 * @param {Event} event
+	 * @returns {boolean}
+	 */
+	FastClick.prototype.onClick = function(event) {
+		var permitted;
+
+		// It's possible for another FastClick-like library delivered with third-party code to fire a click event before FastClick does (issue #44). In that case, set the click-tracking flag back to false and return early. This will cause onTouchEnd to return early.
+		if (this.trackingClick) {
+			this.targetElement = null;
+			this.trackingClick = false;
+			return true;
+		}
+
+		// Very odd behaviour on iOS (issue #18): if a submit element is present inside a form and the user hits enter in the iOS simulator or clicks the Go button on the pop-up OS keyboard the a kind of 'fake' click event will be triggered with the submit-type input element as the target.
+		if (event.target.type === 'submit' && event.detail === 0) {
+			return true;
+		}
+
+		permitted = this.onMouse(event);
+
+		// Only unset targetElement if the click is not permitted. This will ensure that the check for !targetElement in onMouse fails and the browser's click doesn't go through.
+		if (!permitted) {
+			this.targetElement = null;
+		}
+
+		// If clicks are permitted, return true for the action to go through.
+		return permitted;
+	};
+
+
+	/**
+	 * Remove all FastClick's event listeners.
+	 *
+	 * @returns {void}
+	 */
+	FastClick.prototype.destroy = function() {
+		var layer = this.layer;
+
+		if (deviceIsAndroid) {
+			layer.removeEventListener('mouseover', this.onMouse, true);
+			layer.removeEventListener('mousedown', this.onMouse, true);
+			layer.removeEventListener('mouseup', this.onMouse, true);
+		}
+
+		layer.removeEventListener('click', this.onClick, true);
+		layer.removeEventListener('touchstart', this.onTouchStart, false);
+		layer.removeEventListener('touchmove', this.onTouchMove, false);
+		layer.removeEventListener('touchend', this.onTouchEnd, false);
+		layer.removeEventListener('touchcancel', this.onTouchCancel, false);
+	};
+
+
+	/**
+	 * Check whether FastClick is needed.
+	 *
+	 * @param {Element} layer The layer to listen on
+	 */
+	FastClick.notNeeded = function(layer) {
+		var metaViewport;
+		var chromeVersion;
+		var blackberryVersion;
+		var firefoxVersion;
+
+		// Devices that don't support touch don't need FastClick
+		if (typeof window.ontouchstart === 'undefined') {
+			return true;
+		}
+
+		// Chrome version - zero for other browsers
+		chromeVersion = +(/Chrome\/([0-9]+)/.exec(navigator.userAgent) || [,0])[1];
+
+		if (chromeVersion) {
+
+			if (deviceIsAndroid) {
+				metaViewport = document.querySelector('meta[name=viewport]');
+
+				if (metaViewport) {
+					// Chrome on Android with user-scalable="no" doesn't need FastClick (issue #89)
+					if (metaViewport.content.indexOf('user-scalable=no') !== -1) {
+						return true;
+					}
+					// Chrome 32 and above with width=device-width or less don't need FastClick
+					if (chromeVersion > 31 && document.documentElement.scrollWidth <= window.outerWidth) {
+						return true;
+					}
+				}
+
+			// Chrome desktop doesn't need FastClick (issue #15)
+			} else {
+				return true;
+			}
+		}
+
+		if (deviceIsBlackBerry10) {
+			blackberryVersion = navigator.userAgent.match(/Version\/([0-9]*)\.([0-9]*)/);
+
+			// BlackBerry 10.3+ does not require Fastclick library.
+			// https://github.com/ftlabs/fastclick/issues/251
+			if (blackberryVersion[1] >= 10 && blackberryVersion[2] >= 3) {
+				metaViewport = document.querySelector('meta[name=viewport]');
+
+				if (metaViewport) {
+					// user-scalable=no eliminates click delay.
+					if (metaViewport.content.indexOf('user-scalable=no') !== -1) {
+						return true;
+					}
+					// width=device-width (or less than device-width) eliminates click delay.
+					if (document.documentElement.scrollWidth <= window.outerWidth) {
+						return true;
+					}
+				}
+			}
+		}
+
+		// IE10 with -ms-touch-action: none or manipulation, which disables double-tap-to-zoom (issue #97)
+		if (layer.style.msTouchAction === 'none' || layer.style.touchAction === 'manipulation') {
+			return true;
+		}
+
+		// Firefox version - zero for other browsers
+		firefoxVersion = +(/Firefox\/([0-9]+)/.exec(navigator.userAgent) || [,0])[1];
+
+		if (firefoxVersion >= 27) {
+			// Firefox 27+ does not have tap delay if the content is not zoomable - https://bugzilla.mozilla.org/show_bug.cgi?id=922896
+
+			metaViewport = document.querySelector('meta[name=viewport]');
+			if (metaViewport && (metaViewport.content.indexOf('user-scalable=no') !== -1 || document.documentElement.scrollWidth <= window.outerWidth)) {
+				return true;
+			}
+		}
+
+		// IE11: prefixed -ms-touch-action is no longer supported and it's recomended to use non-prefixed version
+		// http://msdn.microsoft.com/en-us/library/windows/apps/Hh767313.aspx
+		if (layer.style.touchAction === 'none' || layer.style.touchAction === 'manipulation') {
+			return true;
+		}
+
+		return false;
+	};
+
+
+	/**
+	 * Factory method for creating a FastClick object
+	 *
+	 * @param {Element} layer The layer to listen on
+	 * @param {Object} [options={}] The options to override the defaults
+	 */
+	FastClick.attach = function(layer, options) {
+		return new FastClick(layer, options);
+	};
+
+
+	if (typeof define === 'function' && typeof define.amd === 'object' && define.amd) {
+
+		// AMD. Register as an anonymous module.
+		define(function() {
+			return FastClick;
+		});
+	} else if (typeof module !== 'undefined' && module.exports) {
+		module.exports = FastClick.attach;
+		module.exports.FastClick = FastClick;
+	} else {
+		window.FastClick = FastClick;
+	}
+}());

File diff suppressed because it is too large
+ 78 - 0
entbase-mobile/page_entbase_mobile/js/filter_words.js


File diff suppressed because it is too large
+ 80 - 0
entbase-mobile/page_entbase_mobile/js/filter_words_old.js


File diff suppressed because it is too large
+ 1 - 0
entbase-mobile/page_entbase_mobile/js/jquery-2.1.4.min.js


+ 1017 - 0
entbase-mobile/page_entbase_mobile/js/keyWord.js

@@ -0,0 +1,1017 @@
+$(function () {
+    
+    //去空格方法
+    // String.prototype.trim = function () {
+    //     return this.replace(/(^\s*)|(\s*$)/g, ' ');
+    // }
+
+    // 疑问解答相关操作
+    $('.knowBtn').on('click', function () {
+        $(".problemPop").hide()
+    })
+    $(".problem").on('click', function () {
+        $(".problemPop").css("display", 'flex');
+    })
+
+    $(".enterOne").focus(function () {
+        $(".btnChoose").show();
+    })
+
+    hasWords()
+    function hasWords() {
+        var showKeyWordLength = $(".showKeyWord ul").find('li').length;
+        if (showKeyWordLength === 0) {
+            $(".addkeyWord").show();
+        } else {
+            $(".addkeyWord").hide();
+        }
+    }
+
+    // 输入框自适应高度
+    $('textarea').each(function(i,dom){
+        dom.style.height = dom.scrollHeight +'px';
+    })
+    $("textarea").on("input", function() {
+        this.style.height = 'auto';
+        this.style.height = this.scrollHeight + "px";
+    })
+
+    // 添加keyWords检查输入框内是否有文字,如果有才能点击添加按钮
+    $('.addkeyWord input.enterOne').on('input', function () {
+        var buttonDOM = $(this).siblings()[1].children[1]
+        if ($(this).val().length >= 1) {
+            buttonDOM.style.opacity = 1
+            buttonDOM.removeAttribute("disabled")
+        } else {
+            buttonDOM.style.opacity = .5
+            buttonDOM.setAttribute("disabled", true)
+        }
+    })
+
+    // 添加 确认按钮的点击事件
+    $('.addkeyWord').on('click', '.btn button',function () {
+        if(sessionStorage.getItem('iconClick') == '1'){
+            // 获取这个分类中有多少个关键词
+            var classindex = sessionStorage.getItem('classindex')
+            // console.log(resArr[classindex].a_key.length)
+            var keynum = 0
+            for(var i=0;i<resArr.length;i++){
+                keynum += resArr[i].a_key.length
+            }
+            console.log(keynum)
+            if(keynum+1>300){
+                vTools.jLoading({
+                    content:'关键词最多300个',
+                    iconHide:true,
+                    duration:1500
+                })
+            }else{
+                var dataindex = keynum
+                // 关键词添加数量
+                $('.keypushnum').html(dataindex+1)
+                // 获取关键词
+                var keyWord = $('.addkeyWord input.enterOne').val()
+                // 去空格
+                keyWord = keyWord.replace(/\s+/g, ' ').trim();
+                var addition_keys = sessionStorage.getItem('addition_key')
+                var add_html = ''
+                if(addition_keys){
+                    addition_keys = JSON.parse(addition_keys)
+                    for(var i=0;i<addition_keys.length;i++){
+                        console.log(addition_keys[i])
+                        add_html += '    '+ addition_keys[i]
+                    }
+                }else{
+                    addition_keys = []
+                }
+                var exc_html = ''
+                var exclusive_keys = sessionStorage.getItem('exclusive_key')
+                if(exclusive_keys){
+                    exclusive_keys = JSON.parse(exclusive_keys)
+                    for(var i=0;i<exclusive_keys.length;i++){
+                        console.log(exclusive_keys[i])
+                        exc_html += '    '+exclusive_keys[i]
+                    }
+                }else{
+                    exclusive_keys = []
+                }
+                // sessionStorage.getItem('dataindex')
+                // var dataindex = sessionStorage.getItem('dataindex')
+                var html = `<li class="keyclassify-item" data-index="${dataindex}">
+                                <div class="one">
+                                    <div>
+                                        <span>
+                                            <strong> 关键词:</strong>
+                                            <p class="key">${keyWord}</p>
+                                        </span>
+                                        <span>
+                                            <strong> 附加词:</strong>
+                                            <p class="addition">
+                                                <span class="add_empty" style="padding:0;padding-right:0.3rem;">${add_html }</span>
+                                            </p>
+                                        </span>
+                                        <span>
+                                            <strong> 排除词:</strong>
+                                            <p class="exclusion">
+                                                <span class="exc_empty" style="padding:0;padding-right:0.3rem;">${exc_html }</sapn>
+                                            </p>
+                                        </span>
+                                    </div>
+                                    <button class="editKeyWord"><i class="iconfont icon-xiugai"></i> 修改</button>
+                                </div>
+                                <div class="modify">
+                                    <textarea  name=""  rows="1"  placeholder="" maxlength="20">${keyWord}</textarea>
+                                    <button class="addAdjunctWord">编辑 附加词</button>
+                                    <button class="addExclusion">添加 排除词</button>
+                                    <button class="deleteKey">删除</button>
+                                    <button class="ascertainKey">确定</button>
+                                </div>
+                            </li>`
+                // 关键词重复给出提示
+                // isSame=0表示不重复,等于1重复
+                var isSame = 0
+                for(var i=0;i<resArr.length;i++){
+                    // console.log(resArr[i])
+                    for(j=0;j<resArr[i].a_key.length;j++){
+                        var datakey = resArr[i].a_key[j].key[0]
+                        if(datakey == keyWord){
+                            console.log(datakey)
+                            vTools.jLoading({
+                                content:'关键词不能重复',
+                                iconHide:true,
+                                duration:1500
+                            })
+                            isSame = 1
+                            return
+                        }
+                    }
+                }
+                console.log(isSame)
+                if(isSame == 1){
+
+                }else{
+                    $('.showKeyWord > ul').prepend(html)
+                    // 如果没有添加附加词和排除词,就不显示
+                    var add_empty = $('.addition')
+                    var exc_empty = $('.exclusion')
+                    for(var i=0;i<add_empty.length;i++){
+                        if(add_empty[i].children.length== 0){
+                            $('.addition:eq('+i+')').parent('span').hide()
+                        }else{
+                            $('.addition:eq('+i+')').parent('span').show()
+                        }
+                    }
+                    for(var i=0;i<exc_empty.length;i++){
+                        if(exc_empty[i].children.length == 0){
+                            $('.exclusion:eq('+i+')').parent('span').hide()
+                        }else{
+                            $('.exclusion:eq('+i+')').parent('span').show()
+                        }
+                    }
+                    // 添加完成隐藏输入框
+                    $(".addkeyWord").hide()
+                    // 还原状态
+                    $('.enter.addkeyWord > input').val('')
+                    var buttonDOM = $('.enter.addkeyWord .btn button')[0]
+                    buttonDOM.style.opacity = .5
+                    buttonDOM.setAttribute("disabled", true)
+                    // 添加关键词
+                    var addition_key = sessionStorage.getItem('addition_key')
+                    if(addition_key){
+                        addition_key = JSON.parse(addition_key)
+                    }else{
+                        addition_key = []
+                    }
+                    var exclusive_key =  sessionStorage.getItem('exclusive_key')
+                    if(exclusive_key){
+                        exclusive_key = JSON.parse(exclusive_key)
+                    }else{
+                        exclusive_key = []
+                    }
+                    var newkey = {
+                        'appendkey': addition_key,
+                        'key': [keyWord],
+                        'notkey':exclusive_key
+                    }
+                    // 获取点击的下标
+                    resArr[classindex].a_key.push(newkey)
+                    console.log(resArr)
+                    vTools.ajax({
+                        url:'/subscribe/key/update',
+                        type:'POST',
+                        data:{
+                            "delete_item":'',
+                            "update_item":{
+                                "before":'',
+                                "after":''
+                            },
+                            "a_items":resArr
+                        },
+                        success:function(res){
+                            console.log(res)
+                            $('.all-classify-column .classify-list .classify-item:eq('+classindex+')').find('.classify-item-detail').find('span').html(resArr[classindex].a_key.length)
+                            sessionStorage.removeItem('addition_key')
+                            sessionStorage.removeItem('exclusive_key')
+                            sessionStorage.removeItem('dataindex')
+                            $(".classify-item:eq("+classindex+")").find('.classify-item-r').trigger('click')
+                        },
+                        error:function(err){
+                            console.log(err)
+                        }
+                    })
+                    $('.addKeyWord').css({'display':'flex'})
+                    // 设置状态
+                    // setEmptyHistory()
+                }
+                
+            }   
+        }
+    })
+    // // 点击取消
+    $('.cancel').on('click',function(){
+        if(sessionStorage.getItem('iconClick') == '1'){
+            console.log($(this))
+            $(this).parents('.addkeyWord').hide()
+            $('.addKeyWord').css({'display':'flex'})
+            sessionStorage.removeItem('addition_key')
+            sessionStorage.removeItem('exclusive_key')
+        }else{
+            $(this).parents('.addkeyWord').hide()
+            $('.addKeyWord').css({'display':'flex'})
+            sessionStorage.removeItem('noaddition_key')
+            sessionStorage.removeItem('noexclusive_key')
+        }
+        $(this).parents('.addkeyWord').find('.enterOne').val('')
+    })
+    // 编辑
+    $(".showKeyWord").on('click', '.editKeyWord', function (e) {
+        // 点击修改,把这一项的下标存入session
+        sessionStorage.setItem('modifyindex',$(this).parent().parent().attr('data-index'))
+        var classindex = sessionStorage.getItem('classindex')
+        console.log(classindex)
+        var modifyindex = sessionStorage.getItem('modifyindex')
+        console.log(modifyindex)
+        console.log(resArr)
+        // var resArr_num = resArr[classindex].a_key[modifyindex]
+        var addition_keyArr = sessionStorage.getItem('addition_key')
+        var exclusive_keyArr = sessionStorage.getItem('exclusive_key')
+        var parameter = location.search.split('?')[1]
+        if(parameter == 'state=1'){
+            if(resArr[classindex-1].a_key.length == 1){
+                modifyindex = 0
+            }
+            var appendkey_num = JSON.stringify(resArr[classindex-1].a_key[modifyindex].appendkey)
+            var notkey_num = JSON.stringify(resArr[classindex-1].a_key[modifyindex].notkey)
+        }else{
+            var appendkey_num = JSON.stringify(resArr[classindex].a_key[modifyindex].appendkey)
+            var notkey_num = JSON.stringify(resArr[classindex].a_key[modifyindex].notkey)
+        }
+        console.log(appendkey_num.length)
+        var add_length = sessionStorage.getItem('add_length')
+        var exc_length = sessionStorage.getItem('exc_length')
+        if(addition_keyArr == null || addition_keyArr == '[]'){
+            if(appendkey_num == "[]" || add_length !=null){
+                $(this).parent().siblings('.modify').find('.addAdjunctWord').html('添加附加词')
+            }else{
+                appendkey_num = JSON.parse(appendkey_num)
+                $(this).parent().siblings('.modify').find('.addAdjunctWord').html('编辑附加词('+appendkey_num.length+')')
+            }
+        }else{
+            addition_keyArr = JSON.parse(addition_keyArr)
+            $(this).parent().siblings('.modify').find('.addAdjunctWord').html('编辑附加词('+addition_keyArr.length+')')
+        }
+        if(exclusive_keyArr == null || exclusive_keyArr == '[]'){
+            if(notkey_num == "[]" || exc_length !=null){
+                $(this).parent().siblings('.modify').find('.addExclusion ').html('添加排除词')
+            }else{
+                notkey_num = JSON.parse(notkey_num)
+                $(this).parent().siblings('.modify').find('.addExclusion ').html('编辑排除词('+notkey_num.length+')')
+            }
+        }else{
+            exclusive_keyArr = JSON.parse(exclusive_keyArr)
+            $(this).parent().siblings('.modify').find('.addExclusion ').html('编辑排除词('+exclusive_keyArr.length+')')
+        }
+        console.log($(this).siblings('div').find('.addition').text())
+        $('.enter.addkeyWord').hide()
+        let oSpan = $(this).parent().siblings().children('textarea');
+        console.log($(oSpan).val())
+        let val = $(oSpan).val()
+        $(this).parent().hide()
+        $(this).parent().siblings().show().parent().siblings().children('.modify').hide().siblings('.one').show()
+        $(oSpan).val('').focus().val(val) 
+        $('.addKeyWord').hide()
+        // 修改的时候,如果把关键词清楚掉,不能保存
+        var _that = $(this)
+        _that.parent().siblings('.modify').find('textarea').on('input',function(){
+            console.log($(this).val())
+            if($(this).val()==''){
+                _that.parent().siblings('.modify').find('.addAdjunctWord').attr('disabled',true)
+                _that.parent().siblings('.modify').find('.addExclusion ').attr('disabled',true)
+                _that.parent().siblings('.modify').find('.ascertainKey ').attr('disabled',true)
+            }else{
+                _that.parent().siblings('.modify').find('.addAdjunctWord').attr('disabled',false)
+                _that.parent().siblings('.modify').find('.addExclusion ').attr('disabled',false)
+                _that.parent().siblings('.modify').find('.ascertainKey ').attr('disabled',false)
+            }
+        })
+
+    })
+
+    // 编辑删除
+    $('.showKeyWord').on('click', '.deleteKey', function (e) {
+        var jQueryDOM = $(this).parents('li')
+        console.log(jQueryDOM)
+        var parameter = location.search.split('?')[1]
+        console.log(resArr)
+        // 获取点击分类的下标
+        var classify_index = sessionStorage.getItem('classindex')
+        var ArrLength = 0
+        if(parameter == 'state=1'){
+            ArrLength = resArr[classify_index-1].a_key.length
+        }else{
+            ArrLength = resArr[classify_index].a_key.length
+        }
+        console.log(ArrLength)
+        weui.confirm('确定要删除关键词?', {
+            buttons: [{
+                label: '取消',
+                type: 'default',
+                onClick: function () { console.log('不删了') }
+            }, {
+                label: '确定',
+                type: 'primary',
+                onClick: function () {
+                    
+                    // console.log(resArr[classify_index].a_key)
+                    // console.log(jQueryDOM.find('textarea').val())
+                    // 如果一个分类里只有一个关键词,点击删除关键词则删除整个分类
+                    if(ArrLength == 1){
+                        if(parameter == 'state=1'){
+                            classify_index = parseInt(classify_index)-1
+                        }else{
+                            classify_index = sessionStorage.getItem('classindex')
+                        }
+                        console.log(resArr[classify_index])
+                        console.log(resArr[classify_index].s_item)
+                        var delete_item = resArr[classify_index].s_item
+                        resArr.splice(classify_index,1)
+                        // 删除关键词
+                        vTools.ajax({
+                            url:'/subscribe/key/update',
+                            type:'POST',
+                            data:{
+                                "delete_item":delete_item,
+                                "a_items":resArr
+                            },
+                            success:function(res){
+                                console.log(res)
+                                if(res.data.status == -2){
+                                    vTools.jLoading({
+                                        content:'关联有分发规则,不能删除',
+                                        iconHide:true,
+                                        duration:1500
+                                    })
+                                    return
+                                }
+                                jQueryDOM.remove()
+                                hasWords()
+                                location.reload()
+                            },
+                            error:function(err){
+                                console.log(err)
+                            }
+                        })
+                        init()
+                        $('.add-keyword-container').hide()
+                        $('.addbutton').show()
+                    }else{
+                        console.log(classify_index)
+                        if(parameter == 'state=1'){
+                            for(var i=0;i<resArr[classify_index-1].a_key.length;i++){
+                                if(resArr[classify_index-1].a_key[i].key[0] == jQueryDOM.find('textarea').val()){
+                                    resArr[classify_index-1].a_key.splice(i,1)
+                                }
+                            }
+                        }else{
+                            for(var i=0;i<resArr[classify_index].a_key.length;i++){
+                                console.log(resArr[classify_index].a_key[i].key[0])
+                                if(resArr[classify_index].a_key[i].key[0] == jQueryDOM.find('textarea').val()){
+                                    console.log(resArr[classify_index].a_key[i])
+                                    resArr[classify_index].a_key.splice(i,1)
+                                }
+                            }
+                        }
+                        console.log(resArr)
+                        // var classindex = sessionStorage.getItem('classindex')
+                        // console.log(resArr[classindex].a_key.length)
+                        var keynum = 0
+                        for(var i=0;i<resArr.length;i++){
+                            keynum += resArr[i].a_key.length
+                        }
+                        var dataindex = keynum
+                        console.log(dataindex)
+                        // 删除关键词
+                        vTools.ajax({
+                            url:'/subscribe/key/update',
+                            type:'POST',
+                            data:{
+                                "delete_item":'',
+                                "update_item":{
+                                    "before":'',
+                                    "after":''
+                                },
+                                "a_items":resArr
+                            },
+                            success:function(res){
+                                console.log(res)
+                                if(res.data.status == -2){
+                                    vTools.jLoading({
+                                        content:'关联有分发规则,不能删除',
+                                        iconHide:true,
+                                        duration:1500
+                                    })
+                                    return
+                                }
+                                $('.keypushnum').html(dataindex)
+                                jQueryDOM.remove()
+                                hasWords()
+                                if(parameter == 'state=1'){
+                                    $('.all-classify-column .classify-list .classify-item:eq('+classify_index+')').find('.classify-item-detail').find('span').html(resArr[classify_index-1].a_key.length)
+                                }else{
+                                    $(".classify-item:eq("+classindex+")").find('.classify-item-r').trigger('click')
+                                    $('.all-classify-column .classify-list .classify-item:eq('+classify_index+')').find('.classify-item-detail').find('span').html(resArr[classify_index].a_key.length)
+                                }
+                            },
+                            error:function(err){
+                                console.log(err)
+                            }
+                        })
+                        $('.addKeyWord').show()
+                    }
+                }
+            }]
+        });
+        console.log('删除关键词:', $(this).parent().find('textarea').val())
+
+    })
+    // 编辑确定
+    $('.showKeyWord').on('click', '.ascertainKey', function (e) {
+        var parameter = location.search.split('?')[1]
+        if(parameter == 'state=1'){
+            var $this = $(this)
+            var keyWord = $(this).siblings('textarea').val()
+            // 去空格
+            keyWord = keyWord.replace(/\s+/g, ' ').trim();
+            // 获取被点击的下标
+            var classindex = JSON.parse(sessionStorage.getItem('classindex'))-1
+            var modifyindex = sessionStorage.getItem('modifyindex')
+            console.log(classindex)
+            var beforekey = resArr[classindex].a_key[modifyindex].key[0]
+            if(keyWord.length > 20){
+                weui.toast('关键词不能超过20字', {
+                    duration: 2000,
+                    className: 'custom-toast',
+                    callback: function () { console.log('close') }
+                });
+            }else{
+                // 关键词重复给出提示
+                // isSame=0表示不重复,等于1重复
+                var isSame = 0
+                for(var i=0;i<resArr.length;i++){
+                    console.log(resArr[i])
+                    for(j=0;j<resArr[i].a_key.length;j++){
+                        var datakey = resArr[i].a_key[j].key[0]
+                        console.log(beforekey)
+                        if(datakey == keyWord && keyWord !== beforekey){
+                            vTools.jLoading({
+                                content:'关键词不能重复',
+                                iconHide:true,
+                                duration:1500
+                            })
+                            isSame = 1
+                        }else{
+                            isSame = 0
+                        }
+                    }
+                }
+                if(isSame == 1){
+
+                }else{
+                    $this.parent().siblings().find('.key').text(keyWord)
+                    // 获取修改关键词参数
+                    var classify_s = $('.classify-detail').html()
+                    console.log(resArr)
+                    var newArr = resArr
+                    // var a_items = []
+                    console.log(newArr)
+                    newArr.forEach(function(value,index){
+                        if(value.s_item == classify_s){
+                            console.log(value,index)
+                            // 分类
+                            var keywordArr = []
+                            keywordArr.push(keyWord)
+                            console.log(keywordArr)
+                            // 附加词
+                            // 获取点击修改的下标
+                            var modifyindex = sessionStorage.getItem('modifyindex')
+                            var addition_key = sessionStorage.getItem('addition_key')
+                            if(addition_key == null){
+                                addition_key = newArr[index].a_key[modifyindex].appendkey
+                            }else{
+                                addition_key = JSON.parse(addition_key)
+                            }
+                            console.log(addition_key)
+                            // 排除词
+                            var exclusive_key = sessionStorage.getItem('exclusive_key')
+                            console.log(exclusive_key)
+                            if(exclusive_key == null){
+                                exclusive_key = newArr[index].a_key[modifyindex].notkey
+                            }else{
+                                exclusive_key = JSON.parse(exclusive_key)
+                            }
+                            console.log(exclusive_key)
+                            var keyparameter = {
+                                "key":keywordArr,
+                                "appendkey":addition_key,
+                                "notkey":exclusive_key
+                            }
+                            var modifyindex = sessionStorage.getItem('modifyindex')
+                            console.log(newArr[index].a_key)
+                            newArr[index].a_key.splice(modifyindex,1,keyparameter)
+                        }
+                    })
+                    console.log(newArr)
+                    // 获取点击的按钮
+                    var sureDom = $this.parent()
+                    // 修改关键词
+                    vTools.ajax({
+                        url:'/subscribe/key/update',
+                        type:'POST',
+                        data:{
+                            "a_items":newArr
+                        },
+                        success:function(res){
+                            console.log(res)
+                            if(res.data.status== 1){
+                                // console.log(JSON.parse(sessionStorage.getItem('addition_key'))[0])
+                                // console.log(JSON.parse(sessionStorage.getItem('exclusive_key'))[0])
+                                sureDom.hide().siblings('.one').show()
+                                var addition_keyArr = sessionStorage.getItem('addition_key')
+                                if(addition_keyArr){
+                                    addition_keyArr = JSON.parse(addition_keyArr)
+                                    var html=''
+                                    for(var i = 0;i<addition_keyArr.length;i++){
+                                        html += '<span style="padding:0;padding-right:0.3rem;">'+addition_keyArr[i]+'</span>'
+                                    }
+                                    sureDom.siblings('.one').find('div').find('.addition').html(html)
+                                }
+                                var exclusive_keyArr = sessionStorage.getItem('exclusive_key')
+                                if(exclusive_keyArr){
+                                    exclusive_keyArr = JSON.parse(exclusive_keyArr)
+                                    var htmls=''
+                                    for(var i = 0;i<exclusive_keyArr.length;i++){
+                                        console.log(exclusive_keyArr[i])
+                                        htmls += '<span style="padding:0;padding-right:0.3rem;">'+exclusive_keyArr[i]+'</span>'
+                                    }
+                                    sureDom.siblings('.one').find('div').find('.exclusion').html(htmls)
+                                }
+                                // sureDom.siblings().find('div').find('.addition').html(JSON.parse(sessionStorage.getItem('addition_key'))[0])
+                                // sureDom.siblings().find('div').find('.exclusion').html(JSON.parse(sessionStorage.getItem('exclusive_key'))[0])
+                                sessionStorage.removeItem('addition_key')
+                                sessionStorage.removeItem('exclusive_key')
+                                sessionStorage.removeItem('isadd')
+                                // 如果没有添加附加词和排除词,就不显示
+                                var add_empty = $('.addition')
+                                var exc_empty = $('.exclusion')
+                                console.log(add_empty)
+                                console.log(exc_empty)
+                                for(var i=0;i<add_empty.length;i++){
+                                    if(add_empty[i].children.length== 0){
+                                        $('.addition:eq('+i+')').parent('span').hide()
+                                    }else{
+                                        $('.addition:eq('+i+')').parent('span').show()
+                                    }
+                                }
+                                for(var i=0;i<exc_empty.length;i++){
+                                    if(exc_empty[i].children.length == 0){
+                                        $('.exclusion:eq('+i+')').parent('span').hide()
+                                    }else{
+                                        $('.exclusion:eq('+i+')').parent('span').show()
+                                    }
+                                }
+                            }
+                        },
+                        error:function(err){
+                            console.log(err)
+                        }
+                    })
+                    
+                    // $this.parent().hide().siblings().show()
+                    $('.addKeyWord').show()
+                }
+            }
+            // 如果没有添加附加词和排除词,就不显示
+            var add_empty = $('.addition')
+            var exc_empty = $('.exclusion')
+            console.log(add_empty)
+            console.log(exc_empty)
+            for(var i=0;i<add_empty.length;i++){
+                if(add_empty[i].children.length== 0){
+                    $('.addition:eq('+i+')').parent('span').hide()
+                }else{
+                    $('.addition:eq('+i+')').parent('span').show()
+                }
+            }
+            for(var i=0;i<exc_empty.length;i++){
+                if(exc_empty[i].children.length == 0){
+                    $('.exclusion:eq('+i+')').parent('span').hide()
+                }else{
+                    $('.exclusion:eq('+i+')').parent('span').show()
+                }
+            }
+        }else{
+            var $this = $(this)
+            var keyWord = $(this).siblings('textarea').val()
+            // 去空格
+            keyWord = keyWord.replace(/\s+/g, ' ').trim();
+            // 获取被点击的下标
+            var classindex = sessionStorage.getItem('classindex')
+            var modifyindex = sessionStorage.getItem('modifyindex')
+            console.log(classindex)
+            var beforekey = resArr[classindex].a_key[modifyindex].key[0]
+            if(keyWord.length > 20){
+                weui.toast('关键词不能超过20字', {
+                    duration: 2000,
+                    className: 'custom-toast',
+                    callback: function () { console.log('close') }
+                });
+            }else{
+                // 关键词重复给出提示
+                // isSame=0表示不重复,等于1重复
+                var isSame = 0
+                for(var i=0;i<resArr.length;i++){
+                    console.log(resArr[i])
+                    for(j=0;j<resArr[i].a_key.length;j++){
+                        var datakey = resArr[i].a_key[j].key[0]
+                        console.log(beforekey)
+                        if(datakey == keyWord && keyWord !== beforekey){
+                            vTools.jLoading({
+                                content:'关键词不能重复',
+                                iconHide:true,
+                                duration:1500
+                            })
+                            isSame = 1
+                        }else{
+                            isSame = 0
+                        }
+                    }
+                }
+                if(isSame == 1){
+
+                }else{
+                    $this.parent().siblings().find('.key').text(keyWord)
+                    // 获取修改关键词参数
+                    var classify_s = $('.classify-detail').html()
+                    console.log(resArr)
+                    var newArr = resArr
+                    // var a_items = []
+                    console.log(newArr)
+                    newArr.forEach(function(value,index){
+                        if(value.s_item == classify_s){
+                            console.log(value,index)
+                            // 分类
+                            var keywordArr = []
+                            keywordArr.push(keyWord)
+                            console.log(keywordArr)
+                            // 附加词
+                            // 获取点击修改的下标
+                            var modifyindex = sessionStorage.getItem('modifyindex')
+                            var addition_key = sessionStorage.getItem('addition_key')
+                            if(addition_key == null){
+                                addition_key = newArr[index].a_key[modifyindex].appendkey
+                            }else{
+                                addition_key = JSON.parse(addition_key)
+                            }
+                            console.log(addition_key)
+                            // 排除词
+                            var exclusive_key = sessionStorage.getItem('exclusive_key')
+                            console.log(exclusive_key)
+                            if(exclusive_key == null){
+                                exclusive_key = newArr[index].a_key[modifyindex].notkey
+                            }else{
+                                exclusive_key = JSON.parse(exclusive_key)
+                            }
+                            console.log(exclusive_key)
+                            var keyparameter = {
+                                "key":keywordArr,
+                                "appendkey":addition_key,
+                                "notkey":exclusive_key
+                            }
+                            var modifyindex = sessionStorage.getItem('modifyindex')
+                            console.log(newArr[index].a_key)
+                            newArr[index].a_key.splice(modifyindex,1,keyparameter)
+                        }
+                    })
+                    console.log(newArr)
+                    // 获取点击的按钮
+                    var sureDom = $this.parent()
+                    // 修改关键词
+                    vTools.ajax({
+                        url:'/subscribe/key/update',
+                        type:'POST',
+                        data:{
+                            "a_items":newArr
+                        },
+                        success:function(res){
+                            console.log(res)
+                            if(res.data.status== 1){
+                                // console.log(JSON.parse(sessionStorage.getItem('addition_key'))[0])
+                                // console.log(JSON.parse(sessionStorage.getItem('exclusive_key'))[0])
+                                sureDom.hide().siblings('.one').show()
+                                var addition_keyArr = sessionStorage.getItem('addition_key')
+                                if(addition_keyArr){
+                                    addition_keyArr = JSON.parse(addition_keyArr)
+                                    var html=''
+                                    for(var i = 0;i<addition_keyArr.length;i++){
+                                        html += '<span style="padding:0;padding-right:0.3rem;">'+addition_keyArr[i]+'</span>'
+                                    }
+                                    sureDom.siblings('.one').find('div').find('.addition').html(html)
+                                }
+                                var exclusive_keyArr = sessionStorage.getItem('exclusive_key')
+                                if(exclusive_keyArr){
+                                    exclusive_keyArr = JSON.parse(exclusive_keyArr)
+                                    var htmls=''
+                                    for(var i = 0;i<exclusive_keyArr.length;i++){
+                                        console.log(exclusive_keyArr[i])
+                                        htmls += '<span style="padding:0;padding-right:0.3rem;">'+exclusive_keyArr[i]+'</span>'
+                                    }
+                                    sureDom.siblings('.one').find('div').find('.exclusion').html(htmls)
+                                }
+                                // sureDom.siblings().find('div').find('.addition').html(JSON.parse(sessionStorage.getItem('addition_key'))[0])
+                                // sureDom.siblings().find('div').find('.exclusion').html(JSON.parse(sessionStorage.getItem('exclusive_key'))[0])
+                                sessionStorage.removeItem('addition_key')
+                                sessionStorage.removeItem('exclusive_key')
+                                sessionStorage.removeItem('isadd')
+                                // 如果没有添加附加词和排除词,就不显示
+                                var add_empty = $('.addition')
+                                var exc_empty = $('.exclusion')
+                                console.log(add_empty)
+                                console.log(exc_empty)
+                                for(var i=0;i<add_empty.length;i++){
+                                    if(add_empty[i].children.length== 0){
+                                        $('.addition:eq('+i+')').parent('span').hide()
+                                    }else{
+                                        $('.addition:eq('+i+')').parent('span').show()
+                                    }
+                                }
+                                for(var i=0;i<exc_empty.length;i++){
+                                    if(exc_empty[i].children.length == 0){
+                                        $('.exclusion:eq('+i+')').parent('span').hide()
+                                    }else{
+                                        $('.exclusion:eq('+i+')').parent('span').show()
+                                    }
+                                }
+                            }
+                        },
+                        error:function(err){
+                            console.log(err)
+                        }
+                    })
+                    
+                    // $this.parent().hide().siblings().show()
+                    $('.addKeyWord').show()
+                }
+            }
+            // 如果没有添加附加词和排除词,就不显示
+            var add_empty = $('.addition')
+            var exc_empty = $('.exclusion')
+            console.log(add_empty)
+            console.log(exc_empty)
+            for(var i=0;i<add_empty.length;i++){
+                if(add_empty[i].children.length== 0){
+                    $('.addition:eq('+i+')').parent('span').hide()
+                }else{
+                    $('.addition:eq('+i+')').parent('span').show()
+                }
+            }
+            for(var i=0;i<exc_empty.length;i++){
+                if(exc_empty[i].children.length == 0){
+                    $('.exclusion:eq('+i+')').parent('span').hide()
+                }else{
+                    $('.exclusion:eq('+i+')').parent('span').show()
+                }
+            }
+        }
+        sessionStorage.removeItem('exc_length')
+        sessionStorage.removeItem('add_length')
+    })
+    
+    //防止键盘把当前输入框给挡住
+    $('input[type="text"],textarea').focus(function () {
+        var target = this;
+        setTimeout(function(){
+            target.scrollIntoViewIfNeeded();
+        },400);
+    });
+
+
+    // 显示关键词分类弹框
+    var modifyArr=[]
+    $('.classify-r').on('click', function(){
+        console.log(resArr)
+        modifyArr = resArr
+        console.log(modifyArr)
+        // 如果是苹果手机,打开时候要设置top
+        var agent = navigator.userAgent.toLowerCase();
+        var dialog = $('.classify-edit-pop .weui-dialog')
+        if( /iphone|ipod|ipad|ios/.test(agent) ){
+            dialog.css({ 'top': '30%' })
+        } else {
+            dialog.css({ 'top': '50%' })
+        }
+        $('.classify-edit-pop').show()
+        var currentClassifyName = $(this).find('.classify-detail').text()
+        $('input.classify-keyword').val(currentClassifyName).focus()
+    })
+    console.log(modifyArr)
+    // 改变关键词分类
+    function changeDesc( value, desc) {
+        console.log(modifyArr)
+        for (var i in modifyArr) {
+          if (modifyArr[i].s_item == value) {
+            modifyArr[i].s_item = desc;
+            console.log(modifyArr)
+            // 修改关键词分类
+            vTools.ajax({
+                url:'/subscribe/key/update',
+                type:'POST',
+                data:{
+                    "update_item":{
+                        "before":value,
+                        "after":desc
+                    },
+                    "a_items":modifyArr
+                },
+                success:function(res){
+                    console.log(res)
+                    if(res.data.status == -1){
+                        vTools.jLoading({
+                            content:'此分类名已存在',
+                            iconHide:true,
+                            duration:1500,
+                            callback:function(){
+                                location.reload()
+                            }
+                        })
+                        return;
+                    }
+                    $('.classify-r .classify-detail').text(desc)
+                    location.reload()
+                },
+                error:function(err){
+                    console.log(err)
+                }
+            })
+          }
+        }
+     }
+
+    // 关键词分类 - 确定按钮点击事件
+    $('.classify-edit-pop .dialog__btn_confirm').on('click', function() {
+        var parameter = location.search.split('?')[1]
+        if(sessionStorage.getItem('iconClick') == 0 && parameter == 'state=1'){
+            var s = $('input.classify-keyword').val()
+            // 去空格
+            s = s.replace(/\s+/g, ' ').trim();
+            if (s.length === 0) {
+                return
+            }
+            // changeDesc(classifyName,s)
+            var clone_classindex= sessionStorage.getItem('clone-classindex')
+            var classindex= sessionStorage.getItem('classindex')
+            var classifyName = sessionStorage.getItem('classifyName')
+            for(i=0;i<resArr.length;i++){
+                if(resArr[i].s_item == s&& classindex == clone_classindex){
+                    vTools.jLoading({
+                        content:'此分类名已存在',
+                        iconHide:true,
+                        duration:1500
+                    })
+                    return;
+                }else if(s != classifyName && classindex !== clone_classindex){
+                    // 修改关键词分类
+                    var modifyresArr = []
+                    for(var j=0;j<resArr.length;j++){
+                        if(resArr[j].s_item == classifyName){
+                            resArr[j].s_item = s
+                        }
+                    }
+                    modifyresArr = resArr
+                    vTools.ajax({
+                        url:'/subscribe/key/update',
+                        type:'POST',
+                        data:{
+                            "update_item":{
+                                "before":classifyName,
+                                "after":s
+                            },
+                            "a_items":modifyresArr
+                        },
+                        success:function(res){
+                            console.log(res)
+                            if(res.data.status == -1){
+                                console.log('222222')
+                                vTools.jLoading({
+                                    content:'此分类名已存在',
+                                    iconHide:true,
+                                    duration:1500,
+                                })
+                                $('.classify-edit-pop').show()
+                                $('.classify-r .classify-detail').text(classifyName)
+                                sessionStorage.setItem('classifyName',classifyName)
+                                sessionStorage.setItem('keyclassify',classifyName)
+                                return
+                            }
+                            $('.classify-r .classify-detail').text(s)
+                            // location.reload()
+                        },
+                        error:function(err){
+                            console.log(err)
+                        }
+                    })
+                }
+            }
+            $('.classify-r .classify-detail').text(s)
+            sessionStorage.setItem('classifyName',s)
+            sessionStorage.setItem('keyclassify',s)
+            // 关闭弹框后要重置input内容
+            $('.classify-edit-pop').hide()
+            $('input.classify-keyword').val('')
+        }else{
+            console.log(22)
+            var classifyName = sessionStorage.getItem('classifyName')
+            var s = $('input.classify-keyword').val()
+            // 去空格
+            s = s.replace(/\s+/g, ' ').trim();
+            if (s.length === 0) {
+                return
+            }
+            changeDesc(classifyName,s)
+            // 关闭弹框后要重置input内容
+            $('.classify-edit-pop').hide()
+            $('input.classify-keyword').val('')
+        }
+        
+    })
+    // 关键词分类 - 取消按钮点击事件
+    $('.classify-edit-pop .dialog__btn_cancel').on('click', function() {
+        var parameter = location.search.split('?')[1]
+        if(sessionStorage.getItem('iconClick') == 0 && parameter == 'state=1'){
+            // changeDesc(classifyName,s)
+            var classifyList = []
+            var newclassify = ''
+            for(i=0;i<resArr.length;i++){
+                var samelist =  resArr[i].s_item.indexOf('未分类')
+                if(samelist != -1){
+                    classifyList.push(resArr[i].s_item)
+                }
+            }
+            var sum = getClassifyName(classifyList)
+            console.log(sum)
+            var clone_classindex= sessionStorage.getItem('clone-classindex')
+            var classindex= sessionStorage.getItem('classindex')
+            if(classindex == clone_classindex){
+                $('.classify-r .classify-detail').text(sum)
+                sessionStorage.setItem('keyclassify',sum)
+            }
+        }
+        $('.classify-edit-pop').hide()
+        $('input.classify-keyword').val('')
+        
+    })
+
+})
+// 判断创建的分类名是否重复
+// 传入一个已经存在的未分类(数组)
+function getClassifyName(existed) {
+    var index = existed.length + 1
+
+    function getName() {
+        var leadingString = '未分类'
+        // 创建的未分类后面的数字
+        var cName = leadingString + index
+        // 判断数组中的每一项是否包含未分类 == -1说明不包含 否则包含:让数字加一知道不重复为止
+        var ei = existed.indexOf(cName)
+
+        if (ei === -1) {
+            return cName
+        } else {
+            index ++
+            console.log(index);
+            
+            return getName()
+        }
+    }
+
+    return getName()
+}

+ 2453 - 0
entbase-mobile/page_entbase_mobile/js/mapJSON.js

@@ -0,0 +1,2453 @@
+/**
+ * @file china-map.json
+ * @author zhangyuhan2016 <hi_zhangyuhan@163.com>
+ */
+var chinaMapJSON = [{
+  "ProID": 1,
+  "name": "北京市",
+  "ProSort": 1,
+  "ProRemark": "直辖市",
+  "city": [{
+    "CityID": 1,
+    "name": "北京市",
+    "ProID": 1,
+    "CitySort": 1,
+    "area": ["东城区", "西城区", "崇文区", "宣武区", "朝阳区", "丰台区", "石景山区", "海淀区", "门头沟区", "房山区", "通州区", "顺义区", "昌平区", "大兴区", "怀柔区", "平谷区", "密云县", "延庆县"]
+  }]
+}, {
+  "ProID": 2,
+  "name": "天津市",
+  "ProSort": 2,
+  "ProRemark": "直辖市",
+  "city": [{
+    "CityID": 2,
+    "name": "天津市",
+    "ProID": 2,
+    "CitySort": 2,
+    "area": ["和平区", "河东区", "河西区", "南开区", "河北区", "红桥区", "塘沽区", "汉沽区", "大港区", "东丽区", "西青区", "津南区", "北辰区", "武清区", "宝坻区", "宁河县", "静海县", "蓟县"]
+  }]
+}, {
+  "ProID": 3,
+  "name": "河北省",
+  "ProSort": 5,
+  "ProRemark": "省份",
+  "city": [{
+    "CityID": 5,
+    "name": "邯郸市",
+    "ProID": 3,
+    "CitySort": 5,
+    "area": ["邯山区", "丛台区", "复兴区", "峰峰矿区", "邯郸县", "临漳县", "成安县", "大名县", "涉县", "磁县", "肥乡县", "永年县", "邱县", "鸡泽县", "广平县", "馆陶县", "魏县", "曲周县", "武安市"]
+  }, {
+    "CityID": 6,
+    "name": "石家庄市",
+    "ProID": 3,
+    "CitySort": 6,
+    "area": ["长安区", "桥东区", "桥西区", "新华区", "井陉矿区", "裕华区", "井陉县", "正定县", "栾城县", "行唐县", "灵寿县", "高邑县", "深泽县", "赞皇县", "无极县", "平山县", "元氏县", "赵县", "辛集市", "藁城市", "晋州市", "新乐市", "鹿泉市"]
+  }, {
+    "CityID": 666,
+    "name": "秦皇岛市",
+    "ProID": 3,
+    "CitySort": 666,
+    "area": ["海港区", "山海关区", "北戴河区", "抚宁区", "青龙满族自治县", "昌黎县", "卢龙县"]
+  }, {
+    "CityID": 7,
+    "name": "保定市",
+    "ProID": 3,
+    "CitySort": 7,
+    "area": ["新市区", "北市区", "南市区", "满城县", "清苑县", "涞水县", "阜平县", "徐水县", "定兴县", "唐县", "高阳县", "容城县", "涞源县", "望都县", "安新县", "易县", "曲阳县", "蠡县", "顺平县", "博野县", "雄县", "涿州市", "定州市", "安国市", "高碑店市"]
+  }, {
+    "CityID": 8,
+    "name": "张家口市",
+    "ProID": 3,
+    "CitySort": 8,
+    "area": ["桥东区", "桥西区", "宣化区", "下花园区", "宣化县", "张北县", "康保县", "沽源县", "尚义县", "蔚县", "阳原县", "怀安县", "万全县", "怀来县", "涿鹿县", "赤城县", "崇礼县"]
+  }, {
+    "CityID": 9,
+    "name": "承德市",
+    "ProID": 3,
+    "CitySort": 9,
+    "area": ["双桥区", "双滦区", "鹰手营子矿区", "承德县", "兴隆县", "平泉县", "滦平县", "隆化县", "丰宁满族自治县", "宽城满族自治县", "围场满族蒙古族自治县"]
+  }, {
+    "CityID": 10,
+    "name": "唐山市",
+    "ProID": 3,
+    "CitySort": 10,
+    "area": ["路南区", "路北区", "古冶区", "开平区", "丰南区", "丰润区", "滦县", "滦南县", "乐亭县", "迁西县", "玉田县", "唐海县", "遵化市", "迁安市"]
+  }, {
+    "CityID": 11,
+    "name": "廊坊市",
+    "ProID": 3,
+    "CitySort": 11,
+    "area": ["安次区", "广阳区", "固安县", "永清县", "香河县", "大城县", "文安县", "大厂回族自治县", "霸州市", "三河市"]
+  }, {
+    "CityID": 12,
+    "name": "沧州市",
+    "ProID": 3,
+    "CitySort": 12,
+    "area": ["新华区", "运河区", "沧县", "青县", "东光县", "海兴县", "盐山县", "肃宁县", "南皮县", "吴桥县", "献县", "孟村回族自治县", "泊头市", "任丘市", "黄骅市", "河间市"]
+  }, {
+    "CityID": 13,
+    "name": "衡水市",
+    "ProID": 3,
+    "CitySort": 13,
+    "area": ["桃城区", "枣强县", "武邑县", "武强县", "饶阳县", "安平县", "故城县", "景县", "阜城县", "冀州市", "深州市"]
+  }, {
+    "CityID": 14,
+    "name": "邢台市",
+    "ProID": 3,
+    "CitySort": 14,
+    "area": ["桥东区", "桥西区", "邢台县", "临城县", "内丘县", "柏乡县", "隆尧县", "任县", "南和县", "宁晋县", "巨鹿县", "新河县", "广宗县", "平乡县", "威县", "清河县", "临西县", "南宫市", "沙河市"]
+  }]
+}, {
+  "ProID": 4,
+  "name": "山西省",
+  "ProSort": 6,
+  "ProRemark": "省份",
+  "city": [{
+    "CityID": 16,
+    "name": "朔州市",
+    "ProID": 4,
+    "CitySort": 16,
+    "area": ["朔城区", "平鲁区", "山阴县", "应县", "右玉县", "怀仁县"]
+  }, {
+    "CityID": 17,
+    "name": "忻州市",
+    "ProID": 4,
+    "CitySort": 17,
+    "area": ["忻府区", "定襄县", "五台县", "代县", "繁峙县", "宁武县", "静乐县", "神池县", "五寨县", "岢岚县", "河曲县", "保德县", "偏关县", "原平市"]
+  }, {
+    "CityID": 18,
+    "name": "太原市",
+    "ProID": 4,
+    "CitySort": 18,
+    "area": ["小店区", "迎泽区", "杏花岭区", "尖草坪区", "万柏林区", "晋源区", "清徐县", "阳曲县", "娄烦县", "古交市"]
+  }, {
+    "CityID": 19,
+    "name": "大同市",
+    "ProID": 4,
+    "CitySort": 19,
+    "area": ["矿区", "南郊区", "新荣区", "阳高县", "天镇县", "广灵县", "灵丘县", "浑源县", "左云县", "大同县"]
+  }, {
+    "CityID": 20,
+    "name": "阳泉市",
+    "ProID": 4,
+    "CitySort": 20,
+    "area": ["矿区", "平定县", "盂县"]
+  }, {
+    "CityID": 21,
+    "name": "晋中市",
+    "ProID": 4,
+    "CitySort": 21,
+    "area": ["榆次区", "榆社县", "左权县", "和顺县", "昔阳县", "寿阳县", "太谷县", "祁县", "平遥县", "灵石县", "介休市"]
+  }, {
+    "CityID": 22,
+    "name": "长治市",
+    "ProID": 4,
+    "CitySort": 22,
+    "area": ["城区", "长治县", "襄垣县", "屯留县", "平顺县", "黎城县", "壶关县", "长子县", "武乡县", "沁县", "沁源县", "潞城市"]
+  }, {
+    "CityID": 23,
+    "name": "晋城市",
+    "ProID": 4,
+    "CitySort": 23,
+    "area": ["沁水县", "阳城县", "陵川县", "泽州县", "高平市"]
+  }, {
+    "CityID": 24,
+    "name": "临汾市",
+    "ProID": 4,
+    "CitySort": 24,
+    "area": ["尧都区", "曲沃县", "翼城县", "襄汾县", "洪洞县", "古县", "安泽县", "浮山县", "吉县", "乡宁县", "大宁县", "隰县", "永和县", "蒲县", "汾西县", "侯马市", "霍州市"]
+  }, {
+    "CityID": 25,
+    "name": "吕梁市",
+    "ProID": 4,
+    "CitySort": 25,
+    "area": ["离石区", "文水县", "交城县", "兴县", "临县", "柳林县", "石楼县", "岚县", "方山县", "中阳县", "交口县", "孝义市", "汾阳市"]
+  }, {
+    "CityID": 26,
+    "name": "运城市",
+    "ProID": 4,
+    "CitySort": 26,
+    "area": ["盐湖区", "临猗县", "万荣县", "闻喜县", "稷山县", "新绛县", "绛县", "垣曲县", "夏县", "平陆县", "芮城县", "永济市", "河津市"]
+  }]
+}, {
+  "ProID": 5,
+  "name": "内蒙古自治区",
+  "ProSort": 32,
+  "ProRemark": "自治区",
+  "city": [{
+    "CityID": 351,
+    "name": "呼伦贝尔市",
+    "ProID": 5,
+    "CitySort": 351,
+    "area": ["海拉尔区", "阿荣旗", "莫力达瓦达斡尔族自治旗", "鄂伦春自治旗", "鄂温克族自治旗", "陈巴尔虎旗", "新巴尔虎左旗", "新巴尔虎右旗", "满洲里市", "牙克石市", "扎兰屯市", "额尔古纳市", "根河市"]
+  }, {
+    "CityID": 352,
+    "name": "呼和浩特市",
+    "ProID": 5,
+    "CitySort": 352,
+    "area": ["新城区", "回民区", "玉泉区", "赛罕区", "土默特左旗", "托克托县", "和林格尔县", "清水河县", "武川县"]
+  }, {
+    "CityID": 353,
+    "name": "包头市",
+    "ProID": 5,
+    "CitySort": 353,
+    "area": ["东河区", "昆都仑区", "青山区", "石拐区", "白云鄂博矿区", "九原区", "土默特右旗", "固阳县", "达尔罕茂明安联合旗"]
+  }, {
+    "CityID": 354,
+    "name": "乌海市",
+    "ProID": 5,
+    "CitySort": 354,
+    "area": ["海勃湾区", "海南区", "乌达区"]
+  }, {
+    "CityID": 355,
+    "name": "乌兰察布市",
+    "ProID": 5,
+    "CitySort": 355,
+    "area": ["集宁区", "卓资县", "化德县", "商都县", "兴和县", "凉城县", "察哈尔右翼前旗", "察哈尔右翼中旗", "察哈尔右翼后旗", "四子王旗", "丰镇市"]
+  }, {
+    "CityID": 356,
+    "name": "通辽市",
+    "ProID": 5,
+    "CitySort": 356,
+    "area": ["科尔沁区", "科尔沁左翼中旗", "科尔沁左翼后旗", "开鲁县", "库伦旗", "奈曼旗", "扎鲁特旗", "霍林郭勒市"]
+  }, {
+    "CityID": 357,
+    "name": "赤峰市",
+    "ProID": 5,
+    "CitySort": 357,
+    "area": ["红山区", "元宝山区", "松山区", "阿鲁科尔沁旗", "巴林左旗", "巴林右旗", "林西县", "克什克腾旗", "翁牛特旗", "喀喇沁旗", "宁城县", "敖汉旗"]
+  }, {
+    "CityID": 358,
+    "name": "鄂尔多斯市",
+    "ProID": 5,
+    "CitySort": 358,
+    "area": ["东胜区", "达拉特旗", "准格尔旗", "鄂托克前旗", "鄂托克旗", "杭锦旗", "乌审旗", "伊金霍洛旗"]
+  }, {
+    "CityID": 359,
+    "name": "巴彦淖尔市",
+    "ProID": 5,
+    "CitySort": 359,
+    "area": ["临河区", "五原县", "磴口县", "乌拉特前旗", "乌拉特中旗", "乌拉特后旗", "杭锦后旗"]
+  }, {
+    "CityID": 360,
+    "name": "锡林郭勒盟",
+    "ProID": 5,
+    "CitySort": 360,
+    "area": ["二连浩特市", "锡林浩特市", "阿巴嘎旗", "苏尼特左旗", "苏尼特右旗", "东乌珠穆沁旗", "西乌珠穆沁旗", "太仆寺旗", "镶黄旗", "正镶白旗", "正蓝旗", "多伦县"]
+  }, {
+    "CityID": 361,
+    "name": "兴安盟",
+    "ProID": 5,
+    "CitySort": 361,
+    "area": ["乌兰浩特市", "阿尔山市", "科尔沁右翼前旗", "科尔沁右翼中旗", "扎赉特旗", "突泉县"]
+  }, {
+    "CityID": 362,
+    "name": "阿拉善盟",
+    "ProID": 5,
+    "CitySort": 362,
+    "area": ["阿拉善左旗", "阿拉善右旗", "额济纳旗"]
+  }]
+}, {
+  "ProID": 6,
+  "name": "辽宁省",
+  "ProSort": 8,
+  "ProRemark": "省份",
+  "city": [{
+    "CityID": 27,
+    "name": "沈阳市",
+    "ProID": 6,
+    "CitySort": 27,
+    "area": ["和平区", "沈河区", "大东区", "皇姑区", "铁西区", "苏家屯区", "东陵区", "沈北新区", "于洪区", "辽中县", "康平县", "法库县", "新民市"]
+  }, {
+    "CityID": 28,
+    "name": "铁岭市",
+    "ProID": 6,
+    "CitySort": 28,
+    "area": ["银州区", "清河区", "铁岭县", "西丰县", "昌图县", "调兵山市", "开原市"]
+  }, {
+    "CityID": 29,
+    "name": "大连市",
+    "ProID": 6,
+    "CitySort": 29,
+    "area": ["长海县", "旅顺口区", "中山区", "西岗区", "沙河口区", "甘井子区", "金州区", "普兰店区", "瓦房店市", "庄河市"]
+  }, {
+    "CityID": 30,
+    "name": "鞍山市",
+    "ProID": 6,
+    "CitySort": 30,
+    "area": ["铁东区", "铁西区", "立山区", "千山区", "台安县", "岫岩满族自治县", "海城市"]
+  }, {
+    "CityID": 31,
+    "name": "抚顺市",
+    "ProID": 6,
+    "CitySort": 31,
+    "area": ["新抚区", "东洲区", "望花区", "顺城区", "抚顺县", "新宾满族自治县", "清原满族自治县"]
+  }, {
+    "CityID": 32,
+    "name": "本溪市",
+    "ProID": 6,
+    "CitySort": 32,
+    "area": ["平山区", "溪湖区", "明山区", "南芬区", "本溪满族自治县", "桓仁满族自治县"]
+  }, {
+    "CityID": 33,
+    "name": "丹东市",
+    "ProID": 6,
+    "CitySort": 33,
+    "area": ["元宝区", "振兴区", "振安区", "宽甸满族自治县", "东港市", "凤城市"]
+  }, {
+    "CityID": 34,
+    "name": "锦州市",
+    "ProID": 6,
+    "CitySort": 34,
+    "area": ["古塔区", "凌河区", "太和区", "黑山县", "义县", "凌海市", "北镇市"]
+  }, {
+    "CityID": 35,
+    "name": "营口市",
+    "ProID": 6,
+    "CitySort": 35,
+    "area": ["站前区", "西市区", "鮁鱼圈区", "老边区", "盖州市", "大石桥市"]
+  }, {
+    "CityID": 36,
+    "name": "阜新市",
+    "ProID": 6,
+    "CitySort": 36,
+    "area": ["海州区", "新邱区", "太平区", "清河门区", "细河区", "阜新蒙古族自治县", "彰武县"]
+  }, {
+    "CityID": 37,
+    "name": "辽阳市",
+    "ProID": 6,
+    "CitySort": 37,
+    "area": ["白塔区", "文圣区", "宏伟区", "弓长岭区", "太子河区", "辽阳县", "灯塔市"]
+  }, {
+    "CityID": 38,
+    "name": "朝阳市",
+    "ProID": 6,
+    "CitySort": 38,
+    "area": ["双塔区", "龙城区", "朝阳县", "建平县", "喀喇沁左翼蒙古族自治县", "北票市", "凌源市"]
+  }, {
+    "CityID": 39,
+    "name": "盘锦市",
+    "ProID": 6,
+    "CitySort": 39,
+    "area": ["双台子区", "兴隆台区", "大洼县", "盘山县"]
+  }, {
+    "CityID": 40,
+    "name": "葫芦岛市",
+    "ProID": 6,
+    "CitySort": 40,
+    "area": ["连山区", "龙港区", "南票区", "绥中县", "建昌县", "兴城市"]
+  }]
+}, {
+  "ProID": 7,
+  "name": "吉林省",
+  "ProSort": 9,
+  "ProRemark": "省份",
+  "city": [{
+    "CityID": 41,
+    "name": "长春市",
+    "ProID": 7,
+    "CitySort": 41,
+    "area": ["南关区", "宽城区", "朝阳区", "二道区", "绿园区", "双阳区", "农安县", "九台市", "榆树市", "德惠市"]
+  }, {
+    "CityID": 42,
+    "name": "吉林市",
+    "ProID": 7,
+    "CitySort": 42,
+    "area": ["昌邑区", "龙潭区", "船营区", "丰满区", "永吉县", "蛟河市", "桦甸市", "舒兰市", "磐石市"]
+  }, {
+    "CityID": 43,
+    "name": "延边朝鲜族自治州",
+    "ProID": 7,
+    "CitySort": 43,
+    "area": ["延吉市", "图们市", "敦化市", "珲春市", "龙井市", "和龙市", "汪清县", "安图县"]
+  }, {
+    "CityID": 44,
+    "name": "四平市",
+    "ProID": 7,
+    "CitySort": 44,
+    "area": ["铁西区", "铁东区", "梨树县", "伊通满族自治县", "公主岭市", "双辽市"]
+  }, {
+    "CityID": 45,
+    "name": "通化市",
+    "ProID": 7,
+    "CitySort": 45,
+    "area": ["东昌区", "二道江区", "通化县", "辉南县", "柳河县", "梅河口市", "集安市"]
+  }, {
+    "CityID": 46,
+    "name": "白城市",
+    "ProID": 7,
+    "CitySort": 46,
+    "area": ["洮北区", "镇赉县", "通榆县", "洮南市", "大安市"]
+  }, {
+    "CityID": 47,
+    "name": "辽源市",
+    "ProID": 7,
+    "CitySort": 47,
+    "area": ["龙山区", "西安区", "东丰县", "东辽县"]
+  }, {
+    "CityID": 48,
+    "name": "松原市",
+    "ProID": 7,
+    "CitySort": 48,
+    "area": ["宁江区", "前郭尔罗斯蒙古族自治县", "长岭县", "乾安县", "扶余县"]
+  }, {
+    "CityID": 49,
+    "name": "白山市",
+    "ProID": 7,
+    "CitySort": 49,
+    "area": ["八道江区", "江源区", "抚松县", "靖宇县", "长白朝鲜族自治县", "临江市"]
+  }]
+}, {
+  "ProID": 8,
+  "name": "黑龙江省",
+  "ProSort": 10,
+  "ProRemark": "省份",
+  "city": [{
+    "CityID": 50,
+    "name": "哈尔滨市",
+    "ProID": 8,
+    "CitySort": 50,
+    "area": ["道里区", "南岗区", "道外区", "平房区", "松北区", "香坊区", "呼兰区", "阿城区", "依兰县", "方正县", "宾县", "巴彦县", "木兰县", "通河县", "延寿县", "双城市", "尚志市", "五常市"]
+  }, {
+    "CityID": 51,
+    "name": "齐齐哈尔市",
+    "ProID": 8,
+    "CitySort": 51,
+    "area": ["龙沙区", "建华区", "铁锋区", "昂昂溪区", "富拉尔基区", "碾子山区", "梅里斯达翰尔族区", "龙江县", "依安县", "泰来县", "甘南县", "富裕县", "克山县", "克东县", "拜泉县", "讷河市"]
+  }, {
+    "CityID": 52,
+    "name": "鸡西市",
+    "ProID": 8,
+    "CitySort": 52,
+    "area": ["鸡冠区", "恒山区", "滴道区", "梨树区", "城子河区", "麻山区", "鸡东县", "虎林市", "密山市"]
+  }, {
+    "CityID": 53,
+    "name": "牡丹江市",
+    "ProID": 8,
+    "CitySort": 53,
+    "area": ["东安区", "阳明区", "爱民区", "西安区", "东宁县", "林口县", "绥芬河市", "海林市", "宁安市", "穆棱市"]
+  }, {
+    "CityID": 54,
+    "name": "七台河市",
+    "ProID": 8,
+    "CitySort": 54,
+    "area": ["新兴区", "桃山区", "茄子河区", "勃利县"]
+  }, {
+    "CityID": 55,
+    "name": "佳木斯市",
+    "ProID": 8,
+    "CitySort": 55,
+    "area": ["向阳区", "前进区", "东风区", "桦南县", "桦川县", "汤原县", "抚远县", "同江市", "富锦市"]
+  }, {
+    "CityID": 56,
+    "name": "鹤岗市",
+    "ProID": 8,
+    "CitySort": 56,
+    "area": ["向阳区", "工农区", "南山区", "兴安区", "东山区", "兴山区", "萝北县", "绥滨县"]
+  }, {
+    "CityID": 57,
+    "name": "双鸭山市",
+    "ProID": 8,
+    "CitySort": 57,
+    "area": ["尖山区", "岭东区", "四方台区", "宝山区", "集贤县", "友谊县", "宝清县", "饶河县"]
+  }, {
+    "CityID": 58,
+    "name": "绥化市",
+    "ProID": 8,
+    "CitySort": 58,
+    "area": ["北林区", "望奎县", "兰西县", "青冈县", "庆安县", "明水县", "绥棱县", "安达市", "肇东市", "海伦市"]
+  }, {
+    "CityID": 59,
+    "name": "黑河市",
+    "ProID": 8,
+    "CitySort": 59,
+    "area": ["爱辉区", "嫩江县", "逊克县", "孙吴县", "北安市", "五大连池市"]
+  }, {
+    "CityID": 60,
+    "name": "大兴安岭地区",
+    "ProID": 8,
+    "CitySort": 60,
+    "area": ["呼玛县", "塔河县", "漠河县"]
+  }, {
+    "CityID": 61,
+    "name": "伊春市",
+    "ProID": 8,
+    "CitySort": 61,
+    "area": ["伊春区", "南岔区", "友好区", "西林区", "翠峦区", "新青区", "美溪区", "金山屯区", "五营区", "乌马河区", "汤旺河区", "带岭区", "乌伊岭区", "红星区", "上甘岭区", "嘉荫县", "铁力市"]
+  }, {
+    "CityID": 62,
+    "name": "大庆市",
+    "ProID": 8,
+    "CitySort": 62,
+    "area": ["萨尔图区", "龙凤区", "让胡路区", "红岗区", "大同区", "肇州县", "肇源县", "林甸县", "杜尔伯特蒙古族自治县"]
+  }]
+}, {
+  "ProID": 9,
+  "name": "上海市",
+  "ProSort": 3,
+  "ProRemark": "直辖市",
+  "city": [{
+    "CityID": 3,
+    "name": "上海市",
+    "ProID": 9,
+    "CitySort": 3,
+    "area": ["黄浦区", "卢湾区", "徐汇区", "长宁区", "静安区", "普陀区", "闸北区", "虹口区", "杨浦区", "闵行区", "宝山区", "嘉定区", "浦东新区", "金山区", "松江区", "青浦区", "南汇区", "奉贤区", "崇明县"]
+  }]
+}, {
+  "ProID": 10,
+  "name": "江苏省",
+  "ProSort": 11,
+  "ProRemark": "省份",
+  "city": [{
+    "CityID": 63,
+    "name": "南京市",
+    "ProID": 10,
+    "CitySort": 63,
+    "area": ["江宁区", "浦口区", "玄武区", "白下区", "秦淮区", "建邺区", "鼓楼区", "下关区", "栖霞区", "雨花台区", "六合区", "溧水县", "高淳县"]
+  }, {
+    "CityID": 64,
+    "name": "无锡市",
+    "ProID": 10,
+    "CitySort": 64,
+    "area": ["崇安区", "南长区", "北塘区", "锡山区", "惠山区", "滨湖区", "江阴市", "宜兴市"]
+  }, {
+    "CityID": 65,
+    "name": "镇江市",
+    "ProID": 10,
+    "CitySort": 65,
+    "area": ["京口区", "润州区", "丹徒区", "丹阳市", "扬中市", "句容市"]
+  }, {
+    "CityID": 66,
+    "name": "苏州市",
+    "ProID": 10,
+    "CitySort": 66,
+    "area": ["沧浪区", "常熟市", "平江区", "金阊区", "虎丘区", "昆山市", "太仓市", "吴江市", "吴中区", "相城区", "张家港市"]
+  }, {
+    "CityID": 67,
+    "name": "南通市",
+    "ProID": 10,
+    "CitySort": 67,
+    "area": ["崇川区", "港闸区", "海安县", "如东县", "启东市", "如皋市", "通州市", "海门市"]
+  }, {
+    "CityID": 68,
+    "name": "扬州市",
+    "ProID": 10,
+    "CitySort": 68,
+    "area": ["高邮市", "广陵区", "邗江区", "维扬区", "宝应县", "江都市", "仪征市"]
+  }, {
+    "CityID": 69,
+    "name": "盐城市",
+    "ProID": 10,
+    "CitySort": 69,
+    "area": ["亭湖区", "盐都区", "响水县", "滨海县", "阜宁县", "射阳县", "建湖县", "东台市", "大丰市"]
+  }, {
+    "CityID": 70,
+    "name": "徐州市",
+    "ProID": 10,
+    "CitySort": 70,
+    "area": ["鼓楼区", "云龙区", "九里区", "贾汪区", "泉山区", "丰县", "沛县", "铜山县", "睢宁县", "新沂市", "邳州市"]
+  }, {
+    "CityID": 71,
+    "name": "淮安市",
+    "ProID": 10,
+    "CitySort": 71,
+    "area": ["清河区", "楚州区", "淮阴区", "清浦区", "涟水县", "洪泽县", "盱眙县", "金湖县"]
+  }, {
+    "CityID": 72,
+    "name": "连云港市",
+    "ProID": 10,
+    "CitySort": 72,
+    "area": ["连云区", "新浦区", "海州区", "赣榆县", "东海县", "灌云县", "灌南县"]
+  }, {
+    "CityID": 73,
+    "name": "常州市",
+    "ProID": 10,
+    "CitySort": 73,
+    "area": ["天宁区", "钟楼区", "戚墅堰区", "新北区", "武进区", "溧阳市", "金坛市"]
+  }, {
+    "CityID": 74,
+    "name": "泰州市",
+    "ProID": 10,
+    "CitySort": 74,
+    "area": ["海陵区", "高港区", "兴化市", "靖江市", "泰兴市", "姜堰市"]
+  }, {
+    "CityID": 75,
+    "name": "宿迁市",
+    "ProID": 10,
+    "CitySort": 75,
+    "area": ["宿城区", "宿豫区", "沭阳县", "泗阳县", "泗洪县"]
+  }]
+}, {
+  "ProID": 11,
+  "name": "浙江省",
+  "ProSort": 12,
+  "ProRemark": "省份",
+  "city": [{
+    "CityID": 76,
+    "name": "舟山市",
+    "ProID": 11,
+    "CitySort": 76,
+    "area": ["定海区", "普陀区", "岱山县", "嵊泗县"]
+  }, {
+    "CityID": 77,
+    "name": "衢州市",
+    "ProID": 11,
+    "CitySort": 77,
+    "area": ["柯城区", "衢江区", "常山县", "开化县", "龙游县", "江山市"]
+  }, {
+    "CityID": 78,
+    "name": "杭州市",
+    "ProID": 11,
+    "CitySort": 78,
+    "area": ["上城区", "下城区", "江干区", "拱墅区", "西湖区", "滨江区", "余杭区", "桐庐县", "淳安县", "建德市", "富阳市", "临安市", "萧山区"]
+  }, {
+    "CityID": 79,
+    "name": "湖州市",
+    "ProID": 11,
+    "CitySort": 79,
+    "area": ["吴兴区", "南浔区", "德清县", "长兴县", "安吉县"]
+  }, {
+    "CityID": 80,
+    "name": "嘉兴市",
+    "ProID": 11,
+    "CitySort": 80,
+    "area": [" 南湖区", " 秀洲区", " 嘉善县", " 海盐县", " 海宁市", " 平湖市", " 桐乡市 "]
+  }, {
+    "CityID": 81,
+    "name": "宁波市",
+    "ProID": 11,
+    "CitySort": 81,
+    "area": ["海曙区", "江东区", "江北区", "北仑区", "镇海区", "鄞州区", "象山县", "宁海县", "余姚市", "慈溪市", "奉化市"]
+  }, {
+    "CityID": 82,
+    "name": "绍兴市",
+    "ProID": 11,
+    "CitySort": 82,
+    "area": ["越城区", "绍兴县", "新昌县", "诸暨市", "上虞市", "嵊州市"]
+  }, {
+    "CityID": 83,
+    "name": "温州市",
+    "ProID": 11,
+    "CitySort": 83,
+    "area": ["鹿城区", "龙湾区", "瓯海区", "洞头县", "永嘉县", "平阳县", "苍南县", "文成县", "泰顺县", "瑞安市", "乐清市"]
+  }, {
+    "CityID": 84,
+    "name": "丽水市",
+    "ProID": 11,
+    "CitySort": 84,
+    "area": ["莲都区", "青田县", "缙云县", "遂昌县", "松阳县", "云和县", "庆元县", "景宁畲族自治县", "龙泉市"]
+  }, {
+    "CityID": 85,
+    "name": "金华市",
+    "ProID": 11,
+    "CitySort": 85,
+    "area": ["婺城区", "金东区", "武义县", "浦江县", "磐安县", "兰溪市", "义乌市", "东阳市", "永康市"]
+  }, {
+    "CityID": 86,
+    "name": "台州市",
+    "ProID": 11,
+    "CitySort": 86,
+    "area": ["椒江区", "黄岩区", "路桥区", "玉环县", "三门县", "天台县", "仙居县", "温岭市", "临海市"]
+  }]
+}, {
+  "ProID": 12,
+  "name": "安徽省",
+  "ProSort": 13,
+  "ProRemark": "省份",
+  "city": [{
+    "CityID": 87,
+    "name": "合肥市",
+    "ProID": 12,
+    "CitySort": 87,
+    "area": ["瑶海区", "庐阳区", "蜀山区", "包河区", "长丰县", "肥东县", "肥西县", "巢湖市"]
+  }, {
+    "CityID": 88,
+    "name": "芜湖市",
+    "ProID": 12,
+    "CitySort": 88,
+    "area": ["镜湖区", "弋江区", "鸠江区", "三山区", "芜湖县", "繁昌县", "南陵县"]
+  }, {
+    "CityID": 89,
+    "name": "蚌埠市",
+    "ProID": 12,
+    "CitySort": 89,
+    "area": ["龙子湖区", "蚌山区", "禹会区", "淮上区", "怀远县", "五河县", "固镇县"]
+  }, {
+    "CityID": 90,
+    "name": "淮南市",
+    "ProID": 12,
+    "CitySort": 90,
+    "area": ["大通区", "田家庵区", "谢家集区", "八公山区", "潘集区", "凤台县"]
+  }, {
+    "CityID": 91,
+    "name": "马鞍山市",
+    "ProID": 12,
+    "CitySort": 91,
+    "area": ["金家庄区", "花山区", "雨山区", "当涂县"]
+  }, {
+    "CityID": 92,
+    "name": "淮北市",
+    "ProID": 12,
+    "CitySort": 92,
+    "area": ["杜集区", "相山区", "烈山区", "濉溪县 "]
+  }, {
+    "CityID": 93,
+    "name": "铜陵市",
+    "ProID": 12,
+    "CitySort": 93,
+    "area": ["铜官山区", "狮子山区", "铜陵县"]
+  }, {
+    "CityID": 94,
+    "name": "安庆市",
+    "ProID": 12,
+    "CitySort": 94,
+    "area": ["迎江区", "大观区", "宜秀区", "怀宁县", "枞阳县", "潜山县", "太湖县", "宿松县", "望江县", "岳西县", "桐城市"]
+  }, {
+    "CityID": 95,
+    "name": "黄山市",
+    "ProID": 12,
+    "CitySort": 95,
+    "area": ["屯溪区", "黄山区", "徽州区", "歙县", "休宁县", "黟县", "祁门县"]
+  }, {
+    "CityID": 96,
+    "name": "滁州市",
+    "ProID": 12,
+    "CitySort": 96,
+    "area": ["琅琊区", "南谯区", "来安县", "全椒县", "定远县", "凤阳县", "天长市", "明光市"]
+  }, {
+    "CityID": 97,
+    "name": "阜阳市",
+    "ProID": 12,
+    "CitySort": 97,
+    "area": ["颍州区", "颍东区", "颍泉区", "临泉县", "太和县", "阜南县", "颍上县", "界首市"]
+  }, {
+    "CityID": 98,
+    "name": "宿州市",
+    "ProID": 12,
+    "CitySort": 98,
+    "area": ["埇桥区", "砀山县", "萧县", "灵璧县", "泗县 "]
+  }, {
+    "CityID": 100,
+    "name": "六安市",
+    "ProID": 12,
+    "CitySort": 100,
+    "area": ["金安区", "裕安区", "寿县", "霍邱县", "舒城县", "金寨县", "霍山县"]
+  }, {
+    "CityID": 101,
+    "name": "亳州市",
+    "ProID": 12,
+    "CitySort": 101,
+    "area": ["谯城区", "涡阳县", "蒙城县", "利辛县"]
+  }, {
+    "CityID": 102,
+    "name": "池州市",
+    "ProID": 12,
+    "CitySort": 102,
+    "area": ["贵池区", "东至县", "石台县", "青阳县"]
+  }, {
+    "CityID": 103,
+    "name": "宣城市",
+    "ProID": 12,
+    "CitySort": 103,
+    "area": ["宣州区", "郎溪县", "广德县", "泾县", "绩溪县", "旌德县", "宁国市"]
+  }]
+}, {
+  "ProID": 13,
+  "name": "福建省",
+  "ProSort": 14,
+  "ProRemark": "省份",
+  "city": [{
+    "CityID": 104,
+    "name": "福州市",
+    "ProID": 13,
+    "CitySort": 104,
+    "area": ["鼓楼区", "台江区", "仓山区", "马尾区", "晋安区", "闽侯县", "连江县", "罗源县", "闽清县", "永泰县", "平潭县", "福清市", "长乐市"]
+  }, {
+    "CityID": 105,
+    "name": "厦门市",
+    "ProID": 13,
+    "CitySort": 105,
+    "area": ["思明区", "海沧区", "湖里区", "集美区", "同安区", "翔安区"]
+  }, {
+    "CityID": 106,
+    "name": "宁德市",
+    "ProID": 13,
+    "CitySort": 106,
+    "area": ["蕉城区", "霞浦县", "古田县", "屏南县", "寿宁县", "周宁县", "柘荣县", "福安市", "福鼎市"]
+  }, {
+    "CityID": 107,
+    "name": "莆田市",
+    "ProID": 13,
+    "CitySort": 107,
+    "area": ["城厢区", "涵江区", "荔城区", "秀屿区", "仙游县"]
+  }, {
+    "CityID": 108,
+    "name": "泉州市",
+    "ProID": 13,
+    "CitySort": 108,
+    "area": ["鲤城区", "丰泽区", "洛江区", "泉港区", "惠安县", "安溪县", "永春县", "德化县", "石狮市", "晋江市", "南安市"]
+  }, {
+    "CityID": 109,
+    "name": "漳州市",
+    "ProID": 13,
+    "CitySort": 109,
+    "area": ["芗城区", "龙文区", "云霄县", "漳浦县", "诏安县", "长泰县", "东山县", "南靖县", "平和县", "华安县", "龙海市"]
+  }, {
+    "CityID": 110,
+    "name": "龙岩市",
+    "ProID": 13,
+    "CitySort": 110,
+    "area": ["新罗区", "长汀县", "永定县", "上杭县", "武平县", "连城县", "漳平市"]
+  }, {
+    "CityID": 111,
+    "name": "三明市",
+    "ProID": 13,
+    "CitySort": 111,
+    "area": ["梅列区", "三元区", "明溪县", "清流县", "宁化县", "大田县", "尤溪县", "沙县", "将乐县", "泰宁县", "建宁县", "永安市"]
+  }, {
+    "CityID": 112,
+    "name": "南平市",
+    "ProID": 13,
+    "CitySort": 112,
+    "area": ["延平区", "顺昌县", "浦城县", "光泽县", "松溪县", "政和县", "邵武市", "武夷山市", "建瓯市", "建阳市"]
+  }]
+}, {
+  "ProID": 14,
+  "name": "江西省",
+  "ProSort": 15,
+  "ProRemark": "省份",
+  "city": [{
+    "CityID": 113,
+    "name": "鹰潭市",
+    "ProID": 14,
+    "CitySort": 113,
+    "area": ["月湖区", "余江县", "贵溪市"]
+  }, {
+    "CityID": 114,
+    "name": "新余市",
+    "ProID": 14,
+    "CitySort": 114,
+    "area": ["渝水区", "分宜县"]
+  }, {
+    "CityID": 115,
+    "name": "南昌市",
+    "ProID": 14,
+    "CitySort": 115,
+    "area": ["东湖区", "西湖区", "青云谱区", "湾里区", "青山湖区", "南昌县", "新建县", "安义县", "进贤县"]
+  }, {
+    "CityID": 116,
+    "name": "九江市",
+    "ProID": 14,
+    "CitySort": 116,
+    "area": ["庐山区", "浔阳区", "九江县", "武宁县", "修水县", "永修县", "德安县", "星子县", "都昌县", "湖口县", "彭泽县", "瑞昌市"]
+  }, {
+    "CityID": 117,
+    "name": "上饶市",
+    "ProID": 14,
+    "CitySort": 117,
+    "area": ["信州区", "上饶县", "广丰县", "玉山县", "铅山县", "横峰县", "弋阳县", "余干县", "鄱阳县", "万年县", "婺源县", "德兴市"]
+  }, {
+    "CityID": 118,
+    "name": "抚州市",
+    "ProID": 14,
+    "CitySort": 118,
+    "area": ["临川区", "南城县", "黎川县", "南丰县", "崇仁县", "乐安县", "宜黄县", "金溪县", "资溪县", "东乡县", "广昌县"]
+  }, {
+    "CityID": 119,
+    "name": "宜春市",
+    "ProID": 14,
+    "CitySort": 119,
+    "area": ["袁州区", "奉新县", "万载县", "上高县", "宜丰县", "靖安县", "铜鼓县", "丰城市", "樟树市", "高安市"]
+  }, {
+    "CityID": 120,
+    "name": "吉安市",
+    "ProID": 14,
+    "CitySort": 120,
+    "area": ["吉州区", "青原区", "吉安县", "吉水县", "峡江县", "新干县", "永丰县", "泰和县", "遂川县", "万安县", "安福县", "永新县", "井冈山市"]
+  }, {
+    "CityID": 121,
+    "name": "赣州市",
+    "ProID": 14,
+    "CitySort": 121,
+    "area": ["章贡区", "赣县", "信丰县", "大余县", "上犹县", "崇义县", "安远县", "龙南县", "定南县", "全南县", "宁都县", "于都县", "兴国县", "会昌县", "寻乌县", "石城县", "瑞金市", "南康市"]
+  }, {
+    "CityID": 122,
+    "name": "景德镇市",
+    "ProID": 14,
+    "CitySort": 122,
+    "area": ["昌江区", "珠山区", "浮梁县", "乐平市"]
+  }, {
+    "CityID": 123,
+    "name": "萍乡市",
+    "ProID": 14,
+    "CitySort": 123,
+    "area": ["安源区", "湘东区", "莲花县", "上栗县", "芦溪县"]
+  }]
+}, {
+  "ProID": 15,
+  "name": "山东省",
+  "ProSort": 16,
+  "ProRemark": "省份",
+  "city": [{
+    "CityID": 124,
+    "name": "菏泽市",
+    "ProID": 15,
+    "CitySort": 124,
+    "area": ["牡丹区", "曹县", "单县", "成武县", "巨野县", "郓城县", "鄄城县", "定陶县", "东明县"]
+  }, {
+    "CityID": 125,
+    "name": "济南市",
+    "ProID": 15,
+    "CitySort": 125,
+    "area": ["历下区", "市中区", "槐荫区", "天桥区", "历城区", "长清区", "平阴县", "济阳县", "商河县", "章丘市", "莱芜区"]
+  }, {
+    "CityID": 126,
+    "name": "青岛市",
+    "ProID": 15,
+    "CitySort": 126,
+    "area": ["市南区", "市北区", "四方区", "黄岛区", "崂山区", "李沧区", "城阳区", "胶州市", "即墨市", "平度市", "胶南市", "莱西市"]
+  }, {
+    "CityID": 127,
+    "name": "淄博市",
+    "ProID": 15,
+    "CitySort": 127,
+    "area": ["淄川区", "张店区", "博山区", "临淄区", "周村区", "桓台县", "高青县", "沂源县"]
+  }, {
+    "CityID": 128,
+    "name": "德州市",
+    "ProID": 15,
+    "CitySort": 128,
+    "area": ["德城区", "陵县", "宁津县", "庆云县", "临邑县", "齐河县", "平原县", "夏津县", "武城县", "乐陵市", "禹城市"]
+  }, {
+    "CityID": 129,
+    "name": "烟台市",
+    "ProID": 15,
+    "CitySort": 129,
+    "area": ["芝罘区", "福山区", "牟平区", "莱山区", "长岛县", "龙口市", "莱阳市", "莱州市", "蓬莱市", "招远市", "栖霞市", "海阳市"]
+  }, {
+    "CityID": 130,
+    "name": "潍坊市",
+    "ProID": 15,
+    "CitySort": 130,
+    "area": ["潍城区", "寒亭区", "坊子区", "奎文区", "临朐县", "昌乐县", "青州市", "诸城市", "寿光市", "安丘市", "高密市", "昌邑市"]
+  }, {
+    "CityID": 131,
+    "name": "济宁市",
+    "ProID": 15,
+    "CitySort": 131,
+    "area": ["市中区", "任城区", "微山县", "鱼台县", "金乡县", "嘉祥县", "汶上县", "泗水县", "梁山县", "曲阜市", "兖州市", "邹城市"]
+  }, {
+    "CityID": 132,
+    "name": "泰安市",
+    "ProID": 15,
+    "CitySort": 132,
+    "area": ["泰山区", "岱岳区", "宁阳县", "东平县", "新泰市", "肥城市"]
+  }, {
+    "CityID": 133,
+    "name": "临沂市",
+    "ProID": 15,
+    "CitySort": 133,
+    "area": ["兰山区", "罗庄区", "河东区", "沂南县", "郯城县", "沂水县", "苍山县", "费县", "平邑县", "莒南县", "蒙阴县", "临沭县"]
+  }, {
+    "CityID": 134,
+    "name": "滨州市",
+    "ProID": 15,
+    "CitySort": 134,
+    "area": ["滨城区", "惠民县", "阳信县", "无棣县", "沾化县", "博兴县", "邹平县"]
+  }, {
+    "CityID": 135,
+    "name": "东营市",
+    "ProID": 15,
+    "CitySort": 135,
+    "area": ["东营区", "河口区", "垦利县", "利津县", "广饶县"]
+  }, {
+    "CityID": 136,
+    "name": "威海市",
+    "ProID": 15,
+    "CitySort": 136,
+    "area": ["环翠区", "文登市", "荣成市", "乳山市"]
+  }, {
+    "CityID": 137,
+    "name": "枣庄市",
+    "ProID": 15,
+    "CitySort": 137,
+    "area": ["市中区", "薛城区", "峄城区", "台儿庄区", "山亭区", "滕州市"]
+  }, {
+    "CityID": 138,
+    "name": "日照市",
+    "ProID": 15,
+    "CitySort": 138,
+    "area": ["东港区", "岚山区", "五莲县", "莒县"]
+  }, {
+    "CityID": 140,
+    "name": "聊城市",
+    "ProID": 15,
+    "CitySort": 140,
+    "area": ["东昌府区", "阳谷县", "莘县", "茌平县", "东阿县", "冠县", "高唐县", "临清市"]
+  }]
+}, {
+  "ProID": 16,
+  "name": "河南省",
+  "ProSort": 17,
+  "ProRemark": "省份",
+  "city": [{
+    "CityID": 141,
+    "name": "商丘市",
+    "ProID": 16,
+    "CitySort": 141,
+    "area": ["梁园区", "睢阳区", "民权县", "睢县", "宁陵县", "柘城县", "虞城县", "夏邑县", "永城市"]
+  }, {
+    "CityID": 142,
+    "name": "郑州市",
+    "ProID": 16,
+    "CitySort": 142,
+    "area": ["中原区", "二七区", "管城回族区", "金水区", "上街区", "惠济区", "中牟县", "巩义市", "荥阳市", "新密市", "新郑市", "登封市"]
+  }, {
+    "CityID": 143,
+    "name": "安阳市",
+    "ProID": 16,
+    "CitySort": 143,
+    "area": ["文峰区", "北关区", "殷都区", "龙安区", "安阳县", "汤阴县", "滑县", "内黄县", "林州市"]
+  }, {
+    "CityID": 144,
+    "name": "新乡市",
+    "ProID": 16,
+    "CitySort": 144,
+    "area": ["红旗区", "卫滨区", "凤泉区", "牧野区", "新乡县", "获嘉县", "原阳县", "延津县", "封丘县", "长垣县", "卫辉市", "辉县市"]
+  }, {
+    "CityID": 145,
+    "name": "许昌市",
+    "ProID": 16,
+    "CitySort": 145,
+    "area": ["魏都区", "许昌县", "鄢陵县", "襄城县", "禹州市", "长葛市"]
+  }, {
+    "CityID": 146,
+    "name": "平顶山市",
+    "ProID": 16,
+    "CitySort": 146,
+    "area": ["新华区", "卫东区", "石龙区", "湛河区", "宝丰县", "叶县", "鲁山县", "郏县", "舞钢市", "汝州市"]
+  }, {
+    "CityID": 147,
+    "name": "信阳市",
+    "ProID": 16,
+    "CitySort": 147,
+    "area": ["浉河区", "平桥区", "罗山县", "光山县", "新县", "商城县", "固始县", "潢川县", "淮滨县", "息县"]
+  }, {
+    "CityID": 148,
+    "name": "南阳市",
+    "ProID": 16,
+    "CitySort": 148,
+    "area": ["宛城区", "卧龙区", "南召县", "方城县", "西峡县", "镇平县", "内乡县", "淅川县", "社旗县", "唐河县", "新野县", "桐柏县", "邓州市"]
+  }, {
+    "CityID": 149,
+    "name": "开封市",
+    "ProID": 16,
+    "CitySort": 149,
+    "area": ["龙亭区", "顺河回族区", "鼓楼区", "禹王台区", "金明区", "杞县", "通许县", "尉氏县", "开封县", "兰考县"]
+  }, {
+    "CityID": 150,
+    "name": "洛阳市",
+    "ProID": 16,
+    "CitySort": 150,
+    "area": ["老城区", "西工区", "瀍河回族区", "涧西区", "吉利区", "洛龙区", "孟津县", "新安县", "栾川县", "嵩县", "汝阳县", "宜阳县", "洛宁县", "伊川县", "偃师市"]
+  }, {
+    "CityID": 151,
+    "name": "济源市",
+    "ProID": 16,
+    "CitySort": 151,
+    "area": ['其他']
+  }, {
+    "CityID": 152,
+    "name": "焦作市",
+    "ProID": 16,
+    "CitySort": 152,
+    "area": ["解放区", "中站区", "马村区", "山阳区", "修武县", "博爱县", "武陟县", "温县", "沁阳市", "孟州市"]
+  }, {
+    "CityID": 153,
+    "name": "鹤壁市",
+    "ProID": 16,
+    "CitySort": 153,
+    "area": ["鹤山区", "山城区", "淇滨区", "浚县", "淇县"]
+  }, {
+    "CityID": 154,
+    "name": "濮阳市",
+    "ProID": 16,
+    "CitySort": 154,
+    "area": ["华龙区", "清丰县", "南乐县", "范县", "台前县", "濮阳县"]
+  }, {
+    "CityID": 155,
+    "name": "周口市",
+    "ProID": 16,
+    "CitySort": 155,
+    "area": ["川汇区", "扶沟县", "西华县", "商水县", "沈丘县", "郸城县", "淮阳县", "太康县", "鹿邑县", "项城市"]
+  }, {
+    "CityID": 156,
+    "name": "漯河市",
+    "ProID": 16,
+    "CitySort": 156,
+    "area": ["源汇区", "郾城区", "召陵区", "舞阳县", "临颍县"]
+  }, {
+    "CityID": 157,
+    "name": "驻马店市",
+    "ProID": 16,
+    "CitySort": 157,
+    "area": ["驿城区", "西平县", "上蔡县", "平舆县", "正阳县", "确山县", "泌阳县", "汝南县", "遂平县", "新蔡县"]
+  }, {
+    "CityID": 158,
+    "name": "三门峡市",
+    "ProID": 16,
+    "CitySort": 158,
+    "area": ["湖滨区", "渑池县", "陕县", "卢氏县", "义马市", "灵宝市"]
+  }]
+}, {
+  "ProID": 17,
+  "name": "湖北省",
+  "ProSort": 18,
+  "ProRemark": "省份",
+  "city": [{
+    "CityID": 159,
+    "name": "武汉市",
+    "ProID": 17,
+    "CitySort": 159,
+    "area": ["江岸区", "江汉区", "硚口区", "汉阳区", "武昌区", "青山区", "洪山区", "东西湖区", "汉南区", "蔡甸区", "江夏区", "黄陂区", "新洲区"]
+  }, {
+    "CityID": 160,
+    "name": "襄阳市",
+    "ProID": 17,
+    "CitySort": 160,
+    "area": ["襄城区", "樊城区", "襄阳区", "南漳县", "谷城县", "保康县", "老河口市", "枣阳市", "宜城市"]
+  }, {
+    "CityID": 161,
+    "name": "鄂州市",
+    "ProID": 17,
+    "CitySort": 161,
+    "area": ["梁子湖区", "华容区", "鄂城区"]
+  }, {
+    "CityID": 162,
+    "name": "孝感市",
+    "ProID": 17,
+    "CitySort": 162,
+    "area": ["孝南区", "孝昌县", "大悟县", "云梦县", "应城市", "安陆市", "汉川市"]
+  }, {
+    "CityID": 163,
+    "name": "黄冈市",
+    "ProID": 17,
+    "CitySort": 163,
+    "area": ["黄州区", "团风县", "红安县", "罗田县", "英山县", "浠水县", "蕲春县", "黄梅县", "麻城市", "武穴市"]
+  }, {
+    "CityID": 164,
+    "name": "黄石市",
+    "ProID": 17,
+    "CitySort": 164,
+    "area": ["黄石港区", "西塞山区", "下陆区", "铁山区", "阳新县", "大冶市"]
+  }, {
+    "CityID": 165,
+    "name": "咸宁市",
+    "ProID": 17,
+    "CitySort": 165,
+    "area": ["咸安区", "嘉鱼县", "通城县", "崇阳县", "通山县", "赤壁市"]
+  }, {
+    "CityID": 166,
+    "name": "荆州市",
+    "ProID": 17,
+    "CitySort": 166,
+    "area": ["沙市区", "荆州区", "公安县", "监利县", "江陵县", "石首市", "洪湖市", "松滋市"]
+  }, {
+    "CityID": 167,
+    "name": "宜昌市",
+    "ProID": 17,
+    "CitySort": 167,
+    "area": ["西陵区", "伍家岗区", "点军区", "猇亭区", "夷陵区", "远安县", "兴山县", "秭归县", "长阳土家族自治县", "五峰土家族自治县", "宜都市", "当阳市", "枝江市"]
+  }, {
+    "CityID": 168,
+    "name": "恩施土家族苗族自治州",
+    "ProID": 17,
+    "CitySort": 168,
+    "area": ["恩施市", "利川市", "建始县", "巴东县", "宣恩县", "咸丰县", "来凤县", "鹤峰县"]
+  }, {
+    "CityID": 169,
+    "name": "神农架林区",
+    "ProID": 17,
+    "CitySort": 169,
+    "area": ['其他']
+  }, {
+    "CityID": 170,
+    "name": "十堰市",
+    "ProID": 17,
+    "CitySort": 170,
+    "area": ["茅箭区", "张湾区", "郧县", "郧西县", "竹山县", "竹溪县", "房县", "丹江口市"]
+  }, {
+    "CityID": 171,
+    "name": "随州市",
+    "ProID": 17,
+    "CitySort": 171,
+    "area": ["曾都区", "广水市"]
+  }, {
+    "CityID": 172,
+    "name": "荆门市",
+    "ProID": 17,
+    "CitySort": 172,
+    "area": ["东宝区", "掇刀区", "京山县", "沙洋县", "钟祥市"]
+  }, {
+    "CityID": 173,
+    "name": "仙桃市",
+    "ProID": 17,
+    "CitySort": 173,
+    "area": ['其他']
+  }, {
+    "CityID": 174,
+    "name": "天门市",
+    "ProID": 17,
+    "CitySort": 174,
+    "area": ['其他']
+  }, {
+    "CityID": 175,
+    "name": "潜江市",
+    "ProID": 17,
+    "CitySort": 175,
+    "area": ['其他']
+  }]
+}, {
+  "ProID": 18,
+  "name": "湖南省",
+  "ProSort": 19,
+  "ProRemark": "省份",
+  "city": [{
+    "CityID": 176,
+    "name": "岳阳市",
+    "ProID": 18,
+    "CitySort": 176,
+    "area": ["岳阳楼区", "云溪区", "君山区", "岳阳县", "华容县", "湘阴县", "平江县", "汨罗市", "临湘市"]
+  }, {
+    "CityID": 177,
+    "name": "长沙市",
+    "ProID": 18,
+    "CitySort": 177,
+    "area": ["芙蓉区", "天心区", "岳麓区", "开福区", "雨花区", "长沙县", "望城县", "宁乡县", "浏阳市"]
+  }, {
+    "CityID": 178,
+    "name": "湘潭市",
+    "ProID": 18,
+    "CitySort": 178,
+    "area": ["雨湖区", "岳塘区", "湘潭县", "湘乡市", "韶山市"]
+  }, {
+    "CityID": 179,
+    "name": "株洲市",
+    "ProID": 18,
+    "CitySort": 179,
+    "area": ["荷塘区", "芦淞区", "石峰区", "天元区", "株洲县", "攸县", "茶陵县", "炎陵县", "醴陵市"]
+  }, {
+    "CityID": 180,
+    "name": "衡阳市",
+    "ProID": 18,
+    "CitySort": 180,
+    "area": ["珠晖区", "雁峰区", "石鼓区", "蒸湘区", "南岳区", "衡阳县", "衡南县", "衡山县", "衡东县", "祁东县", "耒阳市", "常宁市"]
+  }, {
+    "CityID": 181,
+    "name": "郴州市",
+    "ProID": 18,
+    "CitySort": 181,
+    "area": ["北湖区", "苏仙区", "桂阳县", "宜章县", "永兴县", "嘉禾县", "临武县", "汝城县", "桂东县", "安仁县", "资兴市"]
+  }, {
+    "CityID": 182,
+    "name": "常德市",
+    "ProID": 18,
+    "CitySort": 182,
+    "area": ["武陵区", "鼎城区", "安乡县", "汉寿县", "澧县", "临澧县", "桃源县", "石门县", "津市市"]
+  }, {
+    "CityID": 183,
+    "name": "益阳市",
+    "ProID": 18,
+    "CitySort": 183,
+    "area": ["资阳区", "赫山区", "南县", "桃江县", "安化县", "沅江市"]
+  }, {
+    "CityID": 184,
+    "name": "娄底市",
+    "ProID": 18,
+    "CitySort": 184,
+    "area": ["娄星区", "双峰县", "新化县", "冷水江市", "涟源市"]
+  }, {
+    "CityID": 185,
+    "name": "邵阳市",
+    "ProID": 18,
+    "CitySort": 185,
+    "area": ["双清区", "大祥区", "北塔区", "邵东县", "新邵县", "邵阳县", "隆回县", "洞口县", "绥宁县", "新宁县", "城步苗族自治县", "武冈市"]
+  }, {
+    "CityID": 186,
+    "name": "湘西土家族苗族自治州",
+    "ProID": 18,
+    "CitySort": 186,
+    "area": ["吉首市", "泸溪县", "凤凰县", "花垣县", "保靖县", "古丈县", "永顺县", "龙山县"]
+  }, {
+    "CityID": 187,
+    "name": "张家界市",
+    "ProID": 18,
+    "CitySort": 187,
+    "area": ["永定区", "武陵源区", "慈利县", "桑植县"]
+  }, {
+    "CityID": 188,
+    "name": "怀化市",
+    "ProID": 18,
+    "CitySort": 188,
+    "area": ["鹤城区", "中方县", "沅陵县", "辰溪县", "溆浦县", "会同县", "麻阳苗族自治县", "新晃侗族自治县", "芷江侗族自治县", "靖州苗族侗族自治县", "通道侗族自治县", "洪江市"]
+  }, {
+    "CityID": 189,
+    "name": "永州市",
+    "ProID": 18,
+    "CitySort": 189,
+    "area": ["零陵区", "冷水滩区", "祁阳县", "东安县", "双牌县", "道县", "江永县", "宁远县", "蓝山县", "新田县", "江华瑶族自治县"]
+  }]
+}, {
+  "ProID": 19,
+  "name": "广东省",
+  "ProSort": 20,
+  "ProRemark": "省份",
+  "city": [{
+    "CityID": 190,
+    "name": "广州市",
+    "ProID": 19,
+    "CitySort": 190,
+    "area": ["从化市", "荔湾区", "越秀区", "海珠区", "天河区", "白云区", "花都区", "黄埔区", "萝岗区", "南沙区", "番禺区", "增城市"]
+  }, {
+    "CityID": 191,
+    "name": "汕尾市",
+    "ProID": 19,
+    "CitySort": 191,
+    "area": ["海丰县", "陆河县", "陆丰市"]
+  }, {
+    "CityID": 192,
+    "name": "阳江市",
+    "ProID": 19,
+    "CitySort": 192,
+    "area": ["江城区", "阳西县", "阳东县", "阳春市"]
+  }, {
+    "CityID": 193,
+    "name": "揭阳市",
+    "ProID": 19,
+    "CitySort": 193,
+    "area": ["榕城区", "揭东县", "揭西县", "惠来县", "普宁市"]
+  }, {
+    "CityID": 194,
+    "name": "茂名市",
+    "ProID": 19,
+    "CitySort": 194,
+    "area": ["茂南区", "茂港区", "电白县", "高州市", "化州市", "信宜市"]
+  }, {
+    "CityID": 195,
+    "name": "惠州市",
+    "ProID": 19,
+    "CitySort": 195,
+    "area": ["惠城区", "惠阳区", "博罗县", "惠东县", "龙门县"]
+  }, {
+    "CityID": 196,
+    "name": "江门市",
+    "ProID": 19,
+    "CitySort": 196,
+    "area": ["蓬江区", "江海区", "新会区", "台山市", "开平市", "鹤山市", "恩平市"]
+  }, {
+    "CityID": 197,
+    "name": "韶关市",
+    "ProID": 19,
+    "CitySort": 197,
+    "area": ["武江区", "浈江区", "曲江区", "始兴县", "仁化县", "翁源县", "乳源瑶族自治县", "新丰县", "乐昌市", "南雄市"]
+  }, {
+    "CityID": 198,
+    "name": "梅州市",
+    "ProID": 19,
+    "CitySort": 198,
+    "area": ["梅江区", "梅县", "大埔县", "丰顺县", "五华县", "平远县", "蕉岭县", "兴宁市"]
+  }, {
+    "CityID": 199,
+    "name": "汕头市",
+    "ProID": 19,
+    "CitySort": 199,
+    "area": ["龙湖区", "金平区", "濠江区", "潮阳区", "潮南区", "澄海区", "南澳县"]
+  }, {
+    "CityID": 200,
+    "name": "深圳市",
+    "ProID": 19,
+    "CitySort": 200,
+    "area": ["罗湖区", "福田区", "南山区", "宝安区", "龙岗区", "盐田区"]
+  }, {
+    "CityID": 201,
+    "name": "珠海市",
+    "ProID": 19,
+    "CitySort": 201,
+    "area": ["香洲区", "斗门区", "金湾区"]
+  }, {
+    "CityID": 202,
+    "name": "佛山市",
+    "ProID": 19,
+    "CitySort": 202,
+    "area": ["禅城区", "南海区", "顺德区", "三水区", "高明区"]
+  }, {
+    "CityID": 203,
+    "name": "肇庆市",
+    "ProID": 19,
+    "CitySort": 203,
+    "area": ["端州区", "鼎湖区", "广宁县", "怀集县", "封开县", "德庆县", "高要市", "四会市"]
+  }, {
+    "CityID": 204,
+    "name": "湛江市",
+    "ProID": 19,
+    "CitySort": 204,
+    "area": ["赤坎区", "霞山区", "坡头区", "麻章区", "遂溪县", "徐闻县", "廉江市", "雷州市", "吴川市"]
+  }, {
+    "CityID": 205,
+    "name": "中山市",
+    "ProID": 19,
+    "CitySort": 205,
+    "area": ['其他']
+  }, {
+    "CityID": 206,
+    "name": "河源市",
+    "ProID": 19,
+    "CitySort": 206,
+    "area": ["源城区", "紫金县", "龙川县", "连平县", "和平县", "东源县"]
+  }, {
+    "CityID": 207,
+    "name": "清远市",
+    "ProID": 19,
+    "CitySort": 207,
+    "area": ["清城区", "佛冈县", "阳山县", "连山壮族瑶族自治县", "连南瑶族自治县", "清新县", "英德市", "连州市"]
+  }, {
+    "CityID": 208,
+    "name": "云浮市",
+    "ProID": 19,
+    "CitySort": 208,
+    "area": ["云城区", "新兴县", "郁南县", "云安县", "罗定市"]
+  }, {
+    "CityID": 209,
+    "name": "潮州市",
+    "ProID": 19,
+    "CitySort": 209,
+    "area": ["湘桥区", "潮安县", "饶平县"]
+  }, {
+    "CityID": 210,
+    "name": "东莞市",
+    "ProID": 19,
+    "CitySort": 210,
+    "area": ['其他']
+  }]
+}, {
+  "ProID": 20,
+  "name": "海南省",
+  "ProSort": 24,
+  "ProRemark": "省份",
+  "city": [{
+    "CityID": 255,
+    "name": "海口市",
+    "ProID": 20,
+    "CitySort": 255,
+    "area": ["秀英区", "龙华区", "琼山区", "美兰区"]
+  }, {
+    "CityID": 256,
+    "name": "三亚市",
+    "ProID": 20,
+    "CitySort": 256,
+    "area": ['其他']
+  }, {
+    "CityID": 257,
+    "name": "五指山市",
+    "ProID": 20,
+    "CitySort": 257,
+    "area": ['其他']
+  }, {
+    "CityID": 258,
+    "name": "琼海市",
+    "ProID": 20,
+    "CitySort": 258,
+    "area": ['其他']
+  }, {
+    "CityID": 259,
+    "name": "儋州市",
+    "ProID": 20,
+    "CitySort": 259,
+    "area": ['其他']
+  }, {
+    "CityID": 260,
+    "name": "文昌市",
+    "ProID": 20,
+    "CitySort": 260,
+    "area": ['其他']
+  }, {
+    "CityID": 261,
+    "name": "万宁市",
+    "ProID": 20,
+    "CitySort": 261,
+    "area": ['其他']
+  }, {
+    "CityID": 262,
+    "name": "东方市",
+    "ProID": 20,
+    "CitySort": 262,
+    "area": ['其他']
+  }, {
+    "CityID": 263,
+    "name": "澄迈县",
+    "ProID": 20,
+    "CitySort": 263,
+    "area": ['其他']
+  }, {
+    "CityID": 264,
+    "name": "定安县",
+    "ProID": 20,
+    "CitySort": 264,
+    "area": ['其他']
+  }, {
+    "CityID": 265,
+    "name": "屯昌县",
+    "ProID": 20,
+    "CitySort": 265,
+    "area": ['其他']
+  }, {
+    "CityID": 266,
+    "name": "临高县",
+    "ProID": 20,
+    "CitySort": 266,
+    "area": ['其他']
+  }, {
+    "CityID": 267,
+    "name": "白沙黎族自治县",
+    "ProID": 20,
+    "CitySort": 267,
+    "area": ['其他']
+  }, {
+    "CityID": 268,
+    "name": "昌江黎族自治县",
+    "ProID": 20,
+    "CitySort": 268,
+    "area": ['其他']
+  }, {
+    "CityID": 269,
+    "name": "乐东黎族自治县",
+    "ProID": 20,
+    "CitySort": 269,
+    "area": ['其他']
+  }, {
+    "CityID": 270,
+    "name": "陵水黎族自治县",
+    "ProID": 20,
+    "CitySort": 270,
+    "area": ['其他']
+  }, {
+    "CityID": 271,
+    "name": "保亭黎族苗族自治县",
+    "ProID": 20,
+    "CitySort": 271,
+    "area": ['其他']
+  }, {
+    "CityID": 272,
+    "name": "琼中黎族苗族自治县",
+    "ProID": 20,
+    "CitySort": 272,
+    "area": ['其他']
+  },{
+    "CityID": 272,
+    "name": "三沙市",
+    "ProID": 20,
+    "CitySort": 272,
+    "area": ['其他']
+  }]
+}, {
+  "ProID": 21,
+  "name": "广西壮族自治区",
+  "ProSort": 28,
+  "ProRemark": "自治区",
+  "city": [{
+    "CityID": 307,
+    "name": "防城港市",
+    "ProID": 21,
+    "CitySort": 307,
+    "area": ["港口区", "防城区", "上思县", "东兴市"]
+  }, {
+    "CityID": 308,
+    "name": "南宁市",
+    "ProID": 21,
+    "CitySort": 308,
+    "area": ["兴宁区", "青秀区", "江南区", "西乡塘区", "良庆区", "邕宁区", "武鸣县", "隆安县", "马山县", "上林县", "宾阳县", "横县"]
+  }, {
+    "CityID": 309,
+    "name": "崇左市",
+    "ProID": 21,
+    "CitySort": 309,
+    "area": ["江洲区", "扶绥县", "宁明县", "龙州县", "大新县", "天等县", "凭祥市"]
+  }, {
+    "CityID": 310,
+    "name": "来宾市",
+    "ProID": 21,
+    "CitySort": 310,
+    "area": ["兴宾区", "忻城县", "象州县", "武宣县", "金秀瑶族自治县", "合山市"]
+  }, {
+    "CityID": 311,
+    "name": "柳州市",
+    "ProID": 21,
+    "CitySort": 311,
+    "area": ["城中区", "鱼峰区", "柳南区", "柳北区", "柳江县", "柳城县", "鹿寨县", "融安县", "融水苗族自治县", "三江侗族自治县"]
+  }, {
+    "CityID": 312,
+    "name": "桂林市",
+    "ProID": 21,
+    "CitySort": 312,
+    "area": ["秀峰区", "叠彩区", "象山区", "七星区", "雁山区", "阳朔县", "临桂县", "灵川县", "全州县", "兴安县", "永福县", "灌阳县", "龙胜各族自治县", "资源县", "平乐县", "荔浦县", "恭城瑶族自治县"]
+  }, {
+    "CityID": 313,
+    "name": "梧州市",
+    "ProID": 21,
+    "CitySort": 313,
+    "area": ["万秀区", "碟山区", "长洲区", "苍梧县", "藤县", "蒙山县", "岑溪市"]
+  }, {
+    "CityID": 314,
+    "name": "贺州市",
+    "ProID": 21,
+    "CitySort": 314,
+    "area": ["八步区", "昭平县", "钟山县", "富川瑶族自治县"]
+  }, {
+    "CityID": 315,
+    "name": "贵港市",
+    "ProID": 21,
+    "CitySort": 315,
+    "area": ["港北区", "港南区", "覃塘区", "平南县", "桂平市"]
+  }, {
+    "CityID": 316,
+    "name": "玉林市",
+    "ProID": 21,
+    "CitySort": 316,
+    "area": ["玉州区", "容县", "陆川县", "博白县", "兴业县", "北流市"]
+  }, {
+    "CityID": 317,
+    "name": "百色市",
+    "ProID": 21,
+    "CitySort": 317,
+    "area": ["右江区", "田阳县", "田东县", "平果县", "德保县", "靖西县", "那坡县", "凌云县", "乐业县", "田林县", "西林县", "隆林各族自治县"]
+  }, {
+    "CityID": 318,
+    "name": "钦州市",
+    "ProID": 21,
+    "CitySort": 318,
+    "area": ["钦南区", "钦北区", "灵山县", "浦北县"]
+  }, {
+    "CityID": 319,
+    "name": "河池市",
+    "ProID": 21,
+    "CitySort": 319,
+    "area": ["金城江区", "南丹县", "天峨县", "凤山县", "东兰县", "罗城仫佬族自治县", "环江毛南族自治县", "巴马瑶族自治县", "都安瑶族自治县", "大化瑶族自治县", "宜州市"]
+  }, {
+    "CityID": 320,
+    "name": "北海市",
+    "ProID": 21,
+    "CitySort": 320,
+    "area": ["海城区", "银海区", "铁山港区", "合浦县"]
+  }]
+}, {
+  "ProID": 22,
+  "name": "甘肃省",
+  "ProSort": 21,
+  "ProRemark": "省份",
+  "city": [{
+    "CityID": 211,
+    "name": "兰州市",
+    "ProID": 22,
+    "CitySort": 211,
+    "area": ["城关区", "七里河区", "西固区", "安宁区", "红古区", "永登县", "皋兰县", "榆中县"]
+  }, {
+    "CityID": 212,
+    "name": "金昌市",
+    "ProID": 22,
+    "CitySort": 212,
+    "area": ["金川区", "永昌县"]
+  }, {
+    "CityID": 213,
+    "name": "白银市",
+    "ProID": 22,
+    "CitySort": 213,
+    "area": ["白银区", "平川区", "靖远县", "会宁县", "景泰县"]
+  }, {
+    "CityID": 214,
+    "name": "天水市",
+    "ProID": 22,
+    "CitySort": 214,
+    "area": ["秦州区", "麦积区", "清水县", "秦安县", "甘谷县", "武山县", "张家川回族自治县"]
+  }, {
+    "CityID": 215,
+    "name": "嘉峪关市",
+    "ProID": 22,
+    "CitySort": 215,
+    "area": ['其他']
+  }, {
+    "CityID": 216,
+    "name": "武威市",
+    "ProID": 22,
+    "CitySort": 216,
+    "area": ["凉州区", "民勤县", "古浪县", "天祝藏族自治县"]
+  }, {
+    "CityID": 217,
+    "name": "张掖市",
+    "ProID": 22,
+    "CitySort": 217,
+    "area": ["甘州区", "肃南裕固族自治县", "民乐县", "临泽县", "高台县", "山丹县"]
+  }, {
+    "CityID": 218,
+    "name": "平凉市",
+    "ProID": 22,
+    "CitySort": 218,
+    "area": ["崆峒区", "泾川县", "灵台县", "崇信县", "华亭县", "庄浪县", "静宁县"]
+  }, {
+    "CityID": 219,
+    "name": "酒泉市",
+    "ProID": 22,
+    "CitySort": 219,
+    "area": ["肃州区", "金塔县", "瓜州县", "肃北蒙古族自治县", "阿克塞哈萨克族自治县", "玉门市", "敦煌市"]
+  }, {
+    "CityID": 220,
+    "name": "庆阳市",
+    "ProID": 22,
+    "CitySort": 220,
+    "area": ["西峰区", "庆城县", "环县", "华池县", "合水县", "正宁县", "宁县", "镇原县"]
+  }, {
+    "CityID": 221,
+    "name": "定西市",
+    "ProID": 22,
+    "CitySort": 221,
+    "area": ["安定区", "通渭县", "陇西县", "渭源县", "临洮县", "漳县", "岷县"]
+  }, {
+    "CityID": 222,
+    "name": "陇南市",
+    "ProID": 22,
+    "CitySort": 222,
+    "area": ["武都区", "成县", "文县", "宕昌县", "康县", "西和县", "礼县", "徽县", "两当县"]
+  }, {
+    "CityID": 223,
+    "name": "临夏回族自治州",
+    "ProID": 22,
+    "CitySort": 223,
+    "area": ["临夏市", "临夏县", "康乐县", "永靖县", "广河县", "和政县", "东乡族自治县", "积石山保安族东乡族撒拉族自治县"]
+  }, {
+    "CityID": 224,
+    "name": "甘南藏族自治州",
+    "ProID": 22,
+    "CitySort": 224,
+    "area": ["合作市", "临潭县", "卓尼县", "舟曲县", "迭部县", "玛曲县", "碌曲县", "夏河县"]
+  }]
+}, {
+  "ProID": 23,
+  "name": "陕西省",
+  "ProSort": 27,
+  "ProRemark": "省份",
+  "city": [{
+    "CityID": 297,
+    "name": "西安市",
+    "ProID": 23,
+    "CitySort": 297,
+    "area": ["新城区", "碑林区", "莲湖区", "灞桥区", "未央区", "雁塔区", "阎良区", "临潼区", "长安区", "蓝田县", "周至县", "户县", "高陵县"]
+  }, {
+    "CityID": 298,
+    "name": "咸阳市",
+    "ProID": 23,
+    "CitySort": 298,
+    "area": ["秦都区", "杨陵区", "渭城区", "三原县", "泾阳县", "乾县", "礼泉县", "永寿县", "彬县", "长武县", "旬邑县", "淳化县", "武功县", "兴平市"]
+  }, {
+    "CityID": 299,
+    "name": "延安市",
+    "ProID": 23,
+    "CitySort": 299,
+    "area": ["宝塔区", "延长县", "延川县", "子长县", "安塞县", "志丹县", "吴起县", "甘泉县", "富县", "洛川县", "宜川县", "黄龙县", "黄陵县"]
+  }, {
+    "CityID": 300,
+    "name": "榆林市",
+    "ProID": 23,
+    "CitySort": 300,
+    "area": ["榆阳区", "神木县", "府谷县", "横山县", "靖边县", "定边县", "绥德县", "米脂县", "佳县", "吴堡县", "清涧县", "子洲县"]
+  }, {
+    "CityID": 301,
+    "name": "渭南市",
+    "ProID": 23,
+    "CitySort": 301,
+    "area": ["临渭区", "华县", "潼关县", "大荔县", "合阳县", "澄城县", "蒲城县", "白水县", "富平县", "韩城市", "华阴市"]
+  }, {
+    "CityID": 302,
+    "name": "商洛市",
+    "ProID": 23,
+    "CitySort": 302,
+    "area": ["商州区", "洛南县", "丹凤县", "商南县", "山阳县", "镇安县", "柞水县"]
+  }, {
+    "CityID": 303,
+    "name": "安康市",
+    "ProID": 23,
+    "CitySort": 303,
+    "area": ["汉滨区", "汉阴县", "石泉县", "宁陕县", "紫阳县", "岚皋县", "平利县", "镇坪县", "旬阳县", "白河县"]
+  }, {
+    "CityID": 304,
+    "name": "汉中市",
+    "ProID": 23,
+    "CitySort": 304,
+    "area": ["汉台区", "南郑县", "城固县", "洋县", "西乡县", "勉县", "宁强县", "略阳县", "镇巴县", "留坝县", "佛坪县"]
+  }, {
+    "CityID": 305,
+    "name": "宝鸡市",
+    "ProID": 23,
+    "CitySort": 305,
+    "area": ["渭滨区", "金台区", "陈仓区", "凤翔县", "岐山县", "扶风县", "眉县", "陇县", "千阳县", "麟游县", "凤县", "太白县"]
+  }, {
+    "CityID": 306,
+    "name": "铜川市",
+    "ProID": 23,
+    "CitySort": 306,
+    "area": ["王益区", "印台区", "耀州区", "宜君县"]
+  }]
+}, {
+  "ProID": 24,
+  "name": "新疆维吾尔自治区",
+  "ProSort": 31,
+  "ProRemark": "自治区",
+  "city": [{
+    "CityID": 333,
+    "name": "塔城地区",
+    "ProID": 24,
+    "CitySort": 333,
+    "area": ["塔城市", "乌苏市", "额敏县", "沙湾县", "托里县", "裕民县", "和布克赛尔蒙古自治县"]
+  }, {
+    "CityID": 334,
+    "name": "哈密市",
+    "ProID": 24,
+    "CitySort": 334,
+    "area": ["哈密市", "巴里坤哈萨克自治县", "伊吾县"]
+  }, {
+    "CityID": 335,
+    "name": "和田地区",
+    "ProID": 24,
+    "CitySort": 335,
+    "area": ["和田市", "和田县", "墨玉县", "皮山县", "洛浦县", "策勒县", "于田县", "民丰县"]
+  }, {
+    "CityID": 336,
+    "name": "阿勒泰地区",
+    "ProID": 24,
+    "CitySort": 336,
+    "area": ["阿勒泰市", "布尔津县", "富蕴县", "福海县", "哈巴河县", "青河县", "吉木乃县"]
+  }, {
+    "CityID": 337,
+    "name": "克孜勒苏柯尔克孜自治州",
+    "ProID": 24,
+    "CitySort": 337,
+    "area": ["阿图什市", "阿克陶县", "阿合奇县", "乌恰县"]
+  }, {
+    "CityID": 338,
+    "name": "博尔塔拉蒙古自治州",
+    "ProID": 24,
+    "CitySort": 338,
+    "area": ["博乐市", "精河县", "温泉县"]
+  }, {
+    "CityID": 339,
+    "name": "克拉玛依市",
+    "ProID": 24,
+    "CitySort": 339,
+    "area": ["独山子区", "克拉玛依区", "白碱滩区", "乌尔禾区"]
+  }, {
+    "CityID": 340,
+    "name": "乌鲁木齐市",
+    "ProID": 24,
+    "CitySort": 340,
+    "area": ["天山区", "沙依巴克区", "新市区", "水磨沟区", "头屯河区", "达坂城区", "米东区", "乌鲁木齐县"]
+  }, {
+    "CityID": 341,
+    "name": "石河子市",
+    "ProID": 24,
+    "CitySort": 341,
+    "area": ['其他']
+  }, {
+    "CityID": 342,
+    "name": "昌吉回族自治州",
+    "ProID": 24,
+    "CitySort": 342,
+    "area": ["昌吉市", "阜康市", "呼图壁县", "玛纳斯县", "奇台县", "吉木萨尔县", "木垒哈萨克自治县"]
+  }, {
+    "CityID": 343,
+    "name": "五家渠市",
+    "ProID": 24,
+    "CitySort": 343,
+    "area": ['其他']
+  }, {
+    "CityID": 344,
+    "name": "吐鲁番市",
+    "ProID": 24,
+    "CitySort": 344,
+    "area": ["吐鲁番市", "鄯善县", "托克逊县"]
+  }, {
+    "CityID": 345,
+    "name": "巴音郭楞蒙古自治州",
+    "ProID": 24,
+    "CitySort": 345,
+    "area": ["库尔勒市", "轮台县", "尉犁县", "若羌县", "且末县", "焉耆回族自治县", "和静县", "和硕县", "博湖县"]
+  }, {
+    "CityID": 346,
+    "name": "阿克苏地区",
+    "ProID": 24,
+    "CitySort": 346,
+    "area": ["阿克苏市", "温宿县", "库车县", "沙雅县", "新和县", "拜城县", "乌什县", "阿瓦提县", "柯坪县"]
+  }, {
+    "CityID": 347,
+    "name": "阿拉尔市",
+    "ProID": 24,
+    "CitySort": 347,
+    "area": ['其他']
+  }, {
+    "CityID": 348,
+    "name": "喀什地区",
+    "ProID": 24,
+    "CitySort": 348,
+    "area": ["喀什市", "疏附县", "疏勒县", "英吉沙县", "泽普县", "莎车县", "叶城县", "麦盖提县", "岳普湖县", "伽师县", "巴楚县", "塔什库尔干塔吉克自治县"]
+  }, {
+    "CityID": 349,
+    "name": "图木舒克市",
+    "ProID": 24,
+    "CitySort": 349,
+    "area": ['其他']
+  }, {
+    "CityID": 350,
+    "name": "伊犁哈萨克自治州",
+    "ProID": 24,
+    "CitySort": 350,
+    "area": ["伊宁市", "奎屯市", "伊宁县", "察布查尔锡伯自治县", "霍城县", "巩留县", "新源县", "昭苏县", "特克斯县", "尼勒克县"]
+  }, {
+    "CityID": 381,
+    "name": "北屯市",
+    "ProID": 24,
+    "CitySort": 381,
+    "area": ['其他']
+  }, {
+    "CityID": 382,
+    "name": "铁门关市",
+    "ProID": 24,
+    "CitySort": 382,
+    "area": ['其他']
+  }, {
+    "CityID": 383,
+    "name": "双河市",
+    "ProID": 24,
+    "CitySort": 383,
+    "area": ['其他']
+  }, {
+    "CityID": 384,
+    "name": "可克达拉市",
+    "ProID": 24,
+    "CitySort": 384,
+    "area": ['其他']
+  }, {
+    "CityID": 385,
+    "name": "昆玉市",
+    "ProID": 24,
+    "CitySort": 385,
+    "area": ['其他']
+  }, {
+    "CityID": 386,
+    "name": "胡杨河市",
+    "ProID": 24,
+    "CitySort": 386,
+    "area": ['其他']
+  }]
+}, {
+  "ProID": 25,
+  "name": "青海省",
+  "ProSort": 26,
+  "ProRemark": "省份",
+  "city": [{
+    "CityID": 289,
+    "name": "海北藏族自治州",
+    "ProID": 25,
+    "CitySort": 289,
+    "area": ["门源回族自治县", "祁连县", "海晏县", "刚察县"]
+  }, {
+    "CityID": 290,
+    "name": "西宁市",
+    "ProID": 25,
+    "CitySort": 290,
+    "area": ["城东区", "城中区", "城西区", "城北区", "大通回族土族自治县", "湟中县", "湟源县"]
+  }, {
+    "CityID": 291,
+    "name": "海东市",
+    "ProID": 25,
+    "CitySort": 291,
+    "area": ["平安县", "民和回族土族自治县", "乐都县", "互助土族自治县", "化隆回族自治县", "循化撒拉族自治县"]
+  }, {
+    "CityID": 292,
+    "name": "黄南藏族自治州",
+    "ProID": 25,
+    "CitySort": 292,
+    "area": ["同仁县", "尖扎县", "泽库县", "河南蒙古族自治县"]
+  }, {
+    "CityID": 293,
+    "name": "海南藏族自治州",
+    "ProID": 25,
+    "CitySort": 293,
+    "area": ["共和县", "同德县", "贵德县", "兴海县", "贵南县"]
+  }, {
+    "CityID": 294,
+    "name": "果洛藏族自治州",
+    "ProID": 25,
+    "CitySort": 294,
+    "area": ["玛沁县", "班玛县", "甘德县", "达日县", "久治县", "玛多县"]
+  }, {
+    "CityID": 295,
+    "name": "玉树藏族自治州",
+    "ProID": 25,
+    "CitySort": 295,
+    "area": ["玉树县", "杂多县", "称多县", "治多县", "囊谦县", "曲麻莱县"]
+  }, {
+    "CityID": 296,
+    "name": "海西蒙古族藏族自治州",
+    "ProID": 25,
+    "CitySort": 296,
+    "area": ["格尔木市", "德令哈市", "乌兰县", "都兰县", "天峻县"]
+  }]
+}, {
+  "ProID": 26,
+  "name": "宁夏回族自治区",
+  "ProSort": 30,
+  "ProRemark": "自治区",
+  "city": [{
+    "CityID": 328,
+    "name": "银川市",
+    "ProID": 26,
+    "CitySort": 328,
+    "area": ["兴庆区", "西夏区", "金凤区", "永宁县", "贺兰县", "灵武市"]
+  }, {
+    "CityID": 329,
+    "name": "石嘴山市",
+    "ProID": 26,
+    "CitySort": 329,
+    "area": ["大武口区", "惠农区", "平罗县"]
+  }, {
+    "CityID": 330,
+    "name": "吴忠市",
+    "ProID": 26,
+    "CitySort": 330,
+    "area": ["利通区", "盐池县", "同心县", "青铜峡市"]
+  }, {
+    "CityID": 331,
+    "name": "固原市",
+    "ProID": 26,
+    "CitySort": 331,
+    "area": ["原州区", "西吉县", "隆德县", "泾源县", "彭阳县"]
+  }, {
+    "CityID": 332,
+    "name": "中卫市",
+    "ProID": 26,
+    "CitySort": 332,
+    "area": ["沙坡头区", "中宁县", "海原县"]
+  }]
+}, {
+  "ProID": 27,
+  "name": "重庆市",
+  "ProSort": 4,
+  "ProRemark": "直辖市",
+  "city": [{
+    "CityID": 4,
+    "name": "重庆市",
+    "ProID": 27,
+    "CitySort": 4,
+    "area": ["万州区", "涪陵区", "渝中区", "大渡口区", "江北区", "沙坪坝区", "九龙坡区", "南岸区", "北碚区", "万盛区", "双桥区", "渝北区", "巴南区", "黔江区", "长寿区", "江津区", "合川区", "永川区", "南川区", "綦江县", "潼南县", "铜梁县", "大足县", "荣昌县", "璧山县", "梁平县", "城口县", "丰都县", "垫江县", "武隆县", "忠县", "开县", "云阳县", "奉节县", "巫山县", "巫溪县", "石柱土家族自治县", "秀山土家族苗族自治县", "酉阳土家族苗族自治县", "彭水苗族土家族自治县"]
+  }]
+}, {
+  "ProID": 28,
+  "name": "四川省",
+  "ProSort": 22,
+  "ProRemark": "省份",
+  "city": [{
+    "CityID": 225,
+    "name": "成都市",
+    "ProID": 28,
+    "CitySort": 225,
+    "area": ["锦江区", "青羊区", "金牛区", "武侯区", "成华区", "龙泉驿区", "青白江区", "新都区", "温江区", "金堂县", "双流县", "郫县", "大邑县", "蒲江县", "新津县", "都江堰市", "彭州市", "邛崃市", "崇州市"]
+  }, {
+    "CityID": 226,
+    "name": "攀枝花市",
+    "ProID": 28,
+    "CitySort": 226,
+    "area": ["东区", "西区", "仁和区", "米易县", "盐边县"]
+  }, {
+    "CityID": 227,
+    "name": "自贡市",
+    "ProID": 28,
+    "CitySort": 227,
+    "area": ["自流井区", "贡井区", "大安区", "沿滩区", "荣县", "富顺县"]
+  }, {
+    "CityID": 228,
+    "name": "绵阳市",
+    "ProID": 28,
+    "CitySort": 228,
+    "area": ["涪城区", "游仙区", "三台县", "盐亭县", "安县", "梓潼县", "北川羌族自治县", "平武县", "江油市"]
+  }, {
+    "CityID": 229,
+    "name": "南充市",
+    "ProID": 28,
+    "CitySort": 229,
+    "area": ["顺庆区", "高坪区", "嘉陵区", "南部县", "营山县", "蓬安县", "仪陇县", "西充县", "阆中市"]
+  }, {
+    "CityID": 230,
+    "name": "达州市",
+    "ProID": 28,
+    "CitySort": 230,
+    "area": ["通川区", "达县", "宣汉县", "开江县", "大竹县", "渠县", "万源市"]
+  }, {
+    "CityID": 231,
+    "name": "遂宁市",
+    "ProID": 28,
+    "CitySort": 231,
+    "area": ["船山区", "安居区", "蓬溪县", "射洪县", "大英县"]
+  }, {
+    "CityID": 232,
+    "name": "广安市",
+    "ProID": 28,
+    "CitySort": 232,
+    "area": ["广安区", "岳池县", "武胜县", "邻水县", "华蓥市"]
+  }, {
+    "CityID": 233,
+    "name": "巴中市",
+    "ProID": 28,
+    "CitySort": 233,
+    "area": ["巴州区", "通江县", "南江县", "平昌县"]
+  }, {
+    "CityID": 234,
+    "name": "泸州市",
+    "ProID": 28,
+    "CitySort": 234,
+    "area": ["江阳区", "纳溪区", "龙马潭区", "泸县", "合江县", "叙永县", "古蔺县"]
+  }, {
+    "CityID": 235,
+    "name": "宜宾市",
+    "ProID": 28,
+    "CitySort": 235,
+    "area": ["翠屏区", "宜宾县", "南溪县", "江安县", "长宁县", "高县", "珙县", "筠连县", "兴文县", "屏山县"]
+  }, {
+    "CityID": 236,
+    "name": "资阳市",
+    "ProID": 28,
+    "CitySort": 236,
+    "area": ["雁江区", "安岳县", "乐至县", "简阳市"]
+  }, {
+    "CityID": 237,
+    "name": "内江市",
+    "ProID": 28,
+    "CitySort": 237,
+    "area": ["市中区", "东兴区", "威远县", "资中县", "隆昌县"]
+  }, {
+    "CityID": 238,
+    "name": "乐山市",
+    "ProID": 28,
+    "CitySort": 238,
+    "area": ["市中区", "沙湾区", "五通桥区", "金口河区", "犍为县", "井研县", "夹江县", "沐川县", "峨边彝族自治县", "马边彝族自治县", "峨眉山市"]
+  }, {
+    "CityID": 239,
+    "name": "眉山市",
+    "ProID": 28,
+    "CitySort": 239,
+    "area": ["东坡区", "仁寿县", "彭山县", "洪雅县", "丹棱县", "青神县"]
+  }, {
+    "CityID": 240,
+    "name": "凉山彝族自治州",
+    "ProID": 28,
+    "CitySort": 240,
+    "area": ["西昌市", "木里藏族自治县", "盐源县", "德昌县", "会理县", "会东县", "宁南县", "普格县", "布拖县", "金阳县", "昭觉县", "喜德县", "冕宁县", "越西县", "甘洛县", "美姑县", "雷波县"]
+  }, {
+    "CityID": 241,
+    "name": "雅安市",
+    "ProID": 28,
+    "CitySort": 241,
+    "area": ["雨城区", "名山县", "荥经县", "汉源县", "石棉县", "天全县", "芦山县", "宝兴县"]
+  }, {
+    "CityID": 242,
+    "name": "甘孜藏族自治州",
+    "ProID": 28,
+    "CitySort": 242,
+    "area": ["康定县", "泸定县", "丹巴县", "九龙县", "雅江县", "道孚县", "炉霍县", "甘孜县", "新龙县", "德格县", "白玉县", "石渠县", "色达县", "理塘县", "巴塘县", "乡城县", "稻城县", "得荣县"]
+  }, {
+    "CityID": 243,
+    "name": "阿坝藏族羌族自治州",
+    "ProID": 28,
+    "CitySort": 243,
+    "area": ["汶川县", "理县", "茂县", "松潘县", "九寨沟县", "金川县", "小金县", "黑水县", "马尔康县", "壤塘县", "阿坝县", "若尔盖县", "红原县"]
+  }, {
+    "CityID": 244,
+    "name": "德阳市",
+    "ProID": 28,
+    "CitySort": 244,
+    "area": ["旌阳区", "中江县", "罗江县", "广汉市", "什邡市", "绵竹市"]
+  }, {
+    "CityID": 245,
+    "name": "广元市",
+    "ProID": 28,
+    "CitySort": 245,
+    "area": ["市中区", "元坝区", "朝天区", "旺苍县", "青川县", "剑阁县", "苍溪县"]
+  }]
+}, {
+  "ProID": 29,
+  "name": "贵州省",
+  "ProSort": 23,
+  "ProRemark": "省份",
+  "city": [{
+    "CityID": 246,
+    "name": "贵阳市",
+    "ProID": 29,
+    "CitySort": 246,
+    "area": ["南明区", "云岩区", "花溪区", "乌当区", "白云区", "小河区", "开阳县", "息烽县", "修文县", "清镇市"]
+  }, {
+    "CityID": 247,
+    "name": "遵义市",
+    "ProID": 29,
+    "CitySort": 247,
+    "area": ["红花岗区", "汇川区", "遵义县", "桐梓县", "绥阳县", "正安县", "道真仡佬族苗族自治县", "务川仡佬族苗族自治县", "凤冈县", "湄潭县", "余庆县", "习水县", "赤水市", "仁怀市"]
+  }, {
+    "CityID": 248,
+    "name": "安顺市",
+    "ProID": 29,
+    "CitySort": 248,
+    "area": ["西秀区", "平坝县", "普定县", "镇宁布依族苗族自治县", "关岭布依族苗族自治县", "紫云苗族布依族自治县"]
+  }, {
+    "CityID": 249,
+    "name": "黔南布依族苗族自治州",
+    "ProID": 29,
+    "CitySort": 249,
+    "area": ["都匀市", "福泉市", "荔波县", "贵定县", "瓮安县", "独山县", "平塘县", "罗甸县", "长顺县", "龙里县", "惠水县", "三都水族自治县"]
+  }, {
+    "CityID": 250,
+    "name": "黔东南苗族侗族自治州",
+    "ProID": 29,
+    "CitySort": 250,
+    "area": ["凯里市", "黄平县", "施秉县", "三穗县", "镇远县", "岑巩县", "天柱县", "锦屏县", "剑河县", "台江县", "黎平县", "榕江县", "从江县", "雷山县", "麻江县", "丹寨县"]
+  }, {
+    "CityID": 251,
+    "name": "铜仁市",
+    "ProID": 29,
+    "CitySort": 251,
+    "area": ["铜仁市", "江口县", "玉屏侗族自治县", "石阡县", "思南县", "印江土家族苗族自治县", "德江县", "沿河土家族自治县", "松桃苗族自治县", "万山特区"]
+  }, {
+    "CityID": 252,
+    "name": "毕节市",
+    "ProID": 29,
+    "CitySort": 252,
+    "area": ["毕节市", "大方县", "黔西县", "金沙县", "织金县", "纳雍县", "威宁彝族回族苗族自治县", "赫章县"]
+  }, {
+    "CityID": 253,
+    "name": "六盘水市",
+    "ProID": 29,
+    "CitySort": 253,
+    "area": ["钟山区", "六枝特区", "水城县", "盘县"]
+  }, {
+    "CityID": 254,
+    "name": "黔西南布依族苗族自治州",
+    "ProID": 29,
+    "CitySort": 254,
+    "area": ["兴义市", "兴仁县", "普安县", "晴隆县", "贞丰县", "望谟县", "册亨县", "安龙县"]
+  }]
+}, {
+  "ProID": 30,
+  "name": "云南省",
+  "ProSort": 25,
+  "ProRemark": "省份",
+  "city": [{
+    "CityID": 273,
+    "name": "西双版纳傣族自治州",
+    "ProID": 30,
+    "CitySort": 273,
+    "area": ["景洪市", "勐海县", "勐腊县"]
+  }, {
+    "CityID": 274,
+    "name": "德宏傣族景颇族自治州",
+    "ProID": 30,
+    "CitySort": 274,
+    "area": ["瑞丽市", "潞西市", "梁河县", "盈江县", "陇川县"]
+  }, {
+    "CityID": 275,
+    "name": "昭通市",
+    "ProID": 30,
+    "CitySort": 275,
+    "area": ["昭阳区", "鲁甸县", "巧家县", "盐津县", "大关县", "永善县", "绥江县", "镇雄县", "彝良县", "威信县", "水富县"]
+  }, {
+    "CityID": 276,
+    "name": "昆明市",
+    "ProID": 30,
+    "CitySort": 276,
+    "area": ["五华区", "盘龙区", "官渡区", "西山区", "东川区", "呈贡县", "晋宁县", "富民县", "宜良县", "石林彝族自治县", "嵩明县", "禄劝彝族苗族自治县", "寻甸回族彝族自治县", "安宁市"]
+  }, {
+    "CityID": 277,
+    "name": "大理白族自治州",
+    "ProID": 30,
+    "CitySort": 277,
+    "area": ["大理市", "漾濞彝族自治县", "祥云县", "宾川县", "弥渡县", "南涧彝族自治县", "巍山彝族回族自治县", "永平县", "云龙县", "洱源县", "剑川县", "鹤庆县"]
+  }, {
+    "CityID": 278,
+    "name": "红河哈尼族彝族自治州",
+    "ProID": 30,
+    "CitySort": 278,
+    "area": ["个旧市", "开远市", "蒙自县", "屏边苗族自治县", "建水县", "石屏县", "弥勒县", "泸西县", "元阳县", "红河县", "金平苗族瑶族傣族自治县", "绿春县", "河口瑶族自治县"]
+  }, {
+    "CityID": 279,
+    "name": "曲靖市",
+    "ProID": 30,
+    "CitySort": 279,
+    "area": ["麒麟区", "马龙县", "陆良县", "师宗县", "罗平县", "富源县", "会泽县", "沾益县", "宣威市"]
+  }, {
+    "CityID": 280,
+    "name": "保山市",
+    "ProID": 30,
+    "CitySort": 280,
+    "area": ["隆阳区", "施甸县", "腾冲县", "龙陵县", "昌宁县"]
+  }, {
+    "CityID": 281,
+    "name": "文山壮族苗族自治州",
+    "ProID": 30,
+    "CitySort": 281,
+    "area": ["文山县", "砚山县", "西畴县", "麻栗坡县", "马关县", "丘北县", "广南县", "富宁县"]
+  }, {
+    "CityID": 282,
+    "name": "玉溪市",
+    "ProID": 30,
+    "CitySort": 282,
+    "area": ["红塔区", "江川县", "澄江县", "通海县", "华宁县", "易门县", "峨山彝族自治县", "新平彝族傣族自治县", "元江哈尼族彝族傣族自治县"]
+  }, {
+    "CityID": 283,
+    "name": "楚雄彝族自治州",
+    "ProID": 30,
+    "CitySort": 283,
+    "area": ["楚雄市", "双柏县", "牟定县", "南华县", "姚安县", "大姚县", "永仁县", "元谋县", "武定县", "禄丰县"]
+  }, {
+    "CityID": 284,
+    "name": "普洱市",
+    "ProID": 30,
+    "CitySort": 284,
+    "area": ["思茅区", "宁洱哈尼族彝族自治县", "墨江哈尼族自治县", "景东彝族自治县", "景谷傣族彝族自治县", "镇沅彝族哈尼族拉祜族自治县", "江城哈尼族彝族自治县", "孟连傣族拉祜族佤族自治县", "澜沧拉祜族自治县", "西盟佤族自治县"]
+  }, {
+    "CityID": 285,
+    "name": "临沧市",
+    "ProID": 30,
+    "CitySort": 285,
+    "area": ["临翔区", "凤庆县", "云县", "永德县", "镇康县", "双江拉祜族佤族布朗族傣族自治县", "耿马傣族佤族自治县", "沧源佤族自治县"]
+  }, {
+    "CityID": 286,
+    "name": "怒江傈僳族自治州",
+    "ProID": 30,
+    "CitySort": 286,
+    "area": ["泸水县", "福贡县", "贡山独龙族怒族自治县", "兰坪白族普米族自治县"]
+  }, {
+    "CityID": 287,
+    "name": "迪庆藏族自治州",
+    "ProID": 30,
+    "CitySort": 287,
+    "area": ["香格里拉县", "德钦县", "维西傈僳族自治县"]
+  }, {
+    "CityID": 288,
+    "name": "丽江市",
+    "ProID": 30,
+    "CitySort": 288,
+    "area": ["古城区", "玉龙纳西族自治县", "永胜县", "华坪县", "宁蒗彝族自治县"]
+  }]
+}, {
+  "ProID": 31,
+  "name": "西藏自治区",
+  "ProSort": 29,
+  "ProRemark": "自治区",
+  "city": [{
+    "CityID": 321,
+    "name": "拉萨市",
+    "ProID": 31,
+    "CitySort": 321,
+    "area": ["城关区", "林周县", "当雄县", "尼木县", "曲水县", "堆龙德庆县", "达孜县", "墨竹工卡县"]
+  }, {
+    "CityID": 322,
+    "name": "日喀则市",
+    "ProID": 31,
+    "CitySort": 322,
+    "area": ["日喀则市", "南木林县", "江孜县", "定日县", "萨迦县", "拉孜县", "昂仁县", "谢通门县", "白朗县", "仁布县", "康马县", "定结县", "仲巴县", "亚东县", "吉隆县", "聂拉木县", "萨嘎县", "岗巴县"]
+  }, {
+    "CityID": 323,
+    "name": "山南市",
+    "ProID": 31,
+    "CitySort": 323,
+    "area": ["乃东县", "扎囊县", "贡嘎县", "桑日县", "琼结县", "曲松县", "措美县", "洛扎县", "加查县", "隆子县", "错那县", "浪卡子县"]
+  }, {
+    "CityID": 324,
+    "name": "林芝市",
+    "ProID": 31,
+    "CitySort": 324,
+    "area": ["林芝县", "工布江达县", "米林县", "墨脱县", "波密县", "察隅县", "朗县"]
+  }, {
+    "CityID": 325,
+    "name": "昌都市",
+    "ProID": 31,
+    "CitySort": 325,
+    "area": ["昌都县", "江达县", "贡觉县", "类乌齐县", "丁青县", "察雅县", "八宿县", "左贡县", "芒康县", "洛隆县", "边坝县"]
+  }, {
+    "CityID": 326,
+    "name": "那曲市",
+    "ProID": 31,
+    "CitySort": 326,
+    "area": ["那曲县", "嘉黎县", "比如县", "聂荣县", "安多县", "申扎县", "索县", "班戈县", "巴青县", "尼玛县"]
+  }, {
+    "CityID": 327,
+    "name": "阿里地区",
+    "ProID": 31,
+    "CitySort": 327,
+    "area": ["普兰县", "札达县", "噶尔县", "日土县", "革吉县", "改则县", "措勤县"]
+  }]
+}, {
+  "ProID": 32,
+  "name": "台湾省",
+  "ProSort": 7,
+  "ProRemark": "省份",
+  "city": [{
+    "CityID": 327,
+    "name": "台湾省",
+    "ProID": 31,
+    "CitySort": 327,
+    "area": ["台北市","高雄市","台北县","桃园县","新竹县","苗栗县","台中县","彰化县","南投县","云林县","嘉义县","台南县","高雄县","屏东县","宜兰县","花莲县","台东县","澎湖县","基隆市","新竹市","台中市","嘉义市","台南市","其他"]
+  }]
+}, {
+  "ProID": 33,
+  "name": "澳门特别行政区",
+  "ProSort": 33,
+  "ProRemark": "特别行政区",
+  "city": [{
+    "CityID": 370,
+    "name": "澳门",
+    "ProID": 33,
+    "CitySort": 370,
+    "area": ["花地玛堂区","圣安多尼堂区","大堂区","望德堂区","风顺堂区","嘉模堂区","圣方济各堂区","路凼","其他"]
+  }]
+}, {
+  "ProID": 34,
+  "name": "香港特别行政区",
+  "ProSort": 34,
+  "ProRemark": "特别行政区",
+  "city": [{
+    "CityID": 371,
+    "name": "香港",
+    "ProID": 34,
+    "CitySort": 371,
+    "area": ["中西区","湾仔区","东区","南区","深水埗区","油尖旺区","九龙城区","黄大仙区","观塘区","北区","大埔区","沙田区","西贡区","元朗区","屯门区","荃湾区","葵青区","离岛区","其他"]
+  },]
+},{
+  "ProID": 35,
+  "name": "钓鱼岛",
+  "ProSort": 35,
+  "ProRemark": "特别行政区",
+  "city": [{
+    "CityID": 372,
+    "name": "钓鱼岛",
+    "ProID": 35,
+    "CitySort": 372,
+    "area": ["钓鱼岛"]
+  },]
+},{
+  "ProID": 36,
+  "name": " 海外",
+  "ProSort": 35,
+  "ProRemark": "特别行政区",
+  "city": [{
+    "CityID": 372,
+    "name": "海外",
+    "ProID": 35,
+    "CitySort": 372,
+    "area": ['美国','加拿大','澳大利亚','新西兰','英国','法国','德国','捷克','荷兰','瑞士','希腊','挪威','瑞典','丹麦','芬兰','爱尔兰','奥地利','意大利','乌克兰','俄罗斯','西班牙','韩国','新加坡','马来西亚','印度','泰国','日本','巴西','阿根廷','南非','埃及','其他']
+  },]
+}]

+ 13 - 0
entbase-mobile/page_entbase_mobile/js/rem.js

@@ -0,0 +1,13 @@
+(function(doc, win) {
+	var docEl = doc.documentElement,
+		resizeEvt = 'orientationchange' in window ? 'orientationchange' : 'resize',
+		recalc = function() {
+			var clientWidth = docEl.clientWidth;
+			if(!clientWidth) return;
+			if(clientWidth > 750) clientWidth = 750;
+			docEl.style.fontSize = clientWidth / 7.5 + 'px';
+		};
+	if(!doc.addEventListener) return;
+	win.addEventListener(resizeEvt, recalc, false);
+	doc.addEventListener('DOMContentLoaded', recalc, false);
+})(document, window);

+ 1 - 0
entbase-mobile/page_entbase_mobile/js/rem.min.js

@@ -0,0 +1 @@
+'use strict';(function(a,b){var c=a.documentElement,d='orientationchange'in window?'orientationchange':'resize',e=function recalc(){var f=c.clientWidth;f&&(750<f&&(f=750),c.style.fontSize=f/7.5+'px')};a.addEventListener&&(b.addEventListener(d,e,!1),a.addEventListener('DOMContentLoaded',e,!1))})(document,window);

+ 434 - 0
entbase-mobile/page_entbase_mobile/js/sub_entrance.js

@@ -0,0 +1,434 @@
+$(function () {
+    // 点击项目匹配问号图标出现弹框
+    $('.project_wh').on('click', function () {
+        weui.alert('开启后,系统将根据你订阅的关键词自动匹配出相关联的项目,并将为你推送相关联项目的后续动态。', {
+            title: '项目匹配',
+            className: 'j-alert',
+            buttons: [{
+                label: '我知道了',
+                type: 'primary',
+                onClick: function () {}
+            }]
+        });
+    })
+
+    // 允许员工进行订阅范围扩展
+    $('.sub_wh').on('click', function () {
+          weui.alert('允许个人扩展时 1.区域,采购单位行业,信息类型,都可以进行扩展 2.关键词可以增加词组 3.推送设置可以进行调整 不允许个人扩展时:仅推送设置和邮件部门可操作', {
+            className: 'j-alert',
+            buttons: [{
+                label: '我知道了',
+                type: 'primary',
+                onClick: function () {}
+            }]
+        });
+    })
+
+    $('.sub-switch').on('click', function () {
+      var _thisChecked = $('.sub-switch').prop('checked')
+      var _toastStr = _thisChecked ? '已开启' : '已关闭'
+      
+      // 修改设置
+      vTools.ajax({
+          url: '/subscribe/updateIsExtend',
+          type: 'POST',
+          contentType: 'application/x-www-form-urlencoded',
+          loading: {},
+          data: {
+            isExtend: _thisChecked ? 1 : 0
+          },
+          success: function (res) {
+              if (res.data.status === 1) {
+                  vTools.jLoading({
+                      content: _toastStr,
+                      iconHide: true,
+                      duration: 1500
+                  })
+              } else {
+                  $('.pro-switch').prop('checked', false)
+                  vTools.jLoading({
+                      content: '操作失败',
+                      iconHide: true,
+                      duration: 1500
+                  })
+              }
+          },
+          error: function() {
+              $('.pro-switch').prop('checked', false)
+          }
+        })
+      })
+    
+    // checkbox点击事件
+    $('.pro-switch').on('click', function () {
+        var _thisChecked = $('.pro-switch').prop('checked')
+        var _toastStr = _thisChecked ? '项目匹配已开启' : '项目匹配已关闭'
+        
+        // 修改项目匹配设置
+        vTools.ajax({
+            url: '/subscribe/projectmatch/update',
+            type: 'POST',
+            contentType: 'application/x-www-form-urlencoded',
+            loading: {},
+            data: {
+                projectmatch: _thisChecked ? 1 : 0
+            },
+            success: function (res) {
+                if (res.data.status === 1) {
+                    vTools.jLoading({
+                        content: _toastStr,
+                        iconHide: true,
+                        duration: 1500
+                    })
+                } else {
+                    $('.pro-switch').prop('checked', false)
+                    vTools.jLoading({
+                        content: '操作失败',
+                        iconHide: true,
+                        duration: 1500
+                    })
+                }
+            },
+            error: function() {
+                $('.pro-switch').prop('checked', false)
+            }
+        })
+    })
+
+    // 是否是管理员
+    var isMamagerUser = true;
+    var comAdmin = false;
+    var depAdmin = false;
+    // 获取当前用户所在的企业信息接口
+
+    var loading = vTools.jLoading({})
+    vTools.ajax({
+        url: '/ent/entinfo',
+        type: 'POST',
+        data: {},
+        success: function (item) {
+            var res = item.data
+            comAdmin = res.admin_system
+            depAdmin = res.admin_department
+            // 获取部门列表
+            vTools.ajax({
+              url: '/person/pcManager',
+              type: 'POST',
+              contentType: 'application/x-www-form-urlencoded',
+              data: {
+                id: res.dept_id
+              },
+              loading: {},
+              success: function (res) {
+                console.log(res)
+              }
+            })
+            //res.admin_system = false
+            //res.admin_department = false
+            if (res.admin_system == true) {
+                $('.company_name').html(res.ent_name)
+                // 有效期
+                var starttime = new Date(res.startdate * 1000).pattern('yyyy年MM月dd日')
+                var endtime = new Date(res.enddate * 1000).pattern('yyyy年MM月dd日')
+                $('.company_date').html(starttime + '-' + endtime)
+            } else if (res.admin_department == true) {
+                $('.company_name').html(res.dept_name)
+                $('.company_date').html(res.ent_name)
+            } else {//普通员工
+                isMamagerUser = false;
+            }
+            loadIndex()
+        },
+    })
+
+    // 获取设置首页信息
+    // /list 接口 里面的nodiff  是当前他所在部门 是否开启全员无差别
+    // /subscribe/index里面的nodiff 是他所在de上级部门 是否开启全员无差别
+
+    // subdis,所在部门的subdis
+    function loadIndex () {
+        vTools.ajax({
+            url: '/subscribe/index',
+            type: 'POST',
+            data: {},
+            success: function (item) {
+                var res = item.data
+                var nodiff = res.nodiff
+                // var subdis = res.subdis
+                res.model = 1
+                if (res.model == 1) {
+
+                    if (!comAdmin) {
+                        // 部门管理员和员工
+                        if (nodiff === 0) {
+                            // 上级部门没有开启无差别,
+                            // 说明 部门管理员: (如果部门管理员分配的有规则)部门管理员可以自行订阅。(部门管理员没有分配规则)显示未分配
+                            // 员工: (如果员工分配的有规则)显示规则,不可点击。(如果员工分配的没有规则)否则显示未分配
+                            // 有没有分配(或者部门管理员是否设置了规则)规则 就看 subscribe对象是否有数据
+                            if (depAdmin) {
+                                // 部门管理员
+                                
+                            } else {
+                                // 普通员工,没开无差别,没匹配到数据,显示空
+                                // if (!isMamagerUser && nodiff === 0 && Object.keys(res.subscribe).length === 0) return $('#empty').show()
+                                if (Object.keys(res.subscribe).length === 0) {
+                                    return $('#empty').show()
+                                } else {
+                                    lockAllOptions(res)
+                                }
+                            }
+
+                        } else {
+                            // 开启了无差别,管理员和员工都会显示企业管理员的规则,并且不能点击
+                            // 锁定所有选项不能点击
+                            lockAllOptions(res)
+                        }
+                    }
+
+                    //统一订阅
+                    // 公司
+                    // $('.company_name').html(res.name)
+                    // 区域
+                    area(res)
+                    // 采购单位行业
+                    pur_industry(res)
+                    // 关键词
+                    keyworditem(res)
+                    // 信息类型
+                    infotype(res)
+                    // 推送设置
+                    setPush(res)
+                    //项目匹配
+                    if (res.subscribe.projectmatch === 1 || JSON.stringify(res.subscribe) == "{}") {
+                        $('#edit .pro-switch').prop("checked", "true");
+                        $('#read .project-match .j-cell_right').html('<span class="j-cell-text ellipsis">已开启</span>')
+                    } else {
+                        $('#read .project-match .j-cell_right').html('<span class="j-cell-text ellipsis">已关闭</span>')
+                    }
+                    // 允许员工进行订阅范围扩展
+                    if(res.isExtend === 1) {
+                      $('.sub-switch').prop('checked', true)
+                    } else {
+                      $('.sub-switch').prop('checked', false)
+                    }
+
+                    // 显示隐藏
+                    if (isMamagerUser) {
+                        $("#edit").show();
+                    } else {
+                        $("#read").show();
+                    }
+                } else {
+                    //个人订阅
+                    // 公司信息隐藏
+                    $('.company').hide()
+                    $('.range_tips').hide()
+                    $('.range').css('height','auto')
+                    // 区域
+                    area(res)
+                    // 采购单位行业
+                    pur_industry(res)
+                    // 关键词
+                    keyworditem(res)
+                    // 信息类型
+                    infotype(res)
+                    // 推送设置
+                    setPush(res)
+                    //项目匹配
+                    if (res.subscribe.projectmatch === 1 || JSON.stringify(res.subscribe) == "{}") {
+                        $('#edit .pro-switch').prop("checked", "true");
+                        $('#read .project-match .j-cell_right').html('<span class="j-cell-text ellipsis">已开启</span>')
+                    } else {
+                        $('#read .project-match .j-cell_right').html('<span class="j-cell-text ellipsis">已关闭</span>')
+                    }
+                    $("#edit").show();
+                }
+
+            },
+            complete: function () {
+                loading.hide()
+            }
+        })
+    }
+    
+    function area(res) {
+        var provinceArr = []
+        var areaArr = []
+        if (JSON.stringify(res.subscribe) == "{}") {
+            return $('.area_detail').hide()
+        }
+        var areaObj = res.subscribe.area
+        if (res.subscribe.area == null || Object.keys(res.subscribe.area).length === 0 || res.subscribe.area['全国'] !== undefined) {
+            $('.area_detail').hide()
+            $('.strarea').text('全国')
+        } else {
+            for (var item in res.subscribe.area) {
+                provinceArr.push({
+                    province: item,
+                    citys: res.subscribe.area[item]
+                })
+            }
+            provinceArr.forEach(function (province, i) {
+                var cityArr = []
+                province.citys.forEach(function (city, ii) {
+                    cityArr.push(city)
+                })
+                if (cityArr.length == 0) {
+                    var pStr = province.province
+                } else {
+                    var pStr = province.province + '(' + cityArr.join('、') + ')'
+                }
+                areaArr.push(pStr)
+            })
+            
+            areaArr = areaArr.join('、')
+            $('.area_detail').html(areaArr)
+            calculateCityData(areaObj)
+        }
+        // if(JSON.stringify(res.subscribe.area) == "{}"){
+        //     $('.strarea').text('请选择区域')
+        //     $('.area_detail').hide()
+        //     return 
+        // }
+    }
+
+    function pur_industry(res) {
+        if (res.subscribe.buyerclass == null) {
+            $('.industry_detail').hide()
+        } else if (JSON.stringify(res.subscribe.buyerclass) == "[]") {
+            $('.industry_detail').hide()
+            $('.inddustry_int').text('全部行业')
+        } else {
+            $('.industry_detail').html(res.subscribe.buyerclass.join('、'))
+            var industryNum = res.subscribe.buyerclass.length
+            $('.inddustry_int').text(industryNum + '个行业')
+        }
+    }
+
+    function keyworditem(res) {
+        if (res.subscribe.items == null) {
+            $('.keyWords').html('未分类')
+        } else {
+            $('.keyWords').html(res.subscribe.items.join('、'))
+            var keyWordNum = res.subscribe.items.length
+            $('.keyWord_int').text(keyWordNum + '个分类')
+        }
+    }
+
+    function infotype(res) {
+        if (Object.keys(res.subscribe).length === 0 || res.subscribe.infotype == null || JSON.stringify(res.subscribe.infotype) == "[]") {
+            $('.infotype_detail').html('全部类型')
+        } else {
+            $('.infotype_detail').html(res.subscribe.infotype.join('、'))
+        }
+    }
+
+    function setPush(res) {
+        var ratemodeMap = {
+            1: '实时推送',
+            2: '每日推送',
+            3: '每周推送',
+            4: '每月推送',
+        }
+        var ratemode = 2
+        if (Object.keys(res.subscribe).length !== 0) {
+            ratemode = res.subscribe.ratemode
+        }
+
+        $('.setpush').html(ratemodeMap[ratemode])
+    }
+
+    function lockAllOptions(data) {
+        // 移除溢出隐藏
+        $('.j-cells.with-sub-info .cell-ft').removeClass('ellipsis')
+        // 隐藏图标
+        $('.sub_company .j-cells a .iconfont').hide()
+        // 禁止跳转
+        $('.sub_company .j-cells').on('click', 'a', function(e) {
+            e.preventDefault()
+        })
+        // 项目匹配
+        var pmOn = data.subscribe.projectmatch
+        var pmStr = pmOn ? '已开启' : '已关闭'
+        $('.pro-switch').parent().text(pmStr)
+    }
+
+    // 计算出城市数据
+    function calculateCityData(selected) {
+        var _showContainer = $('.strarea')
+        var selectedCount = {
+            country: 0,
+            province: 0,
+            city: {
+                // 一共选了多少个城市
+                totalCount: 0,
+                // 分布在几个省份
+                pCount: 0
+            }
+        }
+
+        if (!selected) {
+            // _showContainer.text('未设置')
+            return
+        }
+
+        if (Object.keys(selected).length === 0) {
+            selectedCount = {
+                country: -1,
+                province: 0,
+                city: {
+                    totalCount: 0,
+                    pCount: 0
+                }
+            }
+            return setCityData(selectedCount)
+        }
+
+        for (var p in selected) {
+            if (p === '全国') {
+                selectedCount = {
+                    country: -1,
+                    province: 0,
+                    city: {
+                        totalCount: 0,
+                        pCount: 0
+                    }
+                }
+                return setCityData(selectedCount);
+            }
+            if (selected[p].length === 0) {
+                selectedCount.province++
+            } else {
+                selectedCount.city.pCount++
+                selected[p].forEach(function (item, index) {
+                    selectedCount.city.totalCount++
+                })
+            }
+        }
+        setCityData(selectedCount)
+    }
+    // 设置城市数据
+    function setCityData (selected) {
+        var _this = $('.strarea')
+        // 已选择数量
+        var count = {
+            p: selected.province === 0 ? '' : selected.province + '个省',
+            c: selected.city.totalCount === 0 ? '' : selected.city.totalCount + '个市',
+            s: selected.city.pCount === 1 ? '' : '(分布在' + selected.city.pCount + '个省内)'
+        }
+
+        // 已选择数量数据渲染
+        if (selected.country === -1) {
+            _this.text('全国')
+        } else {
+            var dunhao = ''
+            if (selected.province !== 0 && selected.city.totalCount !== 0) {
+                dunhao = '、'
+            }
+            if (selected.city.pCount === 0 || selected.city.pCount === 1) {
+                count.s = ''
+            }
+            _this.text(count.p + dunhao + count.c + count.s)
+        }
+    }
+})

File diff suppressed because it is too large
+ 14 - 0
entbase-mobile/page_entbase_mobile/js/swiper.min.js


File diff suppressed because it is too large
+ 1 - 0
entbase-mobile/page_entbase_mobile/js/template-web.js


File diff suppressed because it is too large
+ 9 - 0
entbase-mobile/page_entbase_mobile/js/weui.min.js


Some files were not shown because too many files changed in this diff