111
This commit is contained in:
		
							parent
							
								
									d732e9c7ad
								
							
						
					
					
						commit
						17c0b28017
					
				|  | @ -86,6 +86,9 @@ | |||
| 			this.getlist() | ||||
| 
 | ||||
| 		}, | ||||
| 		onUnload() { | ||||
| 			uni.setStorageSync('key','key') | ||||
| 		}, | ||||
| 		// 分享到好友(会话) | ||||
| 		onShareAppMessage: function() { | ||||
| 			return { | ||||
|  |  | |||
|  | @ -328,7 +328,7 @@ | |||
| 			<view class="trues" @click="btnadd"> | ||||
| 				{{title}} | ||||
| 			</view> | ||||
| 			<view v-if="title == '修改'" class="truess" @click="btndel"> | ||||
| 			<view v-if="title == '保存'" class="truess" @click="btndel"> | ||||
| 				删除 | ||||
| 			</view> | ||||
| 			<view v-else class="trueqx" @click="btnqx"> | ||||
|  | @ -459,7 +459,7 @@ | |||
| 		onLoad(option) { | ||||
| 			if (option.suitId) { | ||||
| 				this.deviceId = option.id	 | ||||
| 				this.title = '修改' | ||||
| 				this.title = '保存' | ||||
| 				this.suitId = option.suitId | ||||
| 			} else { | ||||
| 				this.deviceId = option.id | ||||
|  | @ -644,7 +644,7 @@ | |||
| 						this.$u.put('/app/suit', data).then((res) => { | ||||
| 							if (res.code == 200) { | ||||
| 								uni.showToast({ | ||||
| 									title: '修改套餐成功', | ||||
| 									title: '保存套餐成功', | ||||
| 									icon: 'success', | ||||
| 									duration: 1000, | ||||
| 								}) | ||||
|  | @ -858,12 +858,15 @@ | |||
| 						if (res.data.timeUnit == 2) { | ||||
| 							this.valuethr = '时' | ||||
| 							this.timeUnit = 2 | ||||
| 							this.timetxt = '时' | ||||
| 						} else if (res.data.timeUnit == 3) { | ||||
| 							this.valuethr = '分' | ||||
| 							this.timeUnit = 3 | ||||
| 							this.timetxt = '分' | ||||
| 						} else if (res.data.timeUnit == 4) { | ||||
| 							this.valuethr = '秒' | ||||
| 							this.timeUnit = 4 | ||||
| 							this.timetxt = '秒' | ||||
| 						} | ||||
| 						if (res.data.feeMode == 1) { | ||||
| 							this.valueone = '单次收费' | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user