weui-design-vue icon indicating copy to clipboard operation
weui-design-vue copied to clipboard

请问uniapp可以使用这个UI框架进行微信小程序的开发吗?

Open TOP-LH opened this issue 4 years ago • 5 comments

如题所问

TOP-LH avatar Dec 21 '20 01:12 TOP-LH

能否和uview一样使用v-model呢

TOP-LH avatar Dec 21 '20 01:12 TOP-LH

暂不支持

llkui avatar Dec 21 '20 01:12 llkui

uniapp的h5端完全正常,但是当将WeuiVue的js文件引入时App端会出现如下报错 reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught TypeError: Cannot read property 'createElement' of undefined 我这边给您一个建议,请您将包含createElement的代码做条件判断包裹处理,比如说下面的内容

// #ifdef H5 要包裹的内容 // #endif

希望您能抽空看一下这个

censujiang avatar Feb 20 '22 08:02 censujiang

uniapp的h5端完全正常,但是当将WeuiVue的js文件引入时App端会出现如下报错 reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught TypeError: Cannot read property 'createElement' of undefined 我这边给您一个建议,请您将包含createElement的代码做条件判断包裹处理,比如说下面的内容

// #ifdef H5 要包裹的内容 // #endif

希望您能抽空看一下这个

谢谢您的回复. 不过我感觉uni-ui也很好看, 我准备下一个小程序准备使用uni-ui开发, 您使用过uni-ui吗, 感觉如何呢?

TOP-LH avatar Feb 21 '22 01:02 TOP-LH

uniapp的h5端完全正常,但是当将WeuiVue的js文件引入时App端会出现如下报错 reportJSException >>>> exception function:createInstanceContext, exception:white screen cause create instanceContext failed,check js stack ->Uncaught TypeError: Cannot read property 'createElement' of undefined 我这边给您一个建议,请您将包含createElement的代码做条件判断包裹处理,比如说下面的内容 // #ifdef H5 要包裹的内容 // #endif 希望您能抽空看一下这个

谢谢您的回复. 不过我感觉uni-ui也很好看, 我准备下一个小程序准备使用uni-ui开发, 您使用过uni-ui吗, 感觉如何呢?

uView UI用过,个人不太喜欢uni-ui,主要还是审美上的差异

censujiang avatar Feb 21 '22 05:02 censujiang