09 2020 档案

摘要:tsx: import React, { useState } from 'react' import Taro, { getCurrentInstance } from '@tarojs/taro' import { Textarea, View, Text, Image } from '@tar 阅读全文
posted @ 2020-09-29 16:16 Nyan 阅读(795) 评论(0) 推荐(0) 编辑
摘要:分页参数: export interface IPage { currentPage: number totalCount: number totalPage: number } export const INIT_PAGE: IPage = { currentPage: 1, totalCount 阅读全文
posted @ 2020-09-29 10:17 Nyan 阅读(923) 评论(0) 推荐(0) 编辑
摘要:子组件sandCommon: import React, { useEffect, useState } from 'react' import Taro from '@tarojs/taro' import { View, MovableArea, MovableView, Image, Text 阅读全文
posted @ 2020-09-28 11:55 Nyan 阅读(900) 评论(0) 推荐(0) 编辑
摘要:准备数据: interface ISandState { value: string text: string checked: boolean } const INIT_SAND_STATE: ISandState[] = [ { value: '1', text: '在售', checked: 阅读全文
posted @ 2020-09-25 09:41 Nyan 阅读(855) 评论(0) 推荐(0) 编辑
摘要:tsx: import React, { useEffect, useState } from 'react' import Taro from '@tarojs/taro' import { View, ScrollView } from '@tarojs/components' import a 阅读全文
posted @ 2020-09-24 18:08 Nyan 阅读(528) 评论(0) 推荐(0) 编辑
摘要:数据: [ { "description": "gethouseData", "request": { "method": "GET", "uri": "/api/house/surround", "queries": { "type": "交通" } }, "response": { "statu 阅读全文
posted @ 2020-09-22 16:34 Nyan 阅读(677) 评论(0) 推荐(0) 编辑
摘要:tsx: import React, { Component } from 'react' import Taro from '@tarojs/taro' import { View, Text, ScrollView } from '@tarojs/components' import class 阅读全文
posted @ 2020-09-21 11:21 Nyan 阅读(1765) 评论(1) 推荐(0) 编辑
摘要:显示第一个,其他隐藏: $('.newhouse-content').delegate('.activity-more', 'click', function () { //.activity-more多个,不使用each->click实现 let $listItem = $(this).paren 阅读全文
posted @ 2020-09-18 14:56 Nyan 阅读(227) 评论(0) 推荐(0) 编辑
摘要:tsx: <ScrollView className="album-tabs" scrollX> <View className="tab-item actived"> <Text>效果图</Text> </View> <View className="tab-item"> <Text>样板图</T 阅读全文
posted @ 2020-09-18 10:09 Nyan 阅读(775) 评论(0) 推荐(0) 编辑
摘要:分包使用tabar,tabar定义的页面不能分包: pages: [ 'pages/index/index', 'pages/user/login/phone/index', 'pages/chat/index', 'pages/search/index', 'pages/user/index' ] 阅读全文
posted @ 2020-09-17 10:15 Nyan 阅读(1798) 评论(0) 推荐(0) 编辑
摘要:查询组件: import React, { useState, useEffect } from 'react' import Taro from '@tarojs/taro' import classnames from 'classnames' import { map, includes } 阅读全文
posted @ 2020-09-16 15:55 Nyan 阅读(375) 评论(0) 推荐(0) 编辑
摘要:tsx: import React, { useEffect, useState } from 'react' import { View, Text, ScrollView, Image } from '@tarojs/components' import classnames from 'cla 阅读全文
posted @ 2020-09-14 16:45 Nyan 阅读(219) 评论(0) 推荐(0) 编辑
摘要:html: <div class="filter-content filter-content-border" id="bubbleFilter"> <div class="filter-item clearfix"> <label class="filter-label">区域:</label> 阅读全文
posted @ 2020-09-01 15:48 Nyan 阅读(351) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示