Ver Fonte

样式调整

lilei há 3 anos atrás
pai
commit
9be0c26d8d

+ 1 - 1
config/index.js

@@ -16,7 +16,7 @@ const getConfig = (theme) => {
 					loading: '努力加载中',
 					nomore: '没有了'
 				},
-			primaryColor: '#0485F6', // 主色调
+			primaryColor: '#335fb6', // 主色调
 			warringColor: '#f3bb12', // 警告
 			errorColor: '#E70012', // 错误
 			successColor: '#13C442', // 成功

+ 3 - 3
pages/login/forget-pass.vue

@@ -9,10 +9,10 @@
 					</view>
 					<view class="form-item flex-box justify_between">
 						<view><u-input v-model="form.verifyCode" :custom-style="{fontSize:'34upx'}" height="110" type="number" clearable maxlength="6" placeholder="请输入短信验证码" /></view>
-						<button class="getcode-btn" :style="{background:$config('fixedButtonColors')}" :disabled="isDisable" @click="getCodeValidate">{{nowVal}}</button>
+						<button class="getcode-btn" :style="{background:$config('primaryColor')}" :disabled="isDisable" @click="getCodeValidate">{{nowVal}}</button>
 					</view>
 					<view class="form-btn-con">
-						<button class="form-btn" :disabled="isDisabled" :style="{'background':isDisabled?'#e5e5e5':$config('buttonColors')}" @click="goStep">下一步</button>
+						<button class="form-btn" :disabled="isDisabled" :style="{'background':isDisabled?'#e5e5e5':$config('primaryColor')}" @click="goStep">下一步</button>
 					</view>
 				</view>
 				<view v-show="state == 1">
@@ -23,7 +23,7 @@
 						<u-input v-model="form.passwords" :custom-style="{fontSize:'34upx'}" height="110" type="password" :password-icon="true" maxlength="12" placeholder="请再次输入新密码"/>
 					</view>
 					<view class="form-btn-con">
-						<button class="form-btn" :disabled="isDisabledTwo" :style="{'background':isDisabledTwo?'#e5e5e5':$config('buttonColors')}" form-type="submit">提交</button>
+						<button class="form-btn" :disabled="isDisabledTwo" :style="{'background':isDisabledTwo?'#e5e5e5':$config('primaryColor')}" form-type="submit">提交</button>
 					</view>
 				</view>
 			</form>

+ 3 - 3
pages/login/login.scss

@@ -21,9 +21,9 @@
 	}
 	.logo{
 		display: block;
-		margin-bottom: 100upx;
+		margin-bottom: 120upx;
 		width: 160upx;
-		height: 48upx;
+		height: 160upx;
 	}
 	.login-title{
 		font-size: 40upx;
@@ -34,7 +34,7 @@
 		margin: 0 auto;
 		width: 100%;
 		.mt20{
-			margin-top: 30upx;
+			margin-top: 20upx;
 		}
 		.form-item{
 			position: relative;

+ 2 - 3
pages/stock/index.vue

@@ -25,8 +25,8 @@
 				<u-form-item label="只查看有库存"><u-switch slot="right" v-model="form.zeroQtyFlag"></u-switch></u-form-item>
 			</u-form>
 			<view class="form-footer-btn">
-				<u-button size="medium" hover-class="none" @click="handleClean">清空</u-button>
-				<u-button size="medium" hover-class="none" :custom-style="customBtnStyle" @click="handleSearch">查询</u-button>
+				<u-button size="medium" shape="circle" hover-class="none" @click="handleClean">清空</u-button>
+				<u-button size="medium" hover-class="none" shape="circle" :custom-style="customBtnStyle" @click="handleSearch">查询</u-button>
 			</view>
 		</view>
 		<!-- 产品品牌 -->
@@ -65,7 +65,6 @@
 					nowInd: 0
 				},
 				customBtnStyle: {  //  自定义按钮样式
-					borderColor: this.$config('primaryColor'),
 					backgroundColor: this.$config('primaryColor'),
 					color: '#fff'
 				},

+ 2 - 7
pages/userCenter/changePwd.vue

@@ -19,8 +19,8 @@
 		</view>
 		<!-- 消息提醒弹窗 -->
 		<view class="form-footer-btn">
-			<u-button size="medium" hover-class="none" @click="handleReset">重置</u-button>
-			<u-button size="medium" hover-class="none" :loading="loading" :custom-style="customBtnStyle" @click="handleSubmit">保存</u-button>
+			<u-button size="medium" shape="circle" hover-class="none" @click="handleReset">重置</u-button>
+			<u-button shape="circle" type="success" size="medium" hover-class="none" :loading="loading" :custom-style="{background:$config('primaryColor')}" @click="handleSubmit">保存</u-button>
 		</view>
 	</view>
 </template>
@@ -41,11 +41,6 @@
 				  oldPwd: ''
 				},
 				loading: false,
-				customBtnStyle: {  //  自定义按钮样式
-					borderColor: '#ed1c24',
-					backgroundColor: '#ed1c24',
-					color: '#fff'
-				},
 			}
 		},
 		methods:{

+ 1 - 1
pages/userCenter/index.vue

@@ -23,7 +23,7 @@
 		</view>
 		<!-- 退出 -->
 		<view class="user-btn">
-			<u-button type="success" :custom-style="{background:$config('primaryColor')}" hover-class="none" @click="quitOutSys" shape="circle">退出登录</u-button>
+			<u-button type="success" :custom-style="{background:$config('infoColor')}" hover-class="none" @click="quitOutSys" shape="circle">退出登录</u-button>
 		</view>
 	</view>
 </template>

BIN
static/default/logo.png