Giter VIP home page Giter VIP logo

waimai-uniapp's Introduction

美团饿了么外卖优惠券小程序

写在前言

小程序本身很简单,具体原理就是个跳转。可以根据同名公众号里的文章实现。

介于加我的人咨询的比较多,啥奇怪的,问题都有,所以:

1、参考公众号里的文章,https://mp.weixin.qq.com/s/JHDWqBvntD0-p-dXEntSQQ

2、如果对具体的某个链接获取有疑惑请加知识星球,1对1,回答任何问题

img

3、实现不行,可以700全套源码,额外200包安装上线。

采用手动后台管理模式来显示优惠券

所以只要请求一个管理后台列表 或者 把pages/index/index 的project写死即可。

安装配置

接口请求地址:

  • common/authorize.js 第1行的baseUrl基础请求地址,第75行左右的登录请求路经
  • common/service.js 第13行左右config.baseUrl的全局l基础请求地址

应用相关配置:

Vue.prototype.wechatAppId = "12313" Vue.prototype.templateId = "发送消息的模板" Vue.prototype.shareImage = "分享预览图" Vue.prototype.contactImage = "用户联系方式地址" Vue.prototype.raiseImage="赞赏码地址"

线上demo
联系作者

如有疑问请联系 phpcoder666, 或者关注《一只码》查阅文章获取小程序跳转链接

waimai-uniapp's People

Contributors

leixiaokou avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.