├── static ├── img │ ├── 1.png │ ├── 2.png │ ├── 3.png │ ├── bg.png │ ├── bg1.png │ ├── bg2.png │ ├── ewm.jpg │ ├── pwd.png │ ├── qq.png │ ├── qq2.png │ ├── sj.png │ ├── wb.png │ ├── wx.png │ ├── wx2.png │ ├── yz.png │ ├── 菜篮子.jpg │ ├── 菜篮子.png │ ├── banner.png │ ├── caidai.png │ ├── circle.png │ ├── head.png │ ├── logo.png │ ├── shar.png │ ├── user.png │ ├── weact.png │ ├── jifenimg.png │ ├── xiaolian.png │ └── youhuiquan.png ├── my │ ├── l1.png │ ├── l2.png │ ├── l3.png │ ├── l4.png │ ├── l5.png │ ├── to.png │ ├── face.jpeg │ ├── setting.png │ └── sever │ │ ├── 01-购物车.png │ │ ├── addr.png │ │ ├── bank.png │ │ ├── kefu.png │ │ ├── mingxi.png │ │ ├── momey.png │ │ ├── point.png │ │ ├── renw.png │ │ ├── gouwuche.png │ │ ├── security.png │ │ └── choujiang.png ├── fonts │ ├── iconfont-weapp │ │ └── icon │ │ │ ├── icon.json │ │ │ ├── icon.wxml │ │ │ └── icon.js │ ├── iconfont.eot │ ├── iconfont.ttf │ ├── iconfont.woff │ ├── iconfont.woff2 │ ├── iconfont.json │ └── iconfont.css ├── tabs │ ├── 主题.png │ ├── 会话.png │ ├── 头像.png │ ├── 我的.png │ ├── 标志.png │ ├── 背景.jpg │ ├── 背景.png │ ├── 菜谱.png │ ├── 蛋糕.png │ ├── 视频.png │ ├── 二维码.png │ ├── 小笼包.png │ ├── 番茄锅.png │ ├── 蔬菜沙拉.png │ ├── 默认头像.jpg │ ├── 主题_active.png │ ├── 会话_active.png │ ├── 我的_active.png │ ├── 菜谱_active.png │ └── 视频_active.png └── images │ ├── qq.png │ ├── xz.jpg │ ├── copy.png │ ├── weixin.png │ └── pengyouquan.png ├── main.js ├── utils ├── defaultimg.js ├── request-xuchen.js └── request.js ├── App.vue ├── components ├── uni │ ├── uni-popup │ │ ├── popup.js │ │ ├── message.js │ │ ├── uni-popup-message.vue │ │ ├── uni-popup-share.vue │ │ └── uni-popup-dialog.vue │ ├── uni-status-bar │ │ └── uni-status-bar.vue │ ├── uni-swipe-action │ │ └── uni-swipe-action.vue │ ├── uni-collapse │ │ └── uni-collapse.vue │ ├── uni-list │ │ ├── uni-refresh.vue │ │ ├── uni-list.vue │ │ └── uni-refresh.wxs │ ├── uni-link │ │ └── uni-link.vue │ ├── uni-swipe-action-item │ │ ├── mpwxs.js │ │ ├── mpalipay.js │ │ └── mpother.js │ ├── uni-section │ │ └── uni-section.vue │ ├── uni-grid-item │ │ ├── uni-grid-item.vue │ │ └── uni-grid-item copy.vue │ ├── uni-grid │ │ └── uni-grid.vue │ ├── uni-badge │ │ └── uni-badge.vue │ ├── uni-fav │ │ └── uni-fav.vue │ ├── uni-indexed-list │ │ └── uni-indexed-list-item.vue │ ├── uni-icons │ │ └── icons.js │ ├── uni-title │ │ └── uni-title.vue │ ├── uni-segmented-control │ │ └── uni-segmented-control.vue │ ├── uni-rate │ │ └── uni-rate.vue │ ├── uni-drawer │ │ └── uni-drawer.vue │ ├── uni-calendar │ │ └── uni-calendar-item.vue │ ├── uni-number-box │ │ └── uni-number-box.vue │ ├── uni-combox │ │ └── uni-combox.vue │ ├── uni-pagination │ │ └── uni-pagination.vue │ ├── uni-tag │ │ └── uni-tag.vue │ ├── uni-search-bar │ │ └── uni-search-bar.vue │ ├── uni-goods-nav │ │ └── uni-goods-nav.vue │ └── uni-countdown │ │ └── uni-countdown.vue ├── m-icon │ └── m-icon.vue ├── foodlist │ └── foodlist.vue ├── aloys │ └── aloys-tab.vue ├── tab │ └── tab2.vue ├── m-input.vue ├── postbars │ └── postBars-xuchen.vue ├── elite │ └── elite.vue └── share-btn │ └── share-btn.vue ├── service.js ├── pages ├── user │ └── user.vue ├── zaoju │ └── zaoju.vue ├── theme │ └── theme.vue ├── collect │ └── collect.vue ├── cart │ └── cart.vue ├── videoDetail │ └── videoDetail.vue ├── video │ └── video.vue ├── lottery │ └── lottery.vue ├── search │ └── search.vue ├── index │ └── index.vue └── register │ └── register.vue ├── index.html ├── store └── index.js ├── project.config.json ├── uni.scss ├── pages.json └── manifest.json /static/img/1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/img/1.png -------------------------------------------------------------------------------- /static/img/2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/img/2.png -------------------------------------------------------------------------------- /static/img/3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/img/3.png -------------------------------------------------------------------------------- /static/my/l1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/my/l1.png -------------------------------------------------------------------------------- /static/my/l2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/my/l2.png -------------------------------------------------------------------------------- /static/my/l3.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/my/l3.png -------------------------------------------------------------------------------- /static/my/l4.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/my/l4.png -------------------------------------------------------------------------------- /static/my/l5.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/my/l5.png -------------------------------------------------------------------------------- /static/my/to.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/my/to.png -------------------------------------------------------------------------------- /static/fonts/iconfont-weapp/icon/icon.json: -------------------------------------------------------------------------------- 1 | 2 | { 3 | "component": true 4 | } 5 | -------------------------------------------------------------------------------- /static/img/bg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/img/bg.png -------------------------------------------------------------------------------- /static/img/bg1.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/img/bg1.png -------------------------------------------------------------------------------- /static/img/bg2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/img/bg2.png -------------------------------------------------------------------------------- /static/img/ewm.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/img/ewm.jpg -------------------------------------------------------------------------------- /static/img/pwd.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/img/pwd.png -------------------------------------------------------------------------------- /static/img/qq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/img/qq.png -------------------------------------------------------------------------------- /static/img/qq2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/img/qq2.png -------------------------------------------------------------------------------- /static/img/sj.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/img/sj.png -------------------------------------------------------------------------------- /static/img/wb.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/img/wb.png -------------------------------------------------------------------------------- /static/img/wx.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/img/wx.png -------------------------------------------------------------------------------- /static/img/wx2.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/img/wx2.png -------------------------------------------------------------------------------- /static/img/yz.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/img/yz.png -------------------------------------------------------------------------------- /static/img/菜篮子.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/img/菜篮子.jpg -------------------------------------------------------------------------------- /static/img/菜篮子.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/img/菜篮子.png -------------------------------------------------------------------------------- /static/tabs/主题.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/tabs/主题.png -------------------------------------------------------------------------------- /static/tabs/会话.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/tabs/会话.png -------------------------------------------------------------------------------- /static/tabs/头像.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/tabs/头像.png -------------------------------------------------------------------------------- /static/tabs/我的.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/tabs/我的.png -------------------------------------------------------------------------------- /static/tabs/标志.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/tabs/标志.png -------------------------------------------------------------------------------- /static/tabs/背景.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/tabs/背景.jpg -------------------------------------------------------------------------------- /static/tabs/背景.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/tabs/背景.png -------------------------------------------------------------------------------- /static/tabs/菜谱.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/tabs/菜谱.png -------------------------------------------------------------------------------- /static/tabs/蛋糕.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/tabs/蛋糕.png -------------------------------------------------------------------------------- /static/tabs/视频.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/tabs/视频.png -------------------------------------------------------------------------------- /static/images/qq.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/images/qq.png -------------------------------------------------------------------------------- /static/images/xz.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/images/xz.jpg -------------------------------------------------------------------------------- /static/img/banner.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/img/banner.png -------------------------------------------------------------------------------- /static/img/caidai.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/img/caidai.png -------------------------------------------------------------------------------- /static/img/circle.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/img/circle.png -------------------------------------------------------------------------------- /static/img/head.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/img/head.png -------------------------------------------------------------------------------- /static/img/logo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/img/logo.png -------------------------------------------------------------------------------- /static/img/shar.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/img/shar.png -------------------------------------------------------------------------------- /static/img/user.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/img/user.png -------------------------------------------------------------------------------- /static/img/weact.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/img/weact.png -------------------------------------------------------------------------------- /static/my/face.jpeg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/my/face.jpeg -------------------------------------------------------------------------------- /static/my/setting.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/my/setting.png -------------------------------------------------------------------------------- /static/tabs/二维码.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/tabs/二维码.png -------------------------------------------------------------------------------- /static/tabs/小笼包.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/tabs/小笼包.png -------------------------------------------------------------------------------- /static/tabs/番茄锅.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/tabs/番茄锅.png -------------------------------------------------------------------------------- /static/tabs/蔬菜沙拉.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/tabs/蔬菜沙拉.png -------------------------------------------------------------------------------- /static/tabs/默认头像.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/tabs/默认头像.jpg -------------------------------------------------------------------------------- /static/images/copy.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/images/copy.png -------------------------------------------------------------------------------- /static/img/jifenimg.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/img/jifenimg.png -------------------------------------------------------------------------------- /static/img/xiaolian.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/img/xiaolian.png -------------------------------------------------------------------------------- /static/fonts/iconfont.eot: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/fonts/iconfont.eot -------------------------------------------------------------------------------- /static/fonts/iconfont.ttf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/fonts/iconfont.ttf -------------------------------------------------------------------------------- /static/fonts/iconfont.woff: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/fonts/iconfont.woff -------------------------------------------------------------------------------- /static/images/weixin.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/images/weixin.png -------------------------------------------------------------------------------- /static/img/youhuiquan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/img/youhuiquan.png -------------------------------------------------------------------------------- /static/my/sever/01-购物车.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/my/sever/01-购物车.png -------------------------------------------------------------------------------- /static/my/sever/addr.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/my/sever/addr.png -------------------------------------------------------------------------------- /static/my/sever/bank.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/my/sever/bank.png -------------------------------------------------------------------------------- /static/my/sever/kefu.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/my/sever/kefu.png -------------------------------------------------------------------------------- /static/my/sever/mingxi.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/my/sever/mingxi.png -------------------------------------------------------------------------------- /static/my/sever/momey.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/my/sever/momey.png -------------------------------------------------------------------------------- /static/my/sever/point.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/my/sever/point.png -------------------------------------------------------------------------------- /static/my/sever/renw.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/my/sever/renw.png -------------------------------------------------------------------------------- /static/tabs/主题_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/tabs/主题_active.png -------------------------------------------------------------------------------- /static/tabs/会话_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/tabs/会话_active.png -------------------------------------------------------------------------------- /static/tabs/我的_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/tabs/我的_active.png -------------------------------------------------------------------------------- /static/tabs/菜谱_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/tabs/菜谱_active.png -------------------------------------------------------------------------------- /static/tabs/视频_active.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/tabs/视频_active.png -------------------------------------------------------------------------------- /static/fonts/iconfont.woff2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/fonts/iconfont.woff2 -------------------------------------------------------------------------------- /static/my/sever/gouwuche.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/my/sever/gouwuche.png -------------------------------------------------------------------------------- /static/my/sever/security.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/my/sever/security.png -------------------------------------------------------------------------------- /static/images/pengyouquan.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/images/pengyouquan.png -------------------------------------------------------------------------------- /static/my/sever/choujiang.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/qingqingsu/food/HEAD/static/my/sever/choujiang.png -------------------------------------------------------------------------------- /static/fonts/iconfont-weapp/icon/icon.wxml: -------------------------------------------------------------------------------- 1 | 2 | 3 | -------------------------------------------------------------------------------- /main.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import App from './App' 3 | import store from './store' 4 | import '@/static/fonts/iconfont.css' 5 | Vue.config.productionTip = false 6 | Vue.prototype.$store = store 7 | App.mpType = 'app' 8 | 9 | const app = new Vue({ 10 | store, 11 | ...App 12 | }) 13 | app.$mount() 14 | -------------------------------------------------------------------------------- /static/fonts/iconfont-weapp/icon/icon.js: -------------------------------------------------------------------------------- 1 | 2 | Component({ 3 | externalClasses: ['custom-class'], 4 | properties: { 5 | icon: { 6 | type: String, 7 | value: '', 8 | }, 9 | size: { 10 | type: Number, 11 | value: 32, 12 | }, 13 | }, 14 | }) 15 | -------------------------------------------------------------------------------- /utils/defaultimg.js: -------------------------------------------------------------------------------- 1 | /* 图片加载失败处理 2 | that 图片绑定字段所属对象 3 | dat 图片绑定字段 4 | */ 5 | import avatar from '../static/tabs/默认头像.jpg' 6 | export const imgErr=(dataArray, index)=>{ 7 | console.log("图片加载失败,载入本地默认图片"); 8 | console.log(dataArray[index].avatar); 9 | dataArray[index].avatar =avatar; 10 | console.log(dataArray[index].avatar); 11 | 12 | } 13 | -------------------------------------------------------------------------------- /App.vue: -------------------------------------------------------------------------------- 1 | 15 | 16 | 24 | -------------------------------------------------------------------------------- /components/uni/uni-popup/popup.js: -------------------------------------------------------------------------------- 1 | import message from './message.js'; 2 | // 定义 type 类型:弹出类型:top/bottom/center 3 | const config = { 4 | // 顶部弹出 5 | top:'top', 6 | // 底部弹出 7 | bottom:'bottom', 8 | // 居中弹出 9 | center:'center', 10 | // 消息提示 11 | message:'top', 12 | // 对话框 13 | dialog:'center', 14 | // 分享 15 | share:'bottom', 16 | } 17 | 18 | export default { 19 | data(){ 20 | return { 21 | config:config 22 | } 23 | }, 24 | mixins: [message], 25 | } 26 | -------------------------------------------------------------------------------- /utils/request-xuchen.js: -------------------------------------------------------------------------------- 1 | const baseUrl = "https://api5.meishichina.com" 2 | 3 | export function myRequestGet(url, data) { 4 | return new Promise((resolve, reject) => { 5 | uni.request({ 6 | //#ifdef H5 7 | url: url, 8 | //#endif 9 | 10 | //#ifdef MP-WEIXIN | MP-ALIPAY 11 | url: baseUrl + url, 12 | //#endif 13 | method: "GET", 14 | data: data, 15 | success: function(res) { 16 | resolve(res.data) 17 | }, 18 | fail: function(err) { 19 | reject(err) 20 | } 21 | }) 22 | }) 23 | } 24 | 25 | 26 | 27 | -------------------------------------------------------------------------------- /components/uni/uni-status-bar/uni-status-bar.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 18 | 19 | -------------------------------------------------------------------------------- /components/uni/uni-popup/message.js: -------------------------------------------------------------------------------- 1 | export default { 2 | created() { 3 | if (this.type === 'message') { 4 | // 获取自组件对象 5 | this.maskShow = false 6 | this.children = null 7 | } 8 | }, 9 | created() { 10 | if (this.type === 'message') { 11 | // 不显示遮罩 12 | this.maskShow = false 13 | // 获取子组件对象 14 | this.childrenMsg = null 15 | } 16 | }, 17 | methods: { 18 | customOpen() { 19 | if (this.childrenMsg) { 20 | this.childrenMsg.open() 21 | } 22 | }, 23 | customClose() { 24 | if (this.childrenMsg) { 25 | this.childrenMsg.close() 26 | } 27 | } 28 | } 29 | } 30 | -------------------------------------------------------------------------------- /service.js: -------------------------------------------------------------------------------- 1 | // 管理账号信息 2 | const USERS_KEY = 'USERS_KEY'; 3 | const STATE_KEY = 'STATE_KEY'; 4 | 5 | const getUsers = function () { 6 | let ret = ''; 7 | ret = uni.getStorageSync(USERS_KEY); 8 | if (!ret) { 9 | ret = '[]'; 10 | } 11 | return JSON.parse(ret); 12 | } 13 | 14 | const addUser = function (userInfo) { 15 | let users = getUsers(); 16 | users.push({ 17 | account: userInfo.account, 18 | password: userInfo.password 19 | }); 20 | uni.setStorageSync(USERS_KEY, JSON.stringify(users)); 21 | } 22 | 23 | export default { 24 | getUsers, 25 | addUser 26 | } 27 | -------------------------------------------------------------------------------- /components/m-icon/m-icon.vue: -------------------------------------------------------------------------------- 1 | 4 | 5 | 38 | 39 | 42 | -------------------------------------------------------------------------------- /static/fonts/iconfont.json: -------------------------------------------------------------------------------- 1 | { 2 | "id": "2259424", 3 | "name": "小程序", 4 | "font_family": "iconfont", 5 | "css_prefix_text": "icon-", 6 | "description": "", 7 | "glyphs": [ 8 | { 9 | "icon_id": "5184171", 10 | "name": "小笼包", 11 | "font_class": "xiaolongbao", 12 | "unicode": "e697", 13 | "unicode_decimal": 59031 14 | }, 15 | { 16 | "icon_id": "5192745", 17 | "name": "微波炉", 18 | "font_class": "weibolu", 19 | "unicode": "e636", 20 | "unicode_decimal": 58934 21 | }, 22 | { 23 | "icon_id": "5733272", 24 | "name": "锅贴", 25 | "font_class": "guotiex", 26 | "unicode": "e62a", 27 | "unicode_decimal": 58922 28 | }, 29 | { 30 | "icon_id": "12924311", 31 | "name": "碗", 32 | "font_class": "wan", 33 | "unicode": "e621", 34 | "unicode_decimal": 58913 35 | } 36 | ] 37 | } 38 | -------------------------------------------------------------------------------- /utils/request.js: -------------------------------------------------------------------------------- 1 | const baseUrl = "https://api.myroki.com" 2 | 3 | export function myRequestGet(url, data) { 4 | return new Promise((resolve, reject) => { 5 | uni.request({ 6 | url: baseUrl + url, 7 | method: "GET", 8 | data: data, 9 | success: function(res) { 10 | resolve(res.data) 11 | }, 12 | fail: function(err) { 13 | reject(err) 14 | } 15 | }) 16 | }) 17 | } 18 | 19 | 20 | export function myRequestPost(url, data) { 21 | return new Promise((resolve, reject) => { 22 | uni.request({ 23 | //#ifdef H5 24 | url: url, 25 | //#endif 26 | //#ifdef MP-WEIXIN | MP-ALIPAY 27 | url: baseUrl + url, 28 | //#endif 29 | header: { 30 | 'Content-Type': 'application/json' 31 | }, 32 | method: "POST", 33 | data: data, 34 | success: function(res) { 35 | resolve(res.data) 36 | }, 37 | fail: function(err) { 38 | reject(err) 39 | } 40 | }) 41 | }) 42 | } 43 | -------------------------------------------------------------------------------- /pages/user/user.vue: -------------------------------------------------------------------------------- 1 | 9 | 10 | 41 | 42 | 45 | -------------------------------------------------------------------------------- /components/uni/uni-swipe-action/uni-swipe-action.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 55 | 56 | -------------------------------------------------------------------------------- /components/uni/uni-collapse/uni-collapse.vue: -------------------------------------------------------------------------------- 1 | 6 | 47 | -------------------------------------------------------------------------------- /index.html: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | ROKI 9 | 10 | 11 | 21 | 22 | 23 | 24 | 25 | 28 |
29 | 30 | 31 | 32 | 33 | 44 | -------------------------------------------------------------------------------- /components/uni/uni-list/uni-refresh.vue: -------------------------------------------------------------------------------- 1 | 13 | 14 | 59 | 60 | -------------------------------------------------------------------------------- /components/foodlist/foodlist.vue: -------------------------------------------------------------------------------- 1 | 18 | 19 | 41 | 42 | 70 | -------------------------------------------------------------------------------- /pages/zaoju/zaoju.vue: -------------------------------------------------------------------------------- 1 | 9 | 10 | 64 | 65 | -------------------------------------------------------------------------------- /components/uni/uni-list/uni-list.vue: -------------------------------------------------------------------------------- 1 | 13 | 14 | 52 | -------------------------------------------------------------------------------- /store/index.js: -------------------------------------------------------------------------------- 1 | import Vue from 'vue' 2 | import Vuex from 'vuex' 3 | Vue.use(Vuex) 4 | const store = new Vuex.Store({ 5 | state: { 6 | carts: uni.getStorageSync('carts') || [], 7 | menus: uni.getStorageSync("menus") || [], 8 | forceLogin: false, 9 | hasLogin: false, 10 | userName: "" 11 | }, 12 | mutations: { 13 | addToCarts(state, good) { 14 | var currentGood = state.carts.find(item => { 15 | if (item.name == good.name) { 16 | return item; 17 | } 18 | }) 19 | if (currentGood) { 20 | if (currentGood.name) { 21 | uni.showToast({ 22 | title: '添加过了' 23 | }) 24 | } 25 | } else { 26 | state.carts.push(good) 27 | console.log("99999999999", state.carts) 28 | } 29 | uni.setStorageSync('carts', state.carts) 30 | }, 31 | addToMenus(state, menus) { 32 | var isexist = false; 33 | state.menus.forEach(item => { 34 | if (item.id == menus.id) { 35 | isexist = true 36 | var i = state.menus.indexOf(item) 37 | console.log(item.id, state.menus, i, "hhhhhhhhh"); 38 | state.menus.splice(i, 1) 39 | } 40 | }) 41 | if (isexist == false) { 42 | state.menus.push(menus) 43 | menus.num++; 44 | } 45 | console.log("menu", state.menus) 46 | uni.setStorageSync("menus", state.menus) 47 | }, 48 | login(state, userName) { 49 | state.userName = userName || '新用户'; 50 | state.hasLogin = true; 51 | console.log("login" + JSON.stringify(state)) 52 | }, 53 | loginout(state) { 54 | state.userName = ''; 55 | state.hasLogin = false; 56 | console.log("loginout" + JSON.stringify(state)) 57 | } 58 | }, 59 | actions: {} 60 | }) 61 | export default store 62 | -------------------------------------------------------------------------------- /pages/theme/theme.vue: -------------------------------------------------------------------------------- 1 | 13 | 14 | 44 | 45 | 80 | -------------------------------------------------------------------------------- /pages/collect/collect.vue: -------------------------------------------------------------------------------- 1 | 20 | 21 | 47 | 48 | 81 | -------------------------------------------------------------------------------- /project.config.json: -------------------------------------------------------------------------------- 1 | { 2 | "description": "项目配置文件", 3 | "packOptions": { 4 | "ignore": [] 5 | }, 6 | "setting": { 7 | "urlCheck": true, 8 | "es6": true, 9 | "enhance": false, 10 | "postcss": true, 11 | "preloadBackgroundData": false, 12 | "minified": true, 13 | "newFeature": false, 14 | "coverView": true, 15 | "nodeModules": false, 16 | "autoAudits": false, 17 | "showShadowRootInWxmlPanel": true, 18 | "scopeDataCheck": false, 19 | "uglifyFileName": false, 20 | "checkInvalidKey": true, 21 | "checkSiteMap": true, 22 | "uploadWithSourceMap": true, 23 | "compileHotReLoad": false, 24 | "useMultiFrameRuntime": false, 25 | "useApiHook": true, 26 | "babelSetting": { 27 | "ignore": [], 28 | "disablePlugins": [], 29 | "outputPath": "" 30 | }, 31 | "enableEngineNative": false, 32 | "bundle": false, 33 | "useIsolateContext": true, 34 | "useCompilerModule": true, 35 | "userConfirmedUseCompilerModuleSwitch": false, 36 | "userConfirmedBundleSwitch": false, 37 | "packNpmManually": false, 38 | "packNpmRelationList": [], 39 | "minifyWXSS": true 40 | }, 41 | "compileType": "miniprogram", 42 | "libVersion": "2.14.1", 43 | "appid": "wx0e9bc513b11bd0b8", 44 | "projectname": "miniprogram-1", 45 | "debugOptions": { 46 | "hidedInDevtools": [] 47 | }, 48 | "scripts": {}, 49 | "isGameTourist": false, 50 | "simulatorType": "wechat", 51 | "simulatorPluginLibVersion": {}, 52 | "condition": { 53 | "search": { 54 | "list": [] 55 | }, 56 | "conversation": { 57 | "list": [] 58 | }, 59 | "game": { 60 | "list": [] 61 | }, 62 | "plugin": { 63 | "list": [] 64 | }, 65 | "gamePlugin": { 66 | "list": [] 67 | }, 68 | "miniprogram": { 69 | "list": [] 70 | } 71 | } 72 | } -------------------------------------------------------------------------------- /components/uni/uni-link/uni-link.vue: -------------------------------------------------------------------------------- 1 | 4 | 5 | 67 | 68 | -------------------------------------------------------------------------------- /uni.scss: -------------------------------------------------------------------------------- 1 | /** 2 | * 这里是uni-app内置的常用样式变量 3 | * 4 | * uni-app 官方扩展插件及插件市场(https://ext.dcloud.net.cn)上很多三方插件均使用了这些样式变量 5 | * 如果你是插件开发者,建议你使用scss预处理,并在插件代码中直接使用这些变量(无需 import 这个文件),方便用户通过搭积木的方式开发整体风格一致的App 6 | * 7 | */ 8 | 9 | /** 10 | * 如果你是App开发者(插件使用者),你可以通过修改这些变量来定制自己的插件主题,实现自定义主题功能 11 | * 12 | * 如果你的项目同样使用了scss预处理,你也可以直接在你的 scss 代码中使用如下变量,同时无需 import 这个文件 13 | */ 14 | 15 | /* 颜色变量 */ 16 | 17 | /* 行为相关颜色 */ 18 | $uni-color-primary: #007aff; 19 | $uni-color-success: #4cd964; 20 | $uni-color-warning: #f0ad4e; 21 | $uni-color-error: #dd524d; 22 | 23 | /* 文字基本颜色 */ 24 | $uni-text-color:#333;//基本色 25 | $uni-text-color-inverse:#fff;//反色 26 | $uni-text-color-grey:#999;//辅助灰色,如加载更多的提示信息 27 | $uni-text-color-placeholder: #808080; 28 | $uni-text-color-disable:#c0c0c0; 29 | 30 | /* 背景颜色 */ 31 | $uni-bg-color:#ffffff; 32 | $uni-bg-color-grey:#f8f8f8; 33 | $uni-bg-color-hover:#f1f1f1;//点击状态颜色 34 | $uni-bg-color-mask:rgba(0, 0, 0, 0.4);//遮罩颜色 35 | 36 | /* 边框颜色 */ 37 | $uni-border-color:#c8c7cc; 38 | 39 | /* 尺寸变量 */ 40 | 41 | /* 文字尺寸 */ 42 | $uni-font-size-sm:24upx; 43 | $uni-font-size-base:28upx; 44 | $uni-font-size-lg:32upx; 45 | 46 | /* 图片尺寸 */ 47 | $uni-img-size-sm:40upx; 48 | $uni-img-size-base:52upx; 49 | $uni-img-size-lg:80upx; 50 | 51 | /* Border Radius */ 52 | $uni-border-radius-sm: 4upx; 53 | $uni-border-radius-base: 6upx; 54 | $uni-border-radius-lg: 12upx; 55 | $uni-border-radius-circle: 50%; 56 | 57 | /* 水平间距 */ 58 | $uni-spacing-row-sm: 10px; 59 | $uni-spacing-row-base: 20upx; 60 | $uni-spacing-row-lg: 30upx; 61 | 62 | /* 垂直间距 */ 63 | $uni-spacing-col-sm: 8upx; 64 | $uni-spacing-col-base: 16upx; 65 | $uni-spacing-col-lg: 24upx; 66 | 67 | /* 透明度 */ 68 | $uni-opacity-disabled: 0.3; // 组件禁用态的透明度 69 | 70 | /* 文章场景相关 */ 71 | $uni-color-title: #2C405A; // 文章标题颜色 72 | $uni-font-size-title:40upx; 73 | $uni-color-subtitle: #555555; // 二级标题颜色 74 | $uni-font-size-subtitle:36upx; 75 | $uni-color-paragraph: #3F536E; // 文章段落颜色 76 | $uni-font-size-paragraph:30upx; -------------------------------------------------------------------------------- /components/aloys/aloys-tab.vue: -------------------------------------------------------------------------------- 1 | 22 | 23 | 49 | 55 | 81 | -------------------------------------------------------------------------------- /components/uni/uni-list/uni-refresh.wxs: -------------------------------------------------------------------------------- 1 | var pullDown = { 2 | threshold: 95, 3 | maxHeight: 200, 4 | callRefresh: 'onrefresh', 5 | callPullingDown: 'onpullingdown', 6 | refreshSelector: '.uni-refresh' 7 | }; 8 | 9 | function ready(newValue, oldValue, ownerInstance, instance) { 10 | var state = instance.getState() 11 | state.canPullDown = newValue; 12 | // console.log(newValue); 13 | } 14 | 15 | function touchStart(e, instance) { 16 | var state = instance.getState(); 17 | state.refreshInstance = instance.selectComponent(pullDown.refreshSelector); 18 | state.canPullDown = (state.refreshInstance != null && state.refreshInstance != undefined); 19 | if (!state.canPullDown) { 20 | return 21 | } 22 | 23 | // console.log("touchStart"); 24 | 25 | state.height = 0; 26 | state.touchStartY = e.touches[0].pageY || e.changedTouches[0].pageY; 27 | state.refreshInstance.setStyle({ 28 | 'height': 0 29 | }); 30 | state.refreshInstance.callMethod("onchange", true); 31 | } 32 | 33 | function touchMove(e, ownerInstance) { 34 | var instance = e.instance; 35 | var state = instance.getState(); 36 | if (!state.canPullDown) { 37 | return 38 | } 39 | 40 | var oldHeight = state.height; 41 | var endY = e.touches[0].pageY || e.changedTouches[0].pageY; 42 | var height = endY - state.touchStartY; 43 | if (height > pullDown.maxHeight) { 44 | return; 45 | } 46 | 47 | var refreshInstance = state.refreshInstance; 48 | refreshInstance.setStyle({ 49 | 'height': height + 'px' 50 | }); 51 | 52 | height = height < pullDown.maxHeight ? height : pullDown.maxHeight; 53 | state.height = height; 54 | refreshInstance.callMethod(pullDown.callPullingDown, { 55 | height: height 56 | }); 57 | } 58 | 59 | function touchEnd(e, ownerInstance) { 60 | var state = e.instance.getState(); 61 | if (!state.canPullDown) { 62 | return 63 | } 64 | 65 | state.refreshInstance.callMethod("onchange", false); 66 | 67 | var refreshInstance = state.refreshInstance; 68 | if (state.height > pullDown.threshold) { 69 | refreshInstance.callMethod(pullDown.callRefresh); 70 | return; 71 | } 72 | 73 | refreshInstance.setStyle({ 74 | 'height': 0 75 | }); 76 | } 77 | 78 | function propObserver(newValue, oldValue, instance) { 79 | pullDown = newValue; 80 | } 81 | 82 | module.exports = { 83 | touchmove: touchMove, 84 | touchstart: touchStart, 85 | touchend: touchEnd, 86 | propObserver: propObserver 87 | } 88 | -------------------------------------------------------------------------------- /components/uni/uni-popup/uni-popup-message.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 67 | -------------------------------------------------------------------------------- /pages/cart/cart.vue: -------------------------------------------------------------------------------- 1 | 10 | 11 | 72 | 73 | 116 | -------------------------------------------------------------------------------- /components/tab/tab2.vue: -------------------------------------------------------------------------------- 1 | 24 | 25 | 47 | 48 | 111 | -------------------------------------------------------------------------------- /components/uni/uni-swipe-action-item/mpwxs.js: -------------------------------------------------------------------------------- 1 | export default { 2 | data() { 3 | return { 4 | position: [], 5 | button: [] 6 | } 7 | }, 8 | computed: { 9 | pos() { 10 | return JSON.stringify(this.position) 11 | }, 12 | btn() { 13 | return JSON.stringify(this.button) 14 | } 15 | }, 16 | watch: { 17 | show(newVal) { 18 | if (this.autoClose) return 19 | let valueObj = this.position[0] 20 | if (!valueObj) { 21 | this.init() 22 | return 23 | } 24 | valueObj.show = newVal 25 | this.$set(this.position, 0, valueObj) 26 | } 27 | }, 28 | created() { 29 | if (this.swipeaction.children !== undefined) { 30 | this.swipeaction.children.push(this) 31 | } 32 | }, 33 | mounted() { 34 | this.init() 35 | 36 | }, 37 | beforeDestroy() { 38 | this.swipeaction.children.forEach((item, index) => { 39 | if (item === this) { 40 | this.swipeaction.children.splice(index, 1) 41 | } 42 | }) 43 | }, 44 | methods: { 45 | init() { 46 | 47 | setTimeout(() => { 48 | this.getSize() 49 | this.getButtonSize() 50 | }, 50) 51 | }, 52 | closeSwipe(e) { 53 | if (!this.autoClose) return 54 | this.swipeaction.closeOther(this) 55 | }, 56 | 57 | change(e) { 58 | this.$emit('change', e.open) 59 | let valueObj = this.position[0] 60 | if (valueObj.show !== e.open) { 61 | valueObj.show = e.open 62 | this.$set(this.position, 0, valueObj) 63 | } 64 | }, 65 | onClick(index, item) { 66 | this.$emit('click', { 67 | content: item, 68 | index 69 | }) 70 | }, 71 | appTouchStart(e) { 72 | const { 73 | clientX 74 | } = e.changedTouches[0] 75 | this.clientX = clientX 76 | this.timestamp = new Date().getTime() 77 | }, 78 | appTouchEnd(e, index, item) { 79 | const { 80 | clientX 81 | } = e.changedTouches[0] 82 | // fixed by xxxx 模拟点击事件,解决 ios 13 点击区域错位的问题 83 | let diff = Math.abs(this.clientX - clientX) 84 | let time = (new Date().getTime()) - this.timestamp 85 | console.log(diff); 86 | if (diff < 40 && time < 300) { 87 | // console.log('点击'); 88 | this.$emit('click', { 89 | content: item, 90 | index 91 | }) 92 | } 93 | }, 94 | getSize() { 95 | const views = uni.createSelectorQuery().in(this) 96 | views 97 | .selectAll('.selector-query-hock') 98 | .boundingClientRect(data => { 99 | if (this.autoClose) { 100 | data[0].show = false 101 | } else { 102 | data[0].show = this.show 103 | } 104 | this.position = data 105 | }) 106 | .exec() 107 | }, 108 | getButtonSize() { 109 | const views = uni.createSelectorQuery().in(this) 110 | views 111 | .selectAll('.button-hock') 112 | .boundingClientRect(data => { 113 | this.button = data 114 | }) 115 | .exec() 116 | } 117 | } 118 | } 119 | -------------------------------------------------------------------------------- /components/m-input.vue: -------------------------------------------------------------------------------- 1 | 14 | 15 | 109 | 110 | 129 | -------------------------------------------------------------------------------- /pages/videoDetail/videoDetail.vue: -------------------------------------------------------------------------------- 1 | 26 | 27 | 67 | 68 | 139 | -------------------------------------------------------------------------------- /components/uni/uni-section/uni-section.vue: -------------------------------------------------------------------------------- 1 | 13 | 14 | 58 | -------------------------------------------------------------------------------- /components/uni/uni-grid-item/uni-grid-item.vue: -------------------------------------------------------------------------------- 1 | 8 | 9 | 68 | 69 | -------------------------------------------------------------------------------- /components/uni/uni-grid/uni-grid.vue: -------------------------------------------------------------------------------- 1 | 8 | 9 | 107 | 108 | -------------------------------------------------------------------------------- /components/postbars/postBars-xuchen.vue: -------------------------------------------------------------------------------- 1 | 32 | 33 | 58 | 59 | 153 | -------------------------------------------------------------------------------- /components/uni/uni-swipe-action-item/mpalipay.js: -------------------------------------------------------------------------------- 1 | export default { 2 | data() { 3 | return { 4 | isshow: false, 5 | viewWidth: 0, 6 | buttonWidth: 0, 7 | disabledView: false, 8 | x: 0, 9 | transition: false 10 | } 11 | }, 12 | watch: { 13 | show(newVal) { 14 | if (this.autoClose) return 15 | if (newVal) { 16 | this.open() 17 | } else { 18 | this.close() 19 | } 20 | }, 21 | }, 22 | created() { 23 | if (this.swipeaction.children !== undefined) { 24 | this.swipeaction.children.push(this) 25 | } 26 | }, 27 | beforeDestroy() { 28 | this.swipeaction.children.forEach((item, index) => { 29 | if (item === this) { 30 | this.swipeaction.children.splice(index, 1) 31 | } 32 | }) 33 | }, 34 | mounted() { 35 | this.isopen = false 36 | this.transition = true 37 | setTimeout(() => { 38 | this.getQuerySelect() 39 | }, 50) 40 | 41 | }, 42 | methods: { 43 | onClick(index, item) { 44 | this.$emit('click', { 45 | content: item, 46 | index 47 | }) 48 | }, 49 | touchstart(e) { 50 | let { 51 | pageX, 52 | pageY 53 | } = e.changedTouches[0] 54 | this.transition = false 55 | this.startX = pageX 56 | if (this.autoClose) { 57 | this.swipeaction.closeOther(this) 58 | } 59 | }, 60 | touchmove(e) { 61 | let { 62 | pageX, 63 | } = e.changedTouches[0] 64 | this.slide = this.getSlide(pageX) 65 | if (this.slide === 0) { 66 | this.disabledView = false 67 | } 68 | 69 | }, 70 | touchend(e) { 71 | this.stop = false 72 | this.transition = true 73 | if (this.isopen) { 74 | if (this.moveX === -this.buttonWidth) { 75 | this.close() 76 | return 77 | } 78 | this.move() 79 | } else { 80 | if (this.moveX === 0) { 81 | this.close() 82 | return 83 | } 84 | this.move() 85 | } 86 | }, 87 | open() { 88 | this.x = this.moveX 89 | this.$nextTick(() => { 90 | this.x = -this.buttonWidth 91 | this.moveX = this.x 92 | 93 | if(!this.isopen){ 94 | this.isopen = true 95 | this.$emit('change', true) 96 | } 97 | }) 98 | }, 99 | close() { 100 | this.x = this.moveX 101 | this.$nextTick(() => { 102 | this.x = 0 103 | this.moveX = this.x 104 | if(this.isopen){ 105 | this.isopen = false 106 | this.$emit('change', false) 107 | } 108 | }) 109 | }, 110 | move() { 111 | if (this.slide === 0) { 112 | this.open() 113 | } else { 114 | this.close() 115 | } 116 | }, 117 | onChange(e) { 118 | let x = e.detail.x 119 | this.moveX = x 120 | if (x >= this.buttonWidth) { 121 | this.disabledView = true 122 | this.$nextTick(() => { 123 | this.x = this.buttonWidth 124 | }) 125 | } 126 | }, 127 | getSlide(x) { 128 | if (x >= this.startX) { 129 | this.startX = x 130 | return 1 131 | } else { 132 | this.startX = x 133 | return 0 134 | } 135 | 136 | }, 137 | getQuerySelect() { 138 | const query = uni.createSelectorQuery().in(this); 139 | query.selectAll('.viewWidth-hook').boundingClientRect(data => { 140 | 141 | this.viewWidth = data[0].width 142 | this.buttonWidth = data[1].width 143 | this.transition = false 144 | this.$nextTick(() => { 145 | this.transition = true 146 | }) 147 | 148 | if (!this.buttonWidth) { 149 | this.disabledView = true 150 | } 151 | 152 | if (this.autoClose) return 153 | if (this.show) { 154 | this.open() 155 | } 156 | }).exec(); 157 | 158 | } 159 | } 160 | } 161 | -------------------------------------------------------------------------------- /components/uni/uni-badge/uni-badge.vue: -------------------------------------------------------------------------------- 1 | 4 | 5 | 67 | 68 | -------------------------------------------------------------------------------- /components/uni/uni-fav/uni-fav.vue: -------------------------------------------------------------------------------- 1 | 14 | 15 | 95 | 96 | -------------------------------------------------------------------------------- /components/uni/uni-indexed-list/uni-indexed-list-item.vue: -------------------------------------------------------------------------------- 1 | 20 | 21 | 58 | 59 | -------------------------------------------------------------------------------- /pages/video/video.vue: -------------------------------------------------------------------------------- 1 | 20 | 21 | 103 | 104 | 151 | -------------------------------------------------------------------------------- /components/uni/uni-icons/icons.js: -------------------------------------------------------------------------------- 1 | export default { 2 | "pulldown": "\ue588", 3 | "refreshempty": "\ue461", 4 | "back": "\ue471", 5 | "forward": "\ue470", 6 | "more": "\ue507", 7 | "more-filled": "\ue537", 8 | "scan": "\ue612", 9 | "qq": "\ue264", 10 | "weibo": "\ue260", 11 | "weixin": "\ue261", 12 | "pengyouquan": "\ue262", 13 | "loop": "\ue565", 14 | "refresh": "\ue407", 15 | "refresh-filled": "\ue437", 16 | "arrowthindown": "\ue585", 17 | "arrowthinleft": "\ue586", 18 | "arrowthinright": "\ue587", 19 | "arrowthinup": "\ue584", 20 | "undo-filled": "\ue7d6", 21 | "undo": "\ue406", 22 | "redo": "\ue405", 23 | "redo-filled": "\ue7d9", 24 | "bars": "\ue563", 25 | "chatboxes": "\ue203", 26 | "camera": "\ue301", 27 | "chatboxes-filled": "\ue233", 28 | "camera-filled": "\ue7ef", 29 | "cart-filled": "\ue7f4", 30 | "cart": "\ue7f5", 31 | "checkbox-filled": "\ue442", 32 | "checkbox": "\ue7fa", 33 | "arrowleft": "\ue582", 34 | "arrowdown": "\ue581", 35 | "arrowright": "\ue583", 36 | "smallcircle-filled": "\ue801", 37 | "arrowup": "\ue580", 38 | "circle": "\ue411", 39 | "eye-filled": "\ue568", 40 | "eye-slash-filled": "\ue822", 41 | "eye-slash": "\ue823", 42 | "eye": "\ue824", 43 | "flag-filled": "\ue825", 44 | "flag": "\ue508", 45 | "gear-filled": "\ue532", 46 | "reload": "\ue462", 47 | "gear": "\ue502", 48 | "hand-thumbsdown-filled": "\ue83b", 49 | "hand-thumbsdown": "\ue83c", 50 | "hand-thumbsup-filled": "\ue83d", 51 | "heart-filled": "\ue83e", 52 | "hand-thumbsup": "\ue83f", 53 | "heart": "\ue840", 54 | "home": "\ue500", 55 | "info": "\ue504", 56 | "home-filled": "\ue530", 57 | "info-filled": "\ue534", 58 | "circle-filled": "\ue441", 59 | "chat-filled": "\ue847", 60 | "chat": "\ue263", 61 | "mail-open-filled": "\ue84d", 62 | "email-filled": "\ue231", 63 | "mail-open": "\ue84e", 64 | "email": "\ue201", 65 | "checkmarkempty": "\ue472", 66 | "list": "\ue562", 67 | "locked-filled": "\ue856", 68 | "locked": "\ue506", 69 | "map-filled": "\ue85c", 70 | "map-pin": "\ue85e", 71 | "map-pin-ellipse": "\ue864", 72 | "map": "\ue364", 73 | "minus-filled": "\ue440", 74 | "mic-filled": "\ue332", 75 | "minus": "\ue410", 76 | "micoff": "\ue360", 77 | "mic": "\ue302", 78 | "clear": "\ue434", 79 | "smallcircle": "\ue868", 80 | "close": "\ue404", 81 | "closeempty": "\ue460", 82 | "paperclip": "\ue567", 83 | "paperplane": "\ue503", 84 | "paperplane-filled": "\ue86e", 85 | "person-filled": "\ue131", 86 | "contact-filled": "\ue130", 87 | "person": "\ue101", 88 | "contact": "\ue100", 89 | "images-filled": "\ue87a", 90 | "phone": "\ue200", 91 | "images": "\ue87b", 92 | "image": "\ue363", 93 | "image-filled": "\ue877", 94 | "location-filled": "\ue333", 95 | "location": "\ue303", 96 | "plus-filled": "\ue439", 97 | "plus": "\ue409", 98 | "plusempty": "\ue468", 99 | "help-filled": "\ue535", 100 | "help": "\ue505", 101 | "navigate-filled": "\ue884", 102 | "navigate": "\ue501", 103 | "mic-slash-filled": "\ue892", 104 | "search": "\ue466", 105 | "settings": "\ue560", 106 | "sound": "\ue590", 107 | "sound-filled": "\ue8a1", 108 | "spinner-cycle": "\ue465", 109 | "download-filled": "\ue8a4", 110 | "personadd-filled": "\ue132", 111 | "videocam-filled": "\ue8af", 112 | "personadd": "\ue102", 113 | "upload": "\ue402", 114 | "upload-filled": "\ue8b1", 115 | "starhalf": "\ue463", 116 | "star-filled": "\ue438", 117 | "star": "\ue408", 118 | "trash": "\ue401", 119 | "phone-filled": "\ue230", 120 | "compose": "\ue400", 121 | "videocam": "\ue300", 122 | "trash-filled": "\ue8dc", 123 | "download": "\ue403", 124 | "chatbubble-filled": "\ue232", 125 | "chatbubble": "\ue202", 126 | "cloud-download": "\ue8e4", 127 | "cloud-upload-filled": "\ue8e5", 128 | "cloud-upload": "\ue8e6", 129 | "cloud-download-filled": "\ue8e9", 130 | "headphones":"\ue8bf", 131 | "shop":"\ue609" 132 | } 133 | -------------------------------------------------------------------------------- /components/uni/uni-title/uni-title.vue: -------------------------------------------------------------------------------- 1 | 6 | 7 | 116 | 117 | -------------------------------------------------------------------------------- /pages/lottery/lottery.vue: -------------------------------------------------------------------------------- 1 | 30 | 31 | 80 | 81 | 176 | -------------------------------------------------------------------------------- /components/uni/uni-popup/uni-popup-share.vue: -------------------------------------------------------------------------------- 1 | 18 | 19 | 86 | -------------------------------------------------------------------------------- /components/elite/elite.vue: -------------------------------------------------------------------------------- 1 | 35 | 36 | 54 | 55 | 176 | -------------------------------------------------------------------------------- /pages.json: -------------------------------------------------------------------------------- 1 | { 2 | "pages": [ 3 | { 4 | "path": "pages/index/index", 5 | "style": { 6 | "navigationBarTitleText": "美食" 7 | } 8 | }, { 9 | "path": "pages/theme/theme", 10 | "style": { 11 | "navigationBarTitleText": "主题" 12 | } 13 | }, { 14 | "path": "pages/video/video", 15 | "style": { 16 | "navigationBarTitleText": "视频", 17 | "enablePullDownRefresh": true 18 | } 19 | }, { 20 | "path": "pages/my/my", 21 | "style": { 22 | "navigationBarTitleText": "我的" 23 | } 24 | } 25 | ,{ 26 | "path" : "pages/zaoju/zaoju", 27 | "style" : { 28 | "navigationBarTitleText": "菜谱" 29 | } 30 | }, 31 | { 32 | "path" : "pages/square/square", 33 | "style" : { 34 | "navigationBarTitleText": "来到广场", 35 | "enablePullDownRefresh": true 36 | } 37 | } 38 | ,{ 39 | "path" : "pages/fooddetail/fooddetail", 40 | "style" : { 41 | "navigationBarTitleText": "菜谱详情", 42 | "enablePullDownRefresh": true 43 | } 44 | } 45 | ,{ 46 | "path" : "pages/cart/cart", 47 | "style" : { 48 | "navigationBarTitleText": "菜篮子" 49 | } 50 | } 51 | ,{ 52 | "path" : "pages/login/login", 53 | "style" : { 54 | "navigationBarTitleText": "登录中心" 55 | } 56 | } 57 | ,{ 58 | "path" : "pages/themeDetails/themeDetails", 59 | "style" : {} 60 | } 61 | ,{ 62 | "path" : "pages/search/search", 63 | "style" : {} 64 | } 65 | ,{ 66 | "path" : "pages/collect/collect", 67 | "style" : { 68 | "navigationBarTitleText": "我的收藏" 69 | } 70 | } 71 | ,{ 72 | "path" : "pages/lottery/lottery", 73 | "style" : { 74 | "navigationBarTitleText": "随机选菜" 75 | } 76 | } 77 | ,{ 78 | "path" : "pages/lotteryDetail/lotteryDetail", 79 | "style" : { 80 | "navigationBarTitleText": "随机选菜" 81 | } 82 | } 83 | ,{ 84 | "path" : "pages/videoDetail/videoDetail", 85 | "style" : {} 86 | } 87 | ,{ 88 | "path" : "pages/postBarsDetail/postBarsDetail", 89 | "style" : {} 90 | } 91 | ,{ 92 | "path" : "pages/votedetail/votedetail", 93 | "style" : {} 94 | } 95 | ,{ 96 | "path" : "pages/share/share", 97 | "style" : {} 98 | } 99 | ,{ 100 | "path" : "pages/register/register", 101 | "style" : {} 102 | } 103 | ,{ 104 | "path" : "pages/user/user", 105 | "style" : {} 106 | } 107 | ], 108 | "globalStyle": { 109 | "navigationBarTextStyle": "white", 110 | "navigationBarTitleText": "美食", 111 | "navigationBarBackgroundColor": "#E9A06F", 112 | "backgroundColor": "#F8F8F8", 113 | "onReachBottomDistance":20 114 | }, 115 | "tabBar": { 116 | "list": [{ 117 | "text": "菜谱", 118 | "pagePath": "pages/index/index", 119 | "iconPath":"static/tabs/菜谱.png", 120 | "selectedIconPath":"static/tabs/菜谱_active.png" 121 | }, 122 | { 123 | "text": "主题", 124 | "pagePath": "pages/theme/theme", 125 | "iconPath":"static/tabs/主题.png", 126 | "selectedIconPath":"static/tabs/主题_active.png" 127 | }, 128 | { 129 | "text": "视频", 130 | "pagePath": "pages/video/video", 131 | "iconPath":"static/tabs/视频.png", 132 | "selectedIconPath":"static/tabs/视频_active.png" 133 | }, 134 | { 135 | "text": "广场", 136 | "pagePath": "pages/square/square", 137 | "iconPath":"static/tabs/会话.png", 138 | "selectedIconPath":"static/tabs/会话_active.png" 139 | }, 140 | { 141 | "text": "我的", 142 | "pagePath": "pages/my/my", 143 | "iconPath":"static/tabs/我的.png", 144 | "selectedIconPath":"static/tabs/我的_active.png" 145 | } 146 | ] 147 | } 148 | } 149 | -------------------------------------------------------------------------------- /components/uni/uni-segmented-control/uni-segmented-control.vue: -------------------------------------------------------------------------------- 1 | 17 | 18 | 81 | 82 | -------------------------------------------------------------------------------- /components/uni/uni-swipe-action-item/mpother.js: -------------------------------------------------------------------------------- 1 | // #ifdef APP-NVUE 2 | const dom = weex.requireModule('dom'); 3 | // #endif 4 | export default { 5 | data() { 6 | return { 7 | uniShow: false, 8 | left: 0 9 | } 10 | }, 11 | computed: { 12 | moveLeft() { 13 | return `translateX(${this.left}px)` 14 | } 15 | }, 16 | watch: { 17 | show(newVal) { 18 | if (!this.position || JSON.stringify(this.position) === '{}') return; 19 | if (this.autoClose) return 20 | if (newVal) { 21 | this.$emit('change', true) 22 | this.open() 23 | } else { 24 | this.$emit('change', false) 25 | this.close() 26 | } 27 | } 28 | }, 29 | mounted() { 30 | this.position = {} 31 | if (this.swipeaction.children !== undefined) { 32 | this.swipeaction.children.push(this) 33 | } 34 | setTimeout(() => { 35 | this.getSelectorQuery() 36 | }, 100) 37 | }, 38 | beforeDestoy() { 39 | this.swipeaction.children.forEach((item, index) => { 40 | if (item === this) { 41 | this.swipeaction.children.splice(index, 1) 42 | } 43 | }) 44 | }, 45 | methods: { 46 | onClick(index, item) { 47 | this.$emit('click', { 48 | content: item, 49 | index 50 | }) 51 | this.close() 52 | }, 53 | touchstart(e) { 54 | const { 55 | pageX 56 | } = e.touches[0] 57 | if (this.disabled) return 58 | const left = this.position.content.left 59 | if (this.autoClose) { 60 | this.swipeaction.closeOther(this) 61 | } 62 | this.width = pageX - left 63 | if (this.isopen) return 64 | if (this.uniShow) { 65 | this.uniShow = false 66 | this.isopen = true 67 | this.openleft = this.left + this.position.button.width 68 | } 69 | }, 70 | touchmove(e, index) { 71 | if (this.disabled) return 72 | const { 73 | pageX 74 | } = e.touches[0] 75 | this.setPosition(pageX) 76 | }, 77 | touchend() { 78 | if (this.disabled) return 79 | if (this.isopen) { 80 | this.move(this.openleft, 0) 81 | return 82 | } 83 | this.move(this.left, -40) 84 | }, 85 | setPosition(x, y) { 86 | if (!this.position.button.width) { 87 | return 88 | } 89 | // this.left = x - this.width 90 | this.setValue(x - this.width) 91 | }, 92 | setValue(value) { 93 | // 设置最大最小值 94 | this.left = Math.max(-this.position.button.width, Math.min(parseInt(value), 0)) 95 | this.position.content.left = this.left 96 | if (this.isopen) { 97 | this.openleft = this.left + this.position.button.width 98 | } 99 | }, 100 | move(left, value) { 101 | if (left >= value) { 102 | this.$emit('change', false) 103 | this.close() 104 | } else { 105 | this.$emit('change', true) 106 | this.open() 107 | } 108 | }, 109 | open() { 110 | this.uniShow = true 111 | this.left = -this.position.button.width 112 | this.setValue(-this.position.button.width) 113 | }, 114 | close() { 115 | this.uniShow = true 116 | this.setValue(0) 117 | setTimeout(() => { 118 | this.uniShow = false 119 | this.isopen = false 120 | }, 300) 121 | }, 122 | getSelectorQuery() { 123 | // #ifndef APP-NVUE 124 | const views = uni.createSelectorQuery().in(this); 125 | views 126 | .selectAll('.selector-query-hock') 127 | .boundingClientRect(data => { 128 | console.log(data) 129 | this.position.content = data[1] 130 | this.position.button = data[0] 131 | if (this.autoClose) return 132 | if (this.show) { 133 | this.open() 134 | } else { 135 | this.close() 136 | } 137 | }) 138 | .exec() 139 | // #endif 140 | // #ifdef APP-NVUE 141 | dom.getComponentRect(this.$refs['selector-content-hock'], (data) => { 142 | if (this.position.content) return 143 | this.position.content = data.size 144 | }) 145 | dom.getComponentRect(this.$refs['selector-button-hock'], (data) => { 146 | if (this.position.button) return 147 | this.position.button = data.size 148 | if (this.autoClose) return 149 | if (this.show) { 150 | this.open() 151 | } else { 152 | this.close() 153 | } 154 | }) 155 | // #endif 156 | } 157 | } 158 | } 159 | -------------------------------------------------------------------------------- /manifest.json: -------------------------------------------------------------------------------- 1 | { 2 | "name" : "ROKI", 3 | "appid" : "", 4 | "description" : "", 5 | "versionName" : "1.0.0", 6 | "versionCode" : "100", 7 | "transformPx" : false, 8 | /* 5+App特有相关 */ 9 | "app-plus" : { 10 | "usingComponents" : true, 11 | "nvueCompiler" : "uni-app", 12 | "splashscreen" : { 13 | "alwaysShowBeforeRender" : true, 14 | "waiting" : true, 15 | "autoclose" : true, 16 | "delay" : 0 17 | }, 18 | /* 模块配置 */ 19 | "modules" : {}, 20 | /* 应用发布信息 */ 21 | "distribute" : { 22 | /* android打包配置 */ 23 | "android" : { 24 | "permissions" : [ 25 | "", 26 | "", 27 | "", 28 | "", 29 | "", 30 | "", 31 | "", 32 | "", 33 | "", 34 | "", 35 | "", 36 | "", 37 | "", 38 | "", 39 | "", 40 | "", 41 | "", 42 | "", 43 | "", 44 | "", 45 | "", 46 | "" 47 | ] 48 | }, 49 | /* ios打包配置 */ 50 | "ios" : {}, 51 | /* SDK配置 */ 52 | "sdkConfigs" : {} 53 | } 54 | }, 55 | /* 快应用特有相关 */ 56 | "quickapp" : {}, 57 | /* 小程序特有相关 */ 58 | "mp-weixin" : { 59 | "appid" : "", 60 | "setting" : { 61 | "urlCheck" : false 62 | }, 63 | "usingComponents" : true 64 | }, 65 | "mp-alipay" : { 66 | "usingComponents" : true 67 | }, 68 | "mp-baidu" : { 69 | "usingComponents" : true 70 | }, 71 | "mp-toutiao" : { 72 | "usingComponents" : true 73 | }, 74 | "h5" : { 75 | "devServer" : { 76 | "port" : 8000, //端口号 77 | "disableHostCheck" : true, 78 | "proxy" : { 79 | "/rest" : { 80 | "target" : "https://api.myroki.com", //目标接口域名 81 | "changeOrigin" : true, //是否跨域 82 | "secure" : false // 设置支持https协议的代理 83 | }, 84 | "/api" : { 85 | "target" : "https://api5.meishichina.com", //目标接口域名 86 | "changeOrigin" : true, //是否跨域 87 | "secure" : false // 设置支持https协议的代理 88 | } 89 | } 90 | }, 91 | "template" : "index.html", 92 | "title" : "Eat" 93 | } 94 | } 95 | -------------------------------------------------------------------------------- /components/uni/uni-rate/uni-rate.vue: -------------------------------------------------------------------------------- 1 | 18 | 19 | 132 | 133 | -------------------------------------------------------------------------------- /pages/search/search.vue: -------------------------------------------------------------------------------- 1 | 35 | 36 | 89 | 90 | 150 | -------------------------------------------------------------------------------- /pages/index/index.vue: -------------------------------------------------------------------------------- 1 | 28 | 29 | 119 | 120 | 168 | -------------------------------------------------------------------------------- /components/uni/uni-drawer/uni-drawer.vue: -------------------------------------------------------------------------------- 1 | 9 | 10 | 95 | 96 | -------------------------------------------------------------------------------- /components/uni/uni-grid-item/uni-grid-item copy.vue: -------------------------------------------------------------------------------- 1 | 8 | 9 | 68 | 69 | -------------------------------------------------------------------------------- /components/share-btn/share-btn.vue: -------------------------------------------------------------------------------- 1 | 15 | 16 | 107 | 108 | 174 | -------------------------------------------------------------------------------- /components/uni/uni-calendar/uni-calendar-item.vue: -------------------------------------------------------------------------------- 1 | 41 | 42 | 75 | 76 | -------------------------------------------------------------------------------- /components/uni/uni-number-box/uni-number-box.vue: -------------------------------------------------------------------------------- 1 | 12 | 120 | -------------------------------------------------------------------------------- /pages/register/register.vue: -------------------------------------------------------------------------------- 1 | 42 | 43 | 110 | 111 | 203 | -------------------------------------------------------------------------------- /components/uni/uni-combox/uni-combox.vue: -------------------------------------------------------------------------------- 1 | 22 | 23 | 126 | 127 | -------------------------------------------------------------------------------- /static/fonts/iconfont.css: -------------------------------------------------------------------------------- 1 | @font-face {font-family: "iconfont"; 2 | src: url('iconfont.eot?t=1607500341634'); /* IE9 */ 3 | src: url('iconfont.eot?t=1607500341634#iefix') format('embedded-opentype'), /* IE6-IE8 */ 4 | url('data:application/x-font-woff2;charset=utf-8;base64,d09GMgABAAAAAA28AAsAAAAAGVgAAA1vAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAHEIGVgCDMgqlcJ0oAT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RzNoshk7dUQSkWEhrtjdaZWk7WIJXp11MlsNjNltlpaKK2wN1Nzs4Vqs1oaTUZbaL3N1hYXFmYOWjLUaGkBDCpWJno2xWEtioHdZQMji1bmzm0YnrfPY1KnXTM9a0ShL5dFTKx6aRg8JUKo8AR4nbA1UaFNydhLhzoyNoTMKJ7TyqIFRYuQSTONsqC0Bc/UyMTIJlR9hog2ccJQZeakwtDqxS3zmPV3pkiySTxAIAoxiEMCMC8NekuzpbXOoG6T1mlqMFia22l17RZbg6k32qlvBQAA') format('woff2'), 5 | url('iconfont.woff?t=1607500341634') format('woff'), 6 | url('iconfont.ttf?t=1607500341634') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+ */ 7 | url('iconfont.svg?t=1607500341634#iconfont') format('svg'); /* iOS 4.1- */ 8 | } 9 | 10 | .iconfont { 11 | font-family: "iconfont" !important; 12 | font-size: 16px; 13 | font-style: normal; 14 | -webkit-font-smoothing: antialiased; 15 | -moz-osx-font-smoothing: grayscale; 16 | } 17 | 18 | .icon-xiaolongbao:before { 19 | content: "\e697"; 20 | } 21 | 22 | .icon-weibolu:before { 23 | content: "\e636"; 24 | } 25 | 26 | .icon-guotiex:before { 27 | content: "\e62a"; 28 | } 29 | 30 | .icon-wan:before { 31 | content: "\e621"; 32 | } 33 | 34 | -------------------------------------------------------------------------------- /components/uni/uni-pagination/uni-pagination.vue: -------------------------------------------------------------------------------- 1 | 22 | 23 | 118 | 119 | -------------------------------------------------------------------------------- /components/uni/uni-tag/uni-tag.vue: -------------------------------------------------------------------------------- 1 | 13 | 14 | 85 | 86 | -------------------------------------------------------------------------------- /components/uni/uni-search-bar/uni-search-bar.vue: -------------------------------------------------------------------------------- 1 | 21 | 22 | 138 | 139 | -------------------------------------------------------------------------------- /components/uni/uni-popup/uni-popup-dialog.vue: -------------------------------------------------------------------------------- 1 | 21 | 22 | 149 | 150 | -------------------------------------------------------------------------------- /components/uni/uni-goods-nav/uni-goods-nav.vue: -------------------------------------------------------------------------------- 1 | 26 | 27 | 99 | 100 | -------------------------------------------------------------------------------- /components/uni/uni-countdown/uni-countdown.vue: -------------------------------------------------------------------------------- 1 | 13 | 167 | --------------------------------------------------------------------------------