luyisha 3 years ago
parent
commit
a90d8d37ea
  1. 6
      common/js/api.js
  2. 2
      pages.json
  3. 4
      pages/home/home.vue
  4. 3
      pages/list/agent.vue
  5. 6
      pages/list/team.vue
  6. 3
      pages/list/user.vue
  7. 4
      pages/scratchCard/scratchCard.vue
  8. 2
      uni_modules/uni-id-pages/pages/register/register.vue
  9. 2
      uni_modules/uni-id-pages/pages/retrieve/retrieve.vue

6
common/js/api.js

@ -41,7 +41,7 @@ let API = {
}, },
// 首页专区 // 首页专区
getZoneList(data, success, fail){ getZoneList(data, success, fail){
API.sendRequest('post', data, '/index/zoneList', success, fail, false) API.sendRequest('post', data, '/index/zoneList', success, fail, true)
}, },
// 首页专区-专区列表 // 首页专区-专区列表
getGoodsList(data, success, fail){ getGoodsList(data, success, fail){
@ -57,11 +57,11 @@ let API = {
}, },
// 首页中奖纪录 // 首页中奖纪录
getAwardRecords(data, success, fail){ getAwardRecords(data, success, fail){
API.sendRequest('post', data, '/index/awardRecords', success, fail, false) API.sendRequest('post', data, '/index/awardRecords', success, fail, true)
}, },
// 首页轮播图 // 首页轮播图
getRotationChart(data, success, fail){ getRotationChart(data, success, fail){
API.sendRequest('post', data, '/index/rotationChart', success, fail, false) API.sendRequest('post', data, '/index/rotationChart', success, fail, true)
}, },
// 通用api // 通用api
request(url, data, success, fail, boolean=true){ request(url, data, success, fail, boolean=true){

2
pages.json

@ -454,7 +454,7 @@
"backgroundColor": "#F8F8F8", "backgroundColor": "#F8F8F8",
"enablePullDownRefresh": false, "enablePullDownRefresh": false,
// "maxWidth":375, // "maxWidth":375,
"rpxCalcMaxDeviceWidth": 375, "rpxCalcMaxDeviceWidth": 960,
"rpxCalcBaseDeviceWidth": 375 "rpxCalcBaseDeviceWidth": 375
// "rpxCalcIncludeWidth":0 // "rpxCalcIncludeWidth":0
}, },

4
pages/home/home.vue

@ -354,7 +354,7 @@
}, },
renderPie(){ renderPie(){
let option = { let option = {
color: ['#678CFD', '#22c18b'], color: ['#22c18b','#678CFD'],
series: [ series: [
{ {
name: '', name: '',
@ -449,7 +449,7 @@
getNotice(){ getNotice(){
API.request('/index/getNotice', {}, res=>{ API.request('/index/getNotice', {}, res=>{
this.notice = res.data; this.notice = res.data;
}, fail=>{}, false) }, fail=>{}, true)
}, },
}, },
mounted() { mounted() {

3
pages/list/agent.vue

@ -250,7 +250,8 @@
} }
}, },
onShow() { onShow() {
this.getAgentList(); this.account = '';
this.search();
}, },
onReachBottom() { onReachBottom() {
if(!this.noMore){ if(!this.noMore){

6
pages/list/team.vue

@ -129,7 +129,8 @@
}) })
}, },
search(){ search(){
this.page = 1;this.noMore= false; this.page = 1;
this.noMore= false;
this.getDataList(); this.getDataList();
} }
}, },
@ -137,7 +138,8 @@
updateTabBar.changeAgent(); updateTabBar.changeAgent();
}, },
onShow() { onShow() {
this.getDataList(); this.account = '';
this.search();
}, },
onReachBottom() { onReachBottom() {
if(!this.noMore){ if(!this.noMore){

3
pages/list/user.vue

@ -252,7 +252,8 @@
} }
}, },
onShow() { onShow() {
this.getUserList(); this.account = '';
this.search();
}, },
onReachBottom() { onReachBottom() {
if(!this.noMore){ if(!this.noMore){

4
pages/scratchCard/scratchCard.vue

@ -7,7 +7,7 @@
<view :class="toDraw?'zIndex1':''" style="" class="result_img"> <view :class="toDraw?'zIndex1':''" style="" class="result_img">
<view v-for="(item,index) in dataList" :key="index" class="img_row"> <view v-for="(item,index) in dataList" :key="index" class="img_row">
<view v-for="(lineItem, lineIndex) in item" :key="lineIndex" class="data_item"> <view v-for="(lineItem, lineIndex) in item" :key="lineIndex" class="data_item">
<image :src="lineItem.image" mode=""></image> <image :src="lineItem.image" mode="aspectFill"></image>
<view class="">{{lineItem.amount}}</view> <view class="">{{lineItem.amount}}</view>
</view> </view>
</view> </view>
@ -262,7 +262,7 @@ export default {
font-weight: bold; font-weight: bold;
image{ image{
width: 80rpx; width: 60rpx;
height: 60rpx; height: 60rpx;
// background-color: #000; // background-color: #000;
} }

2
uni_modules/uni-id-pages/pages/register/register.vue

@ -1,6 +1,6 @@
<!-- 账号注册页 --> <!-- 账号注册页 -->
<template> <template>
<view class="uni-content" style="padding: 0px 53px;"> <view class="uni-content" style="padding: 0px 53px;margin: 0px auto;">
<match-media :min-width="690"> <match-media :min-width="690">
<view class="login-logo"> <view class="login-logo">
<image :src="logo"></image> <image :src="logo"></image>

2
uni_modules/uni-id-pages/pages/retrieve/retrieve.vue

@ -1,6 +1,6 @@
<!-- 找回密码页 --> <!-- 找回密码页 -->
<template> <template>
<view class="uni-content" style="padding: 0px 53px;margin: 0px auto;"> <view class="uni-content" style="padding: 0px 53px;">
<match-media :min-width="690"> <match-media :min-width="690">
<view class="login-logo"> <view class="login-logo">
<image :src="logo"></image> <image :src="logo"></image>

Loading…
Cancel
Save