achao 2 년 전
부모
커밋
61c861ed51

+ 139 - 94
xiaochengxu/pages.json

@@ -3,104 +3,149 @@
 		"^u-(.*)": "@/uni_modules/uview-ui/components/u-$1/u-$1.vue"
 	},
 	"pages": [{
-		"path": "pages/cardHolder/cardHolder",
-		"style": {
-			"navigationBarTitleText": "电子名片",
-			"navigationStyle": "custom"
-		// 	"enablePullDownRefresh": false,
-		// 	"app-plus": {
-		// 		"titleNView": {
-		// 			"autoBackButton": false,
-		// 			"backgroundColor": "#fff",
-		// 			"buttons": [{
-		// 				"fontSrc": "/static/icons/iconfont.ttf",
-		// 				"float": "left",
-		// 				"text": "\ue759",
-		// 				"fontSize": "22px"
-		// 			}]
-		// 		}
-		// 	}
-		
-		}
+			"path": "pages/cardHolder/cardHolder",
+			"style": {
+				"navigationBarTitleText": "电子名片",
+				"navigationStyle": "custom"
+				// 	"enablePullDownRefresh": false,
+				// 	"app-plus": {
+				// 		"titleNView": {
+				// 			"autoBackButton": false,
+				// 			"backgroundColor": "#fff",
+				// 			"buttons": [{
+				// 				"fontSrc": "/static/icons/iconfont.ttf",
+				// 				"float": "left",
+				// 				"text": "\ue759",
+				// 				"fontSize": "22px"
+				// 			}]
+				// 		}
+				// 	}
 
-	}, {
-		"path": "pages/circle/circle",
-		"style": {
-			"navigationBarTitleText": "圈子",
-			"enablePullDownRefresh": false
-		}
+			}
+
+		}, {
+			"path": "pages/circle/circle",
+			"style": {
+				"navigationBarTitleText": "圈子",
+				"enablePullDownRefresh": false
+			}
+
+		}, {
+			"path": "pages/mySet/mySet",
+			"style": {
+				"navigationBarTitleText": "我的",
+				"enablePullDownRefresh": false
+			}
+
+		}, {
+			"path": "pages/cardHolder/map",
+			"style": {
+				"navigationBarTitleText": "地图",
+				"enablePullDownRefresh": false
+			}
+
+		}, {
+			"path": "pages/cardHolder/notice",
+			"style": {
+				"navigationBarTitleText": "消息",
+				"enablePullDownRefresh": false
+			}
+
+		}, {
+			"path": "pages/cardHolder/search",
+			"style": {
+				"navigationBarTitleText": "名片",
+				"enablePullDownRefresh": false
+			}
+
+		}, {
+			"path": "pages/circle/detail",
+			"style": {
+				"navigationBarTitleText": "圈子详情",
+				"enablePullDownRefresh": false
+			}
+
+		}, {
+			"path": "pages/circle/changeCard",
+			"style": {
+				"navigationBarTitleText": "名片交换",
+				"enablePullDownRefresh": false
+			}
+
+		}, {
+			"path": "pages/circle/search",
+			"style": {
+				"navigationBarTitleText": "圈子",
+				"enablePullDownRefresh": false
+			}
+
+		}, {
+			"path": "pages/circle/createCirclce",
+			"style": {
+				"navigationBarTitleText": "创建圈子",
+				"enablePullDownRefresh": false
+			}
+
+		}, {
+			"path": "pages/mySet/myCard",
+			"style": {
+				"navigationBarTitleText": "我的名片",
+				"enablePullDownRefresh": false
+			}
+
+		}, {
+			"path": "pages/mySet/myHome",
+			"style": {
+				"navigationBarTitleText": "",
+				"enablePullDownRefresh": false
+			}
+
+		}, {
+			"path": "pages/mySet/cardType",
+			"style": {
+				"navigationBarTitleText": "",
+				"enablePullDownRefresh": false
+			}
+
+		}, {
+			"path": "pages/mySet/contactCustomer",
+			"style": {
+				"navigationBarTitleText": "",
+				"enablePullDownRefresh": false
+			}
+
+		}, {
+			"path": "pages/mySet/set",
+			"style": {
+				"navigationBarTitleText": "",
+				"enablePullDownRefresh": false
+			}
+
+		}, {
+			"path": "pages/mySet/myInfo",
+			"style": {
+				"navigationBarTitleText": "",
+				"enablePullDownRefresh": false
+			}
+
+		}, {
+			"path": "pages/mySet/myAccount",
+			"style": {
+				"navigationBarTitleText": "",
+				"enablePullDownRefresh": false
+			}
+
+		},
+		{
+			"path": "pages/mySet/help",
+			"style": {
+				"navigationBarTitleText": "",
+				"enablePullDownRefresh": false
+			}
 
-	}, {
-		"path": "pages/mySet/mySet",
-		"style": {
-			"navigationBarTitleText": "我的",
-			"enablePullDownRefresh": false
 		}
 
-	}    ,{
-            "path" : "pages/cardHolder/map",
-            "style" :                                                                                    
-            {
-                "navigationBarTitleText": "地图",
-                "enablePullDownRefresh": false
-            }
-            
-        }
-        ,{
-            "path" : "pages/cardHolder/notice",
-            "style" :                                                                                    
-            {
-                "navigationBarTitleText": "消息",
-                "enablePullDownRefresh": false
-            }
-            
-        }
-        ,{
-            "path" : "pages/cardHolder/search",
-            "style" :                                                                                    
-            {
-                "navigationBarTitleText": "名片",
-                "enablePullDownRefresh": false
-            }
-            
-        }
-        ,{
-            "path" : "pages/circle/detail",
-            "style" :                                                                                    
-            {
-                "navigationBarTitleText": "圈子详情",
-                "enablePullDownRefresh": false
-            }
-            
-        }
-        ,{
-            "path" : "pages/circle/changeCard",
-            "style" :                                                                                    
-            {
-                "navigationBarTitleText": "名片交换",
-                "enablePullDownRefresh": false
-            }
-            
-        }
-        ,{
-            "path" : "pages/circle/search",
-            "style" :                                                                                    
-            {
-                "navigationBarTitleText": "圈子",
-                "enablePullDownRefresh": false
-            }
-            
-        }
-        ,{
-            "path" : "pages/circle/createCirlce",
-            "style" :                                                                                    
-            {
-                "navigationBarTitleText": "创建圈子",
-                "enablePullDownRefresh": false
-            }
-            
-        }
-    ],
+	],
 	"tabBar": {
 		"custom": false,
 		"color": "#656765",

+ 6 - 1
xiaochengxu/pages/circle/circle.vue

@@ -23,7 +23,7 @@
 				我得圈子
 			</view>
 			<view class="right">
-				<uni-icons type="personadd-filled" size="30"></uni-icons>
+				<uni-icons type="personadd-filled" size="30" @click="toCreateCircle"></uni-icons>
 			</view>
 		</view>
 		<!-- <mescroll-body ref="mescrollRef" @init="mescrollInit" @up="upCallback" @down="downCallback">
@@ -88,6 +88,11 @@
 			// }
 		},
 		methods: {
+			toCreateCircle(){
+				uni.navigateTo({
+					url: "/pages/circle/createCirclce"
+				})
+			},
 			micOpen: function() {
 				this.$refs.asr.show();
 			},

+ 44 - 0
xiaochengxu/pages/circle/createCirclce.vue

@@ -0,0 +1,44 @@
+<template>
+	<view class="content">
+
+		<uni-forms :modelValue="formData">
+			<view class="content1">
+				<uni-forms-item label="圈子名称" name="name">
+					<uni-easyinput type="text" v-model="formData.name" placeholder="输入圈子名称" />
+				</uni-forms-item>
+			</view>
+			<view class="content2">
+				<view class="title">
+					圈子标签
+				</view>
+				<view class="">
+					<uni-forms-item label="标签1" name="name">
+						<view class="flex">
+							<uni-easyinput type="text" v-model="formData.name" placeholder="输入圈子标签,2-4个字" />
+							<uni-icons type="plus-filled"></uni-icons>
+							<uni-icons type="minus-filled"></uni-icons>
+						</view>
+						
+					</uni-forms-item>
+				</view>
+			</view>
+			<view class="">
+				<button type="primary">提交</button>
+			</view>
+		</uni-forms>
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				formData: {}
+			};
+		}
+	}
+</script>
+
+<style lang="scss">
+
+</style>

+ 0 - 0
xiaochengxu/pages/circle/createCirlce.vue → xiaochengxu/pages/mySet/cardType.vue


+ 19 - 0
xiaochengxu/pages/mySet/contactCustomer.vue

@@ -0,0 +1,19 @@
+<template>
+	<view>
+		
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				
+			};
+		}
+	}
+</script>
+
+<style lang="scss">
+
+</style>

+ 19 - 0
xiaochengxu/pages/mySet/help.vue

@@ -0,0 +1,19 @@
+<template>
+	<view>
+		
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				
+			};
+		}
+	}
+</script>
+
+<style lang="scss">
+
+</style>

+ 19 - 0
xiaochengxu/pages/mySet/myAccount.vue

@@ -0,0 +1,19 @@
+<template>
+	<view>
+		
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				
+			};
+		}
+	}
+</script>
+
+<style lang="scss">
+
+</style>

+ 19 - 0
xiaochengxu/pages/mySet/myCard.vue

@@ -0,0 +1,19 @@
+<template>
+	<view>
+		
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				
+			};
+		}
+	}
+</script>
+
+<style lang="scss">
+
+</style>

+ 22 - 0
xiaochengxu/pages/mySet/myHome.vue

@@ -0,0 +1,22 @@
+<template>
+	<view>
+		
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				
+			}
+		},
+		methods: {
+			
+		}
+	}
+</script>
+
+<style>
+
+</style>

+ 19 - 0
xiaochengxu/pages/mySet/myInfo.vue

@@ -0,0 +1,19 @@
+<template>
+	<view>
+		
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				
+			};
+		}
+	}
+</script>
+
+<style lang="scss">
+
+</style>

+ 71 - 5
xiaochengxu/pages/mySet/mySet.vue

@@ -1,6 +1,23 @@
 <template>
-	<view>
-		
+	<view class="content">
+		<view class="content1 flex-all-center relative">
+			<view class="user">
+				<image src="../../static/logo.png" mode="widthFix" class="img"></image>
+				<view class="name">
+					我是昵称
+				</view>
+			</view>
+			<view class="position">
+				<u-icon name="share-square" color="#2979ff" size="28"></u-icon>
+				<u-icon name="grid-fill" color="#2979ff" size="28"></u-icon>
+			</view>
+		</view>
+		<view class="content2">
+			<view class="row" v-for="item in menuList" @click="menuClick(item.type)">
+				<span class="left">{{item.name}}</span>
+				<span class="right">></span>
+			</view>
+		</view>
 	</view>
 </template>
 
@@ -8,12 +25,61 @@
 	export default {
 		data() {
 			return {
-				
+				menuList:[
+					{
+					name:"我的名片",
+					type:'myInfo'
+				},
+				{
+					name:"我的主页",
+					type:'myHome'
+				},
+				{
+					name:"账号",
+					type:"myAccount"
+				},
+				{
+					name:"名片分类",
+					type:"cardType"
+				},
+				{
+					name:"我的证件",
+					type:"myCard"
+				},
+				{
+					name:"帮助说明",
+					type:"help"
+				},
+				{
+					name:"联系客服",
+					type:"contactCustomer"
+				},
+				{
+					name:"设置",
+					type:'set'
+				},
+				]
 			};
+		},
+		methods:{
+			menuClick(typeName){
+				let _url = '/pages/mySet/'+typeName
+				console.log(_url)
+				uni.navigateTo({
+					url:_url
+				})
+			}
 		}
+	
 	}
 </script>
 
-<style lang="scss">
-
+<style lang="scss" scoped>
+	.content1{
+		
+		.img{
+			width: 100rpx;
+			border-radius: 50%;
+		}
+	}
 </style>

+ 19 - 0
xiaochengxu/pages/mySet/set.vue

@@ -0,0 +1,19 @@
+<template>
+	<view>
+		
+	</view>
+</template>
+
+<script>
+	export default {
+		data() {
+			return {
+				
+			};
+		}
+	}
+</script>
+
+<style lang="scss">
+
+</style>