From 0ae224b305087a8d1be405445d06621a07f78bbd Mon Sep 17 00:00:00 2001
From: zhaojs <349234519@qq.com>
Date: 星期四, 27 四月 2023 16:13:41 +0800
Subject: [PATCH] no message

---
 unpackage/dist/dev/mp-weixin/pages/index/index.js |    6 +-
 pages/invitefriend/invitefriend.vue               |  115 ++++++++++++++++++++++++++++++++++++++
 utils/userInfoStorage.js                          |    2 
 pages/system/index.vue                            |    4 
 pages.json                                        |    6 ++
 unpackage/dist/dev/mp-weixin/app.js               |    4 +
 unpackage/dist/dev/mp-weixin/app.json             |    1 
 App.vue                                           |    3 
 pages/index/index.vue                             |    6 +-
 pages/system/authmobile.vue                       |    7 +-
 10 files changed, 140 insertions(+), 14 deletions(-)

diff --git a/App.vue b/App.vue
index 3c38b06..7a5e8f2 100644
--- a/App.vue
+++ b/App.vue
@@ -26,7 +26,8 @@
 			user:{
 				wxopenid:'',
 				mobile:'',
-				userid:''
+				userid:'',
+				invitecode:''
 			}
 		}
 	}
diff --git a/pages.json b/pages.json
index 6f7468b..26ae904 100644
--- a/pages.json
+++ b/pages.json
@@ -37,6 +37,12 @@
 			}
 		},
 		{
+			"path": "pages/invitefriend/invitefriend",
+			"style": {
+				"navigationBarTitleText": "閭�璇峰ソ鍙�"
+			}
+		},
+		{
 			"path": "pages/agreement/xieyi",
 			"style": {
 				"navigationBarTitleText": "鐢ㄦ埛鏈嶅姟鍗忚"
diff --git a/pages/index/index.vue b/pages/index/index.vue
index 725ce74..e4bb1f7 100644
--- a/pages/index/index.vue
+++ b/pages/index/index.vue
@@ -217,7 +217,7 @@
 					{
 						id: 4,
 						title: '鏁寸偣绉掓潃',
-						imgurl: 'https://img.alicdn.com/imgextra/i1/2053469401/O1CN01jFhUBl2JJi9OQBQHL_!!2053469401.gif',
+						imgurl: 'https://img.ushopvip.com/xsms.png',
 						targetUrl: '/pages/index/ability/index',
 					},
 					{
@@ -235,7 +235,7 @@
 					{
 						id: 6,
 						title: '鎶栭煶',
-						imgurl: 'https://sr.ffquan.cn/cms_pic/20220309/c8k95qi3fg9k53m0g0600.gif',
+						imgurl: 'https://img.ushopvip.com/dy.png',
 						targetUrl: '/pages/index/ability/index',
 					},
 					{
@@ -247,7 +247,7 @@
 					{
 						id: 8,
 						title: '鍏ㄧ綉鐑崠姒�',
-						imgurl: 'https://img.alicdn.com/imgextra/i1/2053469401/O1CN01g59ZH52JJi9SxWxdF_!!2053469401.gif',
+						imgurl: 'https://img.ushopvip.com/zsz.png',
 						targetUrl: '/pages/rankingList/index',
 					},
 					{
diff --git a/pages/invitefriend/invitefriend.vue b/pages/invitefriend/invitefriend.vue
new file mode 100644
index 0000000..1df42b3
--- /dev/null
+++ b/pages/invitefriend/invitefriend.vue
@@ -0,0 +1,115 @@
+<template>
+	<view>
+		<view class="main_con">
+			<image class="bg" src="https://img.ushopvip.com/fx/invitebg.jpeg"></image>
+			<view class="ifre_contant uni-row" >
+				<view class="flex-item-top  uni-bg-red" >
+
+					A
+				</view>
+				<view class="flex-item-bottom uni-flex" >
+
+					<view class="share_con">
+						<view>
+							<view class="uni-flex uni-row" style=" -webkit-justify-content: space-between;justify-content: space-between;">
+								<button type="primary" class="no-border confirm-btn confirm-btn-copy">澶嶅埗閾炬帴</button>
+								<button type="primary" class="no-border confirm-btn confirm-btn-share">鍒嗕韩娴锋姤</button>
+							</view>
+							
+						</view>
+						<view class="uni-share-text">*濂藉弸浣跨敤浣犲垎浜殑閾炬帴鎴愬姛娉ㄥ唽鍚庯紝Ta灏嗘垚涓轰綘鐨勭矇涓濓紝绮変笣涓嬪崟锛屼綘涔熷彲浠ヨ幏寰楁敹鐩婂摝锛�</view>
+					</view>
+				</view>
+			</view>
+		</view>
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+
+			}
+		},
+		methods: {
+
+		}
+	}
+</script>
+
+<style>
+	.main_con {
+		margin: 0 15px 0 15px;
+	}
+
+	.bg {
+		position: absolute;
+		left: 0;
+		top: 0;
+		width: 100%;
+		height: 100%;
+		filter: blur(1px);
+		opacity: .3;
+	}
+
+	.ifre_contant {
+		display: flex;
+		flex-direction: column;
+		flex: 0 0 100rpx;
+		position: relative;
+		align-content:space-between;
+	}
+
+	.flex-item {
+		width: 100%;
+		text-align: center;
+	}
+
+	.flex-item-top {
+
+		height: 900rpx;
+		text-align: center;
+	}
+    
+	.flex-item-bottom {
+		width: 100%;
+		margin-top: 90rpx;
+		height: 200rpx;
+		-webkit-justify-content: center;
+		justify-content: center;
+		-webkit-align-items: flex-end;
+		align-items: flex-end;
+	}
+
+	.share_con {
+		width: 100%;
+		border-radius: 7px;
+		background: #fff;
+		
+		padding: 30rpx 50rpx 30rpx 50rpx;
+	}
+	.confirm-btn{
+		padding: 0 38upx;
+		width: 40%;
+		margin: 0;
+		border-radius: 100px;
+		height: 76upx;
+		line-height: 76upx;
+		font-size: 14px;
+	}
+	.confirm-btn-copy
+	{
+		background: #e7ea27;
+	}
+	.confirm-btn-share
+	{
+		background: #ff7a45;
+	}
+	.uni-share-text
+	{
+		color: #847070;
+		font-size: 13px;
+		margin-top: 10rpx;
+	}
+</style>
\ No newline at end of file
diff --git a/pages/system/authmobile.vue b/pages/system/authmobile.vue
index d0e1176..4798ace 100644
--- a/pages/system/authmobile.vue
+++ b/pages/system/authmobile.vue
@@ -6,11 +6,11 @@
 			<!-- <image style="width: 120upx;height: 120upx;margin-top: 140upx;border-radius:20upx" src="../../static/logo2.png"></image> -->
 			<view style="font-size: 28upx;margin-top: 32upx">浣犵殑缃戣喘鐪侀挶涓撳</view>
 			
-			<button open-type="getPhoneNumber" @getphonenumber="getPhoneNumber" class="confirm-btn">寰俊鐧诲綍</button>
+			<button open-type="getPhoneNumber" @getphonenumber="getPhoneNumber" class="confirm-btn">寰俊鎺堟潈鎵嬫満鍙�</button>
 
 			<!-- 搴曢儴淇℃伅 -->
 			<view class="footer">
-				<text>鐧诲綍鍗充唬琛ㄥ悓鎰�</text>
+				<text>鎺堟潈鍗充唬琛ㄥ悓鎰�</text>
 				<!-- 鍗忚鍦板潃 -->
 				<navigator url="/pages/agreement/mini" open-type="navigate">銆婇殣绉佹斂绛栥��</navigator>
 				鍜�
@@ -41,7 +41,8 @@
 				//璁剧疆鐢ㄦ埛淇℃伅
 				var userinfo={
 					userid:'222',
-					mobile:'1111'
+					mobile:'1111',
+					invitecode:'ersx2'
 				};
 				storage.setuser(userinfo);
 				if(this.backurl=='')
diff --git a/pages/system/index.vue b/pages/system/index.vue
index 01d31af..4b5cc58 100644
--- a/pages/system/index.vue
+++ b/pages/system/index.vue
@@ -9,7 +9,7 @@
 				</view>
 				<view class="info-box" style="margin-left: 20upx;">
 					<text class="username">{{mobile}}</text>
-					<view class="invite" @click="invitecode">濉啓閭�璇风爜</view>
+					<view v-show='false' class="invite" @click="invitecode">濉啓閭�璇风爜</view>
 				</view>
 			</view>
 			<view class="vip-card-box">
@@ -138,7 +138,7 @@
 				var checkres=storage.checkuser('/pages/system/index');
 				if(checkres)
 				{
-					
+					//http://h5.ushopvip.com/pages/wxmini/fxtransfer?wxurl=pages/index/index&wxdesc=jscs&wxquery=invitecode=rerer
 				}
 			},
 			apitest() {
diff --git a/unpackage/dist/dev/mp-weixin/app.js b/unpackage/dist/dev/mp-weixin/app.js
index 9503e86..1c9775b 100644
--- a/unpackage/dist/dev/mp-weixin/app.js
+++ b/unpackage/dist/dev/mp-weixin/app.js
@@ -8,6 +8,7 @@
   "./pages/system/index.js";
   "./pages/system/authmobile.js";
   "./pages/agreement/mini.js";
+  "./pages/invitefriend/invitefriend.js";
   "./pages/agreement/xieyi.js";
   "./pages/index/ability/index.js";
   "./pages/index/search/index.js";
@@ -34,7 +35,8 @@
     user: {
       wxopenid: "",
       mobile: "",
-      userid: ""
+      userid: "",
+      invitecode: ""
     }
   }
 };
diff --git a/unpackage/dist/dev/mp-weixin/app.json b/unpackage/dist/dev/mp-weixin/app.json
index e0d545f..10e5f22 100644
--- a/unpackage/dist/dev/mp-weixin/app.json
+++ b/unpackage/dist/dev/mp-weixin/app.json
@@ -6,6 +6,7 @@
     "pages/system/index",
     "pages/system/authmobile",
     "pages/agreement/mini",
+    "pages/invitefriend/invitefriend",
     "pages/agreement/xieyi",
     "pages/index/ability/index",
     "pages/index/search/index",
diff --git a/unpackage/dist/dev/mp-weixin/pages/index/index.js b/unpackage/dist/dev/mp-weixin/pages/index/index.js
index aa0e3ce..6bc7b7d 100644
--- a/unpackage/dist/dev/mp-weixin/pages/index/index.js
+++ b/unpackage/dist/dev/mp-weixin/pages/index/index.js
@@ -42,7 +42,7 @@
         {
           id: 4,
           title: "鏁寸偣绉掓潃",
-          imgurl: "https://img.alicdn.com/imgextra/i1/2053469401/O1CN01jFhUBl2JJi9OQBQHL_!!2053469401.gif",
+          imgurl: "https://img.ushopvip.com/xsms.png",
           targetUrl: "/pages/index/ability/index"
         },
         {
@@ -60,7 +60,7 @@
         {
           id: 6,
           title: "鎶栭煶",
-          imgurl: "https://sr.ffquan.cn/cms_pic/20220309/c8k95qi3fg9k53m0g0600.gif",
+          imgurl: "https://img.ushopvip.com/dy.png",
           targetUrl: "/pages/index/ability/index"
         },
         {
@@ -72,7 +72,7 @@
         {
           id: 8,
           title: "鍏ㄧ綉鐑崠姒�",
-          imgurl: "https://img.alicdn.com/imgextra/i1/2053469401/O1CN01g59ZH52JJi9SxWxdF_!!2053469401.gif",
+          imgurl: "https://img.ushopvip.com/zsz.png",
           targetUrl: "/pages/rankingList/index"
         },
         {
diff --git a/utils/userInfoStorage.js b/utils/userInfoStorage.js
index ae08e9b..ad0dbb2 100644
--- a/utils/userInfoStorage.js
+++ b/utils/userInfoStorage.js
@@ -19,10 +19,10 @@
 	},
 	setuser(userinfo)
 	{
-		console.log(userinfo);
 		getApp().globalData.user.userid=userinfo.userid;
 		getApp().globalData.user.mobile=userinfo.mobile;
 		getApp().globalData.user.wxopenid=userinfo.wxopenid;
+		getApp().globalData.user.invitecode=userinfo.invitecode;
 	},
 	clearuser()
 	{

--
Gitblit v1.9.3