Commit 19b4f0ec authored by Sparkf's avatar Sparkf 🏙️ Committed by GitHub
Browse files

Merge pull request #117 from SUSTech-CRA/bus-chart2

引入react component组件
parents 4e19c84b 77ef1542
Loading
Loading
Loading
Loading
+2 −0
Original line number Diff line number Diff line
@@ -2,6 +2,7 @@ import { defineClientConfig } from '@vuepress/client'
import BusTable from "./components/BusTable.vue";
import Realtimemap from './components/Realtime-map.vue'
import WeatherSpan from './components/weather-span.vue'
import BusChart from './components/BusChart.vue'
// import AdsenseUnit from './components/adsense-inline-article.vue'

export default defineClientConfig({
@@ -9,6 +10,7 @@ export default defineClientConfig({
    app.component("BusTable", BusTable)
    app.component("Realtimemap", Realtimemap)
    app.component("WeatherSpan", WeatherSpan)
    app.component("BusChart", BusChart)
    // app.component("AdsenseUnit", AdsenseUnit)
  },
})
+15 −0
Original line number Diff line number Diff line
<template>
  <BasicPure></BasicPure>
</template>
<script>
import {applyPureReactInVue} from 'veaury'
import BasicReactComponent from './bus_ni1o1/App'

export default {
  components: {
    BasicPure: applyPureReactInVue(BasicReactComponent)
  },
  setup() {
  }
}
</script>
 No newline at end of file
+24 −0
Original line number Diff line number Diff line
.album {
    min-height: 50rem;
    padding-top: 3rem;
    padding-bottom: 3rem;
    background-color: #f7f7f7;
}

.card {
    float: left;
    width: 33.33%;
    padding:.75rem;
    margin-bottom: 2rem;
    border: 1px solid #efefef;
    text-align: center;
}

.card > img {
    margin-bottom: .75rem;
    border-radius: 100px;
}

.card-text {
    font-size: 85%;
}
 No newline at end of file
+450 −0

File added.

Preview size limit exceeded, changes collapsed.

+7 −0
Original line number Diff line number Diff line
{
"type": "FeatureCollection",
"name": "line1",
"features": [
{ "type": "Feature", "properties": { }, "geometry": { "type": "LineString", "coordinates": [ [ 113.990200060822701, 22.603344460572981 ], [ 113.990333174477954, 22.6027102287388 ], [ 113.990514670805609, 22.602456133880072 ], [ 113.990841364195418, 22.602195989143752 ], [ 113.991522590249474, 22.601607860773861 ], [ 113.991928480107561, 22.601056324430257 ], [ 113.992014308823357, 22.600526671759035 ], [ 113.991857592439558, 22.599956793999745 ], [ 113.991319364892504, 22.59945330686925 ], [ 113.990811827365107, 22.599193050967941 ], [ 113.990575899339404, 22.599034258589519 ], [ 113.9904009525345, 22.59862018369482 ], [ 113.990297849077294, 22.59752639824848 ], [ 113.990406327742804, 22.597096158685559 ], [ 113.990876062144395, 22.597041478974589 ], [ 113.991556690432802, 22.597245555836601 ], [ 113.992034233315295, 22.597268141810218 ], [ 113.992716208614596, 22.5968173712095 ], [ 113.993255214215793, 22.596303261873739 ], [ 113.993825116256502, 22.596059903602399 ], [ 113.994263768917307, 22.596071162002989 ], [ 113.994550623676702, 22.595519179429939 ], [ 113.995287231625795, 22.59597241715224 ], [ 113.996529642577698, 22.59731692465482 ], [ 113.998045551138802, 22.59902110136386 ], [ 113.998796135228801, 22.599533641486811 ], [ 113.999268394440591, 22.59985760187152 ], [ 113.999694748456065, 22.60001075474797 ], [ 113.99959043851149, 22.600077670561472 ], [ 113.998862527224802, 22.600735126645151 ], [ 113.998734780644995, 22.60117875994807 ], [ 113.998727256701201, 22.601482470906578 ], [ 113.998481110292403, 22.60178382602745 ], [ 113.998261380730199, 22.6021205004729 ], [ 113.998069751945195, 22.602587716731222 ], [ 113.998002614761702, 22.60300575140722 ], [ 113.997951304905101, 22.603237178781896 ], [ 113.997875516790629, 22.603308756445561 ], [ 113.997744992815711, 22.603304545994757 ], [ 113.996886641557893, 22.602980895656401 ], [ 113.996240102907393, 22.602883482030911 ], [ 113.995692321548532, 22.602884199237216 ], [ 113.99544081214448, 22.60296074557758 ], [ 113.995081378986399, 22.603359305092631 ], [ 113.994741145789746, 22.603739446476169 ], [ 113.994480941287335, 22.603995004469603 ], [ 113.994202150749047, 22.604231976427151 ], [ 113.993949700332195, 22.60464554145209 ], [ 113.99351020410505, 22.605376557033196 ], [ 113.993517765384382, 22.605457210679489 ], [ 113.993563133060434, 22.60551013963487 ], [ 113.994420192192678, 22.606010786177364 ], [ 113.994877490364317, 22.606242258091399 ], [ 113.995278497141001, 22.606402240970631 ], [ 113.995327766644706, 22.606673415602611 ], [ 113.996490585116902, 22.6063775771138 ], [ 113.997715653744606, 22.60596002561628 ], [ 113.998320711544395, 22.60613169032316 ], [ 113.998664870688501, 22.606599236851789 ], [ 113.998897946580101, 22.608153316116329 ], [ 113.998161891211794, 22.609753417676441 ], [ 113.9976555155949, 22.610514448689759 ], [ 113.997348907905405, 22.61067741494136 ] ] } }
]
}
Loading