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){
API.sendRequest('post', data, '/index/zoneList', success, fail, false)
API.sendRequest('post', data, '/index/zoneList', success, fail, true)
},
// 首页专区-专区列表
getGoodsList(data, success, fail){
@ -57,11 +57,11 @@ let API = {
},
// 首页中奖纪录
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){
API.sendRequest('post', data, '/index/rotationChart', success, fail, false)
API.sendRequest('post', data, '/index/rotationChart', success, fail, true)
},
// 通用api
request(url, data, success, fail, boolean=true){

2
pages.json

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

4
pages/home/home.vue

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

3
pages/list/agent.vue

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

6
pages/list/team.vue

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

3
pages/list/user.vue

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

4
pages/scratchCard/scratchCard.vue

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

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

@ -1,6 +1,6 @@
<!-- 账号注册页 -->
<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">
<view class="login-logo">
<image :src="logo"></image>

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

@ -1,6 +1,6 @@
<!-- 找回密码页 -->
<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">
<view class="login-logo">
<image :src="logo"></image>

Loading…
Cancel
Save