Browse Source

图片放大

See999 5 years ago
parent
commit
81c157e724

+ 60 - 60
package-lock.json View File

196
     },
196
     },
197
     "adjust-sourcemap-loader": {
197
     "adjust-sourcemap-loader": {
198
       "version": "1.2.0",
198
       "version": "1.2.0",
199
-      "resolved": "https://registry.npm.taobao.org/adjust-sourcemap-loader/download/adjust-sourcemap-loader-1.2.0.tgz",
200
-      "integrity": "sha1-4z/eleUNufKoAuNkfjEdL8UADGk=",
199
+      "resolved": "https://registry.npmjs.org/adjust-sourcemap-loader/-/adjust-sourcemap-loader-1.2.0.tgz",
200
+      "integrity": "sha512-958oaHHVEXMvsY7v7cC5gEkNIcoaAVIhZ4mBReYVZJOTP9IgKmzLjIOhTtzpLMu+qriXvLsVjJ155EeInp45IQ==",
201
       "requires": {
201
       "requires": {
202
         "assert": "^1.3.0",
202
         "assert": "^1.3.0",
203
         "camelcase": "^1.2.1",
203
         "camelcase": "^1.2.1",
210
       "dependencies": {
210
       "dependencies": {
211
         "camelcase": {
211
         "camelcase": {
212
           "version": "1.2.1",
212
           "version": "1.2.1",
213
-          "resolved": "https://registry.npm.taobao.org/camelcase/download/camelcase-1.2.1.tgz",
213
+          "resolved": "https://registry.npmjs.org/camelcase/-/camelcase-1.2.1.tgz",
214
           "integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk="
214
           "integrity": "sha1-m7UwTS4LVmmLLHWLCKPqqdqlijk="
215
         },
215
         },
216
         "lodash.defaults": {
216
         "lodash.defaults": {
217
           "version": "3.1.2",
217
           "version": "3.1.2",
218
-          "resolved": "https://registry.npm.taobao.org/lodash.defaults/download/lodash.defaults-3.1.2.tgz",
218
+          "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-3.1.2.tgz",
219
           "integrity": "sha1-xzCLGNv4vJNy1wGnNJPGEZK9Liw=",
219
           "integrity": "sha1-xzCLGNv4vJNy1wGnNJPGEZK9Liw=",
220
           "requires": {
220
           "requires": {
221
             "lodash.assign": "^3.0.0",
221
             "lodash.assign": "^3.0.0",
224
           "dependencies": {
224
           "dependencies": {
225
             "lodash.assign": {
225
             "lodash.assign": {
226
               "version": "3.2.0",
226
               "version": "3.2.0",
227
-              "resolved": "https://registry.npm.taobao.org/lodash.assign/download/lodash.assign-3.2.0.tgz",
227
+              "resolved": "https://registry.npmjs.org/lodash.assign/-/lodash.assign-3.2.0.tgz",
228
               "integrity": "sha1-POnwI0tLIiPilrj6CsH+6OvKZPo=",
228
               "integrity": "sha1-POnwI0tLIiPilrj6CsH+6OvKZPo=",
229
               "requires": {
229
               "requires": {
230
                 "lodash._baseassign": "^3.0.0",
230
                 "lodash._baseassign": "^3.0.0",
534
     },
534
     },
535
     "autoprefixer-loader": {
535
     "autoprefixer-loader": {
536
       "version": "3.2.0",
536
       "version": "3.2.0",
537
-      "resolved": "https://registry.npm.taobao.org/autoprefixer-loader/download/autoprefixer-loader-3.2.0.tgz",
537
+      "resolved": "https://registry.npmjs.org/autoprefixer-loader/-/autoprefixer-loader-3.2.0.tgz",
538
       "integrity": "sha1-Oae2ZGqCaYZQc9lYyX9IYVLCyEo=",
538
       "integrity": "sha1-Oae2ZGqCaYZQc9lYyX9IYVLCyEo=",
539
       "requires": {
539
       "requires": {
540
         "autoprefixer": "^6.0.2",
540
         "autoprefixer": "^6.0.2",
545
       "dependencies": {
545
       "dependencies": {
546
         "ansi-regex": {
546
         "ansi-regex": {
547
           "version": "2.1.1",
547
           "version": "2.1.1",
548
-          "resolved": "https://registry.npm.taobao.org/ansi-regex/download/ansi-regex-2.1.1.tgz?cache=0&sync_timestamp=1570188663907&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fansi-regex%2Fdownload%2Fansi-regex-2.1.1.tgz",
548
+          "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
549
           "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8="
549
           "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8="
550
         },
550
         },
551
         "ansi-styles": {
551
         "ansi-styles": {
552
           "version": "2.2.1",
552
           "version": "2.2.1",
553
-          "resolved": "https://registry.npm.taobao.org/ansi-styles/download/ansi-styles-2.2.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fansi-styles%2Fdownload%2Fansi-styles-2.2.1.tgz",
553
+          "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
554
           "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
554
           "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
555
         },
555
         },
556
         "autoprefixer": {
556
         "autoprefixer": {
557
           "version": "6.7.7",
557
           "version": "6.7.7",
558
-          "resolved": "https://registry.npm.taobao.org/autoprefixer/download/autoprefixer-6.7.7.tgz?cache=0&sync_timestamp=1571039940822&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fautoprefixer%2Fdownload%2Fautoprefixer-6.7.7.tgz",
558
+          "resolved": "https://registry.npmjs.org/autoprefixer/-/autoprefixer-6.7.7.tgz",
559
           "integrity": "sha1-Hb0cg1ZY41zj+ZhAmdsAWFx4IBQ=",
559
           "integrity": "sha1-Hb0cg1ZY41zj+ZhAmdsAWFx4IBQ=",
560
           "requires": {
560
           "requires": {
561
             "browserslist": "^1.7.6",
561
             "browserslist": "^1.7.6",
568
         },
568
         },
569
         "big.js": {
569
         "big.js": {
570
           "version": "3.2.0",
570
           "version": "3.2.0",
571
-          "resolved": "https://registry.npm.taobao.org/big.js/download/big.js-3.2.0.tgz",
572
-          "integrity": "sha1-pfwpi4G54Nyi5FiCR4S2XFK6WI4="
571
+          "resolved": "https://registry.npmjs.org/big.js/-/big.js-3.2.0.tgz",
572
+          "integrity": "sha512-+hN/Zh2D08Mx65pZ/4g5bsmNiZUuChDiQfTUQ7qJr4/kuopCr88xZsAXv6mBoZEsUI4OuGHlX59qE94K2mMW8Q=="
573
         },
573
         },
574
         "browserslist": {
574
         "browserslist": {
575
           "version": "1.7.7",
575
           "version": "1.7.7",
576
-          "resolved": "https://registry.npm.taobao.org/browserslist/download/browserslist-1.7.7.tgz",
576
+          "resolved": "https://registry.npmjs.org/browserslist/-/browserslist-1.7.7.tgz",
577
           "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=",
577
           "integrity": "sha1-C9dnBCWL6CmyOYu1Dkti0aFmsLk=",
578
           "requires": {
578
           "requires": {
579
             "caniuse-db": "^1.0.30000639",
579
             "caniuse-db": "^1.0.30000639",
582
         },
582
         },
583
         "chalk": {
583
         "chalk": {
584
           "version": "1.1.3",
584
           "version": "1.1.3",
585
-          "resolved": "https://registry.npm.taobao.org/chalk/download/chalk-1.1.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fchalk%2Fdownload%2Fchalk-1.1.3.tgz",
585
+          "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
586
           "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
586
           "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
587
           "requires": {
587
           "requires": {
588
             "ansi-styles": "^2.2.1",
588
             "ansi-styles": "^2.2.1",
594
           "dependencies": {
594
           "dependencies": {
595
             "supports-color": {
595
             "supports-color": {
596
               "version": "2.0.0",
596
               "version": "2.0.0",
597
-              "resolved": "https://registry.npm.taobao.org/supports-color/download/supports-color-2.0.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsupports-color%2Fdownload%2Fsupports-color-2.0.0.tgz",
597
+              "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
598
               "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc="
598
               "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc="
599
             }
599
             }
600
           }
600
           }
601
         },
601
         },
602
         "has-flag": {
602
         "has-flag": {
603
           "version": "1.0.0",
603
           "version": "1.0.0",
604
-          "resolved": "https://registry.npm.taobao.org/has-flag/download/has-flag-1.0.0.tgz",
604
+          "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
605
           "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo="
605
           "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo="
606
         },
606
         },
607
         "loader-utils": {
607
         "loader-utils": {
608
           "version": "0.2.17",
608
           "version": "0.2.17",
609
-          "resolved": "https://registry.npm.taobao.org/loader-utils/download/loader-utils-0.2.17.tgz",
609
+          "resolved": "https://registry.npmjs.org/loader-utils/-/loader-utils-0.2.17.tgz",
610
           "integrity": "sha1-+G5jdNQyBabmxg6RlvF8Apm/s0g=",
610
           "integrity": "sha1-+G5jdNQyBabmxg6RlvF8Apm/s0g=",
611
           "requires": {
611
           "requires": {
612
             "big.js": "^3.1.3",
612
             "big.js": "^3.1.3",
617
         },
617
         },
618
         "postcss": {
618
         "postcss": {
619
           "version": "5.2.18",
619
           "version": "5.2.18",
620
-          "resolved": "https://registry.npm.taobao.org/postcss/download/postcss-5.2.18.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpostcss%2Fdownload%2Fpostcss-5.2.18.tgz",
621
-          "integrity": "sha1-ut+hSX1GJE9jkPWLMZgw2RB4U8U=",
620
+          "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
621
+          "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
622
           "requires": {
622
           "requires": {
623
             "chalk": "^1.1.3",
623
             "chalk": "^1.1.3",
624
             "js-base64": "^2.1.9",
624
             "js-base64": "^2.1.9",
628
         },
628
         },
629
         "source-map": {
629
         "source-map": {
630
           "version": "0.5.7",
630
           "version": "0.5.7",
631
-          "resolved": "https://registry.npm.taobao.org/source-map/download/source-map-0.5.7.tgz",
631
+          "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
632
           "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w="
632
           "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w="
633
         },
633
         },
634
         "strip-ansi": {
634
         "strip-ansi": {
635
           "version": "3.0.1",
635
           "version": "3.0.1",
636
-          "resolved": "https://registry.npm.taobao.org/strip-ansi/download/strip-ansi-3.0.1.tgz",
636
+          "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
637
           "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
637
           "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
638
           "requires": {
638
           "requires": {
639
             "ansi-regex": "^2.0.0"
639
             "ansi-regex": "^2.0.0"
641
         },
641
         },
642
         "supports-color": {
642
         "supports-color": {
643
           "version": "3.2.3",
643
           "version": "3.2.3",
644
-          "resolved": "https://registry.npm.taobao.org/supports-color/download/supports-color-3.2.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsupports-color%2Fdownload%2Fsupports-color-3.2.3.tgz",
644
+          "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
645
           "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
645
           "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
646
           "requires": {
646
           "requires": {
647
             "has-flag": "^1.0.0"
647
             "has-flag": "^1.0.0"
2790
     },
2790
     },
2791
     "css": {
2791
     "css": {
2792
       "version": "2.2.4",
2792
       "version": "2.2.4",
2793
-      "resolved": "https://registry.npm.taobao.org/css/download/css-2.2.4.tgz",
2794
-      "integrity": "sha1-xkZ1XHOXHyu6amAeLPL9cbEpiSk=",
2793
+      "resolved": "https://registry.npmjs.org/css/-/css-2.2.4.tgz",
2794
+      "integrity": "sha512-oUnjmWpy0niI3x/mPL8dVEI1l7MnG3+HHyRPHf+YFSbK+svOhXpmSOcDURUh2aOCgl2grzrOPt1nHLuCVFULLw==",
2795
       "requires": {
2795
       "requires": {
2796
         "inherits": "^2.0.3",
2796
         "inherits": "^2.0.3",
2797
         "source-map": "^0.6.1",
2797
         "source-map": "^0.6.1",
6841
     },
6841
     },
6842
     "lodash._baseassign": {
6842
     "lodash._baseassign": {
6843
       "version": "3.2.0",
6843
       "version": "3.2.0",
6844
-      "resolved": "https://registry.npm.taobao.org/lodash._baseassign/download/lodash._baseassign-3.2.0.tgz",
6844
+      "resolved": "https://registry.npmjs.org/lodash._baseassign/-/lodash._baseassign-3.2.0.tgz",
6845
       "integrity": "sha1-jDigmVAPIVrQnlnxci/QxSv+Ck4=",
6845
       "integrity": "sha1-jDigmVAPIVrQnlnxci/QxSv+Ck4=",
6846
       "requires": {
6846
       "requires": {
6847
         "lodash._basecopy": "^3.0.0",
6847
         "lodash._basecopy": "^3.0.0",
6850
     },
6850
     },
6851
     "lodash._basecopy": {
6851
     "lodash._basecopy": {
6852
       "version": "3.0.1",
6852
       "version": "3.0.1",
6853
-      "resolved": "https://registry.npm.taobao.org/lodash._basecopy/download/lodash._basecopy-3.0.1.tgz",
6853
+      "resolved": "https://registry.npmjs.org/lodash._basecopy/-/lodash._basecopy-3.0.1.tgz",
6854
       "integrity": "sha1-jaDmqHbPNEwK2KVIghEd08XHyjY="
6854
       "integrity": "sha1-jaDmqHbPNEwK2KVIghEd08XHyjY="
6855
     },
6855
     },
6856
     "lodash._bindcallback": {
6856
     "lodash._bindcallback": {
6857
       "version": "3.0.1",
6857
       "version": "3.0.1",
6858
-      "resolved": "https://registry.npm.taobao.org/lodash._bindcallback/download/lodash._bindcallback-3.0.1.tgz",
6858
+      "resolved": "https://registry.npmjs.org/lodash._bindcallback/-/lodash._bindcallback-3.0.1.tgz",
6859
       "integrity": "sha1-5THCdkTPi1epnhftlbNcdIeJOS4="
6859
       "integrity": "sha1-5THCdkTPi1epnhftlbNcdIeJOS4="
6860
     },
6860
     },
6861
     "lodash._createassigner": {
6861
     "lodash._createassigner": {
6862
       "version": "3.1.1",
6862
       "version": "3.1.1",
6863
-      "resolved": "https://registry.npm.taobao.org/lodash._createassigner/download/lodash._createassigner-3.1.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Flodash._createassigner%2Fdownload%2Flodash._createassigner-3.1.1.tgz",
6863
+      "resolved": "https://registry.npmjs.org/lodash._createassigner/-/lodash._createassigner-3.1.1.tgz",
6864
       "integrity": "sha1-g4pbri/aymOsIt7o4Z+k5taXCxE=",
6864
       "integrity": "sha1-g4pbri/aymOsIt7o4Z+k5taXCxE=",
6865
       "requires": {
6865
       "requires": {
6866
         "lodash._bindcallback": "^3.0.0",
6866
         "lodash._bindcallback": "^3.0.0",
6870
     },
6870
     },
6871
     "lodash._getnative": {
6871
     "lodash._getnative": {
6872
       "version": "3.9.1",
6872
       "version": "3.9.1",
6873
-      "resolved": "https://registry.npm.taobao.org/lodash._getnative/download/lodash._getnative-3.9.1.tgz",
6873
+      "resolved": "https://registry.npmjs.org/lodash._getnative/-/lodash._getnative-3.9.1.tgz",
6874
       "integrity": "sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U="
6874
       "integrity": "sha1-VwvH3t5G1hzc3mh9ZdPuy6o6r/U="
6875
     },
6875
     },
6876
     "lodash._isiterateecall": {
6876
     "lodash._isiterateecall": {
6877
       "version": "3.0.9",
6877
       "version": "3.0.9",
6878
-      "resolved": "https://registry.npm.taobao.org/lodash._isiterateecall/download/lodash._isiterateecall-3.0.9.tgz",
6878
+      "resolved": "https://registry.npmjs.org/lodash._isiterateecall/-/lodash._isiterateecall-3.0.9.tgz",
6879
       "integrity": "sha1-UgOte6Ql+uhCRg5pbbnPPmqsBXw="
6879
       "integrity": "sha1-UgOte6Ql+uhCRg5pbbnPPmqsBXw="
6880
     },
6880
     },
6881
     "lodash.assign": {
6881
     "lodash.assign": {
6896
     },
6896
     },
6897
     "lodash.defaults": {
6897
     "lodash.defaults": {
6898
       "version": "4.2.0",
6898
       "version": "4.2.0",
6899
-      "resolved": "https://registry.npm.taobao.org/lodash.defaults/download/lodash.defaults-4.2.0.tgz",
6899
+      "resolved": "https://registry.npmjs.org/lodash.defaults/-/lodash.defaults-4.2.0.tgz",
6900
       "integrity": "sha1-0JF4cW/+pN3p5ft7N/bwgCJ0WAw="
6900
       "integrity": "sha1-0JF4cW/+pN3p5ft7N/bwgCJ0WAw="
6901
     },
6901
     },
6902
     "lodash.isarguments": {
6902
     "lodash.isarguments": {
6903
       "version": "3.1.0",
6903
       "version": "3.1.0",
6904
-      "resolved": "https://registry.npm.taobao.org/lodash.isarguments/download/lodash.isarguments-3.1.0.tgz",
6904
+      "resolved": "https://registry.npmjs.org/lodash.isarguments/-/lodash.isarguments-3.1.0.tgz",
6905
       "integrity": "sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo="
6905
       "integrity": "sha1-L1c9hcaiQon/AGY7SRwdM4/zRYo="
6906
     },
6906
     },
6907
     "lodash.isarray": {
6907
     "lodash.isarray": {
6908
       "version": "3.0.4",
6908
       "version": "3.0.4",
6909
-      "resolved": "https://registry.npm.taobao.org/lodash.isarray/download/lodash.isarray-3.0.4.tgz",
6909
+      "resolved": "https://registry.npmjs.org/lodash.isarray/-/lodash.isarray-3.0.4.tgz",
6910
       "integrity": "sha1-eeTriMNqgSKvhvhEqpvNhRtfu1U="
6910
       "integrity": "sha1-eeTriMNqgSKvhvhEqpvNhRtfu1U="
6911
     },
6911
     },
6912
     "lodash.keys": {
6912
     "lodash.keys": {
6913
       "version": "3.1.2",
6913
       "version": "3.1.2",
6914
-      "resolved": "https://registry.npm.taobao.org/lodash.keys/download/lodash.keys-3.1.2.tgz",
6914
+      "resolved": "https://registry.npmjs.org/lodash.keys/-/lodash.keys-3.1.2.tgz",
6915
       "integrity": "sha1-TbwEcrFWvlCgsoaFXRvQsMZWCYo=",
6915
       "integrity": "sha1-TbwEcrFWvlCgsoaFXRvQsMZWCYo=",
6916
       "requires": {
6916
       "requires": {
6917
         "lodash._getnative": "^3.0.0",
6917
         "lodash._getnative": "^3.0.0",
6932
     },
6932
     },
6933
     "lodash.restparam": {
6933
     "lodash.restparam": {
6934
       "version": "3.6.1",
6934
       "version": "3.6.1",
6935
-      "resolved": "https://registry.npm.taobao.org/lodash.restparam/download/lodash.restparam-3.6.1.tgz",
6935
+      "resolved": "https://registry.npmjs.org/lodash.restparam/-/lodash.restparam-3.6.1.tgz",
6936
       "integrity": "sha1-k2pOMJ7zMKdkXtQUWYbIWuWyCAU="
6936
       "integrity": "sha1-k2pOMJ7zMKdkXtQUWYbIWuWyCAU="
6937
     },
6937
     },
6938
     "lodash.tail": {
6938
     "lodash.tail": {
7797
     },
7797
     },
7798
     "object-path": {
7798
     "object-path": {
7799
       "version": "0.9.2",
7799
       "version": "0.9.2",
7800
-      "resolved": "https://registry.npm.taobao.org/object-path/download/object-path-0.9.2.tgz",
7800
+      "resolved": "https://registry.npmjs.org/object-path/-/object-path-0.9.2.tgz",
7801
       "integrity": "sha1-D9mnT8X60a45aLWGvaXGMr1sBaU="
7801
       "integrity": "sha1-D9mnT8X60a45aLWGvaXGMr1sBaU="
7802
     },
7802
     },
7803
     "object-visit": {
7803
     "object-visit": {
8236
     },
8236
     },
8237
     "photoswipe": {
8237
     "photoswipe": {
8238
       "version": "4.1.3",
8238
       "version": "4.1.3",
8239
-      "resolved": "https://registry.npm.taobao.org/photoswipe/download/photoswipe-4.1.3.tgz",
8240
-      "integrity": "sha1-WfSUlO653atYiNAzkpJqGbwZdVA="
8239
+      "resolved": "https://registry.npmjs.org/photoswipe/-/photoswipe-4.1.3.tgz",
8240
+      "integrity": "sha512-89Z43IRUyw7ycTolo+AaiDn3W1EEIfox54hERmm9bI12IB9cvRfHSHez3XhAyU8XW2EAFrC+2sKMhh7SJwn0bA=="
8241
     },
8241
     },
8242
     "pify": {
8242
     "pify": {
8243
       "version": "3.0.0",
8243
       "version": "3.0.0",
10390
     },
10390
     },
10391
     "postcss-safe-parser": {
10391
     "postcss-safe-parser": {
10392
       "version": "1.0.7",
10392
       "version": "1.0.7",
10393
-      "resolved": "https://registry.npm.taobao.org/postcss-safe-parser/download/postcss-safe-parser-1.0.7.tgz",
10393
+      "resolved": "https://registry.npmjs.org/postcss-safe-parser/-/postcss-safe-parser-1.0.7.tgz",
10394
       "integrity": "sha1-Q70MjITV99hHTeglxpnk2ryscqg=",
10394
       "integrity": "sha1-Q70MjITV99hHTeglxpnk2ryscqg=",
10395
       "requires": {
10395
       "requires": {
10396
         "postcss": "^5.0.18"
10396
         "postcss": "^5.0.18"
10398
       "dependencies": {
10398
       "dependencies": {
10399
         "ansi-regex": {
10399
         "ansi-regex": {
10400
           "version": "2.1.1",
10400
           "version": "2.1.1",
10401
-          "resolved": "https://registry.npm.taobao.org/ansi-regex/download/ansi-regex-2.1.1.tgz?cache=0&sync_timestamp=1570188663907&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fansi-regex%2Fdownload%2Fansi-regex-2.1.1.tgz",
10401
+          "resolved": "https://registry.npmjs.org/ansi-regex/-/ansi-regex-2.1.1.tgz",
10402
           "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8="
10402
           "integrity": "sha1-w7M6te42DYbg5ijwRorn7yfWVN8="
10403
         },
10403
         },
10404
         "ansi-styles": {
10404
         "ansi-styles": {
10405
           "version": "2.2.1",
10405
           "version": "2.2.1",
10406
-          "resolved": "https://registry.npm.taobao.org/ansi-styles/download/ansi-styles-2.2.1.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fansi-styles%2Fdownload%2Fansi-styles-2.2.1.tgz",
10406
+          "resolved": "https://registry.npmjs.org/ansi-styles/-/ansi-styles-2.2.1.tgz",
10407
           "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
10407
           "integrity": "sha1-tDLdM1i2NM914eRmQ2gkBTPB3b4="
10408
         },
10408
         },
10409
         "chalk": {
10409
         "chalk": {
10410
           "version": "1.1.3",
10410
           "version": "1.1.3",
10411
-          "resolved": "https://registry.npm.taobao.org/chalk/download/chalk-1.1.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fchalk%2Fdownload%2Fchalk-1.1.3.tgz",
10411
+          "resolved": "https://registry.npmjs.org/chalk/-/chalk-1.1.3.tgz",
10412
           "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
10412
           "integrity": "sha1-qBFcVeSnAv5NFQq9OHKCKn4J/Jg=",
10413
           "requires": {
10413
           "requires": {
10414
             "ansi-styles": "^2.2.1",
10414
             "ansi-styles": "^2.2.1",
10420
           "dependencies": {
10420
           "dependencies": {
10421
             "supports-color": {
10421
             "supports-color": {
10422
               "version": "2.0.0",
10422
               "version": "2.0.0",
10423
-              "resolved": "https://registry.npm.taobao.org/supports-color/download/supports-color-2.0.0.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsupports-color%2Fdownload%2Fsupports-color-2.0.0.tgz",
10423
+              "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-2.0.0.tgz",
10424
               "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc="
10424
               "integrity": "sha1-U10EXOa2Nj+kARcIRimZXp3zJMc="
10425
             }
10425
             }
10426
           }
10426
           }
10427
         },
10427
         },
10428
         "has-flag": {
10428
         "has-flag": {
10429
           "version": "1.0.0",
10429
           "version": "1.0.0",
10430
-          "resolved": "https://registry.npm.taobao.org/has-flag/download/has-flag-1.0.0.tgz",
10430
+          "resolved": "https://registry.npmjs.org/has-flag/-/has-flag-1.0.0.tgz",
10431
           "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo="
10431
           "integrity": "sha1-nZ55MWXOAXoA8AQYxD+UKnsdEfo="
10432
         },
10432
         },
10433
         "postcss": {
10433
         "postcss": {
10434
           "version": "5.2.18",
10434
           "version": "5.2.18",
10435
-          "resolved": "https://registry.npm.taobao.org/postcss/download/postcss-5.2.18.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fpostcss%2Fdownload%2Fpostcss-5.2.18.tgz",
10436
-          "integrity": "sha1-ut+hSX1GJE9jkPWLMZgw2RB4U8U=",
10435
+          "resolved": "https://registry.npmjs.org/postcss/-/postcss-5.2.18.tgz",
10436
+          "integrity": "sha512-zrUjRRe1bpXKsX1qAJNJjqZViErVuyEkMTRrwu4ud4sbTtIBRmtaYDrHmcGgmrbsW3MHfmtIf+vJumgQn+PrXg==",
10437
           "requires": {
10437
           "requires": {
10438
             "chalk": "^1.1.3",
10438
             "chalk": "^1.1.3",
10439
             "js-base64": "^2.1.9",
10439
             "js-base64": "^2.1.9",
10443
         },
10443
         },
10444
         "source-map": {
10444
         "source-map": {
10445
           "version": "0.5.7",
10445
           "version": "0.5.7",
10446
-          "resolved": "https://registry.npm.taobao.org/source-map/download/source-map-0.5.7.tgz",
10446
+          "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
10447
           "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w="
10447
           "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w="
10448
         },
10448
         },
10449
         "strip-ansi": {
10449
         "strip-ansi": {
10450
           "version": "3.0.1",
10450
           "version": "3.0.1",
10451
-          "resolved": "https://registry.npm.taobao.org/strip-ansi/download/strip-ansi-3.0.1.tgz",
10451
+          "resolved": "https://registry.npmjs.org/strip-ansi/-/strip-ansi-3.0.1.tgz",
10452
           "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
10452
           "integrity": "sha1-ajhfuIU9lS1f8F0Oiq+UJ43GPc8=",
10453
           "requires": {
10453
           "requires": {
10454
             "ansi-regex": "^2.0.0"
10454
             "ansi-regex": "^2.0.0"
10456
         },
10456
         },
10457
         "supports-color": {
10457
         "supports-color": {
10458
           "version": "3.2.3",
10458
           "version": "3.2.3",
10459
-          "resolved": "https://registry.npm.taobao.org/supports-color/download/supports-color-3.2.3.tgz?cache=0&other_urls=https%3A%2F%2Fregistry.npm.taobao.org%2Fsupports-color%2Fdownload%2Fsupports-color-3.2.3.tgz",
10459
+          "resolved": "https://registry.npmjs.org/supports-color/-/supports-color-3.2.3.tgz",
10460
           "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
10460
           "integrity": "sha1-ZawFBLOVQXHYpklGsq48u4pfVPY=",
10461
           "requires": {
10461
           "requires": {
10462
             "has-flag": "^1.0.0"
10462
             "has-flag": "^1.0.0"
11442
     },
11442
     },
11443
     "regex-parser": {
11443
     "regex-parser": {
11444
       "version": "2.2.10",
11444
       "version": "2.2.10",
11445
-      "resolved": "https://registry.npm.taobao.org/regex-parser/download/regex-parser-2.2.10.tgz",
11446
-      "integrity": "sha1-nmao9z2JoQdhbmOznU3t3+6RKzc="
11445
+      "resolved": "https://registry.npmjs.org/regex-parser/-/regex-parser-2.2.10.tgz",
11446
+      "integrity": "sha512-8t6074A68gHfU8Neftl0Le6KTDwfGAj7IyjPIMSfikI2wJUTHDMaIq42bUsfVnj8mhx0R+45rdUXHGpN164avA=="
11447
     },
11447
     },
11448
     "regexpu-core": {
11448
     "regexpu-core": {
11449
       "version": "2.0.0",
11449
       "version": "2.0.0",
11633
     },
11633
     },
11634
     "resolve-url-loader": {
11634
     "resolve-url-loader": {
11635
       "version": "2.3.2",
11635
       "version": "2.3.2",
11636
-      "resolved": "https://registry.npm.taobao.org/resolve-url-loader/download/resolve-url-loader-2.3.2.tgz",
11637
-      "integrity": "sha1-g7uevDkrZsVjeV7vIvB4lwNXom4=",
11636
+      "resolved": "https://registry.npmjs.org/resolve-url-loader/-/resolve-url-loader-2.3.2.tgz",
11637
+      "integrity": "sha512-sc/UVgiADdoTc+4cGPB7cUCnlEkzlxD1NXHw4oa9qA0fp30H8mAQ2ePJBP9MQ029DUuhEPouhNdvzT37pBCV0g==",
11638
       "requires": {
11638
       "requires": {
11639
         "adjust-sourcemap-loader": "^1.1.0",
11639
         "adjust-sourcemap-loader": "^1.1.0",
11640
         "camelcase": "^4.1.0",
11640
         "camelcase": "^4.1.0",
11649
       "dependencies": {
11649
       "dependencies": {
11650
         "source-map": {
11650
         "source-map": {
11651
           "version": "0.5.7",
11651
           "version": "0.5.7",
11652
-          "resolved": "https://registry.npm.taobao.org/source-map/download/source-map-0.5.7.tgz",
11652
+          "resolved": "https://registry.npmjs.org/source-map/-/source-map-0.5.7.tgz",
11653
           "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w="
11653
           "integrity": "sha1-igOdLRAh0i0eoUyA2OpGi6LvP8w="
11654
         }
11654
         }
11655
       }
11655
       }
11671
     },
11671
     },
11672
     "rework": {
11672
     "rework": {
11673
       "version": "1.0.1",
11673
       "version": "1.0.1",
11674
-      "resolved": "https://registry.npm.taobao.org/rework/download/rework-1.0.1.tgz",
11674
+      "resolved": "https://registry.npmjs.org/rework/-/rework-1.0.1.tgz",
11675
       "integrity": "sha1-MIBqhBNCtUUQqkEQhQzUhTQUSqc=",
11675
       "integrity": "sha1-MIBqhBNCtUUQqkEQhQzUhTQUSqc=",
11676
       "requires": {
11676
       "requires": {
11677
         "convert-source-map": "^0.3.3",
11677
         "convert-source-map": "^0.3.3",
11680
       "dependencies": {
11680
       "dependencies": {
11681
         "convert-source-map": {
11681
         "convert-source-map": {
11682
           "version": "0.3.5",
11682
           "version": "0.3.5",
11683
-          "resolved": "https://registry.npm.taobao.org/convert-source-map/download/convert-source-map-0.3.5.tgz",
11683
+          "resolved": "https://registry.npmjs.org/convert-source-map/-/convert-source-map-0.3.5.tgz",
11684
           "integrity": "sha1-8dgClQr33SYxof6+BZZVDIarMZA="
11684
           "integrity": "sha1-8dgClQr33SYxof6+BZZVDIarMZA="
11685
         }
11685
         }
11686
       }
11686
       }
11687
     },
11687
     },
11688
     "rework-visit": {
11688
     "rework-visit": {
11689
       "version": "1.0.0",
11689
       "version": "1.0.0",
11690
-      "resolved": "https://registry.npm.taobao.org/rework-visit/download/rework-visit-1.0.0.tgz",
11690
+      "resolved": "https://registry.npmjs.org/rework-visit/-/rework-visit-1.0.0.tgz",
11691
       "integrity": "sha1-mUWygD8hni96ygCtuLyfZA+ELJo="
11691
       "integrity": "sha1-mUWygD8hni96ygCtuLyfZA+ELJo="
11692
     },
11692
     },
11693
     "right-align": {
11693
     "right-align": {
12870
     },
12870
     },
12871
     "style-loader": {
12871
     "style-loader": {
12872
       "version": "0.19.1",
12872
       "version": "0.19.1",
12873
-      "resolved": "https://registry.npm.taobao.org/style-loader/download/style-loader-0.19.1.tgz",
12874
-      "integrity": "sha1-WR/8gLzv4mi3fF2evAUF13Jhn4U=",
12873
+      "resolved": "https://registry.npmjs.org/style-loader/-/style-loader-0.19.1.tgz",
12874
+      "integrity": "sha512-IRE+ijgojrygQi3rsqT0U4dd+UcPCqcVvauZpCnQrGAlEe+FUIyrK93bUDScamesjP08JlQNsFJU+KmPedP5Og==",
12875
       "requires": {
12875
       "requires": {
12876
         "loader-utils": "^1.0.2",
12876
         "loader-utils": "^1.0.2",
12877
         "schema-utils": "^0.3.0"
12877
         "schema-utils": "^0.3.0"
13861
     },
13861
     },
13862
     "vue-photo-preview": {
13862
     "vue-photo-preview": {
13863
       "version": "1.1.3",
13863
       "version": "1.1.3",
13864
-      "resolved": "https://registry.npm.taobao.org/vue-photo-preview/download/vue-photo-preview-1.1.3.tgz",
13865
-      "integrity": "sha1-juYpI+hl08uvAQsHsMyEGJJjMCg=",
13864
+      "resolved": "https://registry.npmjs.org/vue-photo-preview/-/vue-photo-preview-1.1.3.tgz",
13865
+      "integrity": "sha512-L9JTQh62rYqLHNCdpy7zQdqVisks9dvkmUpM8+7kIKG7l+KkbRLzKWK7lCjCKc6OQT42o6/ngK6B13niXunS9Q==",
13866
       "requires": {
13866
       "requires": {
13867
         "autoprefixer-loader": "^3.2.0",
13867
         "autoprefixer-loader": "^3.2.0",
13868
         "babel-core": "^6.26.0",
13868
         "babel-core": "^6.26.0",

+ 1 - 0
src/api/micro/micro.js View File

3
 import { link } from 'fs';
3
 import { link } from 'fs';
4
 
4
 
5
 export function getHospitaldata(orgid,params){
5
 export function getHospitaldata(orgid,params){
6
+    console.log("orgid",orgid)
6
     return request({
7
     return request({
7
         url:"/api/site/getdata?orgid="+orgid,
8
         url:"/api/site/getdata?orgid="+orgid,
8
         method:"Get",
9
         method:"Get",

+ 4 - 0
src/main.js View File

39
 import Viewer from "v-viewer";
39
 import Viewer from "v-viewer";
40
 import "viewerjs/dist/viewer.css";
40
 import "viewerjs/dist/viewer.css";
41
 
41
 
42
+import preview from "vue-photo-preview";
43
+import "vue-photo-preview/dist/skin.css";
44
+Vue.use(preview);
45
+
42
 import "./libs/rem.js";
46
 import "./libs/rem.js";
43
 
47
 
44
 //Vue.use(Viewer) 默认配置写法
48
 //Vue.use(Viewer) 默认配置写法

+ 14 - 0
src/router/index.js View File

66
     path: "/microHome",
66
     path: "/microHome",
67
     component: () => import("@/scrm_pages/microHome/microHome")
67
     component: () => import("@/scrm_pages/microHome/microHome")
68
   },
68
   },
69
+
70
+  // 医院介绍详情
69
   {
71
   {
70
     path: "/hospitalIntroduction",
72
     path: "/hospitalIntroduction",
71
     component: () =>
73
     component: () =>
72
       import("@/scrm_pages/hospitalIntroduction/hospitalIntroduction")
74
       import("@/scrm_pages/hospitalIntroduction/hospitalIntroduction")
73
   },
75
   },
76
+  
77
+  // 科室介绍详情
78
+  {
79
+    path:"/officeIntroduction",
80
+    component:() =>
81
+    import('@/scrm_pages/officeIntroduction/officeIntroduction')
82
+  },
83
+
74
   {
84
   {
75
     path: "/medicalTeam",
85
     path: "/medicalTeam",
76
     component: () => import("@/scrm_pages/medicalTeam/medicalTeam")
86
     component: () => import("@/scrm_pages/medicalTeam/medicalTeam")
77
   },
87
   },
88
+  
89
+  // 名医介绍详情
90
+
78
   {
91
   {
79
     path: "/doctorIntroduction",
92
     path: "/doctorIntroduction",
80
     component: () =>
93
     component: () =>
81
       import("@/scrm_pages/doctorIntroduction/doctorIntroduction")
94
       import("@/scrm_pages/doctorIntroduction/doctorIntroduction")
82
   },
95
   },
96
+
83
   {
97
   {
84
     path: "/news",
98
     path: "/news",
85
     component: () => import("@/scrm_pages/news/news")
99
     component: () => import("@/scrm_pages/news/news")

+ 50 - 7
src/scrm_pages/activity/activity.vue View File

1
 <template>
1
 <template>
2
   <div>
2
   <div>
3
     <div class="content">
3
     <div class="content">
4
-      <div class="contentOne">
4
+      <div class="contentOne" v-for="it in Activitieslist" :key="it.id"  @click="singleActivitInfo(it.id,it.user_org_id)">
5
         <div class="img">
5
         <div class="img">
6
-          <img src="static\images\img1.jpg" alt />
6
+          <img :src="it.poster_photo" style="width:100%;height:100%" alt />
7
         </div>
7
         </div>
8
         <div class="detail">
8
         <div class="detail">
9
-          <p class="detailTitle">与孩子一起挑选采摘新机陆...</p>
9
+          <p class="detailTitle">{{it.title}}</p>
10
           <div class="detailBox">
10
           <div class="detailBox">
11
             <div class="activityTime">
11
             <div class="activityTime">
12
               <p>
12
               <p>
13
-                7月28日 08:30开始
14
-                深圳市南山区
13
+               {{staffCreateTime(it.start_time)}}开始<br>
14
+                <!-- {{it.address}} -->
15
               </p>
15
               </p>
16
             </div>
16
             </div>
17
             <div class="people">
17
             <div class="people">
18
+<<<<<<< HEAD
18
               <p>100人已报名</p>
19
               <p>100人已报名</p>
19
             </div>
20
             </div>
20
           </div>
21
           </div>
111
             </div>
112
             </div>
112
             <div class="people">
113
             <div class="people">
113
               <p>100人已报名</p>
114
               <p>100人已报名</p>
115
+=======
116
+              <p>{{it.join_num}}</p>
117
+>>>>>>> b16550aa910aaf7d56c03d34730cdaf88ad2c98f
114
             </div>
118
             </div>
115
           </div>
119
           </div>
116
         </div>
120
         </div>
118
     </div>
122
     </div>
119
   </div>
123
   </div>
120
 </template>
124
 </template>
121
-
122
-
125
+  <script>
126
+      import {getFileExtension,uParseTime} from '@/utils/tools'
127
+      import { Activitiesmore } from "@/api/micro/micro"
128
+      export default{
129
+        data(){
130
+            return{
131
+               Activitieslist:[],
132
+            }
133
+        },
134
+        methods:{
135
+           Activitiesmore(id,orgid){
136
+                Activitiesmore(id,orgid).then(response=>{
137
+                     if(response.data.state == 1){
138
+                       var activity =  response.data.data.activity;
139
+                       this.Activitieslist =  response.data.data.activity;                 
140
+                       console.log("获取活动列表",activity)
141
+                    }
142
+                })
143
+            },
144
+           staffCreateTime(time) {
145
+               return uParseTime(time, "{y}-{m}-{d} {h}:{i}:{s}");
146
+           },
147
+           singleActivitInfo(id,orgid){
148
+                this.$router.push({
149
+                    path:'/activityDetail',
150
+                    query:{
151
+                     id:id,
152
+                     orgid,orgid,
153
+                   }
154
+                })
155
+            }
156
+        },
157
+        created(){
158
+           const id = this.$route.query.id;
159
+            const orgid = this.$route.query.orgid;
160
+            console.log("id是多少",id)
161
+            console.log("orgid是多少",orgid)
162
+            this.Activitiesmore(id,orgid)
163
+        }
164
+      }
165
+  </script>
123
 <style lang="scss" scoped>
166
 <style lang="scss" scoped>
124
 .contentOne {
167
 .contentOne {
125
   margin: auto;
168
   margin: auto;

+ 44 - 12
src/scrm_pages/activityDetail/activityDetail.vue View File

1
 <template>
1
 <template>
2
   <div>
2
   <div>
3
     <div class="banner">
3
     <div class="banner">
4
-      <img src="static\images\banner.jpg" alt />
4
+      <img :src="activitys.poster_photo" style="width:100%;height:100%" alt />
5
     </div>
5
     </div>
6
     <div class="headline">
6
     <div class="headline">
7
-      <div class="top">与孩子一起挑选采摘新鲜有机马陆葡萄,体验采摘乐趣</div>
8
-      <div class="bottom">
7
+      <div class="top">{{activitys.title}}</div>
8
+      <!-- <div class="bottom">
9
         <p class="browse">
9
         <p class="browse">
10
           <i class="iconfont">&#xe629;</i>
10
           <i class="iconfont">&#xe629;</i>
11
           <span>浏览400次</span>
11
           <span>浏览400次</span>
12
         </p>
12
         </p>
13
-      </div>
13
+      </div> -->
14
     </div>
14
     </div>
15
     <div class="detail">
15
     <div class="detail">
16
       <p class="row">
16
       <p class="row">
17
         <i class="iconfont">&#xe608;</i>
17
         <i class="iconfont">&#xe608;</i>
18
-        <span>06-19 14:00 至 17:00</span>
18
+        <span>{{staffCreateTime(activitys.start_time)}}</span>
19
       </p>
19
       </p>
20
       <p class="row">
20
       <p class="row">
21
         <i class="iconfont">&#xe608;</i>
21
         <i class="iconfont">&#xe608;</i>
22
-        <span>广东省深圳市南山去时代大厦3楼赛盒科技观海...</span>
22
+        <span>{{activitys.address}}</span>
23
       </p>
23
       </p>
24
       <p class="row">
24
       <p class="row">
25
         <i class="iconfont">&#xe608;</i>
25
         <i class="iconfont">&#xe608;</i>
26
-        <span>已报名49人 / 限55人</span>
26
+        <span>{{activitys.join_num}} / {{activitys.limit_num}}</span>
27
       </p>
27
       </p>
28
       <p class="row">
28
       <p class="row">
29
         <i class="iconfont">&#xe608;</i>
29
         <i class="iconfont">&#xe608;</i>
30
-        <span>0755-8548673</span>
30
+        <span>{{activitys.phone_number}}</span>
31
       </p>
31
       </p>
32
     </div>
32
     </div>
33
     <div class="introduce">
33
     <div class="introduce">
34
       <div class="common_title">
34
       <div class="common_title">
35
         <div class="one"></div>
35
         <div class="one"></div>
36
-        <div class="dynamicTxt">活动介绍</div>
36
+        <div class="dynamicTxt">报名须知</div>
37
       </div>
37
       </div>
38
       <div
38
       <div
39
         class="introduceDetail"
39
         class="introduceDetail"
40
-      >深圳市南山区人民医院(深圳市第六人民医院),坐落于深圳经济特区西部南头半岛中心区,是深圳市第四家三级甲等医院暨南山区区域医疗中心。深圳市第四家三级甲等医院...</div>
40
+      >{{activitys.sign_up_notice}}</div>
41
     </div>
41
     </div>
42
-    <div class="apply">我要报名</div>
42
+    <!-- <div class="apply">我要报名</div> -->
43
   </div>
43
   </div>
44
 </template>
44
 </template>
45
-
45
+ <script>
46
+        import {uParseTime} from "@/utils/tools";
47
+        import { singleActivitInfo } from "@/api/micro/micro"
48
+        export default{
49
+          data(){
50
+             return{
51
+                activitys:[],
52
+             }
53
+          },
54
+          methods:{
55
+              staffCreateTime(time) {
56
+                console.log("time是多少",time)
57
+               return uParseTime(time, "{y}-{m}-{d} {h}:{i}:{s}");       
58
+              },
59
+            singleActivitInfo(id,orgid){
60
+               singleActivitInfo(id,orgid).then(response=>{
61
+                  if(response.data.state ==1){
62
+                  var activitys = response.data.data.activity;
63
+                  this.activitys = activitys;
64
+                  console.log("activitys",activitys)
65
+                }   
66
+               })
67
+            }
68
+          },
69
+          created(){
70
+            const id = this.$route.query.id;
71
+            const orgid = this.$route.query.orgid;
72
+            console.log("id是多少",id)
73
+            console.log("orgid是多少",orgid)
74
+            this.singleActivitInfo(id,orgid)   
75
+          }
76
+        }
77
+ </script>
46
 
78
 
47
 <style lang="scss" scoped>
79
 <style lang="scss" scoped>
48
 .banner {
80
 .banner {

+ 89 - 9
src/scrm_pages/doctorIntroduction/doctorIntroduction.vue View File

3
     <div>
3
     <div>
4
       <div class="contentOne">
4
       <div class="contentOne">
5
         <div class="img">
5
         <div class="img">
6
-          <img src="static\images\img1.jpg" alt />
6
+          <img :src="doctors.dochead" style="width:100%;height:100%" alt />
7
         </div>
7
         </div>
8
         <div class="detail">
8
         <div class="detail">
9
           <p class="detailTitle">
9
           <p class="detailTitle">
10
-            欧巧漫
11
-            <span>主任医师</span>
10
+              {{doctors.doc_name}}
11
+            <span>{{doctors.doc_postion}}</span>
12
           </p>
12
           </p>
13
-          <p class="detailMessage">深圳大学第二附属医院-内科</p>
13
+          <p class="detailMessage" v-html="doctors.docintroduction"></p>
14
         </div>
14
         </div>
15
       </div>
15
       </div>
16
-      <div class="good">
16
+      <!-- <div class="good">
17
         <div class="common_title">
17
         <div class="common_title">
18
           <div class="one"></div>
18
           <div class="one"></div>
19
           <div class="dynamicTxt">医生擅长</div>
19
           <div class="dynamicTxt">医生擅长</div>
20
         </div>
20
         </div>
21
         <div class="goodtxt">擅长甲状腺、胆结石</div>
21
         <div class="goodtxt">擅长甲状腺、胆结石</div>
22
-      </div>
22
+      </div> -->
23
       <div class="good">
23
       <div class="good">
24
         <div class="common_title">
24
         <div class="common_title">
25
           <div class="one"></div>
25
           <div class="one"></div>
26
           <div class="dynamicTxt">医生简介</div>
26
           <div class="dynamicTxt">医生简介</div>
27
         </div>
27
         </div>
28
-        <div class="goodtxt">
29
-          于1996年毕业于中国医科大学,从事医疗工作
30
-          近20年,经验丰富
28
+        <div class="goodtxt" v-html="doctors.docintroduction">
29
+           
31
         </div>
30
         </div>
32
       </div>
31
       </div>
33
     </div>
32
     </div>
34
   </div>
33
   </div>
35
 </template>
34
 </template>
35
+  
36
+  <script>
37
+     import { singleDoctorInfo } from "@/api/micro/micro"
38
+     export default{
39
+       data(){
40
+          return{
41
+            doctors:[],
42
+          }
43
+       },
44
+       methods:{
45
+         singleDoctorInfo(id,orgid){
46
+                singleDoctorInfo(id,orgid).then(response=>{
47
+                    if(response.data.state ==1){
48
+                     var editdoctor = response.data.data.editdoctor;
49
+                     if(editdoctor.doc_postion == 1){
50
+                        editdoctor.doc_postion = "医士"
51
+                     }
52
+                     if(editdoctor.doc_postion == 2){
53
+                        editdoctor.doc_postion = "医师"
54
+                     }
55
+                       if(editdoctor.doc_postion == 3){
56
+                        editdoctor.doc_postion = "住院医师"
57
+                     }                    
58
+                       if(editdoctor.doc_postion == 4){
59
+                        editdoctor.doc_postion = "主治医师"
60
+                     }
61
+                       if(editdoctor.doc_postion == 5){
62
+                        editdoctor.doc_postion = "副主任医师"
63
+                     }
64
+                       if(editdoctor.doc_postion == 6){
65
+                        editdoctor.doc_postion = "主任医师"
66
+                     }
67
+                       if(editdoctor.doc_postion == 7){
68
+                        editdoctor.doc_postion = "护士"
69
+                     }
70
+                       if(editdoctor.doc_postion == 8){
71
+                        editdoctor.doc_postion = "护师"
72
+                     }
73
+                       if(editdoctor.doc_postion == 9){
74
+                        editdoctor.doc_postion = "主管护师"
75
+                     }
76
+                      if(editdoctor.doc_postion == 10){
77
+                        editdoctor.doc_postion = "副主任护师"
78
+                     }
79
+                      if(editdoctor.doc_postion == 11){
80
+                        editdoctor.doc_postion = "主任护师"
81
+                     }
82
+                   
83
+                     console.log("editdoctor",editdoctor)
84
+                     this.doctors = editdoctor;
85
+                    }
86
+                })
36
 
87
 
88
+            //      { index: 1, name: '医士' },
89
+            // { index: 2, name: '医师' },
90
+            // { index: 3, name: '住院医师' },
91
+            // { index: 4, name: '主治医师' },
92
+            // { index: 5, name: '副主任医师' },
93
+            // { index: 6, name: '主任医师' },
94
+            // { index: 7, name: '护士' },
95
+            // { index: 8, name: '护师' },
96
+            // { index: 9, name: '主管护师' },
97
+            // { index: 10, name: '副主任护师' },
98
+            // { index: 11, name: '主任护师' },
99
+            }  
100
+       },
101
+       created(){
102
+          const id = this.$route.query.id;
103
+           const orgid = this.$route.query.orgid;
104
+           console.log("id是多少",id)
105
+           console.log("orgid是多少",orgid)
106
+           this.singleDoctorInfo(id,orgid)
107
+       }
108
+     }
37
 
109
 
110
+  </script>
38
 <style lang="scss" scoped>
111
 <style lang="scss" scoped>
39
 .contentOne {
112
 .contentOne {
40
   margin: auto;
113
   margin: auto;
78
       line-height: 1.5rem;
151
       line-height: 1.5rem;
79
       font-weight: 400;
152
       font-weight: 400;
80
       margin-top: 0.875rem;
153
       margin-top: 0.875rem;
154
+      height: 30px;
155
+      overflow: hidden;
156
+      text-overflow: ellipsis;
157
+       display: -webkit-box;
158
+      -webkit-line-clamp: 1;
159
+      -webkit-box-orient: vertical;
160
+      // border: solid 1px red;
81
     }
161
     }
82
   }
162
   }
83
 }
163
 }

+ 32 - 9
src/scrm_pages/hospitalIntroduction/hospitalIntroduction.vue View File

1
 <template>
1
 <template>
2
   <div class="main">
2
   <div class="main">
3
-    <div class="bannerImg">
3
+    <!-- <div class="bannerImg">
4
       <img src="static\images\banner.jpg" alt />
4
       <img src="static\images\banner.jpg" alt />
5
-    </div>
6
-    <div class="detail">
7
-      <p>
8
-        蛇口位于深圳湾半岛,与香港隔海相望,西依珠江口,背靠大南山,拥有得天独厚的地理位置;作为改革开放的前沿阵地,经过数十年的发展,如今已成为一个融合居住与旅游、本土与国际、富饶与休闲的国际化城区,区域内集中了鲸山别墅九期、双玺花园、兰溪谷等一系列高尚住宅,聚集着一大批具有高品质生活、高消费能力的优质人群,同时也吸引了来自70多个国家和地区,占深圳市60%以上的外籍人士聚居于此,拥有“小联合国”的美誉。
9
-        深圳市南山区蛇口人民医院暨中南大学湘雅二医院深圳医院,坐落于蛇口半岛中心地带,目前已成为外籍人士与港澳居。
10
-        深圳市南山区蛇口人民医院暨中南大学湘雅二医院深圳医院,坐落于蛇口半岛中心地带,目前已成为外籍人士与港澳居
11
-      </p>
5
+    </div> -->
6
+      <div class="detail" v-html="hospitalform.introduction">
12
     </div>
7
     </div>
13
   </div>
8
   </div>
14
 </template>
9
 </template>
15
-
10
+ <script>
11
+    import { hispitalmore } from "@/api/micro/micro"
12
+     export default{
13
+        name:"hospitalIntroduction",
14
+        data(){
15
+            return{
16
+              hospitalform:[],
17
+            }
18
+        },
19
+        methods:{
20
+           hispitalmore(id,orgid){
21
+             hispitalmore(id,orgid).then(response=>{
22
+                 if(response.data.state ==1){
23
+                   var hospital =  response.data.data.hospital;
24
+                   console.log("hospital",hospital)
25
+                   this.hospitalform =  response.data.data.hospital;
26
+                }
27
+               })
28
+            }
29
+        },
30
+        created(){
31
+           const id = this.$route.query.id;
32
+           const orgid = this.$route.query.orgid;
33
+           console.log("id是多少",id)
34
+           console.log("orgid是多少",orgid)
35
+           this.hispitalmore(id,orgid)
36
+        }
37
+     }
38
+ </script>
16
 
39
 
17
 
40
 
18
 <style lang="scss" scoped>
41
 <style lang="scss" scoped>

+ 56 - 50
src/scrm_pages/medicalTeam/medicalTeam.vue View File

9
     </div>
9
     </div>
10
     <div class="msg">贴心的服务,让您的就医更轻松</div>
10
     <div class="msg">贴心的服务,让您的就医更轻松</div>
11
     <div class="content">
11
     <div class="content">
12
-      <div class="contentOne">
13
-        <div class="img">
14
-          <img src="static\images\img1.jpg" alt />
15
-        </div>
16
-        <div class="detail">
17
-          <p class="detailTitle">欧巧漫</p>
18
-          <p class="detailMessage">苏安,女,主任医师,教授,妇产科主任,湖南省医学会理事、湖南省肿瘤学会委员瘤学肿瘤学会员......</p>
19
-        </div>
20
-      </div>
21
-      <div class="contentOne">
22
-        <div class="img">
23
-          <img src="static\images\img1.jpg" alt />
24
-        </div>
25
-        <div class="detail">
26
-          <p class="detailTitle">欧巧漫</p>
27
-          <p class="detailMessage">苏安,女,主任医师,教授,妇产科主任,湖南省医学会理事、湖南省肿瘤学会委员瘤学肿瘤学会员......</p>
28
-        </div>
29
-      </div>
30
-      <div class="contentOne">
31
-        <div class="img">
32
-          <img src="static\images\img1.jpg" alt />
33
-        </div>
34
-        <div class="detail">
35
-          <p class="detailTitle">欧巧漫</p>
36
-          <p class="detailMessage">苏安,女,主任医师,教授,妇产科主任,湖南省医学会理事、湖南省肿瘤学会委员瘤学肿瘤学会员......</p>
37
-        </div>
38
-      </div>
39
-      <div class="contentOne">
40
-        <div class="img">
41
-          <img src="static\images\img1.jpg" alt />
42
-        </div>
43
-        <div class="detail">
44
-          <p class="detailTitle">欧巧漫</p>
45
-          <p class="detailMessage">苏安,女,主任医师,教授,妇产科主任,湖南省医学会理事、湖南省肿瘤学会委员瘤学肿瘤学会员......</p>
46
-        </div>
47
-      </div>
48
-      <div class="contentOne">
49
-        <div class="img">
50
-          <img src="static\images\img1.jpg" alt />
51
-        </div>
52
-        <div class="detail">
53
-          <p class="detailTitle">欧巧漫</p>
54
-          <p class="detailMessage">苏安,女,主任医师,教授,妇产科主任,湖南省医学会理事、湖南省肿瘤学会委员瘤学肿瘤学会员......</p>
55
-        </div>
56
-      </div>
57
-      <div class="contentOne">
12
+
13
+      <div class="contentOne" v-for="item in this.editdocfrom" :key="item.id" @click="singleDoctorInfo(item.id,item.user_org_id)">
58
         <div class="img">
14
         <div class="img">
59
-          <img src="static\images\img1.jpg" alt />
15
+          <img :src="item.dochead" style="width:100%;height:100%" alt />
60
         </div>
16
         </div>
61
         <div class="detail">
17
         <div class="detail">
62
-          <p class="detailTitle">欧巧漫</p>
63
-          <p class="detailMessage">苏安,女,主任医师,教授,妇产科主任,湖南省医学会理事、湖南省肿瘤学会委员瘤学肿瘤学会员......</p>
18
+          <p class="detailTitle">{{item.doc_name}}</p>
19
+          <p class="detailMessage" v-html="item.docintroduction"></p>
64
         </div>
20
         </div>
65
       </div>
21
       </div>
22
+
66
     </div>
23
     </div>
67
   </div>
24
   </div>
68
 </template>
25
 </template>
26
+  <script>
27
+     import { docmore } from "@/api/micro/micro"
28
+    export default{
29
+         data(){
30
+           return{
31
+              editdocfrom:[],
32
+           }   
33
+         },
34
+         methods:{
35
+             docmore(id,orgid){
36
+                docmore(id,orgid).then(response=>{
37
+                     if(response.data.state == 1){
38
+                       var editdoctor =  response.data.data.editdoctor;
39
+                       if(this.editdocfrom.doc_postion == 1){
40
+                          this.editdocfrom.doc_postion = ""
41
+                       }
42
+                        console.log("编辑医生返回数据",editdoctor)
43
+                        this.editdocfrom  =  editdoctor;
44
+                       if(this.editdocfrom.doc_postion == 1){
45
+                           return "医生"
46
+                       }
47
+                      
48
+                    }
49
+                 })
50
+            },
69
 
51
 
70
-
52
+          singleDoctorInfo(id,orgid){
53
+              this.$router.push({
54
+                       path:'/doctorIntroduction',
55
+                       query:{
56
+                           id:id,
57
+                           orgid:orgid,
58
+                       }
59
+                    }
60
+                )
61
+            }
62
+         },
63
+         created(){
64
+           const id = this.$route.query.id;
65
+          const orgid = this.$route.query.orgid;
66
+          console.log("id是多少",id)
67
+          console.log("orgid是多少",orgid)
68
+          this.docmore(id,orgid)
69
+         }
70
+    }
71
+  </script>
71
 <style lang="scss" scoped>
72
 <style lang="scss" scoped>
72
 .header {
73
 .header {
73
   height: 1.25rem;
74
   height: 1.25rem;
142
       font-weight: 400;
143
       font-weight: 400;
143
       color: rgba(155, 155, 155, 1);
144
       color: rgba(155, 155, 155, 1);
144
       line-height: 1.125rem;
145
       line-height: 1.125rem;
146
+       overflow: hidden;
147
+      text-overflow: ellipsis;
148
+       display: -webkit-box;
149
+      -webkit-line-clamp: 2;
150
+      -webkit-box-orient: vertical;
145
     }
151
     }
146
   }
152
   }
147
 }
153
 }

+ 5 - 1
src/scrm_pages/micro/micro.vue View File

4
          <div class="swiper-container swiper-no-swiping swiperone">
4
          <div class="swiper-container swiper-no-swiping swiperone">
5
              <div class="swiper-wrapper">
5
              <div class="swiper-wrapper">
6
                  <div class="swiper-slide">      
6
                  <div class="swiper-slide">      
7
-                   <div v-for="item in this.patientModels" :key="item.id" v-show="modelshow">                    
7
+                   <div v-for="item in this.patientModels" :key="item.id" v-show="modelshow" class="bugone">                    
8
                       <!-- 轮播图 -->
8
                       <!-- 轮播图 -->
9
                        <div class="modeone" v-if="item.mode_type == 1">
9
                        <div class="modeone" v-if="item.mode_type == 1">
10
                           <mt-swipe :auto="2000" class="swipertwo">
10
                           <mt-swipe :auto="2000" class="swipertwo">
1179
       height: 90px;
1179
       height: 90px;
1180
       /* border:solid 1px red; */
1180
       /* border:solid 1px red; */
1181
       margin-left: 5px;
1181
       margin-left: 5px;
1182
+      border: solid 1px red;
1182
     }
1183
     }
1183
 
1184
 
1184
     .acthead{
1185
     .acthead{
1211
       -webkit-box-orient: vertical;
1212
       -webkit-box-orient: vertical;
1212
     }
1213
     }
1213
    
1214
    
1215
+   .bugone{
1216
+     border:solid 1px blue;
1217
+   }
1214
 </style>
1218
 </style>

+ 277 - 181
src/scrm_pages/microHome/microHome.vue View File

1
 <template>
1
 <template>
2
   <div class="page_home">
2
   <div class="page_home">
3
-    <div>
4
-      <div class="banner">
5
-        <div class="swiper-container bannerSwiper">
6
-          <div class="swiper-wrapper">
7
-            <div class="swiper-slide">
8
-              <img class="img" src="static\images\banner.jpg" />
9
-            </div>
10
-            <div class="swiper-slide">
11
-              <img class="img" src="static\images\img3.jpg" />
12
-            </div>
13
-            <div class="swiper-slide">
14
-              <img class="img" src="static\images\img2.png" />
3
+    <div class="swiper-slide">
4
+      <div v-for="item in this.patientModels" :key="item.id">
5
+        <!-- 轮播图 -->
6
+        <div class="banner" v-if="item.mode_type == 1">
7
+          <div class="swiper-container bannerSwiper">
8
+            <div class="swiper-wrapper">
9
+              <div class="swiper-slide" v-for="it in item.PatientEditpiclink" :key="it.id">
10
+                <img class="imgtwo" :src="it.images" />
11
+              </div>
15
             </div>
12
             </div>
16
-          </div>
17
-          <!-- 如果需要分页器 -->
18
-          <div class="swiper-pagination"></div>
19
-        </div>
20
-      </div>
21
-      <div class="btnList">
22
-        <div class="btnOne" v-for="(item,index) in 8" :key="index">
23
-          <div>
24
-            <img src="static\images\icon1.jpg" alt />
25
-          </div>
26
-          <div>
27
-            <p class="title">医院介绍</p>
13
+            <!-- 如果需要分页器 -->
14
+            <div class="swiper-pagination"></div>
28
           </div>
15
           </div>
29
         </div>
16
         </div>
30
-      </div>
31
-      <!-- 医院动态 -->
32
-      <div class="dynamic">
33
-        <div class="common_title">
34
-          <div class="one"></div>
35
-          <div class="dynamicTxt">医院动态</div>
36
-          <div class="more">
37
-            <p>
38
-              查看更多
39
-              <i class="iconfont">&#xe632;</i>
40
-            </p>
41
-          </div>
42
-        </div>
43
-        <div class="content">
44
-          <div class="contentOne">
45
-            <div class="img">
46
-              <img src="static\images\img1.jpg" alt />
17
+
18
+        <!-- 魔方导航 -->
19
+        <div class="btnList" v-if="item.mode_type== 8">
20
+          <div class="btnOne" v-for="it in item.Editmargin" :key="it.id">
21
+            <div>
22
+              <img :src="it.margimage" alt />
47
             </div>
23
             </div>
48
-            <div class="detail">
49
-              <p class="detailTitle">山东潍坊,高考还剩最一门...</p>
50
-              <p class="detailMessage">高三学生周某出生在潍坊市固堤镇一个普通的农村家庭,她的父母一直希望成绩优异的女儿能考上一所好...</p>
24
+            <div>
25
+              <p class="title">{{it.margtitle}}</p>
51
             </div>
26
             </div>
52
           </div>
27
           </div>
53
-          <div class="contentOne">
54
-            <div class="img">
55
-              <img src="static\images\img1.jpg" alt />
28
+        </div>
29
+
30
+        <!-- 文章列表 -->
31
+        <div class="dynamic" v-if="item.mode_type == 6">
32
+          <div class="common_title">
33
+            <div class="one"></div>
34
+            <div class="dynamicTxt">{{item.title}}</div>
35
+            <div class="more" @click="articlemore(item.id,item.user_org_id)">
36
+              <p>
37
+                查看更多
38
+                <i class="iconfont">&#xe632;</i>
39
+              </p>
56
             </div>
40
             </div>
57
-            <div class="detail">
58
-              <p class="detailTitle">山东潍坊,高考还剩最一门...</p>
59
-              <p class="detailMessage">高三学生周某出生在潍坊市固堤镇一个普通的农村家庭,她的父母一直希望成绩优异的女儿能考上一所好...</p>
41
+          </div>
42
+          <div class="content">
43
+            <div class="contentOne" v-for="it in Articlelist" :key="it.id">
44
+              <div class="img">
45
+                <img :src="it.imgs" style="width:100%;height:100%" alt />
46
+              </div>
47
+              <div class="detail">
48
+                <p class="detailTitle">{{it.title}}</p>
49
+                <!-- <p class="detailMessage"></p> -->
50
+              </div>
60
             </div>
51
             </div>
61
           </div>
52
           </div>
62
         </div>
53
         </div>
63
-      </div>
64
-      <!-- 医院介绍 -->
65
-      <div class="common">
66
-        <div class="common_title">
67
-          <div class="one"></div>
68
-          <div class="dynamicTxt">医院介绍</div>
69
-          <div class="more">
70
-            <p>
71
-              查看更多
72
-              <i class="iconfont">&#xe632;</i>
73
-            </p>
54
+
55
+        <!-- 医院介绍 -->
56
+        <div class="common" v-if="item.mode_type == 2">
57
+          <div class="common_title">
58
+            <div class="one"></div>
59
+            <div class="dynamicTxt">{{item.title}}</div>
60
+            <div class="more" @click="hispitalmore(item.id,item.user_org_id)">
61
+              <p>
62
+                查看更多
63
+                <i class="iconfont">&#xe632;</i>
64
+              </p>
65
+            </div>
74
           </div>
66
           </div>
75
-        </div>
76
-        <div class="commonBox">
77
-          <div class="commonImg">
67
+          <div class="commonBox">
68
+            <!-- <div class="commonImg">
78
             <img src="static\images\img2.png" alt />
69
             <img src="static\images\img2.png" alt />
79
           </div>
70
           </div>
80
           <div class="commonMessage">
71
           <div class="commonMessage">
81
             深圳市南山区人民医院(深圳市第六人民医院),坐落于深圳经济特区西部南头半岛中心区,是深圳市第四家三级甲等医院暨南山区区域医疗中心。深圳市第四家三级甲等医院
72
             深圳市南山区人民医院(深圳市第六人民医院),坐落于深圳经济特区西部南头半岛中心区,是深圳市第四家三级甲等医院暨南山区区域医疗中心。深圳市第四家三级甲等医院
82
             深圳市南山区人民医院(深圳市第六人民医院),坐落于深圳经济特区西部南头半岛中心区,是深圳市第四家三级甲等医院暨南山区区域医疗中心。深圳市第四家三级甲等医院...
73
             深圳市南山区人民医院(深圳市第六人民医院),坐落于深圳经济特区西部南头半岛中心区,是深圳市第四家三级甲等医院暨南山区区域医疗中心。深圳市第四家三级甲等医院...
83
           </div>
74
           </div>
84
-        </div>
85
-      </div>
86
-      <!-- 医院环境 -->
87
-      <div class="common">
88
-        <div class="common_title">
89
-          <div class="one"></div>
90
-          <div class="dynamicTxt">医院环境</div>
91
-          <div class="more">
92
-            <p>
93
-              查看更多
94
-              <i class="iconfont">&#xe632;</i>
95
-            </p>
75
+            </div>-->
76
+            <div class="commonMessage" v-html="item.Hospitals.introduction"></div>
96
           </div>
77
           </div>
97
         </div>
78
         </div>
98
-        <div class="commonBox">
99
-          <div class="commonImg">
100
-            <img src="static\images\img2.png" alt />
79
+
80
+        <!-- 科室介绍 -->
81
+        <div class="common" v-if="item.mode_type == 3">
82
+          <div class="common_title">
83
+            <div class="one"></div>
84
+            <div class="dynamicTxt">{{item.title}}</div>
85
+            <div class="more" @click="officemore(item.id,item.user_org_id)">
86
+              <p>
87
+                查看更多
88
+                <i class="iconfont">&#xe632;</i>
89
+              </p>
90
+            </div>
101
           </div>
91
           </div>
102
-          <div
103
-            class="commonMessage"
104
-          >深圳市南山区人民医院(深圳市第六人民医院),坐落于深圳经济特区西部南头半岛中心区,是深圳市第四家三级甲等医院暨南山区区域医疗中心。深圳市第四家三级甲等医院...</div>
105
-        </div>
106
-      </div>
107
-      <!-- 医护团队 -->
108
-      <div class="dynamic">
109
-        <div class="common_title">
110
-          <div class="one"></div>
111
-          <div class="dynamicTxt">医院团队</div>
112
-          <div class="more">
113
-            <p>
114
-              查看更多
115
-              <i class="iconfont">&#xe632;</i>
116
-            </p>
92
+          <div class="commonBox">
93
+            <!-- <div class="commonImg">
94
+            <img src="static\images\img2.png" alt />
95
+            </div>-->
96
+            <div class="commonMessage" v-html="item.Offices.introduction"></div>
117
           </div>
97
           </div>
118
         </div>
98
         </div>
119
-        <div class="content">
120
-          <div class="contentOne">
121
-            <div class="img">
122
-              <img src="static\images\img1.jpg" alt />
123
-            </div>
124
-            <div class="detail">
125
-              <p class="detailTitle">欧巧漫</p>
126
-              <p class="detailMessage">苏安,女,主任医师,教授,妇产科主任,湖南省医学会理事、湖南省肿瘤学会委员瘤学肿瘤学会员......</p>
99
+
100
+        <!-- 医护团队 -->
101
+        <div class="dynamic" v-if="item.mode_type == 4">
102
+          <div class="common_title">
103
+            <div class="one"></div>
104
+            <div class="dynamicTxt">{{item.title}}</div>
105
+            <div class="more" @click="docmore(item.id,item.user_org_id)">
106
+              <p>
107
+                查看更多
108
+                <i class="iconfont">&#xe632;</i>
109
+              </p>
127
             </div>
110
             </div>
128
           </div>
111
           </div>
129
-          <div class="contentOne">
112
+          <div class="content">
113
+            <div class="contentOne" v-for="doc in item.Editdoctor" :key="doc.id">
114
+              <div class="img">
115
+                <img :src="doc.dochead" style="width:100%;height:100%" alt />
116
+              </div>
117
+              <div class="detail">
118
+                <p class="detailTitle">{{doc.doc_name}}</p>
119
+                <p class="detailMessage" v-html="doc.docintroduction"></p>
120
+              </div>
121
+            </div>
122
+            <!-- <div class="contentOne">
130
             <div class="img">
123
             <div class="img">
131
               <img src="static\images\img1.jpg" alt />
124
               <img src="static\images\img1.jpg" alt />
132
             </div>
125
             </div>
134
               <p class="detailTitle">欧巧漫</p>
127
               <p class="detailTitle">欧巧漫</p>
135
               <p class="detailMessage">苏安,女,主任医师,教授,妇产科主任,湖南省医学会理事、湖南省肿瘤学会委员瘤学肿瘤学会员......</p>
128
               <p class="detailMessage">苏安,女,主任医师,教授,妇产科主任,湖南省医学会理事、湖南省肿瘤学会委员瘤学肿瘤学会员......</p>
136
             </div>
129
             </div>
130
+            </div>-->
137
           </div>
131
           </div>
138
         </div>
132
         </div>
139
-      </div>
140
-      <!-- 医院环境 -->
141
-      <div class="dynamic">
142
-        <div class="common_title">
143
-          <div class="one"></div>
144
-          <div class="dynamicTxt">医院环境</div>
145
-          <div class="more">
133
+
134
+        <!-- 科室环境 -->
135
+        <div class="dynamic" v-if="item.mode_type == 5">
136
+          <div class="common_title">
137
+            <div class="one"></div>
138
+            <div class="dynamicTxt">{{item.title}}</div>
139
+            <!-- <div class="more">
146
             <p>
140
             <p>
147
               查看更多
141
               查看更多
148
               <i class="iconfont">&#xe632;</i>
142
               <i class="iconfont">&#xe632;</i>
149
             </p>
143
             </p>
144
+            </div>-->
150
           </div>
145
           </div>
151
-        </div>
152
-        <div class="imgs">
153
-          <div class="swiper-container imgSwiper">
154
-            <div class="swiper-wrapper">
155
-              <div class="swiper-slide carousel">
156
-                <img class="img" src="static\images\img3.jpg" preview="1" />
157
-              </div>
158
-              <div class="swiper-slide carousel">
159
-                <img class="img" src="static\images\banner.jpg" preview="1" />
160
-              </div>
161
-              <div class="swiper-slide carousel">
162
-                <img class="img" src="static\images\img2.png" preview="1" />
146
+          <div class="imgs">
147
+            <div class="swiper-container imgSwiper">
148
+              <div class="swiper-wrapper">
149
+                <div class="swiper-slide carousel" v-for="itms in item.Enviroimages" :key="itms.id">
150
+                  <img class="img" :src="itms.enviroimages" :preview="itms.modeid" />
151
+                </div>
163
               </div>
152
               </div>
164
             </div>
153
             </div>
165
           </div>
154
           </div>
166
         </div>
155
         </div>
167
-      </div>
168
-      <!-- 医院活动 -->
169
-      <div class="dynamic bottom">
170
-        <div class="common_title">
171
-          <div class="one"></div>
172
-          <div class="dynamicTxt">医院活动</div>
173
-          <div class="more">
174
-            <p>
175
-              查看更多
176
-              <i class="iconfont">&#xe632;</i>
177
-            </p>
178
-          </div>
179
-        </div>
180
-        <div class="content">
181
-          <div class="contentOne">
182
-            <div class="img">
183
-              <img src="static\images\img1.jpg" alt />
184
-            </div>
185
-            <div class="detail">
186
-              <p class="detailTitle">与孩子一起挑选采摘新机陆...</p>
187
-              <div class="detailBox">
188
-                <div class="activityTime">
189
-                  <p>
190
-                    7月28日 08:30开始
191
-                    深圳市南山区
192
-                  </p>
193
-                </div>
194
-                <div class="people">
195
-                  <p>100人已报名</p>
196
-                </div>
197
-              </div>
156
+
157
+        <!-- 医院活动 -->
158
+        <div class="dynamic bottom" v-if="item.mode_type == 7">
159
+          <div class="common_title">
160
+            <div class="one"></div>
161
+            <div class="dynamicTxt">{{item.title}}</div>
162
+            <div class="more" @click="Activitiesmore(item.id,item.user_org_id)">
163
+              <p>
164
+                查看更多
165
+                <i class="iconfont">&#xe632;</i>
166
+              </p>
198
             </div>
167
             </div>
199
           </div>
168
           </div>
200
-          <div class="contentOne">
201
-            <div class="img">
202
-              <img src="static\images\img1.jpg" alt />
203
-            </div>
204
-            <div class="detail">
205
-              <p class="detailTitle">与孩子一起挑选采摘新机陆...</p>
206
-              <div class="detailBox">
169
+          <div class="content">
170
+            <div class="contentOne" v-for="it in Activitieslist" :key="it.id">
171
+              <div class="img">
172
+                <img :src="it.poster_photo" style="widht:100%;height:100%" alt />
173
+              </div>
174
+              <div class="detail">
175
+                <p class="detailTitle">{{it.title}}</p>
176
+                <!-- <div class="detailBox">
207
                 <div class="activityTime">
177
                 <div class="activityTime">
208
                   <p>
178
                   <p>
209
                     7月28日 08:30开始
179
                     7月28日 08:30开始
213
                 <div class="people">
183
                 <div class="people">
214
                   <p>100人已报名</p>
184
                   <p>100人已报名</p>
215
                 </div>
185
                 </div>
186
+                </div>-->
216
               </div>
187
               </div>
217
             </div>
188
             </div>
218
           </div>
189
           </div>
222
     <!-- tab切换 -->
193
     <!-- tab切换 -->
223
     <div class="tabs">
194
     <div class="tabs">
224
       <ul class="tabList">
195
       <ul class="tabList">
225
-        <li class="tabOne">
226
-          <img src="static\images\home.jpg" alt />
227
-          <span>首页</span>
228
-        </li>
229
-        <li class="tabOne">
230
-          <img src="static\images\msg.jpg" alt />
231
-          <span>在线客服</span>
232
-        </li>
233
-        <li class="tabOne">
234
-          <img src="static\images\tel.jpg" alt />
235
-          <span>电话</span>
236
-        </li>
237
-        <li class="tabOne">
238
-          <img src="static\images\service.jpg" alt />
239
-          <span>联系我们</span>
196
+        <li class="tabOne" v-for="item in this.navigationdata" :key="item.id">
197
+          <img :src="item.navimages" alt />
198
+          <span>{{item.navtitle}}</span>
240
         </li>
199
         </li>
241
       </ul>
200
       </ul>
242
     </div>
201
     </div>
246
 
205
 
247
 <script>
206
 <script>
248
 import Swiper from "swiper";
207
 import Swiper from "swiper";
249
-
208
+import {
209
+  getHospitaldata,
210
+  getArticlelist,
211
+  getActivities,
212
+  getDefalutNavigationData
213
+} from "@/api/micro/micro";
250
 export default {
214
 export default {
251
   data() {
215
   data() {
252
     return {
216
     return {
253
-      bannerList: []
217
+      bannerList: [],
218
+      patientModels: [],
219
+      Articlelist: [],
220
+      navigationdata: []
254
     };
221
     };
255
   },
222
   },
256
   methods: {
223
   methods: {
268
       var mySwiper2 = new Swiper(".imgSwiper", {
235
       var mySwiper2 = new Swiper(".imgSwiper", {
269
         slidesPerView: 2
236
         slidesPerView: 2
270
       });
237
       });
238
+    },
239
+    getHospitaldata(orgid) {
240
+      getHospitaldata(orgid).then(response => {
241
+        if (response.data.state == 1) {
242
+          this.patientModels = response.data.data.patientModels;
243
+          console.log("数据是什么", this.patientModels);
244
+        }
245
+      });
246
+    },
247
+    getArticlelist(orgid) {
248
+      getArticlelist(orgid, this.Articlelist).then(response => {
249
+        if (response.data.state == 1) {
250
+          var articlelist = response.data.data.articlelists;
251
+          this.Articlelist = response.data.data.articlelists;
252
+          console.log("文章列表", this.Articlelist);
253
+        }
254
+      });
255
+    },
256
+    getActivities(orgid) {
257
+      getActivities(orgid, this.Activitieslist).then(response => {
258
+        if (response.data.state == 1) {
259
+          var activity = response.data.data.activity;
260
+          this.Activitieslist = response.data.data.activity;
261
+          console.log("活动列表", activity);
262
+          console.log(this.Activitieslist);
263
+        }
264
+      });
265
+    },
266
+    hispitalmore(id, orgid) {
267
+      this.$router.push({
268
+        path: "/hospitalIntroduction",
269
+        query: {
270
+          id: id,
271
+          orgid,
272
+          orgid
273
+        }
274
+      });
275
+    },
276
+
277
+    officemore(id, orgid) {
278
+      this.$router.push({
279
+        path: "/officeIntroduction",
280
+        query: {
281
+          id: id,
282
+          orgid,
283
+          orgid
284
+        }
285
+      });
286
+    },
287
+    docmore(id, orgid) {
288
+      this.$router.push({
289
+        path: "/medicalTeam",
290
+        query: {
291
+          id: id,
292
+          orgid,
293
+          orgid
294
+        }
295
+      });
296
+    },
297
+    articlemore(id, orgid) {
298
+      this.$router.push({
299
+        path: "/news",
300
+        query: {
301
+          id: id,
302
+          orgid,
303
+          orgid
304
+        }
305
+      });
306
+    },
307
+    Activitiesmore(id, orgid) {
308
+      this.$router.push({
309
+        path: "/activity",
310
+        query: {
311
+          id: id,
312
+          orgid,
313
+          orgid
314
+        }
315
+      });
316
+    },
317
+    getDefalutNavigationData(orgid) {
318
+      getDefalutNavigationData(orgid).then(response => {
319
+        if (response.data.state == 1) {
320
+          var navigation = response.data.data.navigation;
321
+          console.log("navigation是什么", navigation);
322
+          this.navigationdata = navigation;
323
+        }
324
+      });
271
     }
325
     }
272
   },
326
   },
327
+  created() {
328
+    const orgid = this.$route.query.orgid;
329
+    console.log("机构id是", orgid);
330
+    this.getHospitaldata(orgid);
331
+    this.getArticlelist(orgid);
332
+    this.getActivities(orgid);
333
+    this.getDefalutNavigationData(orgid);
334
+  },
273
   mounted() {
335
   mounted() {
274
     this.initSwiper();
336
     this.initSwiper();
275
   },
337
   },
338
+
276
   updated() {
339
   updated() {
277
     this.initSwiper();
340
     this.initSwiper();
341
+    this.$previewRefresh();
278
   }
342
   }
279
 };
343
 };
280
 </script>
344
 </script>
292
   > div:first-child::-webkit-scrollbar {
356
   > div:first-child::-webkit-scrollbar {
293
     width: 0;
357
     width: 0;
294
   }
358
   }
359
+  // border:solid 1px red;
295
 }
360
 }
361
+// .bugone{
362
+//   border: solid 1px red;
363
+// }
364
+
296
 .banner {
365
 .banner {
297
   height: 9.4375rem;
366
   height: 9.4375rem;
367
+  // border:solid 1px red;
298
 }
368
 }
299
 .swiper-container {
369
 .swiper-container {
300
   height: 100%;
370
   height: 100%;
306
   //   width: 334px;
376
   //   width: 334px;
307
 }
377
 }
308
 .img {
378
 .img {
309
-  //   width: 334px;
379
+  width: 100px;
380
+  height: 100px;
381
+}
382
+.imgtwo {
310
   width: 100%;
383
   width: 100%;
311
   height: 100%;
384
   height: 100%;
312
 }
385
 }
318
   width: 100%;
391
   width: 100%;
319
   //   height: 180px;
392
   //   height: 180px;
320
   margin-top: 1.25rem;
393
   margin-top: 1.25rem;
394
+  // border:solid 1px yellow;
321
 }
395
 }
322
 .btnOne {
396
 .btnOne {
323
   display: block;
397
   display: block;
347
 }
421
 }
348
 .dynamic {
422
 .dynamic {
349
   margin-top: 3.0625rem;
423
   margin-top: 3.0625rem;
424
+  // border: solid 1px red;
350
 }
425
 }
351
 .common_title {
426
 .common_title {
352
   width: 20.9375rem;
427
   width: 20.9375rem;
406
     margin-left: 0.8125rem;
481
     margin-left: 0.8125rem;
407
     width: 13.125rem;
482
     width: 13.125rem;
408
     .detailTitle {
483
     .detailTitle {
484
+      margin-top: 8px;
485
+      font-size: 15px;
409
       margin-top: 0.5rem;
486
       margin-top: 0.5rem;
410
       width: 12.6875rem;
487
       width: 12.6875rem;
411
-      height: 1.0625rem;
488
+      height: 1rem;
489
+      line-height: 1rem;
412
       font-size: 0.9375rem;
490
       font-size: 0.9375rem;
413
       font-weight: 600;
491
       font-weight: 600;
414
       color: rgba(7, 18, 40, 1);
492
       color: rgba(7, 18, 40, 1);
493
+      overflow: hidden;
494
+      text-overflow: ellipsis;
495
+      display: -webkit-box;
496
+      -webkit-line-clamp: 1;
497
+      -webkit-box-orient: vertical;
415
     }
498
     }
416
     .detailMessage {
499
     .detailMessage {
417
       margin-top: 0.25rem;
500
       margin-top: 0.25rem;
421
       font-weight: 400;
504
       font-weight: 400;
422
       color: rgba(155, 155, 155, 1);
505
       color: rgba(155, 155, 155, 1);
423
       line-height: 1.125rem;
506
       line-height: 1.125rem;
507
+      overflow: hidden;
508
+      text-overflow: ellipsis;
509
+      display: -webkit-box;
510
+      -webkit-line-clamp: 1;
511
+      -webkit-box-orient: vertical;
512
+      // border: solid 1px red;
424
     }
513
     }
425
   }
514
   }
515
+  // border: solid 1px red;
426
 }
516
 }
427
 .common {
517
 .common {
428
   margin-top: 1.875rem;
518
   margin-top: 1.875rem;
435
     box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.05);
525
     box-shadow: 0px 6px 20px 0px rgba(0, 0, 0, 0.05);
436
     border-radius: 16px;
526
     border-radius: 16px;
437
     padding: 1.125rem 1.3125rem 1.3125rem 1.3125rem;
527
     padding: 1.125rem 1.3125rem 1.3125rem 1.3125rem;
528
+    overflow: hidden;
529
+    text-overflow: ellipsis;
438
   }
530
   }
439
   .commonImg {
531
   .commonImg {
440
     width: 18.4375rem;
532
     width: 18.4375rem;
448
     font-size: 0.875rem;
540
     font-size: 0.875rem;
449
     color: rgba(60, 60, 60, 1);
541
     color: rgba(60, 60, 60, 1);
450
     line-height: 1.375rem;
542
     line-height: 1.375rem;
451
-    overflow: hidden; //超出的文本隐藏
452
-    text-overflow: ellipsis; //溢出用省略号显示
543
+    // border: solid 1px red;
544
+
545
+    display: -webkit-box;
546
+    -webkit-line-clamp: 8;
547
+    -webkit-box-orient: vertical;
453
   }
548
   }
549
+  // border:solid 1px red;
454
 }
550
 }
455
 .imgs {
551
 .imgs {
456
   margin-top: 1.875rem;
552
   margin-top: 1.875rem;

+ 47 - 50
src/scrm_pages/news/news.vue View File

1
 <template>
1
 <template>
2
   <div>
2
   <div>
3
     <div class="content">
3
     <div class="content">
4
-      <div class="contentOne">
5
-        <div class="img">
6
-          <img src="static\images\img1.jpg" alt />
7
-        </div>
8
-        <div class="detail">
9
-          <p class="detailTitle">山东潍坊,高考还剩最一门...</p>
10
-          <p class="detailMessage">高三学生周某出生在潍坊市固堤镇一个普通的农村家庭,她的父母一直希望成绩优异的女儿能考上一所好...</p>
11
-        </div>
12
-      </div>
13
-      <div class="contentOne">
14
-        <div class="img">
15
-          <img src="static\images\img1.jpg" alt />
16
-        </div>
17
-        <div class="detail">
18
-          <p class="detailTitle">山东潍坊,高考还剩最一门...</p>
19
-          <p class="detailMessage">高三学生周某出生在潍坊市固堤镇一个普通的农村家庭,她的父母一直希望成绩优异的女儿能考上一所好...</p>
20
-        </div>
21
-      </div>
22
-      <div class="contentOne">
23
-        <div class="img">
24
-          <img src="static\images\img1.jpg" alt />
25
-        </div>
26
-        <div class="detail">
27
-          <p class="detailTitle">山东潍坊,高考还剩最一门...</p>
28
-          <p class="detailMessage">高三学生周某出生在潍坊市固堤镇一个普通的农村家庭,她的父母一直希望成绩优异的女儿能考上一所好...</p>
29
-        </div>
30
-      </div>
31
-      <div class="contentOne">
32
-        <div class="img">
33
-          <img src="static\images\img1.jpg" alt />
34
-        </div>
35
-        <div class="detail">
36
-          <p class="detailTitle">山东潍坊,高考还剩最一门...</p>
37
-          <p class="detailMessage">高三学生周某出生在潍坊市固堤镇一个普通的农村家庭,她的父母一直希望成绩优异的女儿能考上一所好...</p>
38
-        </div>
39
-      </div>
40
-      <div class="contentOne">
41
-        <div class="img">
42
-          <img src="static\images\img1.jpg" alt />
43
-        </div>
44
-        <div class="detail">
45
-          <p class="detailTitle">山东潍坊,高考还剩最一门...</p>
46
-          <p class="detailMessage">高三学生周某出生在潍坊市固堤镇一个普通的农村家庭,她的父母一直希望成绩优异的女儿能考上一所好...</p>
47
-        </div>
48
-      </div>
49
-      <div class="contentOne">
4
+
5
+      <div class="contentOne"  v-for="it in articlelist" :key="it.id" @click="singleArticleInfo(it.id,it.user_org_id)">
50
         <div class="img">
6
         <div class="img">
51
-          <img src="static\images\img1.jpg" alt />
7
+          <img :src="it.imgs" style="width:100%;height:100%" alt />
52
         </div>
8
         </div>
53
         <div class="detail">
9
         <div class="detail">
54
-          <p class="detailTitle">山东潍坊,高考还剩最一门...</p>
55
-          <p class="detailMessage">高三学生周某出生在潍坊市固堤镇一个普通的农村家庭,她的父母一直希望成绩优异的女儿能考上一所好...</p>
10
+          <p class="detailTitle">{{it.title}}</p>
11
+          <p class="detailMessage"></p>
56
         </div>
12
         </div>
57
       </div>
13
       </div>
58
     </div>
14
     </div>
59
   </div>
15
   </div>
60
 </template>
16
 </template>
17
+  <script>
18
+     import { articlemore } from "@/api/micro/micro"
19
+      export default{
20
+        data(){
21
+          return{
22
+            articlelist:[], 
23
+          }
24
+        },
25
+        methods:{
26
+           articlemore(id,orgid){
27
+            articlemore(id,orgid).then(response=>{
28
+                  if(response.data.state == 1){
29
+                   var articlelist =  response.data.data.articlelists;  
30
+                   console.log("文章列表数据",articlelist)             
31
+                   this.articlelist =  response.data.data.articlelists;
32
+               }
33
+            })  
34
+          },
35
+           singleArticleInfo(id,orgid){
36
+            this.$router.push({
37
+                path:"/activityDetail",
38
+                query:{
39
+                    id:id,
40
+                    orgid:orgid,
41
+                }
42
+            })
43
+          }
44
+        },
45
+        created(){
46
+           const id = this.$route.query.id;
47
+           const orgid = this.$route.query.orgid;
48
+           console.log("id是多少",id)
49
+           console.log("orgid是多少",orgid)
50
+           this.articlemore(id,orgid)
51
+        }
52
+      }
61
 
53
 
62
-
54
+  </script>
63
 <style lang="scss" scoped>
55
 <style lang="scss" scoped>
64
 .contentOne {
56
 .contentOne {
65
   margin: auto;
57
   margin: auto;
89
       font-size: 0.9375rem;
81
       font-size: 0.9375rem;
90
       font-weight: 600;
82
       font-weight: 600;
91
       color: rgba(7, 18, 40, 1);
83
       color: rgba(7, 18, 40, 1);
84
+      overflow: hidden;
85
+      text-overflow: ellipsis;
86
+       display: -webkit-box;
87
+      -webkit-line-clamp: 1;
88
+      -webkit-box-orient: vertical;
92
     }
89
     }
93
     .detailMessage {
90
     .detailMessage {
94
       margin-top: 0.25rem;
91
       margin-top: 0.25rem;

+ 55 - 0
src/scrm_pages/officeIntroduction/officeIntroduction.vue View File

1
+<template>
2
+     <div class="main">
3
+         <div class="detail" v-html="officeform.introduction"></div>
4
+     </div>
5
+</template>
6
+
7
+<script>
8
+    import { officemore } from "@/api/micro/micro"
9
+    export default {
10
+        name: "officeIntroduction",
11
+        data(){
12
+            return{
13
+                officeform:[],
14
+            }
15
+        },
16
+        methods:{
17
+            officemore(id,orgid){
18
+               officemore(id,orgid).then(response=>{
19
+                   if(response.data.state ==1){
20
+                     var offices = response.data.data.offices;
21
+                     this.officeform = response.data.data.offices;
22
+                     console.log("科室详情数据",offices)
23
+
24
+                   }
25
+               })
26
+           }
27
+        },
28
+        created(){
29
+           const id = this.$route.query.id;
30
+           const orgid = this.$route.query.orgid;
31
+           console.log("id是多少",id)
32
+           console.log("orgid是多少",orgid)
33
+           this.officemore(id,orgid)
34
+        }
35
+    }
36
+</script>
37
+
38
+<style lang="scss" scoped>
39
+.bannerImg {
40
+  width: 339px;
41
+  height: 194px;
42
+  margin: 0 auto;
43
+  border-radius: 10px;
44
+  box-sizing: border-box;
45
+  padding: 18px 0;
46
+}
47
+.detail {
48
+  margin: 0 auto;
49
+  width: 336px;
50
+  height: 368px;
51
+  font-size: 16px;
52
+  color: rgba(7, 18, 40, 1);
53
+  line-height: 24px;
54
+}
55
+</style>

+ 1 - 1
src/xt_permission.js View File

1
 import router from './router'
1
 import router from './router'
2
 import store from './store'
2
 import store from './store'
3
-const loginWhiteList = ['/qrcode'] // 登录验证白名单
3
+const loginWhiteList = ['/microHome'] // 登录验证白名单
4
 
4
 
5
 router.beforeEach((to, from, next) => {
5
 router.beforeEach((to, from, next) => {
6
     if (loginWhiteList.indexOf(to.path) !== -1) {
6
     if (loginWhiteList.indexOf(to.path) !== -1) {