From 214c9c95bc3878a3c0560c3eb613e260748abdd6 Mon Sep 17 00:00:00 2001
From: whycq <10027870+whycq@user.noreply.gitee.com>
Date: 星期一, 28 十一月 2022 08:20:55 +0800
Subject: [PATCH] #
---
/dev/null | 60 ------------------------------------------------------------
1 files changed, 0 insertions(+), 60 deletions(-)
diff --git a/pages/demo/index.vue b/pages/demo/index.vue
deleted file mode 100644
index eddec81..0000000
--- a/pages/demo/index.vue
+++ /dev/null
@@ -1,95 +0,0 @@
-<template>
- <view>
- <view class="two-cols home-nav-item" v-for="(item,index) in navs" @click="click(index)" :class="item.clicked"
- @touchstart="touch(index)" @touchend="touchend(index)">
- <view class="nav-icon">
- <uni-icons :type="item.icon" size="60" color="#6c6c6c"></uni-icons>
- </view>
- <view class="nav-text">
- {{item.name}}
- </view>
- </view>
- </view>
-</template>
-
-<script>
- export default{
- data() {
- return {
- navs:[
- {
- name:'鍏ュ簱',
- icon:'download',
- clicked:''
- },
- {
- name:'鍑哄簱',
- icon:'upload',
- clicked:''
- },
- {
- name:'鐩樼偣',
- icon:'compose',
- clicked:''
- },
- {
- name:'閫�鍑虹櫥褰�',
- icon:'close',
- clicked:''
- },
- ],
-
- }
- },
- methods: {
- click(index) {
-
- },
- touch(index) {
- this.navs[index].clicked = 'grey'
- // setTimeout(()=>{
-
- // },100)
- },
- touchend(index) {
- this.navs[index].clicked = ''
- }
- }
- }
-</script>
-
-<style>
- @import url("@/static/css/common.css");
- .home-nav-item {
- width: 44%;
- height: 0;
- padding-bottom: 50%;
- margin-left: 4%;
- margin-top: 5%;
- display: inline-block;
- box-shadow: 0 0 2px #dcdcdc;
- /* border: 1px solid #dcdcdc;
- border-right: 1px solid #dcdcdc;
- border-left: 1px solid #dcdcdc; */
- }
- .home-nav-item:first-child {
-
- }
- .nav-icon {
- width: 60%;
- height: 0;
- padding-bottom: 60%;
- margin: 10% auto;
- text-align: center;
- }
- .nav-text {
- width: 100%;
- height: 0;
- margin-bottom: 20%;
- font-size: 32rpx;
- text-align: center;
- }
- .grey {
- background-color: #dcdcdc;
- }
-</style>
\ No newline at end of file
diff --git a/pages/demo/login.vue b/pages/demo/login.vue
deleted file mode 100644
index 02409e3..0000000
--- a/pages/demo/login.vue
+++ /dev/null
@@ -1,8 +0,0 @@
-<template>
-</template>
-
-<script>
-</script>
-
-<style>
-</style>
\ No newline at end of file
diff --git a/pages/demo/pakStore/pakStore.vue b/pages/demo/pakStore/pakStore.vue
deleted file mode 100644
index d568a37..0000000
--- a/pages/demo/pakStore/pakStore.vue
+++ /dev/null
@@ -1,60 +0,0 @@
-<template>
-</template>
-
-<script>
- export default {
- data() {
- return {
-
- }
- },
-
- methods:{
- // 鑾峰彇url
- getUrl() {
- this.commonUrl = this.baseHttp + this.baseIP + ':' +this.basePORT + "/" +this.baseUrl
- },
-
- findMat() {
- let that = this
- uni.request({
- url: that.commonUrl + '/mat/auth',
- data: {
- matnr:that.matnr
- },
- header: {
- 'token':uni.getStorageSync('token')
- },
- success(result) {
- uni.vibrateShort();
- let res = result.data
- if (res.code === 200 && res.data) {
- that.matData = res.data
- that.matnr = ''
- uni.navigateTo({
- url: "matQuery",
- events: {
- // 涓烘寚瀹氫簨浠舵坊鍔犱竴涓洃鍚櫒锛岃幏鍙栬鎵撳紑椤甸潰浼犻�佸埌褰撳墠椤甸潰鐨勬暟鎹�
- matList: function(data) {
- console.log(data)
- that.matList.push(data.data)
- },
- },
- success: function(res) {
- // 閫氳繃eventChannel鍚戣鎵撳紑椤甸潰浼犻�佹暟鎹�
- res.eventChannel.emit('matData', { data: that.matData })
- },
- });
- }
-
- }
- });
-
- },
-
- }
- }
-</script>
-
-<style>
-</style>
\ No newline at end of file
--
Gitblit v1.9.1