Zhou Jianjia 3 år sedan
förälder
incheckning
55ad37502c

+ 2 - 2
core/site.js

xqd
@@ -3,7 +3,7 @@
  */
 const ENV = process.env.NODE_ENV === 'development';
 module.exports = {
-    root: 'http://www.sange-bridge.me/',
-    // root: ENV ? 'https://t16.9026.com/' : 'https://t16.9026.com/',
+    // root: 'http://www.sange-bridge.me/',
+    root: ENV ? 'https://t16.9026.com/' : 'https://t16.9026.com/',
     authKey: "!j1^z9hE4sXJdEE$#S1GLYQnWfEBakex",
 }

+ 5 - 2
pages/income/index.vue

xqd xqd
@@ -1,8 +1,8 @@
 <template>
 	<app-layout>
 		<view class="container">
-			<template v-for="(item,index) in lists">
-				<view class="cell-box main-left" :key="index">
+			<template  v-if="lists.length > 0">
+				<view class="cell-box main-left" v-for="(item,index) in lists" :key="index">
 					<view class="head-img">
 						<u-image
 								width="140"
@@ -25,6 +25,9 @@
 				</view>
 				<u-line></u-line>
 			</template>
+			<view class="no-data main-center cross-center" v-else>
+				<text>暂无数据</text>
+			</view>
 		</view>
 	</app-layout>
 </template>

+ 4 - 3
pages/login/login.vue

xqd xqd xqd xqd
@@ -1,7 +1,7 @@
 <template>
     <view class="login">
         <view class="bg">
-            <u-image :src="bgSrc" width="100%" height="100%" mode="aspectFit"></u-image>
+            <u-image src="@/static/images/login-bg.jpg" width="100%" height="100%" mode="scaleToFill"></u-image>
         </view>
         <u-popup v-model="modal.show" mode="bottom" :mask-close-able="false" border-radius="15">
             <view class="popup-content">
@@ -18,7 +18,6 @@
     export default {
         data() {
             return {
-                bgSrc: this.$site.root+"assets/images/formula/formula-cover.png",
                 redirect: '',
                 code: '',
                 modal: {
@@ -113,6 +112,8 @@
 <style lang="scss" scoped>
     .login{
         position: relative;
+        height: 100vh;
+        overflow: hidden;
         .bg{
             position: absolute;
             top: 0;
@@ -122,7 +123,7 @@
         }
     }
     .popup-content{
-        height: 450rpx;
+        height: 280rpx;
         position: relative;
         .title{
             padding: 20rpx 30rpx;

+ 3 - 0
pages/my/member-record.vue

xqd
@@ -15,6 +15,9 @@
 				</view>
 				<view class="price main-center cross-center">¥{{record.order_fee}}</view>
 			</view>
+			<view class="no-data main-center cross-center" v-else>
+				<text>暂无数据</text>
+			</view>
 		</view>
 	</app-layout>
 </template>

+ 4 - 3
pages/price/index.vue

xqd xqd xqd
@@ -7,8 +7,7 @@
 				<view class="desc">微信线下打款</view>
 			</view>
 			<view class="tips dir-top-wrap cross-center">
-				<text>提现说明:提现后将在7个工作日打款</text>
-				<text>客服热线:32429</text>
+				<text>{{desc}}</text>
 			</view>
 			<u-button shape="circle"
 					  type="success"
@@ -28,7 +27,8 @@
 		},
 		data() {
 			return {
-				overage: 0
+				overage: 0,
+				desc: '',
 			}
 		},
 		methods: {
@@ -47,6 +47,7 @@
 			getOverage(){
 				this.$u.api.userOverage().then(res => {
 					this.overage = res.overage
+					this.desc = res.desc
 				})
 			}
 		},

+ 25 - 22
pages/share/list.vue

xqd
@@ -1,32 +1,35 @@
 <template>
 	<app-layout>
 		<view class="container">
-			<template v-for="(item,index) in lists">
-				<view class="cell-box main-left" :key="index">
-					<view class="head-img">
-						<u-image
-								width="140"
-								height="140"
-								src="https://xiansin.oss-cn-shenzhen.aliyuncs.com/sange-bridge/images/sample.jpg"
-								shape="circle"></u-image>
-					</view>
-					<view class="nickname dir-top-wrap main-center">
-						<view class="title main-left cross-center">
-							<text>{{item.nickname}}</text>
+				<template v-if="lists.length > 0">
+					<view class="cell-box main-left"  v-for="(item,index) in lists":key="index">
+						<view class="head-img">
 							<u-image
-									width="35"
-									height="35"
-									src="@/static/images/vip.png"
-									v-if="item.is_vip"
-							></u-image>
+									width="140"
+									height="140"
+									src="https://xiansin.oss-cn-shenzhen.aliyuncs.com/sange-bridge/images/sample.jpg"
+									shape="circle"></u-image>
 						</view>
-						<view class="sub-title">
-							绑定时间:{{item.become_child_at}}
+						<view class="nickname dir-top-wrap main-center">
+							<view class="title main-left cross-center">
+								<text>{{item.nickname}}</text>
+								<u-image
+										width="35"
+										height="35"
+										src="@/static/images/vip.png"
+										v-if="item.is_vip"
+								></u-image>
+							</view>
+							<view class="sub-title">
+								绑定时间:{{item.become_child_at}}
+							</view>
 						</view>
 					</view>
-				</view>
-				<u-line></u-line>
-			</template>
+					<u-line></u-line>
+				</template>
+			<view class="no-data main-center cross-center" v-else>
+				<text>暂无数据</text>
+			</view>
 		</view>
 	</app-layout>
 </template>

+ 7 - 0
static/css/common.scss

xqd
@@ -16,3 +16,10 @@ uni-page-body{
 .image-view-view{
     background: #fff;
 }
+.no-data{
+    height: 60vh;
+    width: 100vw;
+    position: fixed;
+    left: 0;
+    color: #666666;
+}

BIN
static/images/login-bg.jpg