cmy 2 лет назад
Родитель
Сommit
77306db615
3 измененных файлов с 6 добавлено и 5 удалено
  1. 2 1
      api/set.js
  2. 3 3
      pages/index/entertainment.vue
  3. 1 1
      pages/index/index.vue

+ 2 - 1
api/set.js

@@ -3,7 +3,8 @@ import request from '@/utils/request'
 // 修改用户信息
 export function userEdit(data) {
 	return request({
-		url: '/api/password/reset/trade_password',
+		// url: '/api/password/reset/trade_password',
+		url: '/api/user/edit',
 		method: 'post',
 		data
 	});

+ 3 - 3
pages/index/entertainment.vue

@@ -359,10 +359,10 @@
 				const that = this;
 				that.upOnBtnData.passwordArr = val;
 				that.colsePayPassword();
-				const typeList = [this.$t('enter.u6'),this.$t('enter.u4'),this.$t('enter.u5'),this.$t('enter.u7')];
+				const typeList = [that.$t('enter.u6'),that.$t('enter.u4'),that.$t('enter.u5'),that.$t('enter.u7')];
 				uni.showModal({
-					title: this.$t('enter.c4'),
-					content: `this.$t('enter.a8')${that.upOnBtnData.value}USDTthis.$t('enter.a10')${typeList[that.upOnBtnData.type-1]}`,
+					title: that.$t('enter.c4'),
+					content: `${that.$t('enter.a8')}${that.upOnBtnData.value}USDT${that.$t('enter.a10')}${typeList[that.upOnBtnData.type-1]}`,
 					success: res => {
 						if(res.confirm){
 							that.gameBetIn();

+ 1 - 1
pages/index/index.vue

@@ -164,7 +164,7 @@
 							arr.push({
 								name: key,
 								newVlaue: ar.idxPx,
-								new24Value: Number(((ar.idxPx - ar.high24h) / ar.high24h).toFixed(5))
+								new24Value: Number(((ar.idxPx - ar.open24h) / ar.open24h).toFixed(5))
 							})
 						}
 						that.navList = arr