上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 31 下一页
摘要: 直接上代码 在后台写 允许跨域的域名, $allowedDomains = array("https://example1.com", "https://example2.com"); $origin = isset($_SERVER['HTTP_ORIGIN']) ? $_SERVER['HTTP 阅读全文
posted @ 2023-10-30 11:27 79524795 阅读(23) 评论(0) 推荐(0)
摘要: Uniapp中弹窗 直接上代码 uni.showModal({ title: '提示', content: '这是一个自定义按钮文字的模态对话框', confirmText: '自定义确定', // 自定义确定按钮的文字 cancelText: '自定义取消', // 自定义取消按钮的文字 succ 阅读全文
posted @ 2023-10-27 18:16 79524795 阅读(164) 评论(0) 推荐(0)
摘要: Niushop中弹窗确定取消 直接上代码 uni.showModal({ title: '提示', content: '必须先购买VIP商品?', success: res => { if (res.confirm) { } }, }) 阅读全文
posted @ 2023-10-23 18:25 79524795 阅读(15) 评论(0) 推荐(0)
摘要: Niushop中uniapp的访问接口 直接上代码 this.$api.sendRequest({ url: '/pintuan/api/order/isbuy', success: res => { console.log(res) if(res.code == 1){ //跳转VIP } }, 阅读全文
posted @ 2023-10-23 18:24 79524795 阅读(78) 评论(0) 推荐(0)
摘要: 把文件局搜索一下 event中的 在addon文件里面会找到答案 阅读全文
posted @ 2023-10-21 12:22 79524795 阅读(31) 评论(0) 推荐(0)
摘要: 是这个表 local_delivery_package 阅读全文
posted @ 2023-10-19 13:34 79524795 阅读(14) 评论(0) 推荐(0)
摘要: Uniapp代码页面嵌入HTML链接地址 实现路径规划 Uniapp代码如下 <template> <view> <web-view :src="htmlContent"></web-view> </view> </template> <script> export default { data() 阅读全文
posted @ 2023-10-17 14:50 79524795 阅读(924) 评论(0) 推荐(0)
摘要: 直接上代码 function go(a){ if(a == 'shifu'){ //移除属性 var shop = document.getElementsByClassName("shop")[0]; shop.classList.remove("ns-border-color"); //增加属性 阅读全文
posted @ 2023-10-15 18:25 79524795 阅读(1907) 评论(0) 推荐(1)
摘要: PHP将一个数字分成若干个数相加 直接上代码 public function pintuan(){ // 示例用法 $number = 10; // 要分成几加几加几 $parts = 3; // 分成3个数相加 $result = $this-> splitNumber($number, $par 阅读全文
posted @ 2023-10-12 14:26 79524795 阅读(80) 评论(0) 推荐(0)
摘要: 教程 1.复制文件夹 新建粘贴一下 2.把文件里面的命名空间 全部修改一下 apaypal 3.进入数据库 表addon新增一条 4.前端修改 支付类型 5.此时支付 选择paypal的时候,就会运行到这里来 6.下面是支付代码,未完待续 阅读全文
posted @ 2023-09-27 20:06 79524795 阅读(143) 评论(0) 推荐(0)
上一页 1 ··· 4 5 6 7 8 9 10 11 12 ··· 31 下一页