=chenming преди 5 години
родител
ревизия
ec583660be
променени са 4 файла, в които са добавени 10 реда и са изтрити 10 реда
  1. +3
    -3
      496_dongfengqichen/app.js
  2. +1
    -1
      496_dongfengqichen/pages/index/index.wxml
  3. +5
    -5
      496_dongfengqichen/pages/luckyStar/luckyStar.js
  4. +1
    -1
      496_dongfengqichen/pages/myCenter/myCenter.wxss

+ 3
- 3
496_dongfengqichen/app.js Целия файл

*/ */
wxRequest: function (url, params, callback, thisArg, methods, openid) { wxRequest: function (url, params, callback, thisArg, methods, openid) {
let that = this; let that = this;

var httpUrl = url; var httpUrl = url;
var str = ""; var str = "";
var count = 0; var count = 0;
method: methods, method: methods,
header: { header: {
"content-type": "application/x-www-form-urlencoded", "content-type": "application/x-www-form-urlencoded",
"OPENID": this.globalData.openid,
"VERSION":100
"VERSION": '100',
"OPENID": this.globalData.openid
}, },
success: function (re) { success: function (re) {
// if (re.data.code == -1002) { // if (re.data.code == -1002) {
method: methods, method: methods,
header: { header: {
"OPENID": this.globalData.openid, "OPENID": this.globalData.openid,
"VERSION": '100'
}, },
success: function (re) { success: function (re) {
if (re.data.code == -1002) { if (re.data.code == -1002) {

+ 1
- 1
496_dongfengqichen/pages/index/index.wxml Целия файл

<view class="all" wx:if="{{mainShow}}"> <view class="all" wx:if="{{mainShow}}">
<view class="main" wx:if="{{isStartAdvertising==0 || !isStartAdvertisingShow}}"> <view class="main" wx:if="{{isStartAdvertising==0 || !isStartAdvertisingShow}}">
<view class="contentFrame"> <view class="contentFrame">
<image style="width:750rpx;" mode="widthFix" src="{{kvurl}}"></image>
<image style="width:750rpx;height:0rpx;" mode="widthFix" src="{{kvurl}}"></image>
<image style="width:750rpx;height:331rpx;" src="{{imgUrl+'/images/indexText.png'}}"></image> <image style="width:750rpx;height:331rpx;" src="{{imgUrl+'/images/indexText.png'}}"></image>
<view class="swiperFrame"> <view class="swiperFrame">
<swiper class="swiperSty" autoplay current="{{swiperCurrent}}" bindchange="swiperChange"> <swiper class="swiperSty" autoplay current="{{swiperCurrent}}" bindchange="swiperChange">

+ 5
- 5
496_dongfengqichen/pages/luckyStar/luckyStar.js Целия файл

} }
}, },
changeScroll:function(){ changeScroll:function(){
// this.data.setInt = setInterval(()=>{
// this.setData({
// scrollNum: this.data.scrollNum+=1
// })
// },30);
this.data.setInt = setInterval(()=>{
this.setData({
scrollNum: this.data.scrollNum+=1
})
},30);
}, },
getMore:function(){ getMore:function(){
if (!this.data.isMore){ if (!this.data.isMore){

+ 1
- 1
496_dongfengqichen/pages/myCenter/myCenter.wxss Целия файл

justify-content: center; justify-content: center;
width: 161rpx; width: 161rpx;
height: 161rpx; height: 161rpx;
border-radius: 50%;
margin: 0 auto; margin: 0 auto;
margin-bottom: 27rpx; margin-bottom: 27rpx;
overflow: hidden; overflow: hidden;
.defaultHead{ .defaultHead{
width: 100%; width: 100%;
height: 100%; height: 100%;
border-radius: 50%;
} }
.loginBtn{ .loginBtn{
position: relative; position: relative;

Loading…
Отказ
Запис