This commit is contained in:
2024-08-22 12:47:21 +08:00
commit dedb40f497
373 changed files with 5393 additions and 0 deletions

View File

@@ -0,0 +1 @@
var t=getApp();Page({data:{imageUrlList:[]},preview:function(t){var a=t.currentTarget.dataset.src;console.log(a);var e=this.data.imageUrlList;console.log(e),wx.previewImage({current:a,urls:e})},pays:function(){var a=this;t._get("index/payList",{},(function(t){var e=t.data,r=[];e.res.pays.forEach((function(t){r.push(t.url)})),a.setData(e),a.setData({imageUrlList:r})}))},ToOrder:function(){wx.redirectTo({url:"../order/index?type=payment"})},onLoad:function(t){this.pays()}});

View File

@@ -0,0 +1 @@
{"navigationBarTitleText":"提示","usingComponents":{}}

View File

@@ -0,0 +1,21 @@
<view class="container">
<view wx:if="{{res.st}}">
<view style="padding:30rpx; margin:20rpx;">
<text style="color: red;">{{res.title}}</text>
<view style="text-align: center;padding-top:30rpx; margin-top:20rpx;">请滑动到底部跳转到订单列表</view>
</view>
<view style="display: flex;flex-direction: column; justify-content: center;align-items: center;" wx:for="{{res.pays}}" wx:key="this">
<view style="display: flex;flex-direction: column; justify-content: center;align-items: center;">
<view style="padding:20rpx 0;">{{item.name}}</view>
<view style="color: red;">{{item.content}}</view>
<image bindtap="preview" data-list="{{res.pays}}" data-src="{{item.url}}" src="{{item.url}}" style="max-height: 100%;max-width: 100%;height: 700rpx;"></image>
</view>
</view>
<view style="padding:30rpx; margin:20rpx;">
<text style="color: red;">{{res.title}}</text>
</view>
</view>
<view class="cont-box b-f">
<button bindtap="ToOrder" class="saoma">去查看我的订单</button>
</view>
</view>

View File

@@ -0,0 +1 @@
.saoma{align-items:center;background-color:#f70000;border-radius:98rpx;color:#fff;display:-webkit-flex;display:flex;flex-direction:row;justify-content:center;margin-top:10rpx;width:80%}