12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091 |
- <template>
- <view>
- <u-navbar title="充值结果"></u-navbar>
- <view class="paySuccess">
- <u-icon name="chenggong" custom-prefix="custom-icon" size="180" color="#00B962"></u-icon>
- <view class="title">支付成功</view>
- <view class="payPrice">
- <span>¥</span><font>15.00</font><span>元</span>
- </view>
- <p>支付成功</p>
- </view>
- <view class="paySuccess-btn">
- <u-button class="success-btn1" shape="circle" type="" @click="rechargeContinue">
- <span>继续充值</span>
- </u-button>
- <u-button class="success-btn2" shape="circle" type="success" @click="balanceLook">
- <span>查看余额</span>
- </u-button>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- }
- },
- methods: {
- rechargeContinue() {
- uni.redirectTo({
- url: '/pages/user/finance/recharge'
- })
- },
- balanceLook() {
- uni.redirectTo({
- url: '/pages/user/finance/balance'
- })
- }
- }
- }
- </script>
- <style>
- page{
- background-color: #fff;
- }
- </style>
- <style lang="scss" scoped>
- .paySuccess{
- text-align: center;
- padding: 50px 0;
- .title{
- font-size: 20px;
- margin-top: 20px;
- }
- .payPrice{
- display: flex;
- align-items: flex-end;
- justify-content: center;
- font{
- font-size: 36px;
- line-height: 36px;
- }
- margin-top: 20px;
- }
- p{
- color:#999;
- margin-top: 4px;
- }
- }
- .paySuccess-btn{
- display: flex;
- justify-content: space-between;
- padding: 0 40px;
- }
- .success-btn1{
- color:#BBBBBB!important;
- background-color:#fff!important;
- flex: 0.4;
- span{
- color:#333;
- }
- }
- .success-btn2{
- background-color:#00B962!important;
- flex: 0.4;
- border-color: #00B962!important;
- color:#fff!important;
- }
- </style>
|