123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113 |
- <template>
- <view class="content">
- <!-- <text class="success-icon iconfont iconroundcheck"></text> -->
- <image src="../../static/img/payok.png" mode="" class="okimg"></image>
- <text class="tit">订单支付成功: <text>¥{{ money }}</text></text>
- <!-- <view class="btn-group">
- <navigator :url="'/pages/order/orderDetail?id='+orderId" open-type="redirect" class="mix-btn">查看订单</navigator>
- <navigator url="/pages/index/index" open-type="switchTab" class="mix-btn hollow">返回首页</navigator>
- </view> -->
- <view class="btn-wrapper">
- <navigator :url="'/pages/order/orderDetail?id='+orderId" open-type="redirect" class="look-btn">查看订单</navigator>
- <navigator url="/pages/index/index" open-type="switchTab" class="bank">返回首页</navigator>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- orderId:'',
- money: ''
- }
- },
- onLoad(opt) {
- // 保存订单号
- this.orderId = opt.orderid;
- // 保存金额
- this.money = opt.mun
- },
- methods: {
-
- }
- }
- </script>
- <style lang='scss'>
- .content{
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- }
- .success-icon{
- font-size: 160upx;
- color: #5dbc7c;
- margin-top: 100upx;
- }
- .tit{
- padding-top: 40rpx;
- padding-bottom: 130rpx;
- font-size: 32rpx;
- color: #303133;
- font-size: 32rpx;
- font-weight: bold;
- color: #333333;
- line-height: 1;
- text {
- font-size: 36rpx;
- font-weight: bold;
- color: #333333;
- line-height: 1;
- }
- }
- .btn-group{
- padding-top: 100upx;
- }
- .mix-btn {
- margin-top: 30upx;
- display: flex;
- align-items: center;
- justify-content: center;
- width: 600upx;
- height: 80upx;
- font-size: $font-lg;
- color: #fff;
- background-color: $base-color;
- border-radius: 10upx;
- &.hollow{
- background: #fff;
- color: #303133;
- border: 1px solid #ccc;
- }
- }
- .okimg {
- margin-top: 100rpx;
- width: 302rpx;
- height: 302rpx;
- }
- .btn-wrapper {
- display: flex;
- .look-btn {
- width: 301rpx;
- height: 78rpx;
- background: #901b21;
- text-align: center;
- line-height: 78rpx;
- border-radius: 10rpx;
- color: #fff;
- margin-right: 37rpx;
- }
- .bank {
- width: 301rpx;
- height: 78rpx;
- text-align: center;
- line-height: 78rpx;
- background: #FFFFFF;
- border: 2px solid #901B21;
- border-radius: 10rpx;
- color: #901b21;
- }
- }
- </style>
|