Sfoglia il codice sorgente

加入团队按钮颜色

xhj 2 anni fa
parent
commit
18fa4caf93
3 ha cambiato i file con 4 aggiunte e 3 eliminazioni
  1. 1 1
      card/create/create.vue
  2. 1 1
      office/myTeam/index.css
  3. 2 1
      pages/index/index.vue

+ 1 - 1
card/create/create.vue

@@ -145,7 +145,7 @@ const req = require('../../utils/request.js');
 const util = require('../../utils/util.js');
 var QQMapWX = require('../../utils/qqmap.js');
 var app = getApp();
-import pickerAddress from '../../components/wangding-pickerAddress/wangding-pickerAddress.vue';
+import pickerAddress from '../components/wangding-pickerAddress/wangding-pickerAddress.vue';
 export default {
 	components: { pickerAddress },
 	data() {

+ 1 - 1
office/myTeam/index.css

@@ -11,6 +11,6 @@ page{background: #fff;}
 .team-tit{font-size: 32rpx;color: #333;}
 .team-sta{margin-top: 8rpx;font-size: 24rpx;color: #999;}
 .team-sta text{margin-right: 20rpx;}
-.join-btn{width: 133rpx;height: 60rpx;border-radius: 37rpx;border: 2rpx solid rgba(235, 28, 36, .5);font-size: 28rpx;color: #EB1C24;text-align: center;line-height: 60rpx;margin-left: 20rpx;}
+.join-btn{width: 133rpx;height: 60rpx;border-radius: 37rpx;border: 2rpx solid var(--main);font-size: 28rpx;color: var(--main);text-align: center;line-height: 60rpx;margin-left: 20rpx;}
 .sta{font-size: 24rpx;color: #e6a23c;}
 .fail{color: #f56c6c;}

+ 2 - 1
pages/index/index.vue

@@ -449,7 +449,7 @@
 			// })
 			// this.getPopAd()
 			this.query = options;
-			req.silenceLogin(options.userId, '');
+			// req.silenceLogin(options.userId, '');
 			if (options.custom_params) {
 				let obj = decodeURIComponent(opt.custom_params);
 				obj = JSON.parse(obj);
@@ -479,6 +479,7 @@
 		},
 
 		async onShow() {
+			await req.silenceLogin(this.query.userId, '');
 			let _ts = this;
 			this.userInfo = req.getStorage('userInfo')
 			await this.getConfig().then(res => {});