瀏覽代碼

页面优化

guessPrice
suizhijia 5 年之前
父節點
當前提交
80a22e5ab9
共有 9 個文件被更改,包括 46 次插入40 次删除
  1. +4
    -4
      496_dongfengqichen/app.js
  2. +8
    -8
      496_dongfengqichen/pages/index/index.wxml
  3. +18
    -18
      496_dongfengqichen/pages/index/index.wxss
  4. +4
    -3
      496_dongfengqichen/pages/myCenter/myCenter.wxml
  5. +8
    -3
      496_dongfengqichen/pages/myCenter/myCenter.wxss
  6. +1
    -1
      496_dongfengqichen/pages/placingOrder/placingOrder.wxml
  7. +1
    -1
      496_dongfengqichen/pages/scoutRule/scoutRule.wxml
  8. +1
    -1
      496_dongfengqichen/pages/star/star.wxml
  9. +1
    -1
      496_dongfengqichen/project.config.json

+ 4
- 4
496_dongfengqichen/app.js 查看文件

}) })
}, },
globalData: { globalData: {
// urlRoot: "https://dongfengqichen.jiyou-tech.com/",//测试接口根目录
urlRoot: "https://xing.venucia.com/api/",//接口根目录
// urlStatic: "https://www.jiyou-tech.com/2020/496_qichen/static",//测试静态资源根目录
urlStatic: "https://xingb.venucia.com/resource",//静态资源根目录
urlRoot: "https://dongfengqichen.jiyou-tech.com/",//测试接口根目录
// urlRoot: "https://xing.venucia.com/api/",//接口根目录
urlStatic: "https://www.jiyou-tech.com/2020/496_qichen/static",//测试静态资源根目录
// urlStatic: "https://xingb.venucia.com/resource",//静态资源根目录
openid: "",//OPENID openid: "",//OPENID
parentOpenid:"",//推荐人的openid parentOpenid:"",//推荐人的openid
session_key: "",//session_key session_key: "",//session_key

+ 8
- 8
496_dongfengqichen/pages/index/index.wxml 查看文件

<view class="main" wx:if="{{isStartAdvertising==0 || !isStartAdvertisingShow}}"> <view class="main" wx:if="{{isStartAdvertising==0 || !isStartAdvertisingShow}}">
<view class="contentFrame"> <view class="contentFrame">
<view class="newImages2-76"> <view class="newImages2-76">
<!-- <image style="width:750rpx;height:10694rpx;" src="{{imgUrl+'/newImages3/44.png'}}"></image> -->
<image style="width:750rpx;height:1370rpx;" src="{{imgUrl+'/newImages3/indexImgs/1.png?v=006'}}"></image>
<image style="width:750rpx;height:1574rpx;margin-top:-1rpx;" src="{{imgUrl+'/newImages3/indexImgs/2.png?v=006'}}"></image>
<image style="width:750rpx;height:1606rpx;margin-top:-1rpx;" src="{{imgUrl+'/newImages3/indexImgs/3.png?v=006'}}"></image>
<image style="width:750rpx;height:1446rpx;margin-top:-1rpx;" src="{{imgUrl+'/newImages3/indexImgs/4.png?v=006'}}"></image>
<image style="width:750rpx;height:1420rpx;margin-top:-1rpx;" src="{{imgUrl+'/newImages3/indexImgs/5.png?v=006'}}"></image>
<image style="width:750rpx;height:1458rpx;margin-top:-1rpx;" src="{{imgUrl+'/newImages3/indexImgs/6.png?v=006'}}"></image>
<image style="width:750rpx;height:1820rpx;margin-top:-1rpx;" src="{{imgUrl+'/newImages3/indexImgs/7.png?v=006'}}"></image>
<!-- <image style="width:750rpx;height:10624rpx;" src="{{imgUrl+'/newImages3/60.png'}}"></image> -->
<image style="width:750rpx;height:1370rpx;" src="{{imgUrl+'/newImages3/indexImgs/1.png?v=007'}}"></image>
<image style="width:750rpx;height:1514rpx;margin-top:-1rpx;" src="{{imgUrl+'/newImages3/indexImgs/2.png?v=007'}}"></image>
<image style="width:750rpx;height:1600rpx;margin-top:-1rpx;" src="{{imgUrl+'/newImages3/indexImgs/3.png?v=007'}}"></image>
<image style="width:750rpx;height:1441rpx;margin-top:-1rpx;" src="{{imgUrl+'/newImages3/indexImgs/4.png?v=007'}}"></image>
<image style="width:750rpx;height:1424rpx;margin-top:-1rpx;" src="{{imgUrl+'/newImages3/indexImgs/5.png?v=007'}}"></image>
<image style="width:750rpx;height:1470rpx;margin-top:-1rpx;" src="{{imgUrl+'/newImages3/indexImgs/6.png?v=007'}}"></image>
<image style="width:750rpx;height:1805rpx;margin-top:-1rpx;" src="{{imgUrl+'/newImages3/indexImgs/7.png?v=007'}}"></image>
</view> </view>
<view class="videoGroup" bindtap="playVideo"> <view class="videoGroup" bindtap="playVideo">
<image class="newImages2-108" animation="{{playBtnDeg}}" src="{{imgUrl+'/newImages3/32.png'}}"></image> <image class="newImages2-108" animation="{{playBtnDeg}}" src="{{imgUrl+'/newImages3/32.png'}}"></image>

+ 18
- 18
496_dongfengqichen/pages/index/index.wxss 查看文件

width:390rpx; width:390rpx;
height: 62rpx; height: 62rpx;
position: absolute; position: absolute;
top: 4044rpx;
top: 3974rpx;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
} }
width:390rpx; width:390rpx;
height: 61rpx; height: 61rpx;
position: absolute; position: absolute;
top: 4414rpx;
top: 4344rpx;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
} }
.swiper1{ .swiper1{
position: absolute; position: absolute;
left: 0; left: 0;
top: 5338rpx;
top: 5268rpx;
width: 750rpx; width: 750rpx;
height: 477rpx; height: 477rpx;
} }
.arrow-left-1,.arrow-right-1,.arrow-left-2,.arrow-right-2,.arrow-left-3,.arrow-right-3,.arrow-left-4,.arrow-right-4{ .arrow-left-1,.arrow-right-1,.arrow-left-2,.arrow-right-2,.arrow-left-3,.arrow-right-3,.arrow-left-4,.arrow-right-4{
position: absolute; position: absolute;
top: 5338rpx;
top: 5268rpx;
height: 477rpx; height: 477rpx;
display: flex; display: flex;
align-items: center; align-items: center;
right:18rpx; right:18rpx;
} }
.arrow-left-2,.arrow-right-2{ .arrow-left-2,.arrow-right-2{
top: 6732rpx;
top: 6662rpx;
height: 496rpx; height: 496rpx;
} }
.arrow-left-3,.arrow-right-3{ .arrow-left-3,.arrow-right-3{
top: 8302rpx;
top: 8232rpx;
height: 402rpx; height: 402rpx;
} }
.arrow-left-4,.arrow-right-4{ .arrow-left-4,.arrow-right-4{
top: 9785rpx;
top: 9715rpx;
height: 447rpx; height: 447rpx;
} }
.newImages2-78{ .newImages2-78{
.dotGroup1,.dotGroup2,.dotGroup3,.dotGroup4{ .dotGroup1,.dotGroup2,.dotGroup3,.dotGroup4{
position: absolute; position: absolute;
left: 0; left: 0;
top: 5780rpx;
top: 5710rpx;
width: 750rpx; width: 750rpx;
height: 16rpx; height: 16rpx;
display: flex; display: flex;
justify-content: center; justify-content: center;
} }
.dotGroup2{ .dotGroup2{
top: 7198rpx;
top: 7128rpx;
} }
.dotGroup3{ .dotGroup3{
top: 8657rpx;
top: 8587rpx;
} }
.dotGroup4{ .dotGroup4{
top: 10195rpx;
top: 10125rpx;
} }
.newImages2-80{ .newImages2-80{
width: 17rpx; width: 17rpx;
} }
.testText{ .testText{
position: absolute; position: absolute;
top: 5834rpx;
top: 5764rpx;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
width: 584rpx; width: 584rpx;
.swiper2{ .swiper2{
position: absolute; position: absolute;
left: 0; left: 0;
top: 6732rpx;
top: 6662rpx;
width: 750rpx; width: 750rpx;
height: 496rpx; height: 496rpx;
} }
.testText2{ .testText2{
position: absolute; position: absolute;
top: 7248rpx;
top: 7178rpx;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
width: 598rpx; width: 598rpx;
.swiper3{ .swiper3{
position: absolute; position: absolute;
left: 0; left: 0;
top: 8302rpx;
top: 8232rpx;
width: 750rpx; width: 750rpx;
height: 402rpx; height: 402rpx;
} }
.testText3{ .testText3{
position: absolute; position: absolute;
top: 8726rpx;
top: 8656rpx;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
width: 513rpx; width: 513rpx;
.swiper4{ .swiper4{
position: absolute; position: absolute;
left: 0; left: 0;
top: 9785rpx;
top: 9715rpx;
width: 750rpx; width: 750rpx;
height: 447rpx; height: 447rpx;
} }
.testText4{ .testText4{
position: absolute; position: absolute;
top: 10251rpx;
top: 10181rpx;
left: 50%; left: 50%;
transform: translateX(-50%); transform: translateX(-50%);
width: 522rpx; width: 522rpx;

+ 4
- 3
496_dongfengqichen/pages/myCenter/myCenter.wxml 查看文件

<view wx:if="{{item.unlockNum!=4}}" class="taskWaitBtn">未完成</view> <view wx:if="{{item.unlockNum!=4}}" class="taskWaitBtn">未完成</view>
</view> </view>
</view> </view>
<view class="taskDetailFrame" style="top: 100rpx;height:485rpx;" wx:if="{{taskNow==2}}">
<image class="scoutTaskDesc" src="{{imgUrl+'/newImages2/61.png'}}"></image>
<view class="taskDetailFrame" style="top: 40rpx;height:485rpx;" wx:if="{{taskNow==2}}">
<image class="newImages3-58" src="{{imgUrl+'/newImages3/58.png'}}"></image>
<!-- <image class="scoutTaskDesc" src="{{imgUrl+'/newImages2/61.png'}}"></image> -->
<image class="scoutTaskIcon" src="{{imgUrl+'/newIcon/'+(userData.userLevel==3?'12':userData.userLevel==2?'6':'11')+'.png?v=002'}}"></image> <image class="scoutTaskIcon" src="{{imgUrl+'/newIcon/'+(userData.userLevel==3?'12':userData.userLevel==2?'6':'11')+'.png?v=002'}}"></image>
<view class="barFrame"> <view class="barFrame">
<view style="position:absolute;top:-5rpx;left:295rpx;"> <view style="position:absolute;top:-5rpx;left:295rpx;">
<image style="width:100%;height:100%;" src="{{imgUrl+'/btns/myCenterBtn2.png'}}"></image></view> <image style="width:100%;height:100%;" src="{{imgUrl+'/btns/myCenterBtn2.png'}}"></image></view>
</view> --> </view> -->
<view class="orderDescGroup" wx:if="{{selectNow==4 && !buyState}}"> <view class="orderDescGroup" wx:if="{{selectNow==4 && !buyState}}">
<image class="orderDesc" src="{{imgUrl+'/newImages3/40.png?v=002'}}"></image>
<image class="orderDesc" src="{{imgUrl+'/newImages3/59.png'}}"></image>
<image class="indexOrderIcon" bindtap="placingControl" src="{{imgUrl+'/images/indexOrderIcon.png'}}"></image> <image class="indexOrderIcon" bindtap="placingControl" src="{{imgUrl+'/images/indexOrderIcon.png'}}"></image>
</view> </view>
<view class="placingOrder" wx:if="{{selectNow==4 && buyState}}"> <view class="placingOrder" wx:if="{{selectNow==4 && buyState}}">

+ 8
- 3
496_dongfengqichen/pages/myCenter/myCenter.wxss 查看文件

padding-bottom: 64rpx; padding-bottom: 64rpx;
} }
.orderDesc{ .orderDesc{
width: 661rpx;
height: 1306rpx;
width: 613rpx;
height: 1107rpx;
margin-bottom: 81rpx; margin-bottom: 81rpx;
} }
/* .ranksList{ /* .ranksList{
width: 182rpx; width: 182rpx;
height: 106rpx; height: 106rpx;
margin-left: 75rpx; margin-left: 75rpx;
margin-top: -25rpx;
margin-top: 40rpx;
} }
.barFrame{ .barFrame{
position: relative; position: relative;
color: white; color: white;
margin-left: 20rpx; margin-left: 20rpx;
border-radius: 15rpx; border-radius: 15rpx;
}
.newImages3-58{
width: 660rpx;
height: 96rpx;
margin: 0 auto;
} }

+ 1
- 1
496_dongfengqichen/pages/placingOrder/placingOrder.wxml 查看文件

<view class="receiveFrame" wx:if="{{getBuyState}}"> <view class="receiveFrame" wx:if="{{getBuyState}}">
<view class="receiveGroup"> <view class="receiveGroup">
<image class="newImages12" bindtap="closePage" src="{{imgUrl+'/newImages/12.png'}}"></image> <image class="newImages12" bindtap="closePage" src="{{imgUrl+'/newImages/12.png'}}"></image>
<image class="newImages2-1" src="{{imgUrl+'/newImages3/54.png'}}"></image>
<image class="newImages2-1" src="{{imgUrl+'/newImages3/55.png'}}"></image>
<image class="newImages2-2" bindtap="enterMycenter" src="{{imgUrl+'/newImages3/3.png'}}"></image> <image class="newImages2-2" bindtap="enterMycenter" src="{{imgUrl+'/newImages3/3.png'}}"></image>
<image class="newImages2-3" bindtap="enterMycenter" src="{{imgUrl+'/newImages2/3.png'}}"></image> <image class="newImages2-3" bindtap="enterMycenter" src="{{imgUrl+'/newImages2/3.png'}}"></image>
</view> </view>

+ 1
- 1
496_dongfengqichen/pages/scoutRule/scoutRule.wxml 查看文件

<view class="lineSty"></view> <view class="lineSty"></view>
<image class="closeXieyi" bindtap="closeXieyi" src="{{imgUrl+'/images/closeXieyi.png'}}"></image> <image class="closeXieyi" bindtap="closeXieyi" src="{{imgUrl+'/images/closeXieyi.png'}}"></image>
<view style="position: relative;"> <view style="position: relative;">
<image class="newImages46" src="{{imgUrl+'/newImages3/2.png?v=006'}}"></image>
<image class="newImages46" src="{{imgUrl+'/newImages3/57.png'}}"></image>
<image class="newImages2-4" bindtap="cutPage" src="{{imgUrl+'/newImages2/4.png'}}"></image> <image class="newImages2-4" bindtap="cutPage" src="{{imgUrl+'/newImages2/4.png'}}"></image>
</view> </view>
</view> </view>

+ 1
- 1
496_dongfengqichen/pages/star/star.wxml 查看文件

<view id="star" class="showView"> <view id="star" class="showView">
<view class="home"> <view class="home">
<view class="bgGroup"> <view class="bgGroup">
<image class="bg" src="{{imgUrl+'/newImages3/1.png?v=004'}}"></image>
<image class="bg" src="{{imgUrl+'/newImages3/56.png'}}"></image>
<image class="starBtn" bindtap="scout" src="{{imgUrl+'/newImages2/4.png'}}"></image> <image class="starBtn" bindtap="scout" src="{{imgUrl+'/newImages2/4.png'}}"></image>
</view> </view>
<image class="logo1" src="{{imgUrl+'/star/logo1.png'}}"></image> <image class="logo1" src="{{imgUrl+'/star/logo1.png'}}"></image>

+ 1
- 1
496_dongfengqichen/project.config.json 查看文件

"ignore": [] "ignore": []
}, },
"setting": { "setting": {
"urlCheck": true,
"urlCheck": false,
"es6": true, "es6": true,
"postcss": true, "postcss": true,
"minified": true, "minified": true,

Loading…
取消
儲存