12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849 |
- <template>
- <view class="cmain">
- <view class="icon"></view>
- <view class="desc">购买成功。</view>
- <button class="btn" @click="goBuy()" type="warn">继续购买</button>
- <button class="btn" @click="go()" style="margin-top: 20px;">订单列表</button>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {};
- },
- methods: {
- go() {
- uni.redirectTo({
- url: '/pages/market/two/purchaser/order/list'
- });
- },
- goBuy() {
- uni.redirectTo({
- url: '/pages/market/two/list'
- });
- }
- }
- };
- </script>
- <style lang="scss">
- .cmain {
- text-align: center;
- padding: 40px;
- color: $font-c;
- .icon {
- font-size: 150px;
- color: $main-color;
- }
- .desc {
- margin-top: 7px;
- }
- .btn {
- margin-top: 50px;
- }
- }
- </style>
|