lhl před 2 roky
rodič
revize
22e129ae72

+ 3 - 3
manifest.json

@@ -2,8 +2,8 @@
     "name" : "易博优购",
     "appid" : "__UNI__331F6F8",
     "description" : "易博优购",
-    "versionName" : "1.4.4",
-    "versionCode" : 144,
+    "versionName" : "1.4.7",
+    "versionCode" : 147,
     "transformPx" : false,
     /* 5+App特有相关 */
     "app-plus" : {
@@ -81,7 +81,7 @@
                     "NSLocationAlwaysUsageDescription" : "根据客户地理位置推荐最近门店",
                     "NSCameraUsageDescription" : "上传用户头像保存分享海报"
                 },
-                "idfa" : true,
+                "idfa" : false,
                 "dSYMs" : false
             },
             /* SDK配置 */

+ 5 - 1
pages/index/downLoad.vue

@@ -32,7 +32,11 @@ export default {
 	},
 	methods: {
 		downApp(version) {
-			this.dtask = plus.downloader.createDownload('https://ygs.hqgjsmc.com' + version);
+			if(version.indexOf('http') == -1) {
+				this.dtask = plus.downloader.createDownload('https://ygs.hqgjsmc.com' + version);
+			}else {
+				this.dtask = plus.downloader.createDownload(version);
+			}
 			this.dtask.addEventListener('statechanged', this.onStateChanged, false);
 			this.dtask.start();
 		},

+ 5 - 4
pages/user/index.vue

@@ -9,7 +9,7 @@
 				<!-- #ifdef MP -->
 				<view class="sys-title" :style="member_style==3?'color:#333':''">个人中心</view>
 				<!-- #endif -->
-				<view class="bg" :style="member_style==3?'background:#27b3fc':''"></view>
+				<view class="bg" :style="member_style==3?'background:#f5f5f5':''"></view>
 			</view>
 			<!-- #endif -->
 		</view>
@@ -572,11 +572,11 @@
 				}else {
 					let dd = val*1
 					if(dd <= 10000) {
-						return dd.toFixed(0)
+						return dd.toFixed(2)
 					}else if(dd < 100000000){
-						return (dd/10000).toFixed(0) + '万'
+						return (dd/10000).toFixed(2) + '万'
 					}else {
-						return (dd/100000000).toFixed(0) + '亿'
+						return (dd/100000000).toFixed(2) + '亿'
 					}
 				}
 			}
@@ -1175,6 +1175,7 @@
 						}
 					})
 					this.member_style = Number(res.data.diy_data.status)
+					
 					this.my_banner_status = res.data.diy_data.my_banner_status
 					this.menu_status = res.data.diy_data.menu_status
 					this.service_status = res.data.diy_data.service_status

+ 20 - 5
pages/users/login/index.vue

@@ -29,7 +29,8 @@
 							<image src="../static/code_1.png" class="item-img"></image>
 							<input type="password" placeholder="填写登录密码" v-model="password" required />
 						</view>
-					</view>
+					</view>
+					
 				</form>
 				<navigator class="forgetPwd" hover-class="none" url="/pages/users/retrievePassword/index">
 					忘记密码?
@@ -50,6 +51,13 @@
 							{{ text }}
 						</button>
 					</view>
+				</view>
+				<!--  -->
+				<view class="item" v-if="sspread">
+					<view class="acea-row row-middle">
+						<image src="../static/code_1.png" class="item-img"></image>
+						<input type="text" placeholder="" v-model="sspread" maxlength="11" disabled/>
+					</view>
 				</view>
 <!-- 				<view class="item" v-if="isShowCode">
 					<view class="acea-row row-middle">
@@ -160,7 +168,8 @@
 				appleUserInfo: null,
 				appleShow: false, // 苹果登录版本必须要求ios13以上的
 				keyLock: true,
-				copyrightContext:''
+				copyrightContext:'',
+				sspread: '',
 			};
 		},
 		watch: {
@@ -180,11 +189,13 @@
 						self.appleShow = true
 					}
 				}
-			});
+			});
+			this.sspread = this.$Cache.get("spread")
 		},
 		mounted: function() {
 			// this.getCode();
-			this.getLogoImage();
+			this.getLogoImage();
+			
 		},
 		methods: {
 			domainTap(){
@@ -899,7 +910,11 @@
 							font-size: 28rpx;
 							height: 80rpx;
 						}
-
+						.spread {
+							flex: 1;
+							font-size: 28rpx;
+							height: 80rpx;
+						}
 						.code {
 							position: absolute;
 							right: 30rpx;

+ 7 - 7
pages/users/user_payment/index.vue

@@ -8,8 +8,8 @@
 				</view>
 			</view>
 			<view class="payment">
-				<view class="nav acea-row row-around row-middle">
-					<view class="item" :class="active==index?'on':''" v-for="(item,index) in navRecharge" :key="index" @click="navRecharges(index)">{{item}}</view>
+				<view class="nav acea-row row-around row-middle" >
+					<view class="item" :class="active==index?'on':''" v-for="(item,index) in navRecharge" :key="index" @click="navRecharges(index)" v-if="item != '账户充值'">{{item}}</view>
 				</view>
 				<view class='tip picList' v-if="active == 0" >
 					<view class="pic-box pic-box-color acea-row row-center-wrapper row-column" :class="activePic == index ? 'pic-box-color-active' : ''"
@@ -33,7 +33,7 @@
 				</view>
 				<!-- 佣金转余额 -->
 				<view class="tip" v-else-if="active ==1">
-					<view class='input'><text>¥</text><input @input='inputNum' :maxlength="moneyMaxLeng" placeholder="0.00" type='number' placeholder-class='placeholder' :value="number" name="number"></input></view>
+					<view class='input'><text style="padding-left: 0;">¥</text><input @input='inputNum' :maxlength="moneyMaxLeng" placeholder="0.00" type='number' placeholder-class='placeholder' :value="number" name="number" style="padding-right: 0;width: 100%;"></input></view>
 					<view class="tips-title">
 						<view style="font-weight: bold; font-size: 26rpx;">提示:</view>
 						<view style="margin-top: 10rpx;">当前可转入佣金为 <text class='font-color'>¥{{userinfo.commissionCount || 0}}</text>,冻结佣金为<text class='font-color'>¥{{userinfo.broken_commission}}</text></view>
@@ -47,7 +47,7 @@
 				</view>
 				<view class="tip" v-else>
 					<view class='input'><input placeholder="请输入收款人手机号" type='number' placeholder-class='placeholder' :value="to_phone" name="to_phone" style="width: 100%;padding-right: 0;"></input></view>
-					<view class='input'><text>¥</text><input @input='inputNum' :maxlength="moneyMaxLeng" placeholder="0.00" type='number' placeholder-class='placeholder' :value="number" name="number"></input></view>
+					<view class='input'><text style="padding-left: 0;">¥</text><input @input='inputNum' :maxlength="moneyMaxLeng" placeholder="0.00" type='number' placeholder-class='placeholder' :value="number" name="number" style="width: 100%;padding-right: 0;"></input></view>
 					<view class="tips-box">
 						<view class="tips mt-30">注意事项:</view>
 						<view class="tips-samll" v-for="item in rechargeAttention" :key="item">
@@ -104,7 +104,7 @@
 			return {
 				now_money: 0,
 				navRecharge: ['账户充值', '佣金转入','余额转账'],
-				active: 0,
+				active: 1,
 				number: '',
 				to_phone: '',
 				userinfo: {},
@@ -147,7 +147,7 @@
 				// #endif
 				type: '',
 				rechargeAttention:[],
-				moneyMaxLeng:8
+				moneyMaxLeng:18
 			};
 		},
 		computed: mapGetters(['isLogin']),
@@ -201,7 +201,7 @@
 				if(dot>-1){
 					this.moneyMaxLeng = dot+3;
 				}else{
-					this.moneyMaxLeng = 8
+					this.moneyMaxLeng = 18
 				}
 			},
 			/**

+ 2 - 2
pages/users/user_spread_user/index.vue

@@ -133,7 +133,7 @@
 						<view class="trip">分销等级说明</view>
 					</view>
 				</view>
-				<view class="item" @click="jumbPath(2)">
+				<!-- <view class="item" @click="jumbPath(2)">
 					<view class="img">
 						<text class="iconfont icon-yongjinpaihang1"></text>
 					</view>
@@ -150,7 +150,7 @@
 						<view class="text">推广人排行</view>
 						<view class="trip">您的排名为{{userInfo.rank_count || '-'}}</view>
 					</view>
-				</view>
+				</view> -->
 			</view>
 		</view>
 		<task :inv-show="taskShow" :task="task" @inv-close="()=>{taskShow= false}"></task>