fix: 工作台页面,整体ui功能优化。
This commit is contained in:
@@ -1,13 +1,14 @@
|
||||
<template>
|
||||
<view class="container" style="paddingBottom:1rpx;">
|
||||
<view class="container">
|
||||
<u-navbar
|
||||
leftIconSize="40rpx"
|
||||
leftIconColor="#333333"
|
||||
title="股票账单"
|
||||
leftIconColor="#ffffff"
|
||||
:title="title"
|
||||
:bgColor="'linear-gradient(135deg, #667eea 0%, #764ba2 100%)'"
|
||||
titleStyle="color: #ffffff; font-weight: 600;"
|
||||
>
|
||||
</u-navbar>
|
||||
<view class="section">
|
||||
<view class="section-title">{{ title}}</view>
|
||||
<view class="form-view">
|
||||
<u--form labelPosition="left" :model="form" :rules="rules" ref="uForm" label-width="auto"
|
||||
:labelStyle="{ color: '#333333', fontSize: '30rpx' }">
|
||||
@@ -30,7 +31,8 @@
|
||||
</u-form-item>
|
||||
</u--form>
|
||||
<view class="form-btn">
|
||||
<u-button type="primary" text="提交" @click="submit"></u-button>
|
||||
<u-button type="primary" text="提交" @click="submit"
|
||||
customStyle="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border: none; border-radius: 12rpx; font-size: 32rpx; font-weight: 600; height: 88rpx; box-shadow: 0 4rpx 12rpx rgba(102, 126, 234, 0.3);"></u-button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
@@ -46,8 +48,19 @@
|
||||
@confirm="datePickConfirm"
|
||||
itemHeight="88"
|
||||
></u-datetime-picker>
|
||||
<u-picker itemHeight="88" :show="showFutureStocks" :columns="futureStocksBillList" keyName="nameCode" @cancel="handleFutureStocksCancel"
|
||||
@confirm="handleFutureStocksConfirm"></u-picker>
|
||||
<u-picker
|
||||
itemHeight="88"
|
||||
:show="showFutureStocks"
|
||||
:columns="futureStocksBillList"
|
||||
keyName="nameCode"
|
||||
@cancel="handleFutureStocksCancel"
|
||||
@confirm="handleFutureStocksConfirm"
|
||||
:closeOnClickOverlay="true"
|
||||
:defaultIndex="[0]"
|
||||
cancelColor="#666666"
|
||||
confirmColor="#667eea"
|
||||
title="选择股票账户"
|
||||
></u-picker>
|
||||
</view>
|
||||
</template>
|
||||
|
||||
@@ -180,27 +193,24 @@ onLoad((option) => {
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.section {
|
||||
margin: 24rpx;
|
||||
padding: 16rpx 24rpx;
|
||||
background-color: #fff;
|
||||
border-radius: 8rpx;
|
||||
|
||||
.section-title {
|
||||
width: 360rpx;
|
||||
color: #333333;
|
||||
line-height: 44rpx;
|
||||
font-size: 30rpx;
|
||||
border-left: 6rpx solid #2681FF;
|
||||
padding-left: 26rpx;
|
||||
}
|
||||
|
||||
.form-view {
|
||||
padding: 20rpx 0rpx 0 10rpx;
|
||||
|
||||
.form-btn {
|
||||
padding-top: 20rpx;
|
||||
}
|
||||
.container {
|
||||
background: #f5f7fa;
|
||||
min-height: 100vh;
|
||||
}
|
||||
|
||||
.section {
|
||||
margin: 24rpx;
|
||||
padding: 32rpx;
|
||||
background-color: #fff;
|
||||
border-radius: 16rpx;
|
||||
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.08);
|
||||
|
||||
.form-view {
|
||||
padding: 0;
|
||||
|
||||
.form-btn {
|
||||
padding-top: 40rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user