一.系统介绍

 龙兵上门预约服务系统独立版全插件 多城市版,版本现在是最新版V242包含公众号+小程序版,前端是uniapp。

二.搭建环境

系统环境:CentOS、

运行环境: 宝塔 Linux

网站环境:Nginx 1.21 + MySQL 5.7.46 + PHP-71

常见插件:fileinfo ; redis

三.测试搭建图片(仅供参考)

(无实际运营,图片仅仅后台搭建仅供参考)

前端部分VUE的APP.vue代码:

<script>
	import {
		mapState,
		mapActions,
		mapMutations
	} from "vuex"
	import $store from "@/store/index.js"
	export default {
		data() {
			return {
				timer: null,
				travelTimer: null,
				orderTimer: null,
				lockTap: false,
				resolvePrivacyAuthorization: ''
			}
		},
		async mounted() {
			// #ifdef H5
			if (window.location.href.indexOf('?#') < 0 && window.location.href.indexOf('state=STATE') < 0) {
				window.location.href = window.location.href.replace("#", "?#")
			}
			if (typeof window.entryUrl === 'undefined' || window.entryUrl === '') {
				window.entryUrl = window.location.href.split('#')[0]
			}
			let reg = window.location.href.indexOf('state=STATE') > 0 ? /\/([^/]+)\/\?&code.*/ : /\/([^/]+)\/\?#.*/
			let arr = window.location.href.match(reg)
			if (arr && arr != null && arr.length > 0) {
				console.log(arr)
				this.updateUserItem({
					key: 'portName',
					val: arr[arr.length - 1]
				})
			}
			console.log(this.portName)
			// #endif
		},
		async onLaunch() {
			let that = this
			// #ifndef H5
			let isHave = true
			// #ifdef APP-PLUS
			if (this.app_model_type == 1) {
				isHave = false
			}

Logo

北京人形旗下天工造物具身智能开源社区,聚焦具身天工与慧思开物两大平台

更多推荐