瀏覽代碼

提交成功页面

peixh 3 年之前
父節點
當前提交
ec0bc5aea6
共有 4 個文件被更改,包括 75 次插入2 次删除
  1. 2 2
      main.js
  2. 17 0
      pages.json
  3. 二進制
      pages/img/success.png
  4. 56 0
      pages/index/success.vue

+ 2 - 2
main.js

@@ -1,12 +1,12 @@
 import Vue from 'vue'
 import App from './App'
 import {minRequest} from '@/common/min.js'
-const vconsole = require('vconsole');
+// const vconsole = require('vconsole');
 
 Vue.config.productionTip = false
 
 Vue.prototype.$request = minRequest
-Vue.prototype.$vconsole = new vconsole()
+// Vue.prototype.$vconsole = new vconsole()
 App.mpType = 'app'
 
 const app = new Vue({

+ 17 - 0
pages.json

@@ -17,6 +17,23 @@
 				
 				}
 			}
+		},
+		{
+			"path": "pages/index/success",
+			"style": {
+				"navigationBarTitleText": "提交成功",
+				"navigationStyle": "custom",
+				"enablePullDownRefresh": false,
+				"app-plus": {
+				
+					"titleNView": {
+				
+						"autoBackButton": "false"
+				
+					}
+				
+				}
+			}
 		}
 	],
 

二進制
pages/img/success.png


+ 56 - 0
pages/index/success.vue

@@ -0,0 +1,56 @@
+<template>
+	<view>
+		<image class="scc" src="../img/success.png"></image>
+		<view class="resuil">提交成功</view>
+	</view>
+</template>
+
+<script>
+	// import uniNavBar from "@/components/uni-nav-bar/uni-nav-bar.vue"
+export default {
+  data () {
+    return {
+		
+    }
+  },
+  // components: {uniNavBar},
+  onLoad: function (option){
+	  
+  },
+  methods: {
+		
+	}
+}
+</script>
+
+<style>
+page{
+  text-align: center;
+  background-color: #ffffff;
+}
+.scc{
+  margin-top: 100rpx;
+  width: 160rpx;
+  height: 160rpx;
+}
+.resuil{
+  margin-top: 20rpx;
+  font-weight: 600;
+  letter-spacing: 3rpx;
+  font-size: 36rpx;
+}
+.btn{
+  width: 280rpx;
+  letter-spacing: 3rpx;
+  height: 70rpx;
+  font-weight: 600;
+  line-height: 70rpx;
+  border: 2px solid #3bb270;
+  color: #3bb270;
+  border-radius: 10rpx;
+  position: absolute;
+  bottom: 200rpx;
+  left: 50%;
+  margin-left: -130rpx;
+}
+</style>