Socket
Socket
Sign inDemoInstall

work-guide-app

Package Overview
Dependencies
0
Maintainers
1
Versions
23
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    work-guide-app

work-guide-app,是一个基于uniapp的办事指南-评价中台


Version published
Weekly downloads
1
decreased by-95.65%
Maintainers
1
Install size
80.2 kB
Created
Weekly downloads
 

Readme

Source

work-guide-app

基于uniapp的办事指南-服务评价

关于scss

work-guide-app依赖SCSS,您必须要安装此插件,否则无法正常运行。

    // 安装node-sass
    npm i node-sass -D
    
    // 安装sass-loader
    npm i sass-loader -D

npm安装
    npm install work-guide-app
配置easycom组件模式
    // pages.json
    {
        "easycom": {
	    "autoscan": true,
            "custom": {
                "^s-(.*)": "work-guide-app/lib/s-$1/s-$1.vue"
            }
        },
        
        // 此为本身已有的内容
        "pages": [
            // ......
        ]
    }
使用示例
<s-evaluation
        :evaluate-img="require('../../static/edit.png')"
        :my-img="require('../../static/tag-myself.png')"
        :anonymity-img="require('../../static/anonymity.png')"
        :ttf="require('../../static/uniicons.ttf')"
        ref="sEvaRef"
        :title="title"
        scrollHeight="400"
        @evaluateTo="evaluateTo">
    </s-evaluation>
props
参数说明默认类型
title当前需要评价服务的title''String
url当前需要评价服务的url''String
height评价组件的高度500String Number
evaluate-img我要评价的图片''String
my-img自己的图片''String
anonymity-img匿名头像''String
Events
参数说明参数
evaluateTo点击我要评价事件跳转的url
Methods
参数说明参数
init初始化方法,当token,code,baseUrl获取完成,调用此方法code, token, baseUrl

Keywords

FAQs

Last updated on 09 May 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc