瀏覽代碼

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

tags/湖南版5.1.4
meo 6 年之前
父節點
當前提交
dbddb00fd0
共有 3 個文件被更改,包括 25 次插入4 次删除
  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 查看文件

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


+ 1
- 1
pages/spellDetail/index.wxml 查看文件

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


+ 22
- 1
pages/spellDetail/index.wxss 查看文件

@@ -153,7 +153,7 @@ page {
background:rgba(255,255,255,1);
border-radius:15rpx;
}
.return-index{
/* .return-index{
position: absolute;
right: 30rpx;
top: 30rpx;
@@ -164,6 +164,27 @@ page {
display: block;
width: 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{
width: 100%;


Loading…
取消
儲存