eastworld / wechat-app-mall Goto Github PK
View Code? Open in Web Editor NEW微信小程序商城,微信小程序微店
License: Apache License 2.0
微信小程序商城,微信小程序微店
License: Apache License 2.0
模拟器上没有问题,可以对其。但是真机上,联系人,手机号码,详细地址,邮政编号,对其都有问题,无法剧中显示。希望大神改一下WXSS样式,小弟安卓,实在是乏力啊
请问后端接口的源码有考虑开源吗, 不开源是基于什么考虑?
有直接连接数据库的代码吗?数据交互性能咋样
下载源码安装运行,提示登录失败,怎么才能在不配置自己的后台情况下正常运行小程序源码,appid是自己的开发账号下的app ID,模拟器和手机运行都无法通过登录,希望解答,谢谢!
使用1.4版本的测试,如果需要物流填写地址的那种,此时如果我已经优惠券了,但是在创建的订单 pages/to-pay-order/index
页面,不显示可用优惠券?如果我把商品设置不需要物流,就可以使用优惠券? 这是bug??
由于小程序框架不支持同步请求,这边在下单前做的校验的代码会因为引用对象不是之前赋值的对象而失效,如下代码
toPayOrder:function(){ wx.showLoading(); var that = this; if (this.data.goodsList.noSelect) { return; } // 重新计算价格,判断库存 var shopList = []; var shopCarInfoMem = wx.getStorageSync('shopCarInfo'); if (shopCarInfoMem && shopCarInfoMem.shopList) { shopList = shopCarInfoMem.shopList } if (shopList.length == 0) { return; } var isFail = false; var doneNumber = 0; var needDoneNUmber = shopList.length; for (var i =0; i < shopList.length; i++) { if (isFail) { wx.hideLoading(); return; } var carShopBean = shopList[i];
这里carShopBean在请求的回调函数里早不是之前的对象了,因此回调函数里不能再引用了,解决方案参考这个http://www.cnblogs.com/limingxi/p/4048705.html
错误结果如下:
WAService.js:3 里:
cthirdScriptError
Cannot read property 'value' of undefined;at App onLaunch function;at api request success callback function
TypeError: Cannot read property 'value' of undefined
WAService.js:3 thirdScriptError
Cannot read property 'length' of undefined;at pages/index/index onLoad function;at api request success callback function
TypeError: Cannot read property 'length' of undefined
项目在本地配置好api等信息后在首页显示这个错误,并且首页内容显示不出来,请帮忙看下,谢谢。
请问订单未付款自动关闭时间设置实在代码中哪里修改呢,还是在后台中修改??
如题。求解决方法。
惊呆了我的哥
服务端接口有吗 服务端的工程
可以开源下后台的项目吗??想学习下
git clone下来的程序一个字没改, 添加收货地址 和 充值时都报错: {"code":10000,"msg":"token 无效,请重新登录"}
添加收货地址 请求参数:
Request URL:https://api.it120.cc/tz/user/shipping-address/add?token=undefined&id=0&provinceId=440000&cityId=440100&districtId=440101&linkMan=%E5%BC%A0%E4%B8%89&address=%E6%96%B0%E6%B8%AF%E4%B8%AD%E8%B7%AF397%E5%8F%B7&mobile=020-8116788&code=510000&isDefault=true
Request Method:GET
Status Code:200
Remote Address:106.14.43.122:443
Referrer Policy:no-referrer-when-downgrade
返回:
{"code":10000,"msg":"token 无效,请重新登录"}
充值参数:
Request URL:https://api.it120.cc/tz/pay/wxapp/get-pay-data?token=undefined&money=1.5&remark=%E5%9C%A8%E7%BA%BF%E5%85%85%E5%80%BC&payName=%E5%9C%A8%E7%BA%BF%E6%94%AF%E4%BB%98&nextAction=%7B%7D
Request Method:GET
Status Code:200
Remote Address:106.14.43.122:443
Referrer Policy:no-referrer-when-downgrade
返回:
{"code":10000,"msg":"token 无效,请重新登录"}
服务端为啥没开源?
订单列表,正常下单后,顶部几个tab不会刷新。例如:待收货代付款tab下付了款,切到代发货tab下,代发货tab上的小红点出现,但是代付款tab上小红点未消失。
大佬新年好!
我额外做了个首页,然后想从首页的标签里跳转到指定的商品分类
请问这里的代码该怎么写
您好,我导入你的项目后,开始无法请求到数据,后来我设置了api.it120.cc域名后,数据访问到了,但是却提示无法登录,然后我去下单提示我token无效请重新登录。非常需要您的帮助。
商品比较特殊 只能线上看价格线下交易 能否增加自定义表单功能 客户按需求填写表单提交后台
RT
提个小bug
pages/shop-cart/index.js 122:
total+= parseFloat(curItem.price)*curItem.number;
浮点数运算会存在误差
如题
subDomain、token 没有设置错
{"code":10000,"msg":"token 无效,请重新登录"}
另外顺带请教下另外个问题,后台显示的:平台商户号 这个是做什么用?
请问有服务器端代码吗?可否给个demo示例下?
globalData:{ userInfo:null, subDomain:"mall" }
subDomain 中的 mall 为上面您注册开通的域名
按照要求修改为我自己的域名,编译后请求不到数据了,跪求大神帮助。
购物车中点击"去结算",控制台报错"Setting data field "orderType" to undefined is invalid."
苹果手机付款之后自动跳转到待发货页面,再按后退就退出小程序,无法返回主页了。
快递模板设置了不包邮,例如:设置顺丰,一个件12,增加一个件6块钱。然后商品关联了快递模板正常下单,提交订单的时候,就会出现错误:未配置该快递类型,而且订单还显示包邮。要是快递模板设置包邮就没有问题。希望大神尽快解决,这个bug比较蛋疼
goods-container 这个类是个普通的view定义的 怎么能支持滚动呢?
发现有bug:先点击Tabbar“我的”,再点击Tabbar“首页”,随便点击一件商品查看商品详情,会连续跳转两次:先跳转到“我的”、再跳商品详细页面。
1.9.SNAPSHOT工程无法运行,微信开发者工具最新版,提示“编译.wxml文件错误,错误信息如上,可在控制台查看更详细信息”
https://api.it120.cc 不在以下 request 合法域名列表中,请参考文正确的接口文档。
这个后台的接口很难明白该怎么配置接口
发现有别的小程序实现了授权后能自动获取地址
你好,作为一个小程序新手,不太了解这个项目如何进行启动,希望能简要说明一下,谢谢啊
在下订单时,提交订单,提示缺少参数
是没登录导致还是bug 呢?
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.