he2802 hace 4 años
padre
commit
5106ad7d14
Se han modificado 3 ficheros con 47 adiciones y 0 borrados
  1. 10 0
      pages.json
  2. 26 0
      pages2/appointment/index.vue
  3. 11 0
      pages2/wd/class.vue

+ 10 - 0
pages.json

@@ -276,6 +276,16 @@
 						"bounce": "none"
 					}
 				}
+			},
+			{
+				"path": "appointment/index",
+				"style": {
+					"navigationBarTitleText": "预约考试",
+					"app-plus": {
+						"titleNView": false, //禁用原生导航栏 
+						"bounce": "none"
+					}
+				}
 			}
 		],
 		"plugins": {

+ 26 - 0
pages2/appointment/index.vue

@@ -0,0 +1,26 @@
+<template>
+	<view>
+		预约考试
+	</view>
+</template>
+
+<script>
+import { mapGetters } from 'vuex';
+export default {
+	components: {},
+	data() {
+		return {};
+	},
+	onLoad(option) {},
+
+	
+	methods: {
+		
+	},
+
+};
+</script>
+
+<style scoped>
+
+</style>

+ 11 - 0
pages2/wd/class.vue

@@ -30,6 +30,14 @@
 						<u-button type="warning" size="mini" @click.stop="studyIn">进入学习</u-button>
 					</view>
 				</view>
+				<view class="box_progress">
+					<view style="width: 60%;">
+						<text style="color: #333333;white-space: nowrap;text-overflow: ellipsis;">这是一个考试标题</text>
+					</view>
+					<view>
+						<u-button :plain="true" type="primary" size="mini" @click.stop="appointment">预约考试</u-button>
+					</view>
+				</view>
 				<view class="box_progress">
 					<view style="width: 60%;">
 						<text style="color: #2979ff;white-space: nowrap;text-overflow: ellipsis;">【机电全科】2021年一建黄金A</text>
@@ -63,6 +71,9 @@
 		methods: {
 			studyIn(){
 				this.$navTo.togo('/pages2/verify/input');
+			},
+			appointment(){
+				this.$navTo.togo('/pages2/appointment/index');
 			}
 		},