Sfoglia il codice sorgente

perf: 增加接收短信通知配置

lizhaocai 2 giorni fa
parent
commit
352b8777af
24 ha cambiato i file con 59 aggiunte e 24 eliminazioni
  1. 2 0
      circlePages/addShare.vue
  2. 2 1
      circlePages/circle.vue
  3. 1 1
      pages/comm/comm.vue
  4. 2 2
      pages/index/detail/detail.vue
  5. 32 0
      pages/mine/mine.vue
  6. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/circlePages/addShare.js.map
  7. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/circlePages/circle.js.map
  8. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/common/vendor.js.map
  9. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/comm/comm.js.map
  10. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/home/home.js.map
  11. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/index/index.js.map
  12. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/login/login.js.map
  13. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/addFeed.js.map
  14. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/coll.js.map
  15. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/mine.js.map
  16. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/need.js.map
  17. 1 1
      unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/share.js.map
  18. 1 1
      unpackage/dist/dev/mp-weixin/circlePages/addShare.wxml
  19. 1 1
      unpackage/dist/dev/mp-weixin/circlePages/circle.wxml
  20. 2 2
      unpackage/dist/dev/mp-weixin/common/vendor.js
  21. 1 1
      unpackage/dist/dev/mp-weixin/pages/comm/comm.wxml
  22. 1 1
      unpackage/dist/dev/mp-weixin/pages/login/login.js
  23. 1 1
      unpackage/dist/dev/mp-weixin/pages/mine/mine.js
  24. 1 1
      unpackage/dist/dev/mp-weixin/pages/mine/mine.wxml

+ 2 - 0
circlePages/addShare.vue

@@ -276,6 +276,8 @@
 					<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>
+					
 					<!-- <uni-data-checkbox :multiple="true" v-model="formInfo.agree" selectedColor="#45c05d" 
 						:localdata="[{text: '同意平台核查所填信息的真实性',value: '是'}]" /> -->
 				</view>

+ 2 - 1
circlePages/circle.vue

@@ -151,9 +151,10 @@
 			</uni-forms-item>
 			 
 			<uni-forms-item label="11" name="check">
-				<tn-checkbox v-model="formInfo.agree" activeColor="#45c05d" :size="wxFontSize+17" name="选项1"  >
+				<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>
 			</uni-forms-item>
 		</uni-forms>
 	</view>

+ 1 - 1
pages/comm/comm.vue

@@ -64,7 +64,7 @@
 										  </tn-avatar>
 										</view> -->
 										<view class="tn-padding-right">
-											<view class="tn-padding-right tn-color-grey tn-text-lg"  :style="{fontSize:(wxFontSize)+'px'}">
+											<view class="tn-color-grey tn-text-lg"  :style="{fontSize:(wxFontSize)+'px'}">
 												{{ item.company||(item.contactNickName||item.contactPerson) }}
 											</view>
 											<!-- <view class="tn-padding-right tn-padding-left-sm tn-padding-top-xs tn-color-gray">{{ item.date }}</view> -->

+ 2 - 2
pages/index/detail/detail.vue

@@ -33,7 +33,7 @@
 														size="lg">
 													  </tn-avatar>
 													</view> -->
-													<view class="tn-padding-right tn-text-ellipsis">
+													<view class="tn-padding-right">
 														<view class="tn-padding-right tn-color-grey tn-text-lg"  :style="{fontSize:(wxFontSize)+'px'}">
 															{{ item.company||(item.contactNickName||item.contactPerson) }}
 														</view>
@@ -44,7 +44,7 @@
 										</view>
 										<view v-if="isNeed==1&&item.validDate"
 											class="blogger__author__btn justify-content-item tn-flex-col-center tn-flex-row-center">
-											<text class="" style="background: #3F51B542;font-size: 12px;
+											<text class="" style="background: #3F51B542;font-size: 12px;word-break: keep-all;
 											  padding: 8px;
 											  color: #0000FF;
 											  border-radius: 24px;

+ 32 - 0
pages/mine/mine.vue

@@ -228,6 +228,19 @@
 		    <view class="tn-color-gray tn-icon-right"></view>
 		  </view>
 		</tn-list-cell>
+		<tn-list-cell :hover="true" :unlined="true" :radius="true" :fontSize="30" v-if="!showLogin" >
+		  <view class="tn-flex tn-flex-col-center">
+		    <view
+		      class="icon1__item--icon tn-flex tn-flex-row-center tn-flex-col-center" style="color: #7C8191;">
+		      <view class="tn-icon-message" :style="{fontSize:(wxFontSize+1)+'px'}"></view>
+		    </view>
+		    <view class="tn-margin-left-sm tn-flex-1" :style="{fontSize:(wxFontSize-1)+'px'}">接收通知</view>
+		    <view class="tn-color-gray">
+				<switch  color="#46c603" @change="switchChange" :style="{transform:'scale('+(0.9+((wxFontSize-17)/25))+')'}" :checked="personInfo.smsNotice==1" />
+			</view>
+		  </view>
+		</tn-list-cell>
+		 
 		<tn-list-cell :hover="true" :unlined="true" :radius="true" :fontSize="30" v-if="!showLogin" @click="showLog()">
 		  <view class="tn-flex tn-flex-col-center">
 		    <view
@@ -352,6 +365,25 @@
 	   			  }
 	   		   })
 	   },
+	   switchChange: function (e) {
+		   //修改smsNotice
+		   const that = this;
+		   let params= this.personInfo;
+		   params.smsNotice = e.detail.value?1:0;
+		   request.post('/slbWxma/changePersonlInfo',{userInfo:JSON.stringify(params)},{
+		   			  headers: {
+		   			  	'Content-Type': 'application/json', // 默认值
+		   			  },
+		   }).then(res=>{
+			  if(res.success){
+				  uni.showToast({
+					title:e.detail.value?'开启成功':'关闭成功',
+					icon:'none'
+				  })
+				  that.getContentRectInfo()
+			  }
+		   })
+	   },
 	   showFont(){
 		   let that = this;
 		   uni.showActionSheet({

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/home/home.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/login/login.js.map


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


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/coll.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/.sourcemap/mp-weixin/pages/mine/need.js.map


File diff suppressed because it is too large
+ 1 - 1
unpackage/dist/dev/.sourcemap/mp-weixin/pages/mine/share.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
+ 2 - 2
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.wxml


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


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


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