YZM 2 years ago
parent
commit
89b780ba4c
3 changed files with 127 additions and 3 deletions
  1. 60 0
      pages/dapei - 副本/index.vue
  2. 7 3
      pages/index/index.vue
  3. 60 0
      pages/shouyedetail/index.vue

+ 60 - 0
pages/dapei - 副本/index.vue

@@ -0,0 +1,60 @@
+<template>
+	<view :style="{ minHeight: sys.windowHeight + 'px' }"
+		:class="[$tm.vx.state().tmVuetify.black ? 'black' : ' ']">
+		<tm-menubars title="消息列表" :shadow="0" :showback="true"></tm-menubars>
+		<div class="zhuti">
+			<tm-sheet class="kuang" style="padding-bottom: 70px !important;">
+				<view style="width: 94%;margin:0 auto;">
+					
+				</view>
+			</tm-sheet>
+			<tm-button :round="24" class="sao mb-40 mt-40" block>提交</tm-button>
+		</div>
+		<!-- 弹出层消息 -->
+		<tm-message ref="toast"></tm-message>
+	</view>
+</template>	
+<script>
+import{myRequest} from '@/api/request.js'
+export default {
+	data() {
+		return {
+			checked1:false,
+			checked2:false,
+			checked3:false,
+			beizu:''
+		};
+	},
+	onLoad() {
+		
+	},
+	created() {
+		this.sys = uni.getSystemInfoSync();
+	},
+	methods: {
+		aa(num){
+			if(num==1){
+				this.checked1=true;
+				this.checked2=false;
+				this.checked3=false;
+			}else if(num==2){
+				this.checked1=false;
+				this.checked2=true;
+				this.checked3=false;
+			}else if(num==3){
+				this.checked1=false;
+				this.checked2=false;
+				this.checked3=true;
+			}
+		},
+	},
+}
+</script>
+
+<style lang="scss">
+	/deep/ .tm-menubars .body{
+		background-color: #1b1b1b !important;
+	}
+	/deep/ .zhuti{padding: 10px 10px;}
+	/deep/ .kuang{margin:0 !important;padding: 0px !important;}
+</style>

+ 7 - 3
pages/index/index.vue

@@ -3,7 +3,7 @@
 		<!-- 首页 -->
 		<HomePage v-if="showpage==0"></HomePage>
 		<!-- 衣柜 -->
-		<MardPage v-if="showpage==1" @fatherMethod="initBtn"></MardPage>
+		<MardPage ref="yigui" v-if="showpage==1" @fatherMethod="initBtn"></MardPage>
 		<!-- 搭配 -->
 		<DapeiPage v-if="showpage==2"></DapeiPage>
 		<!-- 商城 -->
@@ -44,18 +44,22 @@ export default {
 		};
 	},
 	onLoad(index) {
+		console.log(222111)
 		this.$tm.theme.setBlack(true);
 		if(index.index==1){
 			this.showpage=1;
 		}else{
 			this.showpage=0;
 		}
+		
 		// console.log(index)
 		
 	},
 	created() {
-		
-		console.log(222)
+		if(this.showpage==1){
+			// this.$refs.yigui.fenleichange()
+		}
+		console.log(222111)
 	},
 	methods: {
 		initBtn(){

+ 60 - 0
pages/shouyedetail/index.vue

@@ -0,0 +1,60 @@
+<template>
+	<view :style="{ minHeight: sys.windowHeight + 'px' }"
+		:class="[$tm.vx.state().tmVuetify.black ? 'black' : ' ']">
+		<tm-menubars title="消息列表" :shadow="0" :showback="true"></tm-menubars>
+		<div class="zhuti">
+			<tm-sheet class="kuang" style="padding-bottom: 70px !important;">
+				<view style="width: 94%;margin:0 auto;">
+					
+				</view>
+			</tm-sheet>
+			<tm-button :round="24" class="sao mb-40 mt-40" block>提交</tm-button>
+		</div>
+		<!-- 弹出层消息 -->
+		<tm-message ref="toast"></tm-message>
+	</view>
+</template>	
+<script>
+import{myRequest} from '@/api/request.js'
+export default {
+	data() {
+		return {
+			checked1:false,
+			checked2:false,
+			checked3:false,
+			beizu:''
+		};
+	},
+	onLoad() {
+		
+	},
+	created() {
+		this.sys = uni.getSystemInfoSync();
+	},
+	methods: {
+		aa(num){
+			if(num==1){
+				this.checked1=true;
+				this.checked2=false;
+				this.checked3=false;
+			}else if(num==2){
+				this.checked1=false;
+				this.checked2=true;
+				this.checked3=false;
+			}else if(num==3){
+				this.checked1=false;
+				this.checked2=false;
+				this.checked3=true;
+			}
+		},
+	},
+}
+</script>
+
+<style lang="scss">
+	/deep/ .tm-menubars .body{
+		background-color: #1b1b1b !important;
+	}
+	/deep/ .zhuti{padding: 10px 10px;}
+	/deep/ .kuang{margin:0 !important;padding: 0px !important;}
+</style>