149
        border-radius: 4px;
150
        opacity: 0;
151
      }
152
153
      &>.btn {
154
        color: rgba(255, 255, 255, 0.65);
155
        border-color: rgba(0, 0, 0, 0);
156
        background-color: rgba(0, 0, 0, 0);
157
158
        &:hover {
159
          color: white;
160
          background-color: $brand-primary;
161
        }
162
      }
163
164
      &:hover {
165
        opacity: 1;
166
      }
167
    }
168
169
    &.active &__opt {
170
      opacity: 1;
171
    }
172
173
    &.lock &__opt::after {
174
      display: block;
175
    }
176
177
    .popover {
178
      width: 213px;
179
      background-color: white;
180
      color: rgba(0, 0, 0, 0.65);
181
      position: absolute;
182
      bottom: 12px;
183
      left: 12px;
184
      padding: 16px 20px;
185
      border-radius: 4px;
186
    }
187
188
    .btn-block {
189
      display: flex;
190
      flex-direction: row-reverse;
191
      margin-top: 14px;
192
    }
193
  }
194
195
  .div-footer {
196
    height: 32px;
197
    margin-top: 6px;
198
  }
199
</style>

+ 13 - 0
security-protection-platform/src/routes.js

@ -18,6 +18,19 @@ export const constantRoutes = [
18 18
    hidden: true
19 19
  },
20 20
  {
21
    path: '/dashboard',
22
    component: Layout,
23
    meta: { icon: 'home' },
24
    children: [
25
      {
26
        name: 'dashboard',
27
        path: '',
28
        component: () => import(/* webpackChunkName: "dashboard" */ './modules/dashboard'),
29
        meta: { title: '首页', icon: 'home' }
30
      }
31
    ]
32
  },
33
  {
21 34
    path: '/videoSurveillance',
22 35
    component: Layout,
23 36
    meta: { icon: 'home' },

android-share - Nuosi Git Service

ipu的trunk版的android工程和服务端工程。

Index.js 1.9KB

    require([ "mobile", "jquery", "common","jcl","wadeMobile" ], function(Mobile, $, Common,Wade,WadeMobile) { /* Mobile.dataRequest("Login.test",null,function(resultData){ alert("返回的数据为:" + resultData); var r = new Wade.DataMap(resultData); alert("变成了DataMap"); alert("变为字符串:" + resultData.toString()); });*/ /* Common.get(function(){ alert("数据:" + PluginManager); },"aa");*/ var menus = $("#menuList").children(); $.each(menus, function(index, item) { var obj = $(item); var action = obj.attr("action"); if (action) { if (action == "Login") { obj.click(function() { //Mobile.openPage("Push"); /*var param = new Wade.DataMap(); param.put("KEY1",123); param.put("KEY2","aaa"); param.put("KEY3",false); param.put("KEY4",true); var list = new Wade.DatasetList(); var d1 = new Wade.DataMap(); var d2 = new Wade.DataMap(); d1.put("K1",123); d2.put("K1","你好"); list.add(d1); list.add(d2); param.put("KEY5",list); //Mobile.openTemplate("TestOpenTemplate",param); Mobile.getTemplate("TestTemplate",param,function(htmlStr){ alert("getTemplate解析出来的数据为:" + htmlStr); });*/ Common.openPage(action); /*Common.callSvc("Login.init", null, function(resultData) { alert("返回的数据:" + resultData); });*/ /*WadeMobile.getChoice(function(value){ alert("选择的值为:" + value); },"张三,李四,王五","18,28,38","用户选择","min");*/ }); } else { obj.click(function() { //Common.openPage(action); alert("即将打开网页"); WadeMobile.openBrowser("http:www.baidu.com",function(msg){ alert("打开异常:" + msg); }); alert("打开成功"); }); } } }); $("#openTestPage").click(function() { Common.openPage("Test"); }); });