摘要:
<script> export default { data() { return { //搜索关键字 adressKeywords:'', coordinatesValue: { longitude: '', //经度 latitude: '', //纬度 } }; }, methods: { g 阅读全文
摘要:
DateDifference (startDate,endDate) { var startDateStamp =new Date(startDate).getTime(); var endDateStamp = new Date(endDate).getTime(); var usedTime = 阅读全文
摘要:
解决方案:使用兼容性更好的语法,将options属性改为right-options & left-options <uni-swipe-action> <block v-for="(goods, i) in cart" :key="i"> <uni-swipe-action-item :right- 阅读全文
摘要:
1. 在HBuilder X 编辑器中找到对应的第三方组件的 .vue 文件 HBuilder X (3.2.9) 中uni-number-box组件存放在如下路径中: uni_modules/uni-number-box/components/uni-number-box/uni-number-b 阅读全文
摘要:
由于目前使用的HBuilderX的版本(3.2.9)会在pages.json进行相关配置时自动生成两条页面配置样式:{ "navigationBarTitleText": "","enablePullDownRefresh": false}, 其中navigationBarTitleText默认为空 阅读全文
摘要:
在Vue 3项目中使用 Vant UI中vant-popup 弹出层功能时,需要将 v-model="show" 更改为 v-model:show= "show"(Vue 3 语法) : <van-popup v-model:show="show" closeable close-icon="clo 阅读全文
摘要:
module.exports = { plugins: { // 'autoprefixer': { // browsers: ['Android >= 4.0', 'iOS >= 8'] // }, 'postcss-pxtorem': { rootValue({file}) { // 判断是否为 阅读全文