移除提交订单页面的支付按钮点击事件

- 删除了提交订单页面中立即支付按钮的点击事件处理函数
- 保留了微信支付请求的相关代码
- 移除了工作台首页的多余模板标签
This commit is contained in:
black 2025-07-18 18:46:49 +08:00
parent 9dffbedf94
commit dbc5c14348
2 changed files with 3 additions and 3 deletions

View File

@ -62,7 +62,7 @@
<div class="footer"> <div class="footer">
<div class="btn" @click="craeteOrder">立即支付{{ totalMony }}</div> <div class="btn">立即支付{{ totalMony }}</div>
</div> </div>
</view> </view>
@ -173,7 +173,7 @@ export default {
uni.requestPayment({ uni.requestPayment({
"provider": "wxpay", "provider": "wxpay",
"orderInfo": { "orderInfo": {
"appid": "wxb4018c78fa143450", // "appid": "wxb4018c78fa143450", //
"noncestr": resCopy.nonceStr, // "noncestr": resCopy.nonceStr, //
"package": resCopy.package, // "package": resCopy.package, //
"prepayid":resCopy.prepayId, "prepayid":resCopy.prepayId,

View File

@ -82,7 +82,7 @@
</div> </div>
</view> </view>
</template> </template>
<script> <script>
import { request, NavgateTo, menuButtonInfo } from '../../../utils'; import { request, NavgateTo, menuButtonInfo } from '../../../utils';