本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
註冊
登入
zhangzl
/
rongxin.nongjing.expo
關注
1
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
0
Wiki
活動
瀏覽代碼
加入返回按钮
dev
yuzongping
1 周之前
父節點
f8780b4805
當前提交
9d848cd292
共有
10 個檔案被更改
,包括
37 行新增
和
13 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+5
-5
src/App.vue
二進制
src/components/header/back.png
+3
-0
src/components/header/index.html
+7
-0
src/components/header/index.js
+16
-0
src/components/header/index.scss
+2
-4
src/style/_base.scss
+1
-1
src/views/capital/index.html
+1
-1
src/views/login/index.scss
+1
-1
src/views/property/index.html
+1
-1
src/views/resources/index.html
+ 5
- 5
src/App.vue
查看文件
@@ -1,9 +1,9 @@
<template>
<
!-- <
v-scale-screen width="1920" height="1080">
-->
<div id="app">
<router-view />
</div>
<
!-- <
/v-scale-screen>
-->
<v-scale-screen width="1920" height="1080">
<div id="app">
<router-view />
</div>
</v-scale-screen>
</template>
<script>
二進制
src/components/header/back.png
查看文件
Before
After
Width:
84
| Height:
84
| Size:
8.2 KiB
+ 3
- 0
src/components/header/index.html
查看文件
@@ -3,4 +3,7 @@
<slot name="left"></slot>
</div>
<p class="title">{{title}}</p>
<div class="right">
<div v-if="callBack" @click="back" class="back"></div>
</div>
</div>
+ 7
- 0
src/components/header/index.js
查看文件
@@ -4,6 +4,10 @@ export default {
computed: {
},
props: {
callBack: {
type: Boolean,
default: false
},
title: {
type: String,
default: '我是标题'
@@ -24,5 +28,8 @@ export default {
created () {
},
methods: {
back () {
this.$router.go(-1)
}
}
};
+ 16
- 0
src/components/header/index.scss
查看文件
@@ -26,4 +26,20 @@
left: 20px;
top: 20px;
}
.right {
position: absolute;
right: 20px;
bottom: 10px;
.back {
cursor: pointer;
background: url('./back.png');
background-size: 100% 100%;
width: 42px;
height: 42px;
}
}
}
+ 2
- 4
src/style/_base.scss
查看文件
@@ -25,10 +25,8 @@ body {
.page {
overflow: hidden;
position: relative;
width: 100vw;
// min-width: 1920px;
height: 100vh;
// min-height: 1080px;
width: 1920px;
height: 1080px;
.left_side {
position: absolute;
+ 1
- 1
src/views/capital/index.html
查看文件
@@ -1,5 +1,5 @@
<div class="page">
<Header title="资金一张图">
<Header title="资金一张图"
callBack
>
<div slot="left">
<Tabs @change="tabChange" :data="tabData"></Tabs>
</div>
+ 1
- 1
src/views/login/index.scss
查看文件
@@ -3,7 +3,7 @@
background-size: 100% 100%;
.text {
top:
11
0px;
top:
8
0px;
position: absolute;
left: 50%;
transform: translateX(-50%);
+ 1
- 1
src/views/property/index.html
查看文件
@@ -1,7 +1,7 @@
<div class="page">
<MainGis v-if="tab === '1'"></MainGis>
<GisMap v-else></GisMap>
<Header title="资产一张图">
<Header title="资产一张图"
callBack
>
<div slot="left">
<Tabs @change="tabChange" :data="tabData"></Tabs>
</div>
+ 1
- 1
src/views/resources/index.html
查看文件
@@ -1,7 +1,7 @@
<div class="page">
<MainGis v-if="tab === '1'"></MainGis>
<GisMap v-else></GisMap>
<Header title="资源一张图">
<Header title="资源一张图"
callBack
>
<div slot="left">
<Tabs @change="tabChange" :data="tabData"></Tabs>
</div>
Write
Preview
Loading…
取消
儲存