dyq086 / wepy-mall Goto Github PK
View Code? Open in Web Editor NEW微信小程序--基于wepy 商城(微店)微信小程序 欢迎学习交流
License: MIT License
微信小程序--基于wepy 商城(微店)微信小程序 欢迎学习交流
License: MIT License
authorize的onLoad方法后少一个}
新手伤不起,一行行删除排查
多处警告有未闭合的xml标签。
刚入门,请问克隆下来的项目,没有project.config.json文件,是因为是1.70之前的版本么?是否是直接在项目中自行添加这个文件即可?
您好,这个小程序是否有后端管理平台?
为你点赞,仅此而已
https://sujiefs.com 不在以下 request 合法域名列表中,请参考文档:https://developers.weixin.qq.com/miniprogram/dev/framework/ability/network.html
看您的项目了预留了商品评论,好像源码里没找到评论相关的功能。
Cannot read property 'Promise' of undefined
TypeError: Cannot read property 'Promise' of undefined
at http://127.0.0.1:50218/appservice/npm/wepy-async-function/index.js:14:7
at require (http://127.0.0.1:50218/appservice/__dev__/WAService.js:18:26712)
at `
var g = require('./global.js');
if (!g.Promise) {
// IOS 10.0.1 may cause IOS crash.
g.Promise = require('./../promise-polyfill/promise.js');
}
if (!g.regeneratorRuntime) {
g.regeneratorRuntime = require('./../regenerator-runtime/runtime.js');
}
node 版本8.5
按你步骤上的解释跑不前啊
问题列表
为什么所有的接口走的都是get,有什么好处吗?或者说干嘛要这么做呢?
问题:
https://sujiefs.com 不在以下 request 合法域名列表中,请参考文档:https://mp.weixin.qq.com/debug/wxadoc/dev/api/network-request.html
这个是否可以直接设置在自己小程序后台呀
关键代码:
let beishu = this.jf_num/this.deduScore;
this.reduce_fee = beishu * this.deduFee;
discover.wpy 12行多了一个结束标签
npm install
wepy build后生成了dist文件夹
微信开发者工具打开这个文件夹后报了一堆错
为啥拿不到数据了呢?
老哥更新一波么
如题。我是新手,这个问题我很想知道,因为没有问的地方,所有只能到这里来问。
导致加载时的数据为空,接口数据加载完并没有改变组件里的值,我两边都加了监听器组件界面监听器没有监听到数值变化?请问这种问题如何解决?
系统环境:mac
npm 版本:5.6.0
执行 npm run build 后出现如下错误
[23:11:42] [压缩] JS : dist/utils/tip.js
[23:11:42] [写入] JS : dist/utils/tip.js
[23:11:42] [压缩] JS : dist/utils/util.js
[23:11:42] [写入] JS : dist/utils/util.js
[23:11:42] [压缩] JS : dist/utils/wxRequest.js
[23:11:42] [写入] JS : dist/utils/wxRequest.js
[23:11:42] [拷贝] 依赖: dist/npm/wepy/lib/app.js
[23:11:42] [拷贝] 依赖: dist/npm/wepy/lib/page.js
[23:11:42] [拷贝] 依赖: dist/npm/wepy/lib/component.js
[23:11:42] [拷贝] 依赖: dist/npm/wepy/lib/event.js
[23:11:42] [拷贝] 依赖: dist/npm/wepy/lib/base.js
[23:11:42] [拷贝] 依赖: dist/npm/wepy/lib/util.js
[23:11:42] [拷贝] 依赖: dist/npm/wepy/lib/mixin.js
[23:11:42] [压缩] JS : dist/npm/wepy/lib/wepy.js
[23:11:42] [写入] JS : dist/npm/wepy/lib/wepy.js
[23:11:42] [拷贝] 依赖: dist/npm/wepy-async-function/global.js
[23:11:42] [拷贝] 依赖: dist/npm/promise-polyfill/promise.js
[23:11:42] [拷贝] 依赖: dist/npm/regenerator-runtime/runtime.js
[23:11:42] [压缩] JS : dist/npm/wepy-async-function/index.js
[23:11:42] [写入] JS : dist/npm/wepy-async-function/index.js
[Error] Missing files: @/../utils/regions.js in /UsersPath/wxYuHanStore/src/components/common/wepy-area-picker.wpy
找不到编译器:wepy-compiler-less
本地代码预览时弹出的是单独的授权页面,而线上的版本是直接弹出授权的模态框,这个是代码有所变动吗?请大神解答
你的后端用的是什么程序呢?是自行开发的?还是用的免费开源的后端?还是付费的后台呢?能否推荐一下?谢谢
[11:58:55] [写入] JS : dist\components\tab.js
[WARNING] WARNING IN : src\components\address_add.wpy
[xmldom warning] unclosed xml attribute
@#[line:undefined,col:undefined]
[WARNING] WARNING IN : src\components\address_add.wpy
[xmldom warning] unclosed xml attribute
@#[line:undefined,col:undefined]
[WARNING] WARNING IN : src\components\address_add.wpy
[xmldom warning] unclosed xml attribute
@#[line:undefined,col:undefined]
[WARNING] WARNING IN : src\components\address_edit.wpy
[xmldom warning] unclosed xml attribute
@#[line:undefined,col:undefined]
[WARNING] WARNING IN : src\components\address_edit.wpy
[xmldom warning] unclosed xml attribute
@#[line:undefined,col:undefined]
[WARNING] WARNING IN : src\components\address_edit.wpy
[xmldom warning] unclosed xml attribute
@#[line:undefined,col:undefined]
[11:58:55] [写入] WXML: dist\pages\address.wxml
what is tip?
ReferenceError: tip is not defined
at Messages._callee$ (messages.js? [sm]:46)
在调用wx.login()后, 如果用户拒绝, 是否应该在需要登陆的操作时, 再一次调用wx.login()进行, 信息的存储呢?
// app.wpy
if (res.code) {
}else {
// 是不是在这里在提示下登陆, 或者做一个全局方法, 一旦没有保存住信息, 等着需要信息的操作, 就让用户登陆一波.
}
未找到 app.json 中的定义的 pages "pages/authorize" 对应的 JS 文件
(anonymous) @ VM94:2
能否提供一个mock数据,里面没有数据,看着很突兀
进去就报错 Uncaught ReferenceError: wx is not defined
npm WARN [email protected] requires a peer of less@^3.8.1 but none is installed. You must install peer dependencies yourself.
npm WARN [email protected] No repository field.
audited 7066 packages in 4.426s
found 3 moderate severity vulnerabilities
run npm audit fix
to fix them, or npm audit
for details
目前都是配置语法高亮的,但是如何配置语法自动提示呢
如题
你好,看了你的商城感觉很精致,但是缺少后端程序,请问如何才可以获取你的后端
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.