zhaogongxue 1 year ago
parent
commit
bf38875c9f

+ 2 - 1
common/url.js

@@ -1,2 +1,3 @@
-var url = 'https://fangtanhua.hdlkeji.com'
+// var url = 'https://fangtanhua.hdlkeji.com'
+var url = 'https://fangtanhua.cn'
 export default url

+ 10 - 1
pages.json

@@ -235,7 +235,16 @@
 				"navigationStyle": "custom"
 			}
 		}
-	]
+	    ,{
+            "path" : "pages/mine/youhui",
+            "style" :                                                                                    
+            {
+                "navigationBarTitleText": "优惠券",
+                "enablePullDownRefresh": false
+            }
+            
+        }
+    ]
 	// #ifdef MP-WEIXIN
 	,"subPackages": [{
 		"root": "pagesA",

File diff suppressed because it is too large
+ 78 - 10
pages/index/index.vue


+ 31 - 1
pages/mine/mine.vue

@@ -35,12 +35,17 @@
 			</view>
 			<view class="tabs-item u-flex-col u-col-center" @click="tourl(2)" v-if="(userinfo.certification_type == 2 || userinfo.certification_type == 0) && config.people_show == 1">
 				<image src="../../static/images/mine-tabs2.png" mode=""></image>
-				<text>全民经纪人</text>
+				<text>全民经纪人</text>  
 			</view>
 			<view class="tabs-item u-flex-col u-col-center" @click="tobaobei">
 				<image src="../../static/images/mine-tabs3.png" mode=""></image>
 				<text>我的报备</text>
 			</view>
+			<view class="tabs-item1 u-flex-col u-col-center" @click="toyouhui">
+				<div></div>
+<!-- 				<image  src="../../static/images/bianji.png" mode=""></image> -->
+				<text>优惠券</text>
+			</view>
 		</view>
 		<view class="setting-box u-flex u-row-between" @click="tosetting">
 			<text>系统设置</text>
@@ -140,6 +145,12 @@
 					url: "./setting"
 				})
 			},
+			toyouhui() {
+				if (this.$islogin()) return
+				uni.navigateTo({
+					url: "./youhui"
+				})
+			},
 			tobaobei() {
 				if (this.$islogin()) return
 				uni.navigateTo({
@@ -207,6 +218,25 @@
 					color: #131415;
 				}
 			}
+			.tabs-item1 {
+				width: 25%;
+				
+				div{
+					width: 84rpx;
+					height: 84rpx;
+					background: url(../../static/images/youhui.png)  no-repeat;
+					background-size: cover;
+					margin-bottom: 20rpx;
+					border-radius: 20rpx;
+				}
+
+				text {
+					font-size: 24rpx;
+					font-family: PingFangSC-Regular, PingFang SC;
+					font-weight: 400;
+					color: #131415;
+				}
+			}
 		}
 
 		.yongjin-box {

+ 90 - 0
pages/mine/youhui.vue

@@ -0,0 +1,90 @@
+<template>
+	<view class="youhui">
+		<view class="list u-flex">
+			<view class="left">
+				<text class="font-left">¥</text>
+				<text class="font-right">30000</text>
+			</view>
+			<view class="concent">
+				<text class="top">【满减券】仅限购房使用</text>
+				<view class="bottom">
+					满2500万可用
+				</view>
+			</view>
+		</view>
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+
+			}
+		},
+		onLoad() {
+
+		},
+		computed: {
+
+		},
+		onShow() {
+
+		},
+		methods: {
+
+		}
+	}
+</script>
+
+<style lang="scss" scoped>
+	.youhui {
+		padding: 0 20rpx;
+		background: #F5F5F5;
+		height: 100vh;
+		border: 2rpx solid rgba(0, 0, 0, 0);
+
+		.list {
+			padding: 32rpx 0 30rpx 28rpx;
+			background: #FFFFFF;
+			border-radius: 16rpx;
+			margin-top: 20rpx;
+
+			.left {
+				font-family: JDZhengHT-Regular, JDZhengHT;
+				font-weight: 400;
+				color: #1F7EFF;
+				margin-right: 28rpx;
+
+				.font-left {
+					font-size: 34rpx;
+				}
+
+				.font-right {
+					font-size: 60rpx;
+				}
+			}
+		}
+	}
+
+	.concent {
+		border-left: 2rpx solid #B2B2B2;
+
+		.top {
+			font-size: 30rpx;
+			font-family: PingFangSC-Medium, PingFang SC;
+			font-weight: 500;
+			color: #222222;
+			margin-left: 18rpx;
+		}
+
+		.bottom {
+			margin-left: 32rpx;
+			font-size: 24rpx;
+			font-family: PingFangSC-Regular, PingFang SC;
+			font-weight: 400;
+			color: #1F7EFF;
+			margin-top: 18rpx;
+		}
+	}
+</style>

BIN
static/images/beijing.png


BIN
static/images/bianji.jpg


BIN
static/images/close.png


BIN
static/images/tanchu.png


BIN
static/images/tixing.png


BIN
static/images/youhui.png


Some files were not shown because too many files changed in this diff