Browse Source

perf: 优化文案间距和字体颜色

lizhaocai 1 month ago
parent
commit
d8381ddce0

+ 9 - 9
circlePages/addShare.vue

@@ -67,7 +67,7 @@
 						</uni-forms-item>
 
 					</uni-forms>
-					<text style="font-size: 13px;color:#999;" :style="{fontSize:(wxFontSize-4)+'px'}">如要更改个人信息,请在我的=><text>个人信息</text>页面更改</text>
+					<text style="font-size: 13px;color:#999;" :style="{fontSize:(wxFontSize-4)+'px'}">如要更改个人信息,请在<text style="color: #E18730;">“我的”=>个人信息</text>页面更改</text>
 				</view>
 
 				<view v-if="selectValue=='公司'" style="padding: 16px">
@@ -133,7 +133,7 @@
 							<text style="color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;" :style="{fontSize:(wxFontSize-3)+'px'}">*</text><text :style="{fontSize:(wxFontSize-3)+'px'}">发布的产品是否属于医疗器械?</text>
 							<uni-data-checkbox :multiple="false" v-model="isMedical" selectedColor="#01BEFF"
 								:localdata="[{text: '是',value: '1'},{text: '否',value: '0'}]" :fontSize="(wxFontSize-3)+'px'"/>
-							<text v-if="isMedical==1" style="font-size: 13px;color:#999;" :style="{fontSize:(wxFontSize-5)+'px'}">如若产品是医疗器械,请在上传附件步骤上传产品注册证,企业经营许可证等相关信息。</text>
+							<text v-if="isMedical==1" style="font-size: 13px;color:#999;color: #E18730;" :style="{fontSize:(wxFontSize-5)+'px'}">如若产品是医疗器械,请在上传附件步骤上传产品注册证,企业经营许可证等相关信息。</text>
 						</view>
 
 						<view v-for="item,itemIndex in extList">
@@ -176,7 +176,7 @@
 										</uni-forms>
 										<template v-slot:actions v-if="itemIndex==extList.length-1" >
 											<view style="margin: 12px;margin-top: -12px;" :style="{fontSize:(wxFontSize-5)+'px'}">
-												<text style="color:#999">为保证排版整洁,最多一次上传六个产品哦</text>
+												<text style="color:#999">为保证排版整洁,最多一次上传<text style="color: #E18730;display: inline;">六个</text>产品哦</text>
 											</view>
 										</template>
 							</uni-card>
@@ -198,7 +198,7 @@
 				</view>
 				
 				<view v-if="selectValue2=='服务'&&stepIndex==2">
-					<view style="padding: 16px">
+					<view style="padding: 0 16px 16px 16px">
 					   <text style="line-height: 30px;vertical-align: middle;" :style="{fontSize:(wxFontSize-3)+'px'}">服务品牌:</text>
 					   <uni-easyinput type="text" :clearable="false" :inputSize="wxFontSize-3" :placeholder-style="styleString" v-model="brand" placeholder="请输入服务品牌" />
 					</view>
@@ -206,7 +206,7 @@
 					
 				<view>
  
-					 <view v-if="selectValue2=='服务'&&stepIndex==2" style="padding: 16px;padding-bottom: 0;margin-bottom: -30rpx;">
+					 <view v-if="selectValue2=='服务'&&stepIndex==2" style="padding: 16px;padding-bottom: 0;margin-bottom: -16px;">
 					    <text style="color: red;line-height: 30px;vertical-align: middle;margin-right: 4px;">*</text><text>服务介绍:</text>
 					 </view>
 					<view v-if="selectValue2=='服务'&&stepIndex==2" class="tn-margin tn-padding"
@@ -223,7 +223,7 @@
 						 
 					</view>
 
-					<view class="tn-margin-left tn-padding-top-xs"  v-show="stepIndex==3">
+					<view class="tn-margin-left"  v-show="stepIndex==3">
 						<uni-file-picker v-model="imgList" :limit="6" :auto-upload="false" @select="select"
 							@success="success" @delete="deleteFile">
 
@@ -244,7 +244,7 @@
 						 
 					</view>
 
-					<view class="tn-margin-left tn-padding-top-xs" style="background: #fff;margin-left: 16px;margin-right: 16px;padding: 12px;border-radius: 6px;" v-show="stepIndex==3">
+					<view class="tn-margin-left" style="background: #fff;margin-left: 16px;margin-right: 16px;padding: 12px;border-radius: 6px;" v-show="stepIndex==3">
 						<uni-file-picker v-model="fileList" :limit="3" mode="grid" file-mediatype="all"
 							file-extname="pdf,docx,doc,xls,xlsx" :auto-upload="false" @select="select" @success="success" @delete="deleteFile">
 							<view style="text-align: left;">
@@ -270,7 +270,7 @@
 						 
 						 
 						<view style="margin-top:6px" v-if="selectValue2=='产品'">
-							<text style="color: #999;font-size: 12px;" :style="{fontSize:(wxFontSize-5)+'px'}">如若产品属于医疗器械,请上传相关资质证明。</text>
+							<text style="color: #999;font-size: 12px;color:#E18730;" :style="{fontSize:(wxFontSize-5)+'px'}">如若产品属于医疗器械,请上传相关资质证明。</text>
 						</view>
 						 
 
@@ -281,7 +281,7 @@
 					<tn-checkbox v-model="formInfo.agree" activeColor="#45c05d" :size="wxFontSize+17" name="选项1"  >
 						<text :style="{fontSize:(wxFontSize-4)+'px',color:formInfo.agree?'#45c05d':'#666666'}">同意平台核查所填信息的真实性</text>
 					</tn-checkbox>
-					<text :style="{fontSize:(wxFontSize-4)+'px',color:'#888',paddingTop:'8px',display:'block'}">系统将短信通知您审核结果。如需关闭通知功能,请前往我的页面自行关闭</text>
+					<text :style="{fontSize:(wxFontSize-4)+'px',color:'#888',paddingTop:'8px',display:'block'}">系统将短信通知您审核结果。如需关闭通知功能,请前往我的页面自行关闭</text>
 					
 					<!-- <uni-data-checkbox :multiple="true" v-model="formInfo.agree" selectedColor="#45c05d" 
 						:localdata="[{text: '同意平台核查所填信息的真实性',value: '是'}]" /> -->

+ 3 - 3
circlePages/circle.vue

@@ -56,7 +56,7 @@
 			<view style="padding: 16px;color:#333;padding-top: 8px;padding-bottom: 8px;font-weight: bold;"  :style="{fontSize:(wxFontSize-1)+'px'}">
 				 上传图片
 			</view>
-			<view class="tn-margin-left tn-padding-top-xs">
+			<view class="tn-margin-left">
 				<uni-file-picker
 					v-model="imgList" :limit="6" @delete="deleteFile"  :auto-upload="false" @select="select" @success="success">
 				</uni-file-picker>
@@ -99,7 +99,7 @@
 			</view>
 			
 			<view style="padding: 16px;padding-top:0">
-				<view style="padding: 16px 0;color:#333;font-weight: bold;"  :style="{fontSize:(wxFontSize-1)+'px'}">
+				<view style="padding: 16px 0;color:#333;font-weight: bold;padding-bottom: 6px;"  :style="{fontSize:(wxFontSize-1)+'px'}">
 					 需求有效期
 				</view>
 				 
@@ -162,7 +162,7 @@
 				<tn-checkbox v-model="formInfo.agree" activeColor="#45c05d" :size="wxFontSize+17" name="选项1">
 					<text :style="{fontSize:(wxFontSize-4)+'px',color:formInfo.agree?'#45c05d':'#666666'}">同意平台核查所填信息的真实性</text>
 				</tn-checkbox>
-				<text :style="{fontSize:(wxFontSize-4)+'px',color:'#888',paddingTop:'8px',display:'block'}">系统将短信通知您审核结果。如需关闭通知功能,请前往我的页面自行关闭</text>
+				<text :style="{fontSize:(wxFontSize-4)+'px',color:'#888',paddingTop:'8px',display:'block'}">系统将短信通知您审核结果。如需关闭通知功能,请前往我的页面自行关闭</text>
 			</uni-forms-item>
 		</uni-forms>
 	</view>

+ 5 - 5
pages/comm/comm.vue

@@ -22,7 +22,7 @@
 				<view style="width: 100%;" v-if="currentTab==0">
 					<view style="display: flex; padding: 16px;">
 						<view
-							style="flex:1;background-color: #fff;border-radius: 18px;color: #999;line-height: 36px;"
+							style="flex:1;background-color: #fff;border-radius: 15px;color: #999;line-height: 36px;"
 							@click="showSearch">
 							<view>
 								<image src="../../static/tu/search.png" style="width: 26px;height: 26px;vertical-align: middle; margin-left:8px; margin-right: 12px;margin-top: -2px;"></image>
@@ -37,7 +37,7 @@
 				<view style="width: 100%;" v-if="currentTab==1">
 					<view style="display: flex; padding: 16px;">
 						<view
-							style="flex:1;background-color: #fff;border-radius: 18px;color: #999;line-height: 36px;"
+							style="flex:1;background-color: #fff;border-radius: 15px;color: #999;line-height: 36px;"
 							@click="showSearch2">
 							<view>
 								<image src="../../static/tu/search.png" style="width: 26px;height: 26px;vertical-align: middle; margin-left:8px;margin-right: 12px;margin-top: -2px;"></image>
@@ -270,13 +270,13 @@
 			const appBaseInfo = wx.getAppBaseInfo();
 			this.wxFontSize = uni.getStorageSync('fontSize')||appBaseInfo.fontSizeSetting||17;
 			
+			
+		},
+		onShow() {
 			this.$nextTick(() => {
 				this.fetchData()
 			})
 		},
-		onShow() {
-			this.fetchData()
-		},
 		onHide() {
 			this.adAutoplay = false
 		},

+ 5 - 4
pages/index/index.vue

@@ -112,10 +112,7 @@
 		onReady() {
 			const appBaseInfo = wx.getAppBaseInfo();
 			this.fontSize = uni.getStorageSync('fontSize')||appBaseInfo.fontSizeSetting||17;
-			this.$nextTick(() => {
-				this.loadData()
-				this.loadData2()
-			})
+			 
 		},
 		onShow(options){
 			if(uni.getStorageSync('nextPage')&&uni.getStorageSync('userNo')){
@@ -154,6 +151,10 @@
 				}
 			  })
 			}
+			this.$nextTick(() => {
+				this.loadData()
+				this.loadData2()
+			})
 		},
 		methods: {
 			//关闭banner1

+ 1 - 1
pages/mine/mine.vue

@@ -309,7 +309,7 @@
 		  wxFontSize:17,
       }
     },
-	onReady() {
+	onShow() {
 	  const appBaseInfo = wx.getAppBaseInfo();
 	  this.wxFontSize = uni.getStorageSync('fontSize')||appBaseInfo.fontSizeSetting||17;
 	  console.warn(this.wxFontSize===20);

File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/circlePages/addShare.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/circlePages/circle.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/comm/comm.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/mine.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/mp-weixin/circlePages/addShare.wxml


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/mp-weixin/circlePages/circle.wxml


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/mp-weixin/common/vendor.js


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/mp-weixin/pages/comm/comm.js


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/mp-weixin/pages/comm/comm.wxml


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/mp-weixin/pages/index/index.js


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/mp-weixin/pages/mine/mine.js