1.2.12 • Published 3 years ago

personal-center v1.2.12

Weekly downloads
220
License
MIT
Repository
github
Last release
3 years ago

item-tab-content

安装与使用

  1. 在小程序根目录(project.config.json中miniprogramRoot配置的目录)中依次执行
npm init
npm i item-tab-content -S --production
  1. 微信开发者工具,项目配置开启使用npm模块,并执行“工具-构建npm”
  2. 在小程序页面json文件中配置
"usingComponents": {
    "item-tab-content": "item-tab-content"
}
  1. 在小程序页面中使用组件
<item-tab-content />

配置参数

完整的配置项及默认值如下:

<item-tab-content 
    parametersUrl=""         // 接口全地址
    tabArr=""               // 列表数据
    seeNum=""                // 查看更多
    cityIndex=""             // 默认选中城市的index
    cityArray=""            // 城市数据
    fixedTop=""             // 城市top位置
    longitude=""            // 经度
    latitude=""             // 纬度
    user_id=""              // 用户id
    >
</item-tab-content>
...
data: {
    parametersUrl: String,
    tabArr: Array,
    seeNum: {
        type: Number,
        value: 3
    },
    cityIndex: {
        type: Number,
        value: 0
    },
    cityArray: {
        type: Array,
        value: ['厦门市']
    },
    fixedTop: String,
    longitude: String,
    latitude: String,
    user_id: Number
}
...
1.2.12

3 years ago

1.2.11

3 years ago

1.2.8

3 years ago

1.2.7

4 years ago

1.2.6

4 years ago

1.2.5

4 years ago

1.2.4

4 years ago

1.2.9

3 years ago

1.2.10

3 years ago

1.2.0

4 years ago

1.2.3

4 years ago

1.2.2

4 years ago

1.2.1

4 years ago

1.1.10

4 years ago

1.1.9

4 years ago

1.1.8

4 years ago

1.1.7

4 years ago

1.1.6

4 years ago

1.1.1

4 years ago

1.1.5

4 years ago

1.1.4

4 years ago

1.1.3

4 years ago

1.1.2

4 years ago

1.1.0

4 years ago

1.0.9

4 years ago

1.0.8

4 years ago

1.0.10

4 years ago

1.0.7

4 years ago

1.0.6

4 years ago

1.0.5

4 years ago

1.0.4

4 years ago

1.0.3

4 years ago

1.0.2

4 years ago

1.0.1

4 years ago

1.0.0

4 years ago