thunf / wepy-demo-bookmall Goto Github PK
View Code? Open in Web Editor NEWDemo codes for 🐼📖 which used in a very early version.
License: GNU General Public License v3.0
Demo codes for 🐼📖 which used in a very early version.
License: GNU General Public License v3.0
你好,我最近在学习小程序的时候,想用wepy+weui来做的。然后copy了您的代码中的styles目录,并且按照app.wpy中的方式来引用。
<style lang="less"> @import "./styles/weui/index.less"; @import "./styles/custom/index.less"; </style>
然后就出现了一个报错,提示找不到 @weuiColorPrimary、@uiColorRed 等几个颜色。我使用的是vs Code 这个工具。期待您的回复!
[Error] {"message":"variable @ceshiColor is undefined","type":"Name","filename":"input","index":23,"line":3,"column":12,"callLine":null,"extract":[" .ceshi{"," color: @ceshiColor;"," }"]}
首页搜索栏,点击后可以输入信息,但是无法收起。
优化过后的代码:
<input type="text" class="weui-search-bar__input" placeholder="{{placeholder}}" value="{{inputVal}}" focus="{{inputShowed}}" @blur="hideInput" @input="inputTyping" confirm-type="search" @confirm="search"/>
失去焦点的时候调方法 hideInput ,把 inputShowed 设置为fase。为了交互体验可以把键盘右下角的完成建换成 搜索,通过confirm时间去让用户点击键盘上的搜索按钮去操作
{ Error: Cannot find module 'less'
at Function.Module._resolveFilename (internal/modules/cjs/loader.js:581:15)
at Function.Module._load (internal/modules/cjs/loader.js:507:25)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object. (/Users/qiuyaofan/Documents/lianxi/weixin/wepy-demo-bookmall/node_modules/wepy-compiler-less/lib/index.js:20:13)
at Module._compile (internal/modules/cjs/loader.js:689:30)
at Object.Module._extensions..js (internal/modules/cjs/loader.js:700:10)
at Module.load (internal/modules/cjs/loader.js:599:32)
at tryModuleLoad (internal/modules/cjs/loader.js:538:12)
at Function.Module._load (internal/modules/cjs/loader.js:530:3)
at Module.require (internal/modules/cjs/loader.js:637:17)
at require (internal/modules/cjs/helpers.js:22:18)
at Object.load (/usr/local/lib/node_modules/wepy-cli/lib/loader.js:113:17)
at Object.loadCompiler (/usr/local/lib/node_modules/wepy-cli/lib/loader.js:69:29)
at /usr/local/lib/node_modules/wepy-cli/lib/compile-style.js:91:45
at Array.forEach () code: 'MODULE_NOT_FOUND' }
[WARNING] 找不到编译器:wepy-compiler-less。
[Error] 未发现相关 less 编译器配置,请检查wepy.config.js文件。
已关闭https验证,接口返回失败
你好,请问后端程序可以共享吗,或者说我如何才可以获取
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.