feat: 版本迭代
This commit is contained in:
		
							parent
							
								
									a7234d6030
								
							
						
					
					
						commit
						093a3619cb
					
				|  | @ -18,7 +18,9 @@ | ||||||
|       "ignore": [], |       "ignore": [], | ||||||
|       "disablePlugins": [], |       "disablePlugins": [], | ||||||
|       "outputPath": "" |       "outputPath": "" | ||||||
|     } |     }, | ||||||
|  |     "ignoreDevUnusedFiles": false, | ||||||
|  |     "ignoreUploadUnusedFiles": false | ||||||
|   }, |   }, | ||||||
|   "condition": {}, |   "condition": {}, | ||||||
|   "editorSetting": { |   "editorSetting": { | ||||||
|  |  | ||||||
|  | @ -17,7 +17,7 @@ onLaunch(() => { | ||||||
|   }); |   }); | ||||||
|   // #endif |   // #endif | ||||||
| 
 | 
 | ||||||
|   // #ifndef MP-ALIPAY |   // #ifdef MP-WEIXN || MP-TOUTIAO || H5 | ||||||
|   uni.hideTabBar(); |   uni.hideTabBar(); | ||||||
|   // #endif |   // #endif | ||||||
| }); | }); | ||||||
|  |  | ||||||
|  | @ -34,27 +34,27 @@ | ||||||
|       > |       > | ||||||
|         <view class="title">爱梵达</view> |         <view class="title">爱梵达</view> | ||||||
|         <image |         <image | ||||||
|           :src="`/static/avatar/1.jpg`" |           :src="`${url}/static/avatar/1.jpg`" | ||||||
|           :mode="'widthFix'" |           :mode="'widthFix'" | ||||||
|           style="width: 100%" |           style="width: 100%" | ||||||
|         /> |         /> | ||||||
|         <image |         <image | ||||||
|           :src="`/static/avatar/2.jpg`" |           :src="`${url}/static/avatar/2.jpg`" | ||||||
|           :mode="'widthFix'" |           :mode="'widthFix'" | ||||||
|           style="width: 100%" |           style="width: 100%" | ||||||
|         /> |         /> | ||||||
|         <image |         <image | ||||||
|           :src="`/static/avatar/3.jpg`" |           :src="`${url}/static/avatar/3.jpg`" | ||||||
|           :mode="'widthFix'" |           :mode="'widthFix'" | ||||||
|           style="width: 100%" |           style="width: 100%" | ||||||
|         /> |         /> | ||||||
|         <image |         <image | ||||||
|           :src="`/static/avatar/4.jpg`" |           :src="`${url}/static/avatar/4.jpg`" | ||||||
|           :mode="'widthFix'" |           :mode="'widthFix'" | ||||||
|           style="width: 100%" |           style="width: 100%" | ||||||
|         /> |         /> | ||||||
|         <image |         <image | ||||||
|           :src="`/static/avatar/5.jpg`" |           :src="`${url}/static/avatar/5.jpg`" | ||||||
|           :mode="'widthFix'" |           :mode="'widthFix'" | ||||||
|           style="width: 100%" |           style="width: 100%" | ||||||
|         /> |         /> | ||||||
|  |  | ||||||
|  | @ -45,7 +45,10 @@ | ||||||
|         </view> |         </view> | ||||||
|         <view class="content"> |         <view class="content"> | ||||||
|           <u-list :height="'200px'"> |           <u-list :height="'200px'"> | ||||||
|             <u-list-item v-for="(item, index) in list" :key="index"> |             <u-list-item | ||||||
|  |               v-for="(item, index) in isHasToken() ? list : list1" | ||||||
|  |               :key="index" | ||||||
|  |             > | ||||||
|               <u-cell |               <u-cell | ||||||
|                 :title="item.name" |                 :title="item.name" | ||||||
|                 arrow-direction="right" |                 arrow-direction="right" | ||||||
|  | @ -69,14 +72,14 @@ | ||||||
|       </view> |       </view> | ||||||
|     </view> |     </view> | ||||||
|     <SmallModal |     <SmallModal | ||||||
|     :title="'确认退出吗?'" |       :title="'确认退出吗?'" | ||||||
|     :content="'退出后将返回至登陆页'" |       :content="'退出后将返回至登陆页'" | ||||||
|     :okText="'确认退出'" |       :okText="'确认退出'" | ||||||
|     :isMain="true" |       :isMain="true" | ||||||
|     :show="isShowCancelModal" |       :show="isShowCancelModal" | ||||||
|     @handleModal="(v:boolean) => {handleModal(v)}" |       @handleModal="(v:boolean) => {handleModal(v)}" | ||||||
|     @handleOk="handleOk()" |       @handleOk="handleOk()" | ||||||
|   /> |     /> | ||||||
|   </Layout> |   </Layout> | ||||||
| </template> | </template> | ||||||
| 
 | 
 | ||||||
|  | @ -89,7 +92,10 @@ import { UserApi } from "@/services"; | ||||||
| import SmallModal from "@/components/Modal/smallModal.vue"; | import SmallModal from "@/components/Modal/smallModal.vue"; | ||||||
| const store = useMemberStore(pinia); | const store = useMemberStore(pinia); | ||||||
| const profile = store.profile.userInfo; | const profile = store.profile.userInfo; | ||||||
| const list = reactive([ | function isHasToken () { | ||||||
|  |   return store.profile.token !== "" | ||||||
|  | } | ||||||
|  | const list = reactive<any>([ | ||||||
|   { |   { | ||||||
|     name: "收款信息", |     name: "收款信息", | ||||||
|     icon: "pay.png", |     icon: "pay.png", | ||||||
|  | @ -108,6 +114,20 @@ const list = reactive([ | ||||||
|     path: "", |     path: "", | ||||||
|   }, |   }, | ||||||
| ]); | ]); | ||||||
|  | const list1 = reactive<any>([ | ||||||
|  |   { | ||||||
|  |     name: "收款信息", | ||||||
|  |     icon: "pay.png", | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     name: "用户协议", | ||||||
|  |     icon: "4.png", | ||||||
|  |   }, | ||||||
|  |   { | ||||||
|  |     name: "隐私政策", | ||||||
|  |     icon: "5.png", | ||||||
|  |   } | ||||||
|  | ]); | ||||||
| 
 | 
 | ||||||
| const entryItemList = ref([ | const entryItemList = ref([ | ||||||
|   { |   { | ||||||
|  | @ -139,10 +159,9 @@ const hanldeClick = (item: any) => { | ||||||
|   } else if (item.name === "隐私政策") { |   } else if (item.name === "隐私政策") { | ||||||
|     openDoc("在生万有隐私政策"); |     openDoc("在生万有隐私政策"); | ||||||
|   } else if (item.name === "收款信息") { |   } else if (item.name === "收款信息") { | ||||||
|      |  | ||||||
|     uni.navigateTo({ |     uni.navigateTo({ | ||||||
|     url: '/pagesOrder/collection', // 要跳转到的页面路径 |       url: "/pagesOrder/collection", // 要跳转到的页面路径 | ||||||
|   }); |     }); | ||||||
|   } else if (item.name === "退出登录") { |   } else if (item.name === "退出登录") { | ||||||
|     handleModal(true); |     handleModal(true); | ||||||
|   } |   } | ||||||
|  | @ -156,6 +175,7 @@ const handleModal = (v: boolean) => { | ||||||
| const handleOk = () => { | const handleOk = () => { | ||||||
|   UserApi.logOut({}).then((res: any) => { |   UserApi.logOut({}).then((res: any) => { | ||||||
|     if (res.code === 200) { |     if (res.code === 200) { | ||||||
|  |       store.clearProfile(); | ||||||
|       uni.reLaunch({ |       uni.reLaunch({ | ||||||
|         url: "/pagesLogin/index", // 要跳转到的页面路径 |         url: "/pagesLogin/index", // 要跳转到的页面路径 | ||||||
|       }); |       }); | ||||||
|  | @ -215,7 +235,7 @@ my.hideTabBar({ | ||||||
| }); | }); | ||||||
| // #endif | // #endif | ||||||
| 
 | 
 | ||||||
| // #ifndef MP-ALIPAY | // #ifdef MP-WEIXN || MP-TOUTIAO || H5 | ||||||
| uni.hideTabBar(); | uni.hideTabBar(); | ||||||
| // #endif | // #endif | ||||||
| </script> | </script> | ||||||
|  |  | ||||||
|  | @ -42,7 +42,7 @@ | ||||||
|       :isLoading="pageList.isLoading" |       :isLoading="pageList.isLoading" | ||||||
|     > |     > | ||||||
|       <view class="box"> |       <view class="box"> | ||||||
|         <scroll-view scroll-x class="scroll-view"> |         <scroll-view :enable-flex="true" scroll-x class="scroll-view"> | ||||||
|           <uni-table stripe emptyText=""> |           <uni-table stripe emptyText=""> | ||||||
|             <!-- 表头行 --> |             <!-- 表头行 --> | ||||||
|             <uni-tr> |             <uni-tr> | ||||||
|  | @ -68,7 +68,7 @@ | ||||||
|                     {{ item[tItem.key] ? "已处理" : "待处理" }} |                     {{ item[tItem.key] ? "已处理" : "待处理" }} | ||||||
|                   </text> |                   </text> | ||||||
|                   <text |                   <text | ||||||
|                     v-else-if="tItem.key === 'photoUrl'" |                     v-else-if="tItem.key === 'photoUrl' && item[tItem.key]" | ||||||
|                     class="btn" |                     class="btn" | ||||||
|                     @click="showImage(item)" |                     @click="showImage(item)" | ||||||
|                   > |                   > | ||||||
|  |  | ||||||
|  | @ -36,7 +36,7 @@ | ||||||
|       :isLoading="pageList.isLoading" |       :isLoading="pageList.isLoading" | ||||||
|     > |     > | ||||||
|       <view class="box"> |       <view class="box"> | ||||||
|         <scroll-view scroll-x class="scroll-view"> |         <scroll-view :enable-flex="true" scroll-x class="scroll-view"> | ||||||
|           <uni-table stripe emptyText=""> |           <uni-table stripe emptyText=""> | ||||||
|             <!-- 表头行 --> |             <!-- 表头行 --> | ||||||
|             <uni-tr> |             <uni-tr> | ||||||
|  |  | ||||||
|  | @ -36,7 +36,7 @@ | ||||||
|       :isLoading="pageList.isLoading" |       :isLoading="pageList.isLoading" | ||||||
|     > |     > | ||||||
|       <view class="box"> |       <view class="box"> | ||||||
|         <scroll-view scroll-x class="scroll-view"> |         <scroll-view :enable-flex="true" scroll-x class="scroll-view"> | ||||||
|           <uni-table stripe emptyText=""> |           <uni-table stripe emptyText=""> | ||||||
|             <!-- 表头行 --> |             <!-- 表头行 --> | ||||||
|             <uni-tr> |             <uni-tr> | ||||||
|  |  | ||||||
|  | @ -374,7 +374,7 @@ const formAttrList = reactive<any>([ | ||||||
|     key: "totalWeight", |     key: "totalWeight", | ||||||
|     type: "input", |     type: "input", | ||||||
|     required: true, |     required: true, | ||||||
|     unit: "", |     unit: "KG", | ||||||
|   }, |   }, | ||||||
|   { |   { | ||||||
|     name: "车牌号", |     name: "车牌号", | ||||||
|  |  | ||||||
|  | @ -339,7 +339,7 @@ const formAttrList = reactive<any>([ | ||||||
|     key: "totalWeight", |     key: "totalWeight", | ||||||
|     type: "input", |     type: "input", | ||||||
|     required: true, |     required: true, | ||||||
|     unit: "", |     unit: "KG", | ||||||
|   }, |   }, | ||||||
|   { |   { | ||||||
|     name: "车牌号", |     name: "车牌号", | ||||||
|  |  | ||||||
|  | @ -12,7 +12,7 @@ | ||||||
|       :isLoading="pageList.isLoading" |       :isLoading="pageList.isLoading" | ||||||
|     > |     > | ||||||
|       <view class="box"> |       <view class="box"> | ||||||
|         <scroll-view scroll-x class="scroll-view"> |         <scroll-view :enable-flex="true" scroll-x class="scroll-view"> | ||||||
|           <uni-table stripe emptyText=""> |           <uni-table stripe emptyText=""> | ||||||
|             <!-- 表头行 --> |             <!-- 表头行 --> | ||||||
|             <uni-tr> |             <uni-tr> | ||||||
|  |  | ||||||
|  | @ -340,7 +340,7 @@ const formAttrList = reactive<any>([ | ||||||
|     key: "totalWeight", |     key: "totalWeight", | ||||||
|     type: "input", |     type: "input", | ||||||
|     required: true, |     required: true, | ||||||
|     unit: "", |     unit: "KG", | ||||||
|   }, |   }, | ||||||
|   { |   { | ||||||
|     name: "车牌号", |     name: "车牌号", | ||||||
|  |  | ||||||
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 722 KiB | 
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 954 KiB | 
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 550 KiB | 
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 548 KiB | 
										
											Binary file not shown.
										
									
								
							| Before Width: | Height: | Size: 153 KiB | 
|  | @ -53,7 +53,7 @@ body { | ||||||
|   position: fixed; |   position: fixed; | ||||||
|   width: calc(100vw - 100rpx); |   width: calc(100vw - 100rpx); | ||||||
|   bottom: 0rpx; |   bottom: 0rpx; | ||||||
|   z-index: 98; |   z-index: 20; | ||||||
| } | } | ||||||
| 
 | 
 | ||||||
| .uni-calendar-item--multiple .uni-calendar-item--before-checked, | .uni-calendar-item--multiple .uni-calendar-item--before-checked, | ||||||
|  |  | ||||||
		Loading…
	
		Reference in New Issue
	
	 admin
						admin