Przeglądaj źródła

运势上线前

JXDS18FUJT 1 rok temu
rodzic
commit
68c6af6be0

BIN
node_modules.zip


+ 1 - 0
src/App.vue

@@ -4,6 +4,7 @@ export default {
   onLaunch: function (option) {
     const that = this;
     uni.setStorageSync("hot_startup_option", option);
+    uni.setStorageSync("NODE_ENV",process.env.NODE_ENV);
     let updateManager = uni.getUpdateManager();
     if (!updateManager) {
       return;

BIN
src/assets/img/freeUseBg.png


BIN
src/assets/img/开车的司机2-02@2x.png


+ 2 - 2
src/custom-tab-bar/index.js

@@ -51,8 +51,8 @@ Component({
 	},
 	attached(){
 		let that =this
-		const baseUrl = wx.getSystemInfoSync().platform === 'devtools' ? 'https://nbjk1.zzxcx.net/nbjk-admin/' : 'https://nbjk.zzxcx.net/nbjk-admin/'
-
+		// const baseUrl = wx.getSystemInfoSync().platform === 'devtools' ? 'https://nbjk1.zzxcx.net/nbjk-admin/' : 'https://nbjk.zzxcx.net/nbjk-admin/'
+		const baseUrl =  wx.getStorageSync("NODE_ENV")==='development'? 'https://nbjk1.zzxcx.net/nbjk-admin/' : 'https://nbjk.zzxcx.net/nbjk-admin/'
 		wx.request({
 			url:baseUrl+"open-api/system/dict/data/configKey/IS_BAZI",
 			method:'GET',

+ 0 - 41
src/custom-tab-bar1/index.vue

@@ -1,41 +0,0 @@
-<template>
-    <van-tabbar :active="active" @change="onChange">
-        <van-tabbar-item v-for="(item, index) in list" :key="index" :icon="item.icon">{{ item.text }}</van-tabbar-item>
-    </van-tabbar>
-</template>
-
-<script>
-export default {
-    data() {
-        return {
-            active: 0,
-            list: [
-                {
-                    icon: 'home-o',
-                    text: '示例1',
-                    url: '/index/index'
-                },
-                {
-                    icon: 'search',
-                    text: '示例2',
-                    url: '/index/index2'
-                }
-            ]
-        }
-    },
-    methods: {
-        onChange(event) {
-            this.active = event.detail
-            uni.switchTab({
-                url: this.data.list[event.detail].url
-            });
-        },
-
-        init() {
-            const page = getCurrentPages().pop();
-            this.active = this.data.list.findIndex(item => item.url === `/${page.route}`)
-        }
-    },
-}
-</script>
-  

+ 1 - 1
src/manifest.json

@@ -11,7 +11,7 @@
     "__usePrivacyCheck__": true,
     "setting": {
       "urlCheck": false,
-      "es6": true,
+      "es6": false,
       "minified": true,
       "bigPackageSizeSupport": true
     },

+ 3 - 3
src/pages.json

@@ -81,7 +81,7 @@
     {
       "path": "pages/forecast/index",
       "style": {
-        "navigationBarTitleText": "运势测算"
+        "navigationBarTitleText": "运势报告"
       }
     },
     {
@@ -498,7 +498,7 @@
         "pagePath": "pages/fortune/index",
         "iconPath": "static/imgs/fortune.png",
         "selectedIconPath": "static/imgs/fortune-active.png",
-        "text": "教学视频"
+        "text": "运势报告"
       },
       {
         "pagePath": "pages/user/index",
@@ -708,7 +708,7 @@
         "query": ""
       },
       {
-        "name": "运势结果",
+        "name": "运势报告",
         "path": "pages/forecast/index",
         "query": "birthday=2023-11-01+23:00:00&isSave=0&sex=2&username=%E7%9A%84"
       },

+ 2 - 2
src/pages/fortune/index.vue

@@ -1,7 +1,7 @@
 <template>
 	<view class="content">
 		<image class="bg" src="https://ndata.zzxcx.net/xpgx-xcx/index/bg1.png"></image>
-		<image mode="widthFix" class="logo" src="https://ndata.zzxcx.net/xpgx-xcx/index/bg2.png"></image>
+		<image mode="widthFix" class="logo" src="https://ndata.zzxcx.net/xpgx-xcx/index/bg4.png"></image>
 		<view class="form">
 			<view class="content">
 				<image class="content-title" mode="widthFix" src="https://ndata.zzxcx.net/xpgx-xcx/index/title.png"></image>
@@ -237,7 +237,7 @@ export default {
 	.form {
 		position: absolute;
 		padding: 0 30rpx;
-		top: 529rpx;
+		top: 462rpx;
 		width: 100vw;
 		height: 913rpx;
 

BIN
src/static/imgs/shmr.png