摘要: <el-checkbox-group v-model="form.labelIds" :max="3"> <el-checkbox v-for="(lab,index) in labelIds" :label="lab.id" :key="lab.id">{{lab.labelname}}</el- 阅读全文
posted @ 2020-12-02 14:40 心意如水hucuie22 阅读(175) 评论(0) 推荐(0) 编辑
摘要: json { "enablePullDownRefresh": true } var app = getApp(); Page({ data: { page: 1, //从第二页开始加载 page_size: 10, //每页加载十个 release: '', isShowLoadmore: fal 阅读全文
posted @ 2020-12-01 19:11 心意如水hucuie22 阅读(185) 评论(1) 推荐(0) 编辑
摘要: viewerjs插件截图 1、先安装依赖npm install v-viewer --save 2、main.js内引用并注册调用 //main.js import Viewer from 'v-viewer' import 'viewerjs/dist/viewer.css' Vue.use(Vi 阅读全文
posted @ 2020-10-15 17:02 心意如水hucuie22 阅读(536) 评论(0) 推荐(0) 编辑
摘要: accAdd(arg1, arg2) { var r1 = this.deal(arg1); var r2 = this.deal(arg2); var m = Math.pow(10, Math.max(r1, r2)) return (this.accMul(arg1, m) + this.ac 阅读全文
posted @ 2020-09-25 16:34 心意如水hucuie22 阅读(425) 评论(0) 推荐(0) 编辑
摘要: <view bindtap="bindIsDown" class="nav-Title" data-isdown="{{isDown}}" > <text class="nav-titles">2222</text> <image src="../../image/exam/{{isDown==0? 阅读全文
posted @ 2020-09-23 10:27 心意如水hucuie22 阅读(240) 评论(0) 推荐(0) 编辑
摘要: changeAvatar: function (e) { var _this = this wx.chooseImage({ count: 1,// 默认9 sizeType: ['original', 'compressed'],// 可以指定是原图还是压缩图,默认二者都有 sourceType: 阅读全文
posted @ 2020-09-23 09:19 心意如水hucuie22 阅读(290) 评论(0) 推荐(0) 编辑
摘要: { "S": [{ "id": 1, "name": "上海", "abbr": "SH", "area_code": "021", "sort": 1, "latitude": 31.23037, "longitude": 121.473701, "is_map": true, "pinyin": 阅读全文
posted @ 2020-09-18 15:09 心意如水hucuie22 阅读(2471) 评论(0) 推荐(0) 编辑
摘要: { "navTab": [{ "name": "综合排序", "icon": "caret-down" }, { "name": "距离最近", "condition": "distance" }, { "name": "品质联盟", "condition": "is_premium" }, { " 阅读全文
posted @ 2020-09-18 15:07 心意如水hucuie22 阅读(182) 评论(0) 推荐(0) 编辑
摘要: 1。新建index.vue。引入tarbar组件 <template> <div class="index"> <router-view></router-view> <TabBar :data="tabbarData"/> </div> </template> <script> import Ta 阅读全文
posted @ 2020-09-18 13:40 心意如水hucuie22 阅读(262) 评论(0) 推荐(0) 编辑
摘要: 1.登录成功后 .then(res => { // console.log(res); // 检验成功 设置登录状态并且跳转到/ localStorage.setItem("ele_login", true); this.$router.push("/"); } router.js里面 // 路由守 阅读全文
posted @ 2020-09-18 11:27 心意如水hucuie22 阅读(165) 评论(0) 推荐(0) 编辑