Forráskód Böngészése

删除不必要的东西

lanzi68yang@163.com 7 éve
szülő
commit
39a566071b

A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 1
dist/testproject/app-23b557c311.css


A különbségek nem kerülnek megjelenítésre, a fájl túl nagy
+ 0 - 716
dist/testproject/app-b349c27127.js


+ 0 - 36
dist/testproject/index.html

@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<html>
-
-<head>
-    <title>12345统一政务服务平台</title>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1, maximum-scale=1,user-scalable=no">
-    <!-- 新 Bootstrap 核心 CSS 文件 -->
-    <link rel="stylesheet" href="../bower_components/bootstrap/dist/css/bootstrap.min.css">
-    <link rel="stylesheet" href="../bower_components/animate.css/animate.min.css">
-    <link rel="stylesheet" href="../bower_components/swiper/dist/css/swiper.min.css">
-    <link rel="stylesheet" href="app-23b557c311.css">
-
-    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
-    <!--<script src="js/jquery.min.js"></script>-->
-    <script src="http://webapi.amap.com/maps?v=1.3&key=d7455920303550a45cb4e1a27bdbfc86"></script>
-    <script src="../bower_components/lodash/dist/lodash.js"></script>
-    <script src="../bower_components/jquery/dist/jquery.min.js"></script>
-    <script src="../bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
-    <script src="../bower_components/swiper/dist/js/swiper.jquery.min.js"></script>
-    <script src="../bower_components/angular/angular.min.js"></script>
-    <script src="../bower_components/angular-cookies/angular-cookies.min.js"></script>
-    <script src="../bower_components/angular-ui-router/release/angular-ui-router.min.js"></script>
-    <script src="../bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js"></script>
-    <script src="../bower_components/angular-animate/angular-animate.min.js"></script>
-
-    <script src="app-b349c27127.js"></script>
-</head>
-
-<body ng-app="app">
-    <script src="https://qiyukf.com/script/acdf3e0b8a30e358652592e57b7d6a94.js"></script>
-    <ui-view></ui-view>
-
-</body>
-
-</html>

+ 0 - 98
testproject/Gulpfile.js

@@ -1,98 +0,0 @@
-var gulp = require('gulp');
-// var sass = require('gulp-sass');
-var less = require('gulp-less');
-var del = require('del');
-var concat = require('gulp-concat');
-var rev = require('gulp-rev');
-var revCollector = require('gulp-rev-collector');
-var minifycss = require('gulp-minify-css');
-var minifyhtml = require('gulp-minify-html');
-var minifyjs = require('gulp-uglify');
-var autoprefixer = require('gulp-autoprefixer');
-// var imagemin = require('gulp-imagemin');
-// var pngquant = require('imagemin-pngquant');
-var templateCache = require('gulp-angular-templatecache');
-
-// Paths to your asset files
-var paths = {
-    frontend: {
-        scripts: [
-            '../common/*.js',
-            'src/js/**/*.js'
-        ],
-        styles: [
-            'temp/css/*'
-        ],
-        less: [
-            // '../common/*.less',
-            'src/less/*.less'
-        ],
-        imgs: [
-            'src/imgs/*'
-        ],
-        template: [
-            'src/templates/*.html'
-        ]
-    }
-}
-
-var distpath = '../dist/testproject';
-
-gulp.task('app-css', function() {
-    del([distpath + '/app-*.css'], { cwd: process.cwd(), force: true });
-    return gulp.src(paths.frontend.less)
-        .pipe(less())
-        .pipe(concat('app.css'))
-        .pipe(minifycss())
-        .pipe(rev())
-        .pipe(gulp.dest(distpath))
-        .pipe(rev.manifest('app-css-manifest.json'))
-        .pipe(gulp.dest('temp/manifest'));
-});
-
-gulp.task('rev', ['app-css', 'js'], function() {
-    return gulp.src(['temp/manifest/*.json', 'src/html/index.html'])
-        .pipe(revCollector())
-        .pipe(gulp.dest(distpath));
-});
-
-gulp.task('template', function() {
-    return gulp.src(paths.frontend.template)
-        .pipe(templateCache('templates.js', { module: 'templatescache', standalone: true, root: 'templates/' }))
-        .pipe(gulp.dest('src/js'));
-});
-
-gulp.task('js', ['template'], function() {
-    // Cleanup old assets
-    del([distpath + '/app-*.js'], { cwd: process.cwd(), force: true });
-
-    return gulp.src(paths.frontend.scripts)
-        .pipe(concat('app.js'))
-        // .pipe(minifyjs())
-        .pipe(rev())
-        .pipe(gulp.dest(distpath))
-        .pipe(rev.manifest('app-js-manifest.json'))
-        .pipe(gulp.dest('temp/manifest'));
-});
-
-// gulp.task('imgs', function () {
-//     return gulp.src(paths.frontend.imgs)
-//         .pipe(imagemin({
-//             progressive: true,
-//             svgoPlugins: [{removeViewBox: false}],
-//             use: [pngquant()]
-//         }))
-//         .pipe(gulp.dest('dest/assets/imgs'));
-// });
-
-gulp.task('build', ['app-css', 'template', 'js', 'rev']);
-
-gulp.task('watch', function() {
-    gulp.watch('src/less/*.less', ['app-css', 'rev']);
-    gulp.watch('src/html/**/*.html', ['rev']);
-    gulp.watch('src/templates/**/*.html', ['template', 'js', 'rev']);
-    gulp.watch('src/js/**/*.js', ['js', 'rev']);
-});
-
-// The default task (called when you run `gulp` from cli)
-gulp.task('default', ['build', 'watch']);

+ 0 - 36
testproject/src/html/index.html

@@ -1,36 +0,0 @@
-<!DOCTYPE html>
-<html>
-
-<head>
-    <title>12345统一政务服务平台</title>
-    <meta charset="utf-8" />
-    <meta name="viewport" content="width=device-width,initial-scale=1,minimum-scale=1, maximum-scale=1,user-scalable=no">
-    <!-- 新 Bootstrap 核心 CSS 文件 -->
-    <link rel="stylesheet" href="../bower_components/bootstrap/dist/css/bootstrap.min.css">
-    <link rel="stylesheet" href="../bower_components/animate.css/animate.min.css">
-    <link rel="stylesheet" href="../bower_components/swiper/dist/css/swiper.min.css">
-    <link rel="stylesheet" href="app.css">
-
-    <!-- jQuery文件。务必在bootstrap.min.js 之前引入 -->
-    <!--<script src="js/jquery.min.js"></script>-->
-    <script src="http://webapi.amap.com/maps?v=1.3&key=d7455920303550a45cb4e1a27bdbfc86"></script>
-    <script src="../bower_components/lodash/dist/lodash.js"></script>
-    <script src="../bower_components/jquery/dist/jquery.min.js"></script>
-    <script src="../bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
-    <script src="../bower_components/swiper/dist/js/swiper.jquery.min.js"></script>
-    <script src="../bower_components/angular/angular.min.js"></script>
-    <script src="../bower_components/angular-cookies/angular-cookies.min.js"></script>
-    <script src="../bower_components/angular-ui-router/release/angular-ui-router.min.js"></script>
-    <script src="../bower_components/angular-bootstrap/ui-bootstrap-tpls.min.js"></script>
-    <script src="../bower_components/angular-animate/angular-animate.min.js"></script>
-
-    <script src="app.js"></script>
-</head>
-
-<body ng-app="app">
-    <script src="https://qiyukf.com/script/acdf3e0b8a30e358652592e57b7d6a94.js"></script>
-    <ui-view></ui-view>
-
-</body>
-
-</html>

+ 0 - 9
testproject/src/js/app.js

@@ -1,9 +0,0 @@
-'use strict';
-
-var app = angular.module('app', [
-    'ui.router',
-    'templatescache',
-    'ui.bootstrap',
-    'ngAnimate',
-    'ngCookies'
-]);

+ 0 - 133
testproject/src/js/controller/homeController.js

@@ -1,133 +0,0 @@
-'use strict';
-
-angular.module('app').controller('HomeController', ['$scope', '$state', '$timeout', 'userService', function ($scope, $state, $timeout, userService) {
-    $scope.getAddSuccess = true;
-    $scope.currentUser = userService.getMe();
-    $scope.$on('$viewContentLoaded', function() {
-        //加载轮播
-        var swiper = new Swiper('.swiper-container', {
-            pagination: '.swiper-pagination',
-            paginationClickable: true,
-            loop: true,
-            autoplayDisableOnInteraction: false,
-            autoplay: 5000,
-            effect: 'coverflow',
-            slidesPerView: 'auto',
-            centeredSlides: true,
-            spaceBetween: -55,
-            coverflow: {
-                rotate: 30,
-                stretch: 0,
-                depth: 60,
-                modifier: 1,
-                slideShadows: false
-            }
-        });
-        //加载字体适应
-        var clientWidth = document.documentElement.clientWidth || window.innerWidth;
-        var innerWidth = Math.max(Math.min(clientWidth, 480), 320);
-        console.log(innerWidth);
-        if (innerWidth < 350) {
-            angular.element(".explain").removeClass("font-15");
-            angular.element(".explain").addClass("font-12");
-        } else if (innerWidth > 400) {
-            angular.element(".explain").removeClass("font-12");
-            angular.element(".explain").addClass("font-15");
-        }
-        console.log(userService.getMe());
-        //加载sdk
-        ysf.on({
-            'onload': function() {
-                $scope.sdk = true;
-            }
-        });
-        //加载地图,调用浏览器定位服务
-        var map, geolocation, marker, geocoder, regeocoder;
-        map = new AMap.Map('', {
-            resizeEnable: true,
-            zoom: 17
-        });
-        map.plugin('AMap.Geolocation', function() {
-            geolocation = new AMap.Geolocation({
-                enableHighAccuracy: true, //是否使用高精度定位,默认:true
-                timeout: 10000, //超过10秒后停止定位,默认:无穷大
-                maximumAge: 0, //定位结果缓存0毫秒,默认:0
-                convert: true, //自动偏移坐标,偏移后的坐标为高德坐标,默认:true
-                showButton: true, //显示定位按钮,默认:true
-                buttonPosition: 'RB', //定位按钮停靠位置,默认:'LB',左下角
-                buttonOffset: new AMap.Pixel(10, 20), //定位按钮与设置的停靠位置的偏移量,默认:Pixel(10, 20)
-                showMarker: true, //定位成功后在定位到的位置显示点标记,默认:true
-                showCircle: true, //定位成功后用圆圈表示定位精度范围,默认:true
-                panToLocation: true, //定位成功后将定位到的位置作为地图中心点,默认:true
-                zoomToAccuracy: true, //定位成功后调整地图视野范围使定位位置及精度范围视野内可见,默认:false
-                useNative: true
-            });
-            map.addControl(geolocation);
-            geolocation.getCurrentPosition();
-            AMap.event.addListener(geolocation, 'complete', onComplete); //返回定位信息
-            AMap.event.addListener(geolocation, 'error', onError); //返回定位出错信息
-
-            function onComplete(data) {
-                $scope.getAddSuccess = true;
-                var geocoder = new AMap.Geocoder({
-                    radius: 1000,
-                    extensions: "all"
-                });
-                console.log("获取地址");
-                geocoder.getAddress(data.position, function(status, result) {
-                    if (status === 'complete' && result.info === 'OK') {
-                        $scope.addr = result;
-                        $timeout();
-                    }
-                });
-            };
-
-            function onError(data) {
-                $scope.getAddSuccess = false;
-            };
-        });
-    });
-
-    $scope.onOnlineClick = function(e) {
-        console.log($scope.sdk);
-        
-        var activeClick = $(e.target);
-        //activeClick[0].parentElement.dataset.target = "#phoneLoginModal";
-        if (!$scope.getAddSuccess) {
-            alert("获取地址失败,请开启手机GPS定位功能,并允许获取地理位置授权");
-            window.location.reload();
-        } else if (!$scope.addr && $scope.getAddSuccess) {
-            alert("地理位置获取中,请稍后");
-        } else if ($scope.addr.regeocode.addressComponent.district === '莲都区') {
-            //activeClick[0].parentElement.parentElement.dataset.target = "#phoneLoginModal";
-            activeClick[0].parentElement.dataset.target = "#phoneLoginModal";
-        } else {
-            //activeClick[0].parentElement.parentElement.dataset.target = "#errorLoginModal";
-            activeClick[0].parentElement.dataset.target = "#errorLoginModal";
-        }
-    };
-
-    $scope.onlineService = function() {
-        //console.log($scope.mobile, $scope.sdk);
-        if ($scope.currentUser.Mobile.length == 11 && $scope.sdk) {
-            userService.update($scope.currentUser);
-            ysf.config({
-                uid: $scope.currentUser.Id, // 用户Id
-                name: $scope.currentUser.Nickname, // 用户名称
-                email: $scope.addr.regeocode.formattedAddress, // 用户邮箱
-                mobile: $scope.currentUser.Mobile, // 用户电话
-                success: function() { // 成功回调
-                    ysf.open();
-                    console.log('success');
-                },
-                error: function() { // 错误回调
-                    // handle error
-                    //ysf.open();
-                    alert('error!!!');
-                }
-            });
-        } else {
-            alert("请正确输入手机号码");
-        }
-    };
-}]);

+ 0 - 180
testproject/src/js/controller/webController.js

@@ -1,180 +0,0 @@
-'use strict';
-
-angular.module('app').controller('WebController', ['$scope', '$timeout', 'userService', 'messageService', function($scope, $timeout, userService, messageService) {
-    //lxtalkClient.Invoke('{FB60F992-A0FD-47B3-AAA7-E80DF209C5A4}', '_Register', '', $scope);
-    $scope.bundle = {
-        userId: -1,
-        //不超过2000个字符
-        describe: '',
-        //不超过50个字符
-        name: '',
-        //手机号码
-        mobile: '',
-        //不超过100个字符
-        title: '',
-        /// 类型
-        /// 0我要咨询;1我要投诉;2我要建议;3领导信箱;4我要举报 5纠错
-        type: 0,
-        //是否建议 1-建议 0-投诉
-        advice: '0',
-        //是否公开互联网(1是;0否)
-        isPublic: 0,
-        assets: []
-    };
-    $scope.currentUser = userService.getMe();
-    $scope.bundle.name = $scope.currentUser.Nickname;
-    $scope.bundle.mobile = $scope.currentUser.Mobile;
-    $scope.$on('$viewContentLoaded', function() {
-        var clientWidth = document.documentElement.clientWidth || window.innerWidth;
-        var innerWidth = Math.max(Math.min(clientWidth, 480), 320);
-        //console.log(innerWidth);
-        if (innerWidth > 350) {
-            angular.element(".userInfo>div>span").addClass("font-14");
-            angular.element(".certificate").addClass("font-14");
-            angular.element(".userInfo .input-sm ").addClass("font-13");
-            angular.element(".userInfo .text-message").addClass("font-13");
-        } else {
-            angular.element(".font-13").removeClass("font-13");
-            angular.element(".font-14").removeClass("font-14");
-        }
-    });
-
-    $scope.imgView = function(event) {
-        angular.element(".onView").removeClass("onView");
-        var img = $(event.target);
-        img[0].className = "onView";
-        if (img[0].naturalWidth > img[0].naturalHeight) {
-            angular.element(".image-view").addClass("width-Img");
-        } else {
-            angular.element(".image-view").removeClass("width-Img");
-        }
-        $scope.imgUrl = img[0].src;
-        $(".image-big").remove();
-        $(".image-view").append('<img class="image-big" src="' + $scope.imgUrl + '" data-dismiss="modal">');
-    };
-
-    $scope.delSure = function() {
-        $scope.sure = false;
-        var imgs = $(".images");
-        $(".image-big").remove();
-        for (var i = 0, len = imgs.length; i < len; i++) {
-            if (imgs[i].firstElementChild.className == "onView") {
-                imgs[i].remove();
-                var imgNum = $("#imgpreview").find('img').length;
-                if (imgNum == 2) {
-                    angular.element(".images").removeClass("three");
-                    angular.element(".images").addClass("two");
-                } else if (imgNum = 1) {
-                    angular.element(".images").removeClass("two");
-                    angular.element(".images").addClass("one");
-                }
-                return;
-            }
-        };
-    };
-
-    // $scope.actived = function($event) {
-    //     var activeClick = $($event.target);
-    //     if (activeClick[0].nodeName == "A") {
-    //         angular.element(".Aa").removeClass("activeColor");
-    //         angular.element(".glyphicon").removeClass("activeColor");
-    //         activeClick.addClass("activeColor");
-    //     } else if (activeClick[0].nodeName == "SPAN") {
-    //         angular.element(".Aa").removeClass("activeColor");
-    //         angular.element(".glyphicon").removeClass("activeColor");
-    //         activeClick.addClass("activeColor");
-    //         $(activeClick[0].parentElement).addClass("activeColor");
-    //     }
-    // };
-
-    // $scope.footHide = function() {
-    //     angular.element(".foot").addClass("hide");
-    // };
-    // $scope.footShow = function($event) {
-    //     var activeClick = $($event.target);
-    //     if (activeClick[0].className == "form-control input-sm" || activeClick[0].className == "text-message") {
-    //         angular.element(".foot").addClass("hide");
-    //     } else {
-    //         $timeout(function() {
-    //             angular.element(".foot").removeClass("hide");
-    //         }, 400);
-    //     }
-    // };
-
-    $scope.submit = function() {
-        var imgs = $(".images");
-        for (var i = 0, len = imgs.length; i < len; i++) {
-            $scope.bundle.assets.push({ assetType: 1, data: imgs[i].firstElementChild.src });
-        };
-        $scope.bundle.describe = $(".descr")[0].textContent;
-        if ($scope.mapPosition)
-            $scope.bundle.assets.push({ assetType: 0, data: { info: $scope.mapPosition.info, district: $scope.mapPosition.addressComponent.district, address: $scope.mapPosition.formattedAddress, position: $scope.mapPosition.position } });
-        console.log($scope.bundle);
-
-        $scope.submiting = true;
-        $timeout(function() {
-            $scope.submiting = false;
-            $scope.successed = true;
-        }, 1000);
-        //messageService.submit($scope.bundle, "successCallback", "failsCallback");
-        // $scope.bundle.name = "";
-        // $scope.bundle.mobile = "";
-        // $scope.bundle.describe = $(".descr")[0].textContent = "";
-        // $scope.bundle.assets = [];
-    };
-
-    $scope.imgPreview = function(fileDom) {
-        //判断是否支持FileReader
-        if (window.FileReader) {
-            var reader = new FileReader();
-        } else {
-            alert("您的设备不支持图片预览功能,如需该功能请升级您的设备!");
-        };
-        //获取文件
-        var file = fileDom.files[0];
-        var imageType = /^image\//;
-        //是否是图片
-        if (!imageType.test(file.type)) {
-            alert("请选择图片!");
-            return;
-        };
-        $("#file")[0].value = "";
-        //读取完成
-        reader.onload = function(e) {
-            // //获取图片dom
-            // var img = document.getElementById("preview");
-            // //图片路径设置为读取的图片
-            // img.src = e.target.result;
-            var img = new Image,
-                width = 1080, //image resize
-                quality = 0.9, //image quality
-                canvas = document.createElement("canvas"),
-                drawer = canvas.getContext("2d");
-            img.src = this.result;
-
-            $(img).on('load', function() {
-                $(img).off('load');
-                var imgNum = $("#imgpreview").find('img').length;
-                canvas.width = width;
-                canvas.height = width * (img.height / img.width);
-                drawer.drawImage(img, 0, 0, canvas.width, canvas.height);
-                img.src = canvas.toDataURL(file.type, quality);
-
-                if (imgNum == 0) {
-                    $("#imgpreview").append('<a data-toggle="modal" data-target="#viewModal" class="thumbnail images"><img onClick="angular.element(this).scope().imgView(event)" src="' + img.src + '"></a>');
-                    angular.element(".images").addClass("one");
-                } else if (imgNum == 1) {
-                    $("#imgpreview").append('<a data-toggle="modal" data-target="#viewModal" class="thumbnail images"><img onClick="angular.element(this).scope().imgView(event)" src="' + img.src + '"></a>');
-                    angular.element(".images").removeClass("one");
-                    angular.element(".images").addClass("two");
-                } else if (imgNum >= 2) {
-                    $("#imgpreview").append('<a data-toggle="modal" data-target="#viewModal" class="thumbnail images"><img onClick="angular.element(this).scope().imgView(event)" src="' + img.src + '"></a>');
-                    angular.element(".images").removeClass("two");
-                    angular.element(".images").addClass("three");
-                }
-            });
-        };
-        reader.readAsDataURL(file);
-    };
-
-}]);

+ 0 - 96
testproject/src/js/directive/webChat.js

@@ -1,96 +0,0 @@
-(function() {
-    'use strict';
-
-    angular
-        .module('app')
-        .directive('gaodeMap', Directive);
-    Directive.$inject = [];
-
-    function Directive() {
-        var directive = {
-            link: link,
-            restrict: 'E',
-            template: '<div id="container"></div>',
-            replace: true,
-            scope: false
-                // scope: {
-                //     options: '='
-                // }
-        };
-        return directive;
-
-        function link(scope, element, attrs) {
-            var map, geolocation, marker, geocoder;
-            //加载地图,调用浏览器定位服务
-            map = new AMap.Map('container', {
-                resizeEnable: true,
-                zoom: 17
-            });
-            map.plugin('AMap.Geolocation', function() {
-                geolocation = new AMap.Geolocation({
-                    enableHighAccuracy: true, //是否使用高精度定位,默认:true
-                    timeout: 10000, //超过10秒后停止定位,默认:无穷大
-                    maximumAge: 0, //定位结果缓存0毫秒,默认:0
-                    convert: true, //自动偏移坐标,偏移后的坐标为高德坐标,默认:true
-                    showButton: true, //显示定位按钮,默认:true
-                    buttonPosition: 'RB', //定位按钮停靠位置,默认:'LB',左下角
-                    buttonOffset: new AMap.Pixel(10, 20), //定位按钮与设置的停靠位置的偏移量,默认:Pixel(10, 20)
-                    showMarker: true, //定位成功后在定位到的位置显示点标记,默认:true
-                    showCircle: true, //定位成功后用圆圈表示定位精度范围,默认:true
-                    panToLocation: true, //定位成功后将定位到的位置作为地图中心点,默认:true
-                    zoomToAccuracy: true, //定位成功后调整地图视野范围使定位位置及精度范围视野内可见,默认:false
-                    useNative: true
-                });
-                map.addControl(geolocation);
-                geolocation.getCurrentPosition();
-                AMap.event.addListener(geolocation, 'complete', onComplete); //返回定位信息
-                AMap.event.addListener(geolocation, 'error', onError); //返回定位出错信息
-
-                function onComplete(data) {
-                    map.clearMap();
-                    scope.mapPosition = data;
-                    var geocoder = new AMap.Geocoder({
-                        radius: 1000,
-                        extensions: "all"
-                    });
-                    var marker = new AMap.Marker({
-                        map: map,
-                        bubble: false,
-                        visible: true
-                    });
-
-                    geocoder.getAddress(data.position, function(status, result) {
-                        if (status == 'complete' && result.info === 'OK') {
-                            //console.log(result);
-                            $("#result")[0][0].textContent = result.regeocode.formattedAddress.substring(6);
-                            $("#result")[0][1].textContent = result.regeocode.pois[0].name;
-                            $("#result")[0][2].textContent = result.regeocode.pois[1].name;
-                        } else {
-                            alert("错误A:定位失败");
-                        }
-                    });
-
-                    map.on('click', function(e) {
-                        marker.setPosition(e.lnglat);
-                        geocoder.getAddress(e.lnglat, function(status, result) {
-                            if (status == 'complete' && result.info === 'OK') {
-                                //console.log($("#result"));
-                                //var sub = result.regeocode.formattedAddress.indexOf(result.regeocode.aois[0].name)
-                                $("#result")[0][0].textContent = result.regeocode.formattedAddress.substring(6);
-                                $("#result")[0][1].textContent = result.regeocode.pois[0].name;
-                                $("#result")[0][2].textContent = result.regeocode.pois[1].name;
-                                $("#result")[0].selectedIndex = 0;
-                            } else {
-                                alert("错误B:定位失败");
-                            }
-                        });
-                    });
-                }
-
-                function onError(data) {}
-
-            });
-
-        }
-    }
-})();

+ 0 - 47
testproject/src/js/router.js

@@ -1,47 +0,0 @@
-angular.module('app').run(['$rootScope', '$state', '$stateParams','auth2Service',
-    function ($rootScope, $state, $stateParams, auth2Service) {
-        $rootScope.$state = $state;
-        $rootScope.$stateParams = $stateParams;
-        var locationChangeStartOff = $rootScope.$on('$locationChangeStart', function (event) {
-            auth2Service.checkAuthByServer();
-        });  
-    }
-]).config(['$stateProvider', '$urlRouterProvider',
-    function($stateProvider, $urlRouterProvider) {
-        $urlRouterProvider.otherwise('/home'); //
-        $stateProvider.state('home', {
-                url: '/home',
-                templateUrl: 'templates/home.html',
-                controller: 'HomeController'
-            })
-            .state('webChat', {
-                url: '/webChat',
-                templateUrl: 'templates/webChat.html',
-                controller: 'WebController'
-            })
-            .state('webChat.conComplain', {
-                url: '/conComplain',
-                templateUrl: 'templates/webChat-1.html',
-                controller: 'WebController'
-            })
-            .state('webChat.queryEv', {
-                url: '/queryEv',
-                templateUrl: 'templates/webChat-2.html',
-                controller: 'WebController'
-            })
-            .state('webChat.dyInfo', {
-                url: '/dyInfo',
-                templateUrl: 'templates/webChat-3.html',
-                controller: 'WebController'
-            })
-            .state('webChat.phoneLogin', {
-                url: '/phoneLogin',
-                templateUrl: 'templates/webChat-4.html',
-                controller: 'WebController'
-            }).state('webChat.online', {
-                url: '/online',
-                templateUrl: 'templates/webChat-5.html',
-                controller: 'WebController'
-            });
-    }
-]);

+ 0 - 34
testproject/src/js/service/auth2Service.js

@@ -1,34 +0,0 @@
-(function() {
-    'use strict';
-
-    angular
-        .module('app')
-        .service('auth2Service', auth2Service);
-
-    auth2Service.$inject = ['$cookies', '$http', '$location'];
-
-    function auth2Service($cookies, $http, $location) {
-        this.checkAuthByResponse = checkAuthByResponse;
-        this.checkAuthByCookie = checkAuthByCookie;
-        this.checkAuthByServer = checkAuthByServer;
-
-        function checkAuthByResponse(response) {
-            if (response.status == 501) {
-                window.location = "/home";
-            }
-        }
-
-        function checkAuthByServer() {
-            $http.get($cookies.get('BaseUrl') + '/api/auth/check').then(
-                function () {
-
-                },
-                checkAuthByResponse
-            );
-        }
-
-        function checkAuthByCookie() {
-            return $cookies.get('User') != "" || $cookies.get('User') != undefined;
-        }
-    }
-})();

+ 0 - 18
testproject/src/js/service/messageService.js

@@ -1,18 +0,0 @@
-'use strict';
-
-angular.module('app').service('messageService', ['$http', '$cookies', '$location', 'userService', function($http, $cookies, $location, userService) {
-    var self = this;
-
-    this.submit = function(bundle, successCallback, failsCallback) {
-        bundle.userId = userService.getMe().Id;
-        $http.post($cookies.get('BaseUrl') + '/api/bundle', bundle).then(successCallback, failsCallback);
-    }
-
-    this.getAll = function (successCallback, failsCallback) {
-        $http.get($cookies.get('BaseUrl') + '/api/bundle/all').then(successCallback, failsCallback);
-    }
-
-    this.getDe = function (bundleId, successCallback, failsCallback) {
-        $http.get($cookies.get('BaseUrl') + '/api/bundle/detail/' + bundleId).then(successCallback, failsCallback);
-    }
-}]);

+ 0 - 49
testproject/src/js/service/userService.js

@@ -1,49 +0,0 @@
-(function() {
-    'use strict';
-
-    angular
-        .module('app')
-        .service('userService', userService);
-
-    userService.$inject = ['$http', '$cookies', 'auth2Service'];
-
-    function userService($http, $cookies, auth2Service) {
-        this.getMe = getMe;
-        this.update = update;
-
-        function getMe() {
-            if (this.me != undefined) {
-                return this.me;
-            }
-                
-            if ($cookies.get('User') != "" || $cookies.get('User') != undefined) {
-                this.me = JSON.parse($cookies.get('User'));
-                return this.me;
-            }
-
-            if (this.me === undefined)
-                $http.get($cookies.get('BaseUrl') + '/api/user').then(
-                    function(response) {
-                        this.me = response.data;
-                    },
-                    function(response) {
-                        this.me = {};
-                        auth2Service.checkAuthByResponse(response);
-                    }
-                );
-            return this.me;
-        }
-
-        function update(u) {
-            if (u.Id != undefined)
-                $http.post($cookies.get('BaseUrl') + '/api/user', u).then(
-                    function (response) {
-                        console.log(response.data)
-                    },
-                    function (response) {
-                        console.log(response.data)
-                    }
-                );
-        }
-    }
-})();

+ 0 - 410
testproject/src/less/app.home.less

@@ -1,410 +0,0 @@
-html {
-    background-color: #FFF;
-    height: 100%;
-    width: 100%;
-    font-family: "Arial","Microsoft YaHei","宋体",sans-serif;
- }
-
-.main{
-    display: flex;
-    min-height: 100vh;
-    flex-direction: column;
-    padding-top: 13px;
-    overflow:hidden;
-    background-color: #FFF;
-    width: 100%;
-    height: 100%;
-    header {
-        min-height: 100px;
-        >.swiper-container {
-            width: 100%;
-            >.swiper-wrapper {
-                margin-left: 10%;
-            }
-            img {
-                vertical-align: baseline !important;
-                width: 80%;
-                border-radius: 15px;
-                box-shadow: 0px 2px 5px #888;
-            }
-        }
-    }
-    content {
-        flex: 1;
-        background-color: FFF;
-    }
-    footer {
-        min-height: 150px;
-        margin-top: 20px;
-        width: 100%;
-        height: 100%;
-        position: relative;
-        top: 100%;
-        .bg{
-            width: 100%;
-            height: 100%;
-            >img {
-            width: 100%;
-            height: 100%;
-            }
-        }
-        .contain{
-            width: 100%;
-            height: 100%;
-            white-space: nowrap; /* 自适应宽度,不换行*/
-            overflow-x: hidden; /* overflow-x */
-            .font-12 {
-                font-size: 12px;
-            }
-            .font-15 {
-                font-size: 15px;
-            }
-        .inquire{
-            position: absolute;
-            top: 1%;
-            left: 30%;
-            width: 45%;
-            padding: 1%;
-            .explain {
-                margin-left: 9%;
-                }
-            }
-        .call{
-            position: absolute;
-            top: 17%;
-            left: 48%;
-            width: 45%;
-            padding: 1%;
-            .explain {
-                margin-left: 9%;
-                }
-            }
-        .online{
-            position: absolute;
-            top: 40%;
-            left: 57%;
-            width: 45%;
-            padding: 1%;
-            .explain {
-                margin-left: 9%;
-                }
-            }
-        .email{
-            position: absolute;
-            top: 63%;
-            left: 48%;
-            width: 45%;
-            padding: 1%;
-            .explain {
-                margin-left: 9%;
-                }
-            }
-        .result{
-            position: absolute;
-            top: 80%;
-            left: 30%;
-            width: 45%;
-            padding: 1%;
-            .explain {
-                margin-left: 9%;
-                }
-            }
-            
-        .logo{
-            top: 20.5%;
-            left: -10.5%;
-            position: absolute;
-            width: 51.33%;
-            >img{
-            width: 100%;
-            }
-        }
-        a:focus {
-            border: none;
-            outline: none;
-            text-decoration: none;
-        }
-        }
-    }
-}
-.info {
-    top: 10% !important;
-    background-color: transparent !important;
-}
-.fade {
-    top: 0%;
-    margin: 0px;
-    padding: 0px;
-    background-color: #FFF;
-    .modal-info {
-        position: absolute;
-        top: 100px;
-        width: 80%;
-        margin: 0px 10%;
-        padding: 10%;
-        text-align: left;
-        font-family: "Arial","Microsoft YaHei","宋体",sans-serif;
-        border-top: 1px solid #ddd;
-        box-shadow: 0px 2px 5px #888;
-        background-color: #FFF;
-        border-radius: 4px;
-        >input {
-            margin-bottom: 25px;
-            height: 28px;
-            font-size: 14px;
-        }
-        >p {
-            font-size: 16px;
-            color: #000;
-            margin-bottom: 20px;
-        }
-        >a {
-            float: right;
-            font-size: 15px;
-            margin: 10px 10px 0px 15px;
-            color: #03AD46;
-            &:hover,&:focus {
-                text-decoration: none;
-            }
-            &:active, .open>.dropdown-toggle.btn-default{
-                text-decoration: none;
-                color: #999;
-            }
-        }
-    }
-}
-
-.breath{
-    display: inline-block;
-    width: 31%;
-    border-radius: 100%;
-    animation-duration: 3s;     /*人的普通呼吸时间是3秒每次,深呼吸时间是6秒每次*/
-    animation-timing-function: linear;
-    animation-iteration-count: infinite;
-    animation-direction:alternate;
-    /* Safari and Chrome: */
-    -webkit-animation-duration: 3s;
-    -webkit-animation-timing-function:linear;
-    -webkit-animation-iteration-count:infinite;
-    -webkit-animation-direction:alternate;
-    -webkit-transform:translate3d(0,0,0);
-}
-
- .size1{ 
-     animation-name: breath1;
-     /* Safari and Chrome: */
-    -webkit-animation-name: breath1;
- }
-    @keyframes breath1
-    {
-        0% {
-            box-shadow: 0 0 5px #FFC547;
-        }
-        100%{
-            box-shadow: 0 0 30px #F29505;
-        }
-    }
-
-    @-webkit-keyframes breath1 /* Safari and Chrome */
-    {
-        0% {
-            box-shadow: 0 0 5px #FFC547;
-        }
-        100%{
-            box-shadow: 0 0 30px #F29505;
-        }
-    }
- .size2{ 
-     animation-name: breath2;
-     /* Safari and Chrome: */
-    -webkit-animation-name: breath2;
- }
-    @keyframes breath2
-    {
-        0% {
-            box-shadow: 0 0 5px #71D5A6;
-        }
-        100%{
-            box-shadow: 0 0 30px #4DB983;
-        }
-    }
-
-    @-webkit-keyframes breath2 /* Safari and Chrome */
-    {
-        0% {
-            box-shadow: 0 0 5px #71D5A6;
-        }
-        100%{
-            box-shadow: 0 0 30px #4DB983;
-        }
-    }
-  .size3{ 
-     animation-name: breath3;
-     /* Safari and Chrome: */
-    -webkit-animation-name: breath3;
- }
-    @keyframes breath3
-    {
-        0% {
-            box-shadow: 0 0 5px #FFC547;
-        }
-        100%{
-            box-shadow: 0 0 30px #F29505;
-        }
-    }
-
-    @-webkit-keyframes breath3 /* Safari and Chrome */
-    {
-        0% {
-            box-shadow: 0 0 5px #FFC547;
-        }
-        100%{
-            box-shadow: 0 0 30px #F29505;
-        }
-    }
- .size4{ 
-     animation-name: breath4;
-     /* Safari and Chrome: */
-    -webkit-animation-name: breath4;
- }
-    @keyframes breath4
-    {
-        0% {
-            box-shadow: 0 0 5px #40A1E6;
-        }
-        100%{
-            box-shadow: 0 0 30px #279BE5;
-        }
-    }
-
-    @-webkit-keyframes breath4 /* Safari and Chrome */
-    {
-        0% {
-            box-shadow: 0 0 5px #40A1E6;
-        }
-        100%{
-            box-shadow: 0 0 30px #279BE5;
-        }
-    }
- .size5{ 
-     animation-name: breath5;
-     /* Safari and Chrome: */
-    -webkit-animation-name: breath5;
- }
-    @keyframes breath5
-    {
-        0% {
-            box-shadow: 0 0 5px #FA7471;
-        }
-        100%{
-            box-shadow: 0 0 30px #F75250;
-        }
-    }
-
-    @-webkit-keyframes breath5 /* Safari and Chrome */
-    {
-        0% {
-            box-shadow: 0 0 5px #FA7471;
-        }
-        100%{
-            box-shadow: 0 0 30px #F75250;
-        }
-    }
-
-#YSF-BTN-HOLDER {
-    display: none !important;
-}
-//////////////////////////////////////////////////
-
-/* 代码整理:大头网 www.datouwang.com */
-
-/*
-:focus {
-    outline: 0;
-}
-
-a {
-    text-decoration: none;
-    color: #333;
-    display: block;
-}
-
-a:hover {
-    color: #f60;
-}
-
-ol,
-ul,
-li {
-    list-style: none;
-}
-
-
-
-img {
-    border: none;
-    display: block;
-}
-
-table {
-    border-collapse: collapse;
-    border-spacing: 0;
-}
-
-.clearfix:after {
-    content: "";
-    display: block;
-    height: 0;
-    clear: both;
-    visibility: hidden;
-    font-size: 0;
-}
-
-.clearfix {
-    zoom: 1;
-}
-
-
-a {
-    color: rgba(255, 255, 255, 0.6);
-    outline: none;
-    text-decoration: none;
-    -webkit-transition: 0.2s;
-    transition: 0.2s;
-}
-
-a:hover,
-a:focus {
-    color: #74777b;
-    text-decoration: none;
-}
-
-.poster-main {
-    position: relative;
-    margin: 30px -245px;
-}
-
-.poster-main .poster-list .poster-item {
-    position: absolute;
-    left: 0;
-    top: 0;
-}
-
-.poster-main .poster-btn {
-    position: absolute;
-    top: 0;
-    cursor: pointer;
-}
-
-.poster-main .poster-prev-btn {
-    left: 0;
-    background: url("../img/btn_l.png") no-repeat center center;
-}
-
-.poster-main .poster-next-btn {
-    right: 0;
-    background: url("../img/btn_r.png") no-repeat center center;
-}*/
-
-
-/*==================================css reset==================================*/

+ 0 - 4
testproject/src/less/app.less

@@ -1,4 +0,0 @@
-// Core variables and mixins
-@import "../../../common/app.utilities.less";
-@import "app.main.less";
-@import "app.home.less";

+ 0 - 506
testproject/src/less/app.main.less

@@ -1,506 +0,0 @@
-/* 设置滚动条的样式 */::-webkit-scrollbar { width: 6px;}
-/* 滚动槽 */::-webkit-scrollbar-track { -webkit-box-shadow: inset 0 0 6px #FFFFFF; border-radius: 3px;}
-/* 滚动条滑块 */::-webkit-scrollbar-thumb { border-radius: 3px; background: #ccc; -webkit-box-shadow: inset 0 0 6px transparent;}::-webkit-scrollbar-thumb:window-inactive { background: transparent;}
-
-/*.fadeOutLeftBig {
-	-webkit-animation-name: fadeOutLeftBig;
-	animation-name: fadeOutLeftBig;
-}
-.fadeInRightBig {
-	-webkit-animation-name: fadeInRightBig;
-	animation-name: fadeInRightBig;
-}
-
-.fade-in-right-big.ng-enter {
-  -webkit-animation: fadeInRightBig 0.5s;
-          animation: fadeInRightBig 0.5s;
-}
-
-.fade-in-right-big.ng-leave {
-  -webkit-animation: fadeOutLeftBig 1s;
-          animation: fadeOutLeftBig 1s;
-}*/
-
-body{
-    background-color: #FFF;
-    font-family: "Arial","Microsoft YaHei","宋体",sans-serif;
-}
-content {
-    flex: 1;
-}
-
-.header {
-    position: fixed;
-    top: 0%;
-    z-index: 1000;
-    width: 100%;
-    height: 40px;
-    padding-top: 9px;
-    font-size: 15px;
-    color: #FFF;
-    text-align: center;
-    background-color: #3FA1E6;
-    .glyphicon-arrow-left {
-        float: left;
-        margin-left: 10px;
-        margin-top: 2px;
-    }
-    .glyphicon-home {
-        float: right;
-        margin-right: 10px;
-        margin-top: 2px;
-    }
-}
-
-.webContent-1{
-    margin: 40px auto 62px;
-.webImg-1{
-   height: 180px;
-   background-image:url('../img/仙宫湖.jpg');
-   background-size: 100% 100%;
-   background-repeat: no-repeat;
-  }
- .circular{
-     position:relative;
-     width: 80px;
-     height: 80px;
-     color: white;
-     background-color: #5995EB;
-     border:3px solid white;
-     border-radius: 80px;
-     margin: -40px auto;
-     padding-bottom: 50px;
-     >span{
-      position: absolute;
-     >p{
-       margin: 25px 0px 0px 8px ;
-      font-size: 15px;
-      font-family: "微软雅黑","Arial","Microsoft YaHei","宋体";
-      font-weight: 600;
-      display: inline-block;
-     }
-     }
- }
-     .btn3-2{
-        margin: 5px 0px 0px -26px  !important ;
-        }
-   .web-button{
-        // flex: 1; /* 1 代表盡可能最大,會自動填滿除了 header footer 以外的空間 */
-    a {
-        color: #333;
-        text-decoration: none;
-    }
-    .btn{
-        padding: 0px 12px;
-    }
-   .btn-block {
-   margin:20px auto;
-   border-radius: 20px;
-   background-color: #fff;
-   display: block;
-   width: 80%;
-   font-size: 17px;
-   font-family: "微软雅黑","Arial","Microsoft YaHei","宋体";
-   font-weight: 800;
-    &:hover,&:focus {
-      outline: none;
-         }
-     &:active, .open>.dropdown-toggle.btn-block {
-      outline: none;
-      background-color: #ddd;
-      border-color: #ccc;
-       }
-        span{
-            font-size: 24px;
-            color: #5995EB;
-            position: relative;
-            margin: 5px 0px 0px -60px;
-            display: inline-block;
-     }
-        p{
-             vertical-align:middle;
-             display: inline-block;
-             margin: -10px 0px 0px 30px ;
-        }
-      }
-   }
-     
-      #color2{
-      background-color: #F34673;
-      }
-    #btn2 span{
-        color: #F34673;
-    }
-         #color3{
-      background-color: #A4D56A;
-      }
-    #btn3 span{
-        color: #A4D56A;
-    }
-  }
-
-.webContent-2 {
-    ::-webkit-scrollbar { width: 0px;}
-    width: 100%;
-    margin: 40px auto 0px;
-    overflow-y: auto;
-    font-family: "微软雅黑","Arial","Microsoft YaHei","宋体";
-    .webimg-2 {
-        height: 150px;
-        width: 100%;
-        position: fixed;
-        top: 40px;
-        z-index: -99;
-        >img {
-            height: 150px;
-            width: 100%;
-        }
-    }
-    .userInfo {
-        background-color: #FFF;
-        margin-top: -2px;
-        >div {
-            margin: 15px 10%;
-            line-height: normal;
-            white-space: nowrap; /* 自适应宽度,不换行*/
-            overflow-x: hidden; /* overflow-x */
-            font-family: "微软雅黑","Arial","Microsoft YaHei","宋体";
-            font-size: 12px;
-        }
-        .font-14{
-            font-size: 14px;
-        }
-        .font-13{
-            font-size: 13px;
-            height: 26px;
-        }
-        >div>span {
-            float: left;
-            margin-top: 3px;
-            color: #333;
-            font-weight: 600;
-        }
-        .certificate {
-            float: right;
-            margin: 5px -72% 0px 0px;
-            font-weight: 600;
-            color: #E35850;
-        }
-        .input-sm {
-            width: 65%;
-            float: right;
-            margin-right: 10%;
-            font-weight: 500;
-            font-family: "微软雅黑","Arial","Microsoft YaHei","宋体";
-        }
-        .text-message {
-            overflow-y: auto;
-            white-space: normal;
-            width: 65%;
-            min-height: 70px !important;
-            float: right;
-            margin-right: 10%;
-            margin-top: 3px;
-            padding: 2px 5px;
-            background-color: #FFF;
-            color: #444;
-            border: 1px solid #ccc;
-            font-weight: 500;
-            &:focus {
-                outline: none;
-                border: 1px solid #5bc0de;
-            }
-        }
-        .text-map {
-            z-index: -99;
-            width: 100%;
-            height: 185px;
-            float: right;
-            margin-top: 2px;
-            padding: 2px 5px;
-            background-color: #FFF;
-            color: #444;
-            border: 1px solid #ddd;
-            font-weight: 500;
-            &:focus {
-                outline: none;
-                border: 1px solid #5bc0de;
-            }
-        }
-        #result {
-            float: left;
-            width: 102%;
-            padding: 2px 0px; 
-            border: none;
-            outline: none;
-            box-shadow: none;
-            border-radius: 0px;
-            color: #000;
-        }
-        .cover-white {
-            height:20px;
-            width:20px;
-            font-size: 14px;
-            background-color: #FFF;
-            color: #3FA1E6;
-            float: right;
-            padding: 3px 3px 0px 0px;
-            margin-top: -22px;
-            margin-right: -2%;
-        }
-        .image {
-            #imgpreview {
-                float: right;
-                margin-right: 10%;
-                padding: 0px;
-                max-width: 65%;
-                white-space: normal;
-                .thumbnail {
-                    display: inline-block;
-                    margin: 2px 0px;
-                    padding: 3px;
-                }
-                .one {
-                    width: 100%;
-                }
-                .two {
-                    width: 50%;
-                }
-                .three {
-                    width: 33.3%;
-                }
-            }
-            >input {
-                opacity: 0;
-                filter: alpha(opacity=0);
-                color: #888;
-                border: none;
-                outline: none;
-                float: right;
-                margin-right: 10%;
-                margin-top: -30px;
-                width: 65%;
-                height: 30px;
-                padding: 2px 4px;
-            }
-            >button {
-                float: right;
-                margin-right: 10%;
-                width: 65%;
-                height: 30px;
-                padding: 2px 4px;
-                border-radius: 0px;
-                background-color: #888;
-                border: 1px solid #888;
-                &:hover,&:focus {
-                    outline: none;
-                }
-                &:active, .open>.dropdown-toggle.btn-primary{
-                    outline: none;
-                    background-color: #666;
-                    border-color: #666;
-                }
-                .glyphicon-open {
-                    color: #ddd;
-                    font-size: 16px;
-                }
-            }
-        }
-        .viewModal {
-            top: 0%;
-            margin: 0px;
-            padding: 0px 3px !important;
-            background-color: #000;
-            .thumbnail {
-                padding: 0px;
-                margin-bottom: 10px;
-                text-align: center;
-                width: 100%;
-                background-color: #000;
-                border: none;
-                border-radius: 0px;
-                >img {
-                    width: 100%;
-                }
-            }
-            .width-Img {
-                margin-top: 30%;
-            }
-            .close {
-                margin-top: 4%;
-                margin-right: 2%;
-                margin-bottom: 2%;
-                font-size: 20px;
-                font-weight: normal;
-                color: #FFF;
-                width: 36px;
-                line-height: 30px;
-                opacity: 1;
-                text-shadow: none;
-                &:hover,&:focus {
-                    outline: none;
-                    color: #aaa;
-                }
-                &:active, .open>.dropdown-toggle.btn-primary{
-                    outline: none;
-                    color: #999;
-                }
-            }
-            >.sure {
-                top: 180px;
-                text-align: left;
-            }
-        }
-        .information {
-            top: 0%;
-            margin: 0px;
-            padding: 0px;
-            background-color: transparent;
-            >.submit {
-                width: 100%;
-                margin: 0%;
-                padding: 25px 5%;
-                border-radius: 0px;
-                >p {
-                    font-size: 15px;
-                }
-            }
-        }
-        .modal-info {
-            &.ng-hide {
-                opacity: 0;
-            }
-            opacity: 1;
-            transition: all linear 0.25s;
-            -webkit-transition: all linear 0.25s;
-            position: absolute;
-            top: 220px;
-            width: 80%;
-            margin: 0px 10%;
-            padding: 5%;
-            text-align: center;
-            font-family: "Arial","Microsoft YaHei","宋体",sans-serif;
-            box-shadow: 0px 1px 1px #888;
-            border-top: 1px solid #ddd;
-            background-color: #FFF;
-            border-radius: 4px;
-            >p {
-                font-size: 16px;
-                color: #000;
-                margin-bottom: 20px;
-            }
-            >a {
-                float: right;
-                font-size: 15px;
-                margin: 10px 10px 0px 15px;
-                color: #03AD46;
-                &:hover,&:focus {
-                    text-decoration: none;
-                }
-                &:active, .open>.dropdown-toggle.btn-default{
-                    text-decoration: none;
-                    color: #999;
-                }
-            }
-        }
-        .button-bottom{
-            margin: 0px 10% 15px;
-            .btn-default{
-                line-height: normal;
-                height: 36px;
-                width: 100%;
-                padding: 2px 4px;
-                font-size: 16px;
-                font-weight: 600;
-                border-radius: 20px;
-                background-color: #3FA1E6;
-                border: 1px solid #ccc;
-                color: #FFF;
-                &:hover,&:focus {
-                    outline: none;
-                }
-                &:active, .open>.dropdown-toggle.btn-default{
-                    outline: none;
-                    background-color: #ddd;
-                    border-color: #ccc;
-                }
-            }
-        }
-    }
-}
-.modal-backdrop {
-    position: relative;
-}
-/*.foot {
-    position: fixed;
-    top: 90%;
-    z-index: 1000;
-    width: 100%;
-    height: 10%;
-    background-color: #FFF;
-    box-shadow: 0px -1px 1px #ccc;
-    line-height: normal;
-    padding: 0px 10%;
-    .footinfo{
-        width: 335px;
-        margin: 0px auto;
-        >div {
-            display: inline-block;
-            margin: 9px 10px 0px 10px;
-            color: #333;
-            font-family: "微软雅黑";
-        }
-        a{
-            color: #555;
-            font-size: 12px;
-            text-decoration: none;
-        }
-        .activeColor {
-            color: #048FD2;
-        }
-        span {
-            margin-left: 14px;
-            font-size: 20px;
-            text-align: center;
-        }
-    }
-}*/
-
-#container {
-    height: 180px;
-}
-
-.amap-geolocation-con {
-    z-index: 999 !important;
-}
-
-.amap-marker-label {
-    border: 0px;
-    color: #0bc00f;
-    background: rgba(255, 255, 255, 0);
-}
-
-.amap-marker .marker-route {
-    position: absolute;
-    width: 40px;
-    height: 44px;
-    color: #e90000;
-    background: url(http://webapi.amap.com/theme/v1.3/images/newpc/poi-1.png 
-
-) no-repeat;
-    cursor: pointer;
-}
-
-.amap-marker .marker-marker-bus-from {
-    background-position: -334px -18px;
-}
-.amap-logo {
-    right: 0 !important;
-    left: auto !important;
-    display: none;
-}
-
-.amap-copyright {
-    right: 70px !important;
-    left: auto !important;
-}  

+ 0 - 82
testproject/src/templates/home.html

@@ -1,82 +0,0 @@
-<div class="main">
-    <header>
-        <!--<div class="header111">
-            <img src="../img/webChatImg/banner.png" alt="">
-        </div>-->
-        <div class="swiper-container">
-            <div class="swiper-wrapper">
-                <div class="swiper-slide"><img src="../img/webChatImg/banner.png" alt=""></div>
-                <div class="swiper-slide"><img src="../img/webChatImg/banner.png" alt=""></div>
-                <div class="swiper-slide"><img src="../img/webChatImg/banner.png" alt=""></div>
-            </div>
-            <!-- 如果需要分页器 -->
-            <div class="swiper-pagination"></div>
-            <!-- 如果需要导航按钮 -->
-            <!--<div class="swiper-button-prev"></div>
-            <div class="swiper-button-next"></div>-->
-            <!-- 如果需要滚动条 -->
-            <!--<div class="swiper-scrollbar"></div>-->
-        </div>
-    </header>
-
-    <content>
-        <div></div>
-    </content>
-
-    <footer>
-        <div class="bg">
-            <img src="../img/webChatImg/bg2.jpg" alt="">
-        </div>
-        <div class="contain" ng-cloak>
-            <div class="inquire" ng-cloak>
-                <a href="http://www.lszszw.gov.cn/Search.aspx">
-                    <img class="breath size1" src="../img/webChatImg/自助咨询.png" alt=""><span class="explain">自助咨询</span>
-                </a>
-            </div>
-            <div class="call" ng-cloak>
-                <a href="tel:057812345">
-                    <img class="breath size2" src="../img/webChatImg/12345.png" alt=""><span class="explain">拨打12345</span>
-                </a>
-            </div>
-            <div class="online" ng-cloak>
-                <a data-toggle="modal" href="">
-                    <img class="breath size3" ng-click="onOnlineClick($event)" src="../img/webChatImg/在线服务.png" alt=""><span ng-click="onOnlineClick($event)" class="explain">在线服务</span>
-                </a>
-            </div>
-            <div class="email" ng-cloak >
-                <a data-toggle="modal" data-target="#info" href=""><!--ui-sref="webChat.online"-->
-                    <img class="breath size4" src="../img/webChatImg/网上信箱.png" alt="" ><span class="explain">网上信箱</span>
-                </a>
-            </div>
-            <div class="result" ng-cloak >
-                <a data-toggle="modal" data-target="#info" href="">
-                    <img class="breath size5" src="../img/webChatImg/结果查询.png" alt=""><span class="explain">结果查询</span>
-                </a>
-            </div>
-
-            <div class="logo">
-                <img src="../img/webChatImg/logo.png" alt="">
-            </div>
-        </div>
-    </footer>
-        <div class="modal fade info" id="info" tabindex="-2" data-backdrop="static" role="dialog" aria-labelledby="infoModalLabel" aria-hidden="true">
-        <div class="modal-info">
-            <p>此功能正在全力开发中,敬请期待</p>
-            <a href="" data-dismiss="modal" style="color:#888;">关闭</a>
-        </div>
-    </div>
-    <div class="modal fade errorLogin" id="errorLoginModal" tabindex="-2" data-backdrop="static" role="dialog" aria-labelledby="errorLoginModalLabel" aria-hidden="true">
-        <div class="modal-info">
-            <p>{{addr.regeocode.addressComponent.district}}暂不支持此功能</p>
-            <a href="" data-dismiss="modal" style="color:#888;">关闭</a>
-        </div>
-    </div>
-    <div class="modal fade phoneLogin" id="phoneLoginModal" tabindex="-2" data-backdrop="static" role="dialog" aria-labelledby="phoneLoginModalLabel" aria-hidden="true">
-        <div class="modal-info">
-            <p>请输入手机号码</p>
-            <input class="form-control input-sm" type="text" ng-model="currentUser.Mobile">
-            <a ng-click="onlineService()">确定</a>
-            <a href="" data-dismiss="modal" style="color:#888;">关闭</a>
-        </div>
-    </div>
-</div>

+ 0 - 35
testproject/src/templates/webChat-1.html

@@ -1,35 +0,0 @@
-<div class="ui-webView">
-    <div class="header">
-        <span onClick="javascript :history.back(-1);" class="glyphicon glyphicon-arrow-left"></span><span>咨询投诉</span><span ui-sref="home" class="glyphicon glyphicon-home"></span>
-    </div>
-    <div class="webContent-1">
-        <div class="webImg-1">
-        </div>
-
-        <div class="circular" id="1">
-            <span> <p>咨询投诉</p> </span>
-        </div>
-
-        <div class="web-button">
-            <div style="height:50px"></div>
-            <a href="tel:12345">
-                <button type="button" class="btn btn-block">
-                
-                    <span class="glyphicon glyphicon-comment" aria-hidden="true"></span>
-                    <p>人工客服</p>  
-                </button>
-            </a>
-            <a href="https://zjwskj.qiyukf.com/client?k=e52a7ac21a88369ef6c38c56b54c810e&wp=1" target="_blank">
-                <button type="button" class="btn btn-block">
-                   <span class=" glyphicon glyphicon-phone-alt" aria-hidden="true"></span>
-                   <p>在线咨询</p>
-              
-               </button>
-            </a>
-            <button type="button" class="btn btn-block" ui-sref="webChat.online">
-              <span class="glyphicon glyphicon-globe" aria-hidden="true"></span>
-                  <p>网上投诉</p>  
-            </button>
-        </div>
-    </div>
-</div>

+ 0 - 25
testproject/src/templates/webChat-2.html

@@ -1,25 +0,0 @@
-<div class="ui-webView">
-    <div class="header">
-        <span onClick="javascript :history.back(-1);" class="glyphicon glyphicon-arrow-left"></span><span>查询评价</span><span ui-sref="home" class="glyphicon glyphicon-home"></span>
-    </div>
-    <div class="webContent-1">
-        <div class="webImg-1">
-        </div>
-
-        <div class="circular" id="color2">
-            <span> <p>查询评价</p> </span>
-        </div>
-
-        <div class="web-button" id="btn2">
-            <div style="height:50px"></div>
-            <button type="button" class="btn  btn-block">
-            <span class="glyphicon glyphicon-phone" aria-hidden="true"></span>
-            <p>手机号查询</p>  
-        </button>
-            <button type="button" class="btn btn-block">
-             <span class="glyphicon glyphicon-barcode" aria-hidden="true"></span>
-             <p>查询码查询</p>  
-          </button>
-        </div>
-    </div>
-</div>

+ 0 - 29
testproject/src/templates/webChat-3.html

@@ -1,29 +0,0 @@
-<div class="ui-webView">
-    <div class="header">
-        <span onClick="javascript :history.back(-1);" class="glyphicon glyphicon-arrow-left"></span><span>动态信息</span><span ui-sref="home" class="glyphicon glyphicon-home"></span>
-    </div>
-    <div class="webContent-1">
-        <div class="webImg-1">
-        </div>
-
-        <div class="circular" id="color3">
-            <span> <p>动态信息</p> </span>
-        </div>
-
-        <div class="web-button" id="btn3">
-            <div style="height:50px"></div>
-            <button type="button" class="btn  btn-block">
-           <span class="glyphicon glyphicon-comment" aria-hidden="true"></span>
-           <p>平台简介</p>  
-        </button>
-            <button type="button" class="btn btn-block">
-            <span class=" glyphicon glyphicon-phone-alt btn3-2" aria-hidden="true"></span>
-            <p>领导接听预告</p>  
-          </button>
-            <button type="button" class="btn  btn-block">
-             <span class="glyphicon glyphicon-globe" aria-hidden="true"></span>
-             <p>工作动态</p>  
-        </button>
-        </div>
-    </div>
-</div>

+ 0 - 0
testproject/src/templates/webChat-4.html


+ 0 - 55
testproject/src/templates/webChat-5.html

@@ -1,55 +0,0 @@
-<div class="header">
-    <span onClick="javascript :history.back(-1);" class="glyphicon glyphicon-arrow-left"></span><span>网上信箱</span><span ui-sref="home" class="glyphicon glyphicon-home"></span>
-</div>
-<div class="webContent-2" ng-click="footShow($event)">
-    <!--<div class="webimg-2">
-        <img src="../img/仙宫湖.jpg">
-    </div>-->
-
-    <div class="userInfo">
-        <div><span>姓&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp名:</span><input class="form-control input-sm" type="text" placeholder="单行输入" ng-model="bundle.name" ng-focus="footHide()"><span class="certificate">*</span></div>
-        <div><span>手机号码:</span><input class="form-control input-sm" type="text" placeholder="单行输入" ng-model="bundle.mobile" ng-focus="footHide()"><span class="certificate">*</span></div>
-        <div><span>投诉内容:</span>
-            <div class="text-message descr" contenteditable="plaintext-only" ng-focus="footHide()"></div><span class="certificate">*</span>
-        </div>
-        <div class="image"><span>图&nbsp&nbsp&nbsp&nbsp&nbsp&nbsp片:</span>
-            <div id="imgpreview">
-            </div>
-            <button type="button" class="btn btn-primary"><span class="glyphicon glyphicon-open"></span></button>
-            <input id="file" type="file" name="file" multiple="multiple" onchange='angular.element(this).scope().imgPreview(this)' />
-        </div>
-        <div><span>所在位置:</span>
-            <select id="result" class="form-control input-sm">
-                <option></option>
-                <option></option>
-                <option></option>
-            </select>
-            <div class="glyphicon glyphicon-map-marker cover-white"></div>
-            <div class="text-map">
-                <gaode-map id="container"></gaode-map>
-            </div>
-        </div>
-        <div class="button-bottom">
-            <button type="button" class="btn btn-default" ng-click="submit()" data-toggle="modal" data-target="#information">提交</button>
-        </div>
-        <div class="modal fade information" id="information" tabindex="-2" data-backdrop="static" role="dialog" aria-labelledby="infoModalLabel" aria-hidden="true">
-            <div class="modal-info submit" ng-show="submiting">
-                <p>&nbsp<img src="../img/Loading.gif" alt="">&nbsp&nbsp&nbsp</p>
-                <p style="margin:-5px auto 0px;">&nbsp正在上传数据 . . .</p>
-            </div>
-            <div class="modal-info success" ng-show="successed">
-                <p>此功能暂未开放,敬请期待</p>
-                <a data-dismiss="modal" ng-click="successed=false">确定</a>
-            </div>
-        </div>
-        <div class="modal fade viewModal" id="viewModal" tabindex="-2" data-backdrop="static" role="dialog" aria-labelledby="viewModalLabel" aria-hidden="true">
-            <button type="button" class="close" aria-hidden="true" ng-click="sure=true"><span class="glyphicon glyphicon-trash"></span></button>
-            <a class="thumbnail image-view"></a>
-            <div class="modal-info sure" ng-show="sure">
-                <p>确定删除?</p>
-                <a data-dismiss="modal" ng-click="delSure()">确定</a>
-                <a ng-click="sure=flase" style="color:#888;">取消</a>
-            </div>
-        </div>
-    </div>
-</div>

+ 0 - 6
testproject/src/templates/webChat.html

@@ -1,6 +0,0 @@
-<header>
-</header>
-<content ui-view class="fade-in-right-big"></content>
-
-<footer class="foot">
-</footer>