fix: 投资交易记录,自测bug修复。
This commit is contained in:
@@ -2,10 +2,8 @@
|
||||
<view class="container" style="paddingBottom:1rpx;">
|
||||
<u-navbar
|
||||
leftIconSize="40rpx"
|
||||
leftIconColor="#ffffff"
|
||||
leftIconColor="#333333"
|
||||
title="投资交易记录"
|
||||
:bgColor="'linear-gradient(135deg, #667eea 0%, #764ba2 100%)'"
|
||||
:titleStyle="{ color: '#ffffff', fontSize: '36rpx', fontWeight: '600' }"
|
||||
>
|
||||
</u-navbar>
|
||||
<view class="section">
|
||||
@@ -45,16 +43,15 @@
|
||||
</u-form-item>
|
||||
</u--form>
|
||||
<view class="form-btn">
|
||||
<u-button type="primary" text="提交" @click="submit"
|
||||
customStyle="background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); border: none; border-radius: 16rpx; font-size: 32rpx; font-weight: 600; height: 96rpx; box-shadow: 0 4rpx 12rpx rgba(102, 126, 234, 0.3);"></u-button>
|
||||
<u-button type="primary" text="提交" @click="submit"></u-button>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
<u-toast ref="uToast"></u-toast>
|
||||
<u-picker itemHeight="88" :show="showAccountName" :columns="accountNameList" keyName="nameCodeAvailableLimit" @cancel="handleAccountNameCancel"
|
||||
@confirm="handleAccountNameConfirm" :closeOnClickOverlay="true" cancelColor="#666666" confirmColor="#667eea" title="选择投资账户"></u-picker>
|
||||
@confirm="handleAccountNameConfirm"></u-picker>
|
||||
<u-picker itemHeight="88" :show="showDealType" :columns="dealTypeList" keyName="dictLabel" @cancel="handleDealTypeCancel"
|
||||
@confirm="handleDealTypeConfirm" :closeOnClickOverlay="true" cancelColor="#666666" confirmColor="#667eea" title="选择交易类型"></u-picker>
|
||||
@confirm="handleDealTypeConfirm"></u-picker>
|
||||
<u-datetime-picker
|
||||
:show="datePickShow"
|
||||
mode="datetime"
|
||||
@@ -62,9 +59,6 @@
|
||||
@cancel="datePickShow=false"
|
||||
@confirm="datePickConfirm"
|
||||
itemHeight="88"
|
||||
:closeOnClickOverlay="true"
|
||||
cancelColor="#666666"
|
||||
confirmColor="#667eea"
|
||||
></u-datetime-picker>
|
||||
</view>
|
||||
</template>
|
||||
@@ -267,49 +261,56 @@ onLoad((option) => {
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
page {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
||||
.section {
|
||||
margin: 24rpx;
|
||||
padding: 32rpx;
|
||||
padding: 0;
|
||||
background-color: #fff;
|
||||
border-radius: 16rpx;
|
||||
box-shadow: 0 4rpx 16rpx rgba(0, 0, 0, 0.06);
|
||||
box-shadow: 0 2rpx 12rpx rgba(0, 0, 0, 0.08);
|
||||
overflow: hidden;
|
||||
|
||||
.section-title {
|
||||
color: #2c3e50;
|
||||
line-height: 44rpx;
|
||||
font-size: 30rpx;
|
||||
padding: 16rpx 24rpx;
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
color: #ffffff;
|
||||
line-height: 1.2;
|
||||
font-size: 28rpx;
|
||||
font-weight: 600;
|
||||
padding-left: 20rpx;
|
||||
position: relative;
|
||||
margin-bottom: 24rpx;
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
||||
&::before {
|
||||
content: '';
|
||||
position: absolute;
|
||||
left: 0;
|
||||
width: 6rpx;
|
||||
height: 32rpx;
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
|
||||
height: 28rpx;
|
||||
background: #ffffff;
|
||||
border-radius: 3rpx;
|
||||
margin-right: 12rpx;
|
||||
}
|
||||
}
|
||||
|
||||
.form-view {
|
||||
padding-top: 20rpx;
|
||||
padding: 24rpx;
|
||||
|
||||
.form-btn {
|
||||
padding-top: 32rpx;
|
||||
|
||||
.u-button {
|
||||
border-radius: 24rpx;
|
||||
box-shadow: 0 6rpx 16rpx rgba(102, 126, 234, 0.25);
|
||||
}
|
||||
padding-top: 16rpx;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
|
||||
<style lang="scss">
|
||||
.form-btn .u-button {
|
||||
background: linear-gradient(135deg, #667eea 0%, #764ba2 100%) !important;
|
||||
border: none !important;
|
||||
border-radius: 24rpx !important;
|
||||
height: 80rpx !important;
|
||||
box-shadow: 0 4rpx 16rpx rgba(102, 126, 234, 0.4) !important;
|
||||
}
|
||||
|
||||
.form-btn .u-button__text {
|
||||
font-size: 30rpx !important;
|
||||
font-weight: 500 !important;
|
||||
letter-spacing: 2rpx !important;
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user