# Uniapp-send-active **Repository Path**: zhao-jingtao-l/uniapp-send-active ## Basic Information - **Project Name**: Uniapp-send-active - **Description**: 基于 Uniapp微信小程序 的发布活动 用户发布活动 进行参与的项目开发 - **Primary Language**: Unknown - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2023-02-03 - **Last Updated**: 2024-03-20 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 基于 Uniapp 的微信小程序 发布活动的项目运行流程 ### 一、使用 vant 组件库 + 微信官方API 开发文档编写 ```shell # 通过 npm 安装 $npm i @vant/weapp -S --production # 通过 yarn 安装 $yarn add @vant/weapp --production # 安装 0.x 版本 $npm i vant-weapp -S --production ``` ### 修改 project.config.json ```js { ... "setting": { ... "packNpmManually": true, "packNpmRelationList": [ { "packageJsonPath": "./package.json", "miniprogramNpmDistDir": "./miniprogram/" } ] } } ``` ### 二、 使用 less ```js // 在 project.config.json 中配置 "useCompilerPlugins": [ "less" ], ``` ### 三、时间戳转为时间类型的工具 ```shell // 使用moment包 $npm install moment ```