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