修复
This commit is contained in:
parent
a342e22c8b
commit
3fcdf4ce6c
2
app.wxss
2
app.wxss
@ -1,4 +1,4 @@
|
||||
@import "./utils/wxParse/wxParse.wxss"
|
||||
|
||||
|
||||
/*! normalize.css v8.0.1 | MIT License | github.com/necolas/normalize.css */
|
||||
|
||||
|
@ -25,11 +25,10 @@
|
||||
color: #333333;
|
||||
}
|
||||
.arrow {
|
||||
width: 14rpx;
|
||||
width: 21rpx;
|
||||
height: 25rpx;
|
||||
background-color: #999999;
|
||||
margin: auto 0;
|
||||
margin-left: 27rpx;
|
||||
margin-left: 20rpx;
|
||||
}
|
||||
}
|
||||
}
|
@ -2,7 +2,7 @@
|
||||
<view class="left">{{left}}</view>
|
||||
<view class="right"wx:if="{{ifarrow}}" bindtap="choose">
|
||||
<text class="shurupla1">{{right}}</text>
|
||||
<view class="arrow"></view>
|
||||
<image class="arrow" src="../../../utils/img/right.png"></image>
|
||||
</view>
|
||||
<view class="right" wx:else>
|
||||
<input type="text" placeholder-class="shurupla" class="shuru1" placeholder="{{right}}" value="" bindinput="get" no="0" data-left="{{left}}"/>
|
||||
|
@ -1 +1 @@
|
||||
.shuru{width:670rpx;height:100rpx;border-bottom:2rpx solid #E8E8E8;margin:0 auto;display:flex;justify-content:space-between;line-height:100rpx;font-size:28rpx}.shuru .left{color:#333333}.shuru .right{margin:auto 0;display:flex}.shuru .right .shuru1{width:280rpx;text-align:right}.shuru .right .shurupla{color:#999999;font-size:28rpx}.shuru .right .shurupla1{color:#333333}.shuru .right .arrow{width:14rpx;height:25rpx;background-color:#999999;margin:auto 0;margin-left:27rpx}
|
||||
.shuru{width:670rpx;height:100rpx;border-bottom:2rpx solid #E8E8E8;margin:0 auto;display:flex;justify-content:space-between;line-height:100rpx;font-size:28rpx}.shuru .left{color:#333333}.shuru .right{margin:auto 0;display:flex}.shuru .right .shuru1{width:280rpx;text-align:right}.shuru .right .shurupla{color:#999999;font-size:28rpx}.shuru .right .shurupla1{color:#333333}.shuru .right .arrow{width:21rpx;height:25rpx;margin:auto 0;margin-left:20rpx}
|
||||
|
@ -14,20 +14,7 @@ Page({
|
||||
* 生命周期函数--监听页面加载
|
||||
*/
|
||||
onLoad: function(options) {
|
||||
request({
|
||||
url: "Goods/goodsCategoryList",
|
||||
data: {
|
||||
parent_id: 2
|
||||
}
|
||||
|
||||
}).then((res) => {
|
||||
// console.log(res)
|
||||
this.setData({
|
||||
type: res.data.result
|
||||
})
|
||||
this.select({detail:{id:res.data.result[0].id}})
|
||||
console.log(this.data.type, 150)
|
||||
})
|
||||
|
||||
|
||||
},
|
||||
select(a){
|
||||
@ -59,7 +46,20 @@ Page({
|
||||
* 生命周期函数--监听页面显示
|
||||
*/
|
||||
onShow: function() {
|
||||
|
||||
request({
|
||||
url: "Goods/goodsCategoryList",
|
||||
data: {
|
||||
parent_id: 2
|
||||
}
|
||||
|
||||
}).then((res) => {
|
||||
// console.log(res)
|
||||
this.setData({
|
||||
type: res.data.result
|
||||
})
|
||||
this.select({detail:{id:res.data.result[0].id}})
|
||||
console.log(this.data.type, 150)
|
||||
})
|
||||
},
|
||||
|
||||
/**
|
||||
|
@ -7,6 +7,12 @@ Page({
|
||||
adlist:[]
|
||||
},
|
||||
onLoad(){
|
||||
|
||||
},
|
||||
searchs(){
|
||||
console.log(10)
|
||||
},
|
||||
onShow(){
|
||||
request({
|
||||
url:"Goods/hotGoodsList",
|
||||
data:{
|
||||
@ -34,8 +40,5 @@ Page({
|
||||
adlist:res.data.data
|
||||
})
|
||||
})
|
||||
},
|
||||
searchs(){
|
||||
console.log(10)
|
||||
}
|
||||
})
|
||||
|
@ -105,7 +105,7 @@ Page({
|
||||
this.setData({
|
||||
username:res.data.data.nick_name,
|
||||
img:res.data.data.head_pic,
|
||||
frozen_money:res.data.data.frozen_money,
|
||||
frozen_money:res.data.data.user_money,
|
||||
level:res.data.data.level,
|
||||
yj:res.data.data.is_distribut
|
||||
})
|
||||
|
@ -1,5 +1,6 @@
|
||||
|
||||
.box{
|
||||
@import "../../utils/wxParse/wxParse.wxss";
|
||||
border-top: 1rpx solid #eaeaea;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
@ -1 +1 @@
|
||||
.box{border-top:1rpx solid #eaeaea;display:flex;flex-direction:column;align-items:center}.box .swiper{margin-top:109rpx;width:389rpx;height:657rpx}.box .swiper .image{width:389rpx;height:549rpx}.box .title{font-size:32rpx;color:#333;margin-bottom:34rpx;width:540rpx}.box .menery{font-size:34rpx;color:#666;margin-bottom:70rpx}.box .menery>text:last-child{font-size:20rpx;margin-left:20rpx}.box .add{width:308rpx;height:98rpx;background-color:#50CA80;border-radius:49rpx;line-height:98rpx;font-size:34rpx;color:#fff;text-align:center;position:fixed;bottom:50rpx;left:221rpx}
|
||||
@import "../../utils/wxParse/wxParse.wxss";.box{border-top:1rpx solid #eaeaea;display:flex;flex-direction:column;align-items:center}.box .swiper{margin-top:109rpx;width:389rpx;height:657rpx}.box .swiper .image{width:389rpx;height:549rpx}.box .title{font-size:32rpx;color:#333;margin-bottom:34rpx;width:540rpx}.box .menery{font-size:34rpx;color:#666;margin-bottom:70rpx}.box .menery>text:last-child{font-size:20rpx;margin-left:20rpx}.box .add{width:308rpx;height:98rpx;background-color:#50CA80;border-radius:49rpx;line-height:98rpx;font-size:34rpx;color:#fff;text-align:center;position:fixed;bottom:50rpx;left:221rpx}
|
||||
|
@ -9,7 +9,7 @@
|
||||
<van-popup show="{{ show}}" bind:close="onClose" custom-style="border-radius:15rpx;">
|
||||
<view class="recharge">
|
||||
<text>¥</text>
|
||||
<input type="number" bindinput="number" />
|
||||
<input type="digit" bindinput="number" />
|
||||
<view bind:tap="recharge">确定</view>
|
||||
</view>
|
||||
</van-popup>
|
||||
|
BIN
utils/img/right.png
Normal file
BIN
utils/img/right.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 2.6 KiB |
Loading…
Reference in New Issue
Block a user