上一页 1 2 3 4 5 6 ··· 8 下一页
摘要: <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <title>tab-jQuery</title> <style> * { margin: 0; padding: 0; list-style: none; } .conta 阅读全文
posted @ 2022-04-06 16:26 冷晨 阅读(59) 评论(0) 推荐(0)
摘要: 因为定义了public 里面的index.php的入口文件 绑定了前台 admin.php绑定了后台 导致访问前端变成了 域名/index.php 后台: 域名/admin.php 这样的访问模式 导致无法这样访问api模块 域名/api 因为api没有定义,idnex.php也绑定了模块,所以导致 阅读全文
posted @ 2022-03-24 15:50 冷晨 阅读(503) 评论(0) 推荐(0)
摘要: 上线后电脑端打开小程序显示 手机端打开是正常的 原因是因为button按钮导致的,button使用了style v2这个属性,所以导致你没有办法设置宽高,但可能只是在电脑上,所以要把style v2属性删除,在app.json里面可以看到 去把他删除,删除完之后button按钮会有个边框 在开发微信 阅读全文
posted @ 2022-03-24 10:26 冷晨 阅读(763) 评论(0) 推荐(0)
摘要: // 登录 wx.login({ success:function(res){ if(res.code){ console.log(res); wx.request({ url:"http://xcx.com/api/Base/login", data:{code:res.code}, header 阅读全文
posted @ 2022-03-19 17:23 冷晨 阅读(129) 评论(0) 推荐(0)
摘要: 小程序的客服 网页端 工具接收不到客户的留言。 小程序已经添加了客服人员,没有开启消息推送,也没有设置任何第三方授权,通过 button open-type="contact" 进入客服会话和小程序客服消息公众号进入会话的留言,网页端工具都接收不到。 解决办法 关注“客服小助手”这个小程序才能收到消 阅读全文
posted @ 2022-03-12 11:51 冷晨 阅读(767) 评论(0) 推荐(0)
摘要: var date = new Date(); var year = date.getFullYear(); var month = date.getMonth()+1; var d = new Date(year, month, 0).getDate(); new Date(2021, 2, 0). 阅读全文
posted @ 2021-05-12 15:43 冷晨 阅读(547) 评论(0) 推荐(0)
摘要: 今天在做一个站时用到了自定义模型,遇到了些问题,在更新列表页时提示: Fatal error: Call to a member function GetInnerText() on a non-object in E:\www\include\taglib\channel\img.lib.php  阅读全文
posted @ 2021-04-21 16:53 冷晨 阅读(193) 评论(0) 推荐(0)
摘要: dedecms模型添加的图片数据类型,在前台模板输出后是带有html代码的,我们在使用时只是需要图片地址就行了。 这样我们只需要写个自定义方法从字符串中把图片提取出来即可。 打开 /include/extend.func.php 在最下面添加 /** * 自定义图片字段调用图片地址 * * @acc 阅读全文
posted @ 2021-04-21 16:46 冷晨 阅读(258) 评论(0) 推荐(0)
摘要: DEDECMS新增字段后,发布的文章无法修改报错Fatal error: Call to a member function GetInnerText() on string in XXXXX\include\customfields.func.php on line 539。dedecms发布的文 阅读全文
posted @ 2021-04-21 16:39 冷晨 阅读(259) 评论(0) 推荐(0)
摘要: {dede:arclist row=5 typeid=200} <li [field:global runphp=’yes’ name=autoindex](@me==1)?@me=”class=noo”:@me=””;[/field:global]> <a href=”[field:arcurl 阅读全文
posted @ 2021-04-14 16:20 冷晨 阅读(84) 评论(0) 推荐(0)
上一页 1 2 3 4 5 6 ··· 8 下一页