diff --git a/App.vue b/App.vue
index 0e40d43..c5b5728 100644
--- a/App.vue
+++ b/App.vue
@@ -2,21 +2,17 @@
import {
VUE_APP_API_URL
} from "@/config";
+import Vue from 'vue'
export default {
onLaunch: function (e) {
var that = this; //获取设备信息
- this.setMenuHeight();
+ this.setAppInfo();
this.autoUpdate();
// uni.hideTabBar()
},
globalData: {
baseURL: VUE_APP_API_URL+ '/',
userInfo: null,
- navHeight: 0,
- navTopHeight: 0,
- menuTop: 0,
- menuHeight: 0,
- CustomBar: 0,
isIphoneX: false,
inviterId: null,
//分享码
@@ -54,157 +50,6 @@ export default {
},
methods: {
- sceneInfo(s) {
- console.log(s,'sssssssssssss')
- var scene = [];
- switch (s) {
- case 1001:
- scene.push(s, "发现栏小程序主入口");
- break;
- case 1005:
- scene.push(s, "顶部搜索框的搜索结果页");
- break;
- case 1006:
- scene.push(s, "发现栏小程序主入口搜索框的搜索结果页");
- break;
- case 1007:
- scene.push(s, "单人聊天会话中的小程序消息卡片");
- break;
- case 1008:
- scene.push(s, "群聊会话中的小程序消息卡片");
- break;
- case 1011:
- scene.push(s, "扫描二维码");
- break;
- case 1012:
- scene.push(s, "长按图片识别二维码");
- break;
- case 1014:
- scene.push(s, "手机相册选取二维码");
- break;
- case 1017:
- scene.push(s, "前往体验版的入口页");
- break;
- case 1019:
- scene.push(s, "微信钱包");
- break;
- case 1020:
- scene.push(s, "公众号profile页相关小程序列表");
- break;
- case 1022:
- scene.push(s, "聊天顶部置顶小程序入口");
- break;
- case 1023:
- scene.push(s, "安卓系统桌面图标");
- break;
- case 1024:
- scene.push(s, "小程序profile页");
- break;
- case 1025:
- scene.push(s, "扫描一维码");
- break;
- case 1026:
- scene.push(s, "附近小程序列表");
- break;
- case 1027:
- scene.push(s, "顶部搜索框搜索结果页“使用过的小程序”列表");
- break;
- case 1028:
- scene.push(s, "我的卡包");
- break;
- case 1029:
- scene.push(s, "卡券详情页");
- break;
- case 1031:
- scene.push(s, "长按图片识别一维码");
- break;
- case 1032:
- scene.push(s, "手机相册选取一维码");
- break;
- case 1034:
- scene.push(s, "微信支付完成页");
- break;
- case 1035:
- scene.push(s, "公众号自定义菜单");
- break;
- case 1036:
- scene.push(s, "App分享消息卡片");
- break;
- case 1037:
- scene.push(s, "小程序打开小程序");
- break;
- case 1038:
- scene.push(s, "从另一个小程序返回");
- break;
- case 1039:
- scene.push(s, "摇电视");
- break;
- case 1042:
- scene.push(s, "添加好友搜索框的搜索结果页");
- break;
- case 1044:
- scene.push(s, "带shareTicket的小程序消息卡片");
- break;
- case 1047:
- scene.push(s, "扫描小程序码");
- break;
- case 1048:
- scene.push(s, "长按图片识别小程序码");
- break;
- case 1049:
- scene.push(s, "手机相册选取小程序码");
- break;
- case 1052:
- scene.push(s, "卡券的适用门店列表");
- break;
- case 1053:
- scene.push(s, "搜一搜的结果页");
- break;
- case 1054:
- scene.push(s, "顶部搜索框小程序快捷入口");
- break;
- case 1056:
- scene.push(s, "音乐播放器菜单");
- break;
- case 1058:
- scene.push(s, "公众号文章");
- break;
- case 1059:
- scene.push(s, "体验版小程序绑定邀请页");
- break;
- case 1064:
- scene.push(s, "微信连Wifi状态栏");
- break;
- case 1067:
- scene.push(s, "公众号文章广告");
- break;
- case 1068:
- scene.push(s, "附近小程序列表广告");
- break;
- case 1072:
- scene.push(s, "二维码收款页面");
- break;
- case 1073:
- scene.push(s, "客服消息列表下发的小程序消息卡片");
- break;
- case 1074:
- scene.push(s, "公众号会话下发的小程序消息卡片");
- break;
- case 1089:
- scene.push(s, "微信聊天主界面下拉");
- break;
- case 1090:
- scene.push(s, "长按小程序右上角菜单唤出最近使用历史");
- break;
- case 1092:
- scene.push(s, "城市服务入口");
- break;
- default:
- scene.push("未知入口");
- break;
- }
- return scene;
- },
autoUpdate: function () {
// console.log(new Date());
var self = this; // 获取小程序更新机制兼容
@@ -245,54 +90,36 @@ export default {
}
},
- setMenuHeight() {
- uni.getSystemInfo({
- success: res => {
- console.log(res,'resaaaaa')
- this.globalData.navTopHeight = res.statusBarHeight;
- this.globalData.CustomBar = res.statusBarHeight + 45;
- this.globalData.systemInfo = res;
- let model = res.model;
- if (/iphone\sx/i.test(model) || /iphone/i.test(model) && /unknown/.test(model) || /iphone\s11/i.test(model) || /iphone\s12/i.test(model) || /iphone\s13/i.test(model)) {
- this.globalData.isIphoneX = true;
- }
- }
- });
- let menuButtonObj = uni.getMenuButtonBoundingClientRect();
- console.log(menuButtonObj,'menuButtonObj')
- this.globalData.menuTop = menuButtonObj.top;
- this.globalData.menuHeight = menuButtonObj.height;
- this.globalData.topHeight = menuButtonObj.top + menuButtonObj.height;
- this.globalData.navHeight = menuButtonObj.top;
- },
+ // 获取系统栏高度
+ async setAppInfo() {
+ let that = this
+ return new Promise((resolve, reject) => {
+ uni.getSystemInfo({
+ success: function (e) {
+ Vue.prototype.StatusBar = e.statusBarHeight
+ // #ifdef H5
+ Vue.prototype.CustomBar = e.statusBarHeight + 45
+ // #endif
- getInfo() {
- this.http('get', 'userinfo').then(res => {
- if (res.data.success) {
- uni.setStorageSync('userInfo', res.data.data);
- var pages = getCurrentPages().pop(); //当前页面
+ // #ifdef APP-PLUS
+ if (e.platform == 'android') {
+ Vue.prototype.CustomBar = e.statusBarHeight + 50
+ } else {
+ Vue.prototype.CustomBar = e.statusBarHeight + 45
+ }
+ // #endif
- if (pages.getUser) {
- pages.getUser();
- }
- } else {
- uni.showToast({
- title: res.data.msg,
- icon: 'none',
- duration: 2000
- });
- setTimeout(() => {
- // uni.navigateTo({
- // url: '/pages/login/index'
- // });
- uni.navigateTo({
- url: '/pages/authorization/index'
- });
- }, 2000);
- }
- });
+ // #ifdef MP-WEIXIN
+ let custom = wx.getMenuButtonBoundingClientRect()
+ Vue.prototype.Custom = custom
+ Vue.prototype.CustomBar = custom.bottom + custom.top - e.statusBarHeight
+ // #endif
+ },
+ })
+ })
},
+
http(mathods, url, params) {
var that = this;
var header = {
@@ -316,10 +143,6 @@ export default {
uni.hideLoading(); // console.log(res)
//判断token是否过期 res.data.code == 40001
if (!res.data.success && res.data.status == 401) {
- // console.log('登陆失效')
- // uni.navigateTo({
- // url: '/pages/login/index'
- // });
var pages = getCurrentPages().pop(); //当前页面
console.log(pages.$page.fullPath)
uni.setStorageSync('redirect',pages.$page.fullPath) //当前路由存起来,用于登录后自动跳转
@@ -353,158 +176,35 @@ export default {
@import './assets/css/base.less';
@import './assets/css/reset.less';
@import './assets/css/style.less';
-view,
-scroll-view,
-swiper,
-button,
-input,
-textarea,
-label,
-navigator,
-image {
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
-}
-image{
- /* border-radius: 8rpx; */
-}
-/* layout */
-.acea-row-nowrap {
- display: flex;
- /* 辅助类 */
-}
-.acea-row {
- display: flex;
- flex-wrap: wrap;
- /* 辅助类 */
-}
-.acea-row.row-middle,.acea-row-nowrap.row-middle{
- align-items: center;
-}
-.acea-row.row-top,.acea-row-nowrap.row-top {
- align-items: flex-start;
-}
-.acea-row.row-bottom {
- align-items: flex-end;
-}
-.acea-row.row-center,.acea-row-nowrap.row-center {
- justify-content: center;
-}
-.acea-row.row-right,.acea-row-nowrap.row-right {
- justify-content: flex-end;
-}
-.acea-row.row-left,.acea-row-nowrap.row-left {
- justify-content: flex-start;
-}
-.acea-row.row-between,.acea-row-nowrap.row-between {
- justify-content: space-between;
-}
-.acea-row.row-around, .acea-row-nowrap.row-around{
- justify-content: space-around;
-}
-.acea-row.row-column-around,.acea-row-nowrap.row-column-around {
- flex-direction: column;
- justify-content: space-around;
-}
-.acea-row.row-column {
- flex-direction: column;
-}
-.acea-row.row-column-between,.acea-row-nowrap.row-column-between {
- flex-direction: column;
- justify-content: space-between;
-}
-/* 上下左右垂直居中 */
-.acea-row.row-center-wrapper,.acea-row-nowrap.row-center-wrapper {
- align-items: center;
- justify-content: center;
-}
-/* 上下两边居中对齐 */
-.acea-row.row-between-wrapper,.acea-row-nowrap.row-between-wrapper {
- align-items: center;
- justify-content: space-between;
-}
-.line1{
- overflow:hidden;
- text-overflow:ellipsis;
- white-space:nowrap;
- width: 100%;
-}
-.line2{
- word-break:break-all;
- display:-webkit-box;
- -webkit-line-clamp:2;
- -webkit-box-orient:vertical;
- overflow:hidden;
-}
-
-.back-btn{
- width: 36rpx;
- height: 36rpx;
- position: fixed;
- left: 40rpx;
- text-align: center;
- line-height: 36rpx;
- z-index: 99;
-}
-.back-btn image{
- width: 100%;
- height: 100%;
-}
-
-
-radio .wx-radio-input.wx-radio-input-checked {
- border-color: #FF5100;
- background: #FF5100;
+radio .wx-radio-input.wx-radio-input-checked,
+checkbox .wx-checkbox-input.wx-checkbox-input-checked
+{
+ border-color: #1d1d1d;
+ background: #1d1d1d;
}
radio .wx-radio-input {
- height: 33rpx;
- width: 33rpx;
- margin-top: -4rpx;
+ height: 32rpx;
+ width: 32rpx;
+ margin-top: -4rpx !important;
border-radius: 50%;
border: 2rpx solid #999;
background: transparent;
}
-radio .wx-radio-input.wx-radio-input-checked::before {
+radio .wx-radio-input.wx-radio-input-checked::before,
+checkbox .wx-checkbox-input.wx-checkbox-input-checked::before{
border-radius: 50%; /* 圆角 */
- width: 35rpx; /* 选中后对勾大小,不要超过背景的尺寸 */
- height: 35rpx; /* 选中后对勾大小,不要超过背景的尺寸 */
- line-height: 35rpx;
+ width: 32rpx; /* 选中后对勾大小,不要超过背景的尺寸 */
+ height: 32rpx; /* 选中后对勾大小,不要超过背景的尺寸 */
+ line-height: 32rpx;
text-align: center;
- font-size: 28rpx; /* 对勾大小 30rpx */
+ font-size: 26rpx; /* 对勾大小 30rpx */
color: #fff; /* 对勾颜色 白色 */
- background: #FF5100;
- border: 2rpx solid #FF5100;
+ background: #1d1d1d;
+ border: 2rpx solid #1d1d1d;
transform: translate(-50%, -50%) scale(1);
-webkit-transform: translate(-50%, -50%) scale(1);
}
-
-checkbox .wx-checkbox-input.wx-checkbox-input-checked {
- border-color: #F99C10;
- background: #F99C10;
-}
-checkbox .wx-checkbox-input {
- height: 40rpx;
- width: 40rpx;
- margin-top: -4rpx;
- border-radius: 50%;
- border: 2rpx solid #999;
- background: transparent;
-}
-checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
- border-radius: 50%; /* 圆角 */
- width: 40rpx; /* 选中后对勾大小,不要超过背景的尺寸 */
- height: 40rpx; /* 选中后对勾大小,不要超过背景的尺寸 */
- line-height: 40rpx;
- text-align: center;
- font-size: 28rpx; /* 对勾大小 30rpx */
- color: #fff; /* 对勾颜色 白色 */
- background: #F99C10;
- border: 2rpx solid #F99C10;
- transform: translate(-50%, -50%) scale(1);
- -webkit-transform: translate(-50%, -50%) scale(1);
-}
-
.no-list{
display: flex;
flex-direction: column;
@@ -523,7 +223,7 @@ checkbox .wx-checkbox-input.wx-checkbox-input-checked::before {
height: 88rpx;
line-height: 88rpx;
text-align: center;
- background: linear-gradient(134deg, #FFA782 0%, #FF6D31 100%);
+ background: #000;
border-radius: 44rpx;
font-size: 40rpx;
color: #fff;
diff --git a/api/home.js b/api/home.js
index c9f0ea3..76866a5 100644
--- a/api/home.js
+++ b/api/home.js
@@ -20,4 +20,27 @@ export function getArticle(q) {
* */
export function getArticleDetail(q) {
return request.get("/article/details/" + q.id);
-}
\ No newline at end of file
+}
+
+/*
+ * 活动列表
+ * */
+export function getActivityList(data) {
+ return request.post("/activity/activityList",data);
+}
+/*
+ * 活动列表
+ * */
+export function getActivityInfo(data) {
+ return request.get("/activity/activityInfo/" + data);
+}
+
+/*
+ * 专家列表
+ * */
+export function getListExperts(data) {
+ return request.get("/expert/listExperts", data);
+}
+
+
+
\ No newline at end of file
diff --git a/app.css b/app.css
deleted file mode 100644
index fc290e7..0000000
--- a/app.css
+++ /dev/null
@@ -1,151 +0,0 @@
-/**app.wxss**/
-view,
-scroll-view,
-swiper,
-button,
-input,
-textarea,
-label,
-navigator,
-image {
- -webkit-box-sizing: border-box;
- box-sizing: border-box;
-}
-image{
- /* border-radius: 8rpx; */
-}
-/* layout */
-.acea-row-nowrap {
- display: flex;
- /* 辅助类 */
-}
-.acea-row {
- display: flex;
- flex-wrap: wrap;
- /* 辅助类 */
-}
-.acea-row.row-middle,.acea-row-nowrap.row-middle{
- align-items: center;
-}
-.acea-row.row-top,.acea-row-nowrap.row-top {
- align-items: flex-start;
-}
-.acea-row.row-bottom {
- align-items: flex-end;
-}
-.acea-row.row-center,.acea-row-nowrap.row-center {
- justify-content: center;
-}
-.acea-row.row-right,.acea-row-nowrap.row-right {
- justify-content: flex-end;
-}
-.acea-row.row-left,.acea-row-nowrap.row-left {
- justify-content: flex-start;
-}
-.acea-row.row-between,.acea-row-nowrap.row-between {
- justify-content: space-between;
-}
-.acea-row.row-around, .acea-row-nowrap.row-around{
- justify-content: space-around;
-}
-.acea-row.row-column-around,.acea-row-nowrap.row-column-around {
- flex-direction: column;
- justify-content: space-around;
-}
-.acea-row.row-column {
- flex-direction: column;
-}
-.acea-row.row-column-between,.acea-row-nowrap.row-column-between {
- flex-direction: column;
- justify-content: space-between;
-}
-/* 上下左右垂直居中 */
-.acea-row.row-center-wrapper,.acea-row-nowrap.row-center-wrapper {
- align-items: center;
- justify-content: center;
-}
-/* 上下两边居中对齐 */
-.acea-row.row-between-wrapper,.acea-row-nowrap.row-between-wrapper {
- align-items: center;
- justify-content: space-between;
-}
-.line1{
- overflow:hidden;
- text-overflow:ellipsis;
- white-space:nowrap;
- width: 100%;
-}
-.line2{
- word-break:break-all;
- display:-webkit-box;
- -webkit-line-clamp:2;
- -webkit-box-orient:vertical;
- overflow:hidden;
-}
-
-.back-btn{
- width: 36rpx;
- height: 36rpx;
- position: fixed;
- left: 40rpx;
- text-align: center;
- line-height: 36rpx;
- z-index: 99;
-}
-.back-btn image{
- width: 100%;
- height: 100%;
-}
-
-
-
-radio .wx-radio-input.wx-radio-input-checked {
- border-color: #cc0000;
- background: #cc0000;
-}
-radio .wx-radio-input {
- height: 33rpx;
- width: 33rpx;
- margin-top: -4rpx;
- border-radius: 50%;
- border: 2rpx solid #999;
- background: transparent;
-}
-radio .wx-radio-input.wx-radio-input-checked::before {
- border-radius: 50%; /* 圆角 */
- width: 35rpx; /* 选中后对勾大小,不要超过背景的尺寸 */
- height: 35rpx; /* 选中后对勾大小,不要超过背景的尺寸 */
- line-height: 35rpx;
- text-align: center;
- font-size: 28rpx; /* 对勾大小 30rpx */
- color: #fff; /* 对勾颜色 白色 */
- background: #FF5100;
- border: 2rpx solid #FF5100;
- transform: translate(-50%, -50%) scale(1);
- -webkit-transform: translate(-50%, -50%) scale(1);
-}
-
-.no-list{
- display: flex;
- flex-direction: column;
- align-items: center;
- font-size: 46rpx;
- color: #D8D8D8;
- font-weight: 500;
- padding-top: 20%;
-}
-.no-list image{
- width: 536rpx;
- height: 490rpx;
-}
-.no-list .to-btn{
- width: 458rpx;
- height: 88rpx;
- line-height: 88rpx;
- text-align: center;
- background: linear-gradient(134deg, #FFA782 0%, #FF6D31 100%);
- border-radius: 44rpx;
- font-size: 40rpx;
- color: #fff;
- margin-top: 160rpx;
-}
diff --git a/assets/css/base.less b/assets/css/base.less
index 76017af..08c5433 100644
--- a/assets/css/base.less
+++ b/assets/css/base.less
@@ -4,17 +4,17 @@
*/
.font-color-red {
- color: #F99C10 !important;
+ color: #292929 !important;
}
.bg-color-red {
- background-color: #F99C10 !important;
+ background-color: #292929 !important;
}
.icon-color {
- color: #F99C10;
+ color: #292929;
}
.cart-color {
- color: #F99C10 !important;
- border: 1px solid #F99C10 !important;
+ color: #292929 !important;
+ border: 1px solid #292929 !important;
}
/* padding20 */
.padding20 {
diff --git a/assets/css/style.less b/assets/css/style.less
index 7f0b7a9..91d22c4 100644
--- a/assets/css/style.less
+++ b/assets/css/style.less
@@ -11,7 +11,7 @@ image {
}
page {
- // background: #f5f5f5;
+ background: #f5f5f5;
height: 100%;
}
diff --git a/components/CustomNavigator.vue b/components/CustomNavigator.vue
deleted file mode 100644
index 16d69b4..0000000
--- a/components/CustomNavigator.vue
+++ /dev/null
@@ -1,89 +0,0 @@
-
-
-
- {{title}}
-
-
-
-
-
-
-
diff --git a/components/colorui/components/cu-custom.vue b/components/colorui/components/cu-custom.vue
index 0a79594..d2db612 100644
--- a/components/colorui/components/cu-custom.vue
+++ b/components/colorui/components/cu-custom.vue
@@ -37,7 +37,7 @@
props: {
bgColor: {
type: String,
- default: ''
+ default: '#fff'
},
isBack: {
type: [Boolean, String],
@@ -59,12 +59,14 @@
diff --git a/components/colorui/main.css b/components/colorui/main.css
index f14df9b..69dc7b1 100644
--- a/components/colorui/main.css
+++ b/components/colorui/main.css
@@ -10,7 +10,7 @@
初始化
==================== */
body {
- background-color: #f1f1f1;
+ background-color: #fff;
font-size: 28upx;
color: #333333;
font-family: Helvetica Neue, Helvetica, sans-serif;
@@ -132,8 +132,8 @@ switch.checked::before {
/* #ifndef MP-ALIPAY */
radio::before,
checkbox::before {
- font-family: "cuIcon";
- content: "\e645";
+ /* font-family: "cuIcon"; */
+ /* content: "\e645"; */
position: absolute;
color: #ffffff !important;
top: 50%;
diff --git a/config/index.js b/config/index.js
index 6a93295..2ec013e 100644
--- a/config/index.js
+++ b/config/index.js
@@ -1,8 +1,8 @@
// export const VUE_APP_API_URL = 'http://natapp.xinxintuan.co/api';
// export const VUE_APP_API_URL = 'https://wxapi.yixiang.co/api'
// export const VUE_APP_API_URL = 'http://192.168.0.112:8092/api'
- // export const VUE_APP_API_URL = 'http://192.168.68.126:8092/api'
-export const VUE_APP_API_URL = 'https://cloud.api.cyjyyjy.com/api'
+ // export const VUE_APP_API_URL = 'http://192.168.68.125:8200/api'
+export const VUE_APP_API_URL = 'https://artcloud.api.cyjyyjy.com/api'
// export const VUE_APP_API_URL = 'http://natapp.xinxintuan.co/api';
// export const VUE_APP_API_URL = 'https://thapi.xinxintuan.co/api'
// export const VUE_APP_API_URL = 'https://h5api.xinxintuan.co/api';
diff --git a/manifest.json b/manifest.json
index 2de1985..bb43fcc 100644
--- a/manifest.json
+++ b/manifest.json
@@ -1,5 +1,5 @@
{
- "name" : "zhaoshangMiniApp",
+ "name" : "sysxh-uniapp",
"appid" : "",
"description" : "",
"versionName" : "1.0.0",
@@ -49,9 +49,12 @@
},
"quickapp" : {},
"mp-weixin" : {
- "appid" : "wx5348e39dcbbefe1e",
+ "appid" : "wx88e2a1d36fc0aa2f",
"setting" : {
- "urlCheck" : false
+ "urlCheck" : false,
+ "es6" : true,
+ "minified" : true,
+ "postcss" : true
},
"usingComponents" : true,
"permission" : {
diff --git a/pages.json b/pages.json
index 6cfafcd..44860dc 100644
--- a/pages.json
+++ b/pages.json
@@ -6,16 +6,15 @@
{
"path": "pages/Loading/index",
"style": {
- "navigationBarTitleText": " ",
- "navigationBarBackgroundColor": "#FE915D",
- "navigationBarTextStyle": "white"
+ "navigationStyle": "custom"
}
},
{
"path": "pages/home/index",
"style": {
"navigationStyle": "custom",
- "enablePullDownRefresh": true
+ "enablePullDownRefresh": true,
+ "backgroundTextStyle": "dark"
}
},
{
@@ -25,6 +24,13 @@
"enablePullDownRefresh": true
}
},
+ {
+ "path": "pages/home/activityDetail/index",
+ "style": {
+ "navigationStyle": "custom",
+ "enablePullDownRefresh": true
+ }
+ },
{
"path": "pages/user/index",
"style": {
@@ -411,25 +417,19 @@
{
"path": "pages/activity/signIn/index",
"style": {
- "navigationBarTitleText": "报名信息填写",
- "navigationBarBackgroundColor": "#EBB672",
- "navigationBarTextStyle": "white"
+ "navigationBarTitleText": "报名信息填写"
}
},
{
"path": "pages/activity/signIn/confirm/index",
"style": {
- "navigationBarTitleText": "信息确认",
- "navigationBarBackgroundColor": "#EBB672",
- "navigationBarTextStyle": "white"
+ "navigationBarTitleText": "信息确认"
}
},
{
"path": "pages/activity/signIn/paymentSuccess/index",
"style": {
- "navigationBarTitleText": "支付",
- "navigationBarBackgroundColor": "#EBB672",
- "navigationBarTextStyle": "white"
+ "navigationBarTitleText": "支付"
}
},
{
@@ -502,27 +502,22 @@
"path": "pages/information/index",
"style": {
"navigationBarTitleText": "资讯广场",
- "enablePullDownRefresh": true
+ "enablePullDownRefresh": true,
+ "navigationStyle": "custom"
}
}
],
"tabBar": {
"backgroundColor": "#ffffff",
"color": "#D4D4D4",
- "selectedColor": "#FF6F34",
+ "selectedColor": "#000",
"list": [
{
"pagePath": "pages/home/index",
"text": "首页",
- "iconPath": "/static/tabbarComponent/icon/home.png",
- "selectedIconPath": "/static/tabbarComponent/icon/home-a.png"
+ "iconPath": "/static/tabbarComponent/icon/tab1.png",
+ "selectedIconPath": "/static/tabbarComponent/icon/tab1-a.png"
},
- // {
- // "pagePath": "pages/demandHall/index",
- // "text": "供需大厅",
- // "iconPath": "/static/tabbarComponent/icon/tab2.png",
- // "selectedIconPath": "/static/tabbarComponent/icon/tab2-a.png"
- // },
{
"pagePath": "pages/demandHall/business/index",
"text": "商业",
@@ -539,14 +534,14 @@
{
"pagePath": "pages/information/index",
"text": "资讯",
- "iconPath": "/static/tabbarComponent/icon/tab5.png",
- "selectedIconPath": "/static/tabbarComponent/icon/tab5-a.png"
+ "iconPath": "/static/tabbarComponent/icon/tab4.png",
+ "selectedIconPath": "/static/tabbarComponent/icon/tab4-a.png"
},
{
"pagePath": "pages/user/index",
"text": "我的",
- "iconPath": "/static/tabbarComponent/icon/tab4.png",
- "selectedIconPath": "/static/tabbarComponent/icon/tab4-a.png"
+ "iconPath": "/static/tabbarComponent/icon/tab5.png",
+ "selectedIconPath": "/static/tabbarComponent/icon/tab5-a.png"
}
]
},
@@ -560,7 +555,7 @@
"globalStyle": {
"backgroundTextStyle": "dark",
"navigationBarBackgroundColor": "#fff",
- "navigationBarTitleText": "禅易云生态",
+ "navigationBarTitleText": "湖北省艺术设计协会",
"navigationBarTextStyle": "black"
},
"subPackages": [
diff --git a/pages/Loading/index.vue b/pages/Loading/index.vue
index 5a29b8b..7c8011b 100644
--- a/pages/Loading/index.vue
+++ b/pages/Loading/index.vue
@@ -1,8 +1,7 @@
-
- 海量资源与福利尽在云生态~
+
@@ -93,29 +92,28 @@ export default {
position: fixed;
left: 0;
top: 0;
- background-color: #FE915D;
width: 100%;
height: 100%;
z-index: 999;
- display: -webkit-flex;
- display: flex;
- -webkit-align-items: center;
- align-items: center;
- -webkit-justify-content: center;
- justify-content: center;
}
#lottie {
width: 100%;
height: 100%;
+ background: url('https://download.cyjyyjy.com/sysxh-loading-bg.png') no-repeat;
+ background-size: 100% 100%;
color: #fff;
font-size: 32rpx;
text-align: center;
+ position: relative;
image{
- width: 233rpx;
- height: 209rpx;
+ width: 440rpx;
+ height: 440rpx;
display: block;
- margin: 300rpx auto 40rpx;
+ position: absolute;
+ top: 250rpx;
+ left: 50%;
+ margin-left: -220rpx;
}
.loading{
width: 68rpx;
diff --git a/pages/activity/detail/index.vue b/pages/activity/detail/index.vue
index ffb4978..c24ec0e 100644
--- a/pages/activity/detail/index.vue
+++ b/pages/activity/detail/index.vue
@@ -39,15 +39,6 @@
-
活动简介
{{activityDetail.desc}}
@@ -126,36 +117,6 @@ export default {
}
},
- /**
- * 生命周期函数--监听页面初次渲染完成
- */
- onReady: function () {},
-
- /**
- * 生命周期函数--监听页面显示
- */
- onShow: function () {},
-
- /**
- * 生命周期函数--监听页面隐藏
- */
- onHide: function () {},
-
- /**
- * 生命周期函数--监听页面卸载
- */
- onUnload: function () {},
-
- /**
- * 页面相关事件处理函数--监听用户下拉动作
- */
- onPullDownRefresh: function () {},
-
- /**
- * 页面上拉触底事件的处理函数
- */
- onReachBottom: function () {},
-
/**
* 用户点击右上角分享
*/
diff --git a/pages/activity/index.vue b/pages/activity/index.vue
index ede99d1..82fe7d5 100644
--- a/pages/activity/index.vue
+++ b/pages/activity/index.vue
@@ -70,26 +70,6 @@ export default {
this.getActivityList();
},
- /**
- * 生命周期函数--监听页面隐藏
- */
- onHide: function () {},
-
- /**
- * 生命周期函数--监听页面卸载
- */
- onUnload: function () {},
-
- /**
- * 页面相关事件处理函数--监听用户下拉动作
- */
- onPullDownRefresh: function () {},
-
- /**
- * 页面上拉触底事件的处理函数
- */
- onReachBottom: function () {},
-
/**
* 用户点击右上角分享
*/
diff --git a/pages/activity/signIn/confirm/index.css b/pages/activity/signIn/confirm/index.css
deleted file mode 100644
index 40c86dd..0000000
--- a/pages/activity/signIn/confirm/index.css
+++ /dev/null
@@ -1,82 +0,0 @@
-/* pages/activity/signIn/confirm/index.wxss */
-.confirm-page{
- width: 100%;
- min-height: 100%;
- background: #f2f2f2;
-}
-.userInfo-box{
- box-sizing: border-box;
- padding: 56rpx 32rpx;
- background: #fff;
- margin-bottom: 32rpx;
-
-}
-.title-box{
- font-size: 32rpx;
- color: #333;
- margin-bottom: 38rpx;
-}
-.edit-box{
- font-size:24rpx;
-}
-.edit-box image{
- width: 24rpx;
- height: 24rpx;
- margin-right: 4rpx;
-}
-.info-box{
- font-size: 28rpx;
-}
-.phone{
- margin-left: 300rpx;
-}
-.name view:nth-child(1){
- color: #868686;
- margin-bottom: 16rpx;
-}
-
-.activity-info-box{
- width: 100%;
- background: #fff;
- padding: 32rpx;
- box-sizing: border-box;
-}
-.title{
- font-size: 32rpx;
- color: #333;
- line-height: 48rpx;
- font-weight: bold;
- margin-bottom: 40rpx;
-}
-.activity-info{
- display: flex;
- justify-content: space-between;
- font-size: 28rpx;
- margin-bottom: 24rpx;
-}
-.address{
- overflow:hidden;
- white-space: pre-wrap;
- width: 80%;
- text-align: right;
-}
-.settle-box{
- font-size: 32rpx;
- font-weight: 600;
- margin-top: 60rpx;
-}
-.money{
- color: #EBB672;
-}
-.pay-btn{
- position: fixed;
- bottom: 60rpx;
- left: 0;
- width: 100%;
- height: 76rpx;
- background: #EBB672;
- color: #FFF;
- font-size: 32rpx;
- line-height: 76rpx;
- text-align: center;
-}
\ No newline at end of file
diff --git a/pages/activity/signIn/confirm/index.vue b/pages/activity/signIn/confirm/index.vue
index ee866e0..7aa93af 100644
--- a/pages/activity/signIn/confirm/index.vue
+++ b/pages/activity/signIn/confirm/index.vue
@@ -72,36 +72,6 @@ export default {
console.log(this.payInfo);
},
- /**
- * 生命周期函数--监听页面初次渲染完成
- */
- onReady: function () {},
-
- /**
- * 生命周期函数--监听页面显示
- */
- onShow: function () {},
-
- /**
- * 生命周期函数--监听页面隐藏
- */
- onHide: function () {},
-
- /**
- * 生命周期函数--监听页面卸载
- */
- onUnload: function () {},
-
- /**
- * 页面相关事件处理函数--监听用户下拉动作
- */
- onPullDownRefresh: function () {},
-
- /**
- * 页面上拉触底事件的处理函数
- */
- onReachBottom: function () {},
-
/**
* 用户点击右上角分享
*/
@@ -135,15 +105,16 @@ export default {
this.setData({
canClick: true
});
- uni.showToast({
- title: '支付成功!',
- duration: 1500
- });
- setTimeout(() => {
- uni.navigateTo({
- url: '../paymentSuccess/index'
- });
- }, 1500);
+ uni.showModal({
+ title: '提示',
+ content: '支付成功!',
+ showCancel: false
+ })
+ // setTimeout(() => {
+ // uni.navigateTo({
+ // url: '../paymentSuccess/index'
+ // });
+ // }, 1500);
},
fail: response => {
this.setData({
@@ -232,12 +203,10 @@ export default {
color: #EBB672;
}
.pay-btn{
- position: fixed;
- bottom: 60rpx;
- left: 0;
- width: 100%;
+ width: 670rpx;
height: 76rpx;
- background: #EBB672;
+ margin: 100rpx auto 0;
+ background: #292929;
color: #FFF;
font-size: 32rpx;
line-height: 76rpx;
diff --git a/pages/activity/signIn/index.vue b/pages/activity/signIn/index.vue
index 16d88c8..8a95570 100644
--- a/pages/activity/signIn/index.vue
+++ b/pages/activity/signIn/index.vue
@@ -9,7 +9,7 @@