소스 검색

页面切图完成

BF-202210271038\Administrator 3 년 전
부모
커밋
08b12c7ca8
2개의 변경된 파일39개의 추가작업 그리고 0개의 파일을 삭제
  1. 6 0
      pages.json
  2. 33 0
      pages/index/intro.vue

+ 6 - 0
pages.json

@@ -13,6 +13,12 @@
 				"navigationBarTitleText": "%title.contract"
 			}
 		},
+		{
+			"path": "pages/index/intro",
+			"style": {
+				"navigationBarTitleText": "%title.intro"
+			}
+		},
 		{
 			"path": "pages/login/index",
 			"style": {

+ 33 - 0
pages/index/intro.vue

@@ -0,0 +1,33 @@
+<template>
+  <view class="intro-box">
+   <view>
+     <image src="@/static/img/index/bg1.png" mode="widthFix"></image>
+   </view>
+  </view>
+</template>
+
+<script>
+export default {
+  name: "intro",
+  components: {},
+  props: {},
+  data() {
+    return {}
+  },
+  watch: {},
+  mounted() {
+
+  },
+  methods: {}
+}
+</script>
+
+<style scoped lang="scss">
+.intro-box{
+  width: 100%;
+  image{
+    width: 100vw;
+  }
+}
+
+</style>