Selaa lähdekoodia

[拼团][修改]:[返回首页样式修改]

tags/安徽版C.4.1.6最终版
meo 6 vuotta sitten
vanhempi
commit
43f66f8e48
3 muutettua tiedostoa jossa 25 lisäystä ja 4 poistoa
  1. +2
    -2
      pages/spellDetail/index.js
  2. +1
    -1
      pages/spellDetail/index.wxml
  3. +22
    -1
      pages/spellDetail/index.wxss

+ 2
- 2
pages/spellDetail/index.js Näytä tiedosto

@@ -47,8 +47,8 @@ Page({
}) })
}, },
gotoIndex(){ gotoIndex(){
wx.reLaunch({
url: '/pages/index/index',
wx.switchTab({
url: '/pages/main/index',
}) })
}, },
gotoshare() { gotoshare() {


+ 1
- 1
pages/spellDetail/index.wxml Näytä tiedosto

@@ -3,7 +3,7 @@
<!-- 拼团产品详情 --> <!-- 拼团产品详情 -->
<view class='detail'> <view class='detail'>
<view class='return-index' bindtap='gotoIndex'> <view class='return-index' bindtap='gotoIndex'>
<image src='{{home}}'></image>
<image src='{{home}}' mode="widthFix"></image>
</view> </view>
<view class='detail-top'> <view class='detail-top'>
<view class='detail-top01'> <view class='detail-top01'>


+ 22
- 1
pages/spellDetail/index.wxss Näytä tiedosto

@@ -153,7 +153,7 @@ page {
background:rgba(255,255,255,1); background:rgba(255,255,255,1);
border-radius:15rpx; border-radius:15rpx;
} }
.return-index{
/* .return-index{
position: absolute; position: absolute;
right: 30rpx; right: 30rpx;
top: 30rpx; top: 30rpx;
@@ -164,6 +164,27 @@ page {
display: block; display: block;
width: 50rpx; width: 50rpx;
height: 50rpx; height: 50rpx;
} */
.return-index{
position: fixed;
right: 50rpx;
top: 60rpx;
width:100rpx!important;
height:100rpx;
z-index: 100;
background:rgba(255,255,255,1);
line-height: 95rpx;
border:1rpx solid rgba(227,227,227,1);
border-radius:50%;
}
.return-index image{
position: absolute;
width: 60rpx;
left: 0;
right: 0;
top: 0;
bottom: 0;
margin: auto;
} }
.detail-top{ .detail-top{
width: 100%; width: 100%;


Ladataan…
Peruuta
Tallenna