V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member  Sign In
V2EX  ›  0754  ›  全部回复第 12 页 / 共 21 页
回复总数  413
1 ... 4  5  6  7  8  9  10  11  12  13 ... 21  
2018 年 12 月 18 日
回复了 liuxyon 创建的主题 宽带症候群 域名停放赚美金
所以是哪个站呢?
2018 年 12 月 13 日
回复了 liKeYunKeji 创建的主题 程序员 这个小程序 swiper 每个卡片加上文本怎么加?
index.wxml
```
<swiper class="swiper-block" previous-margin="90rpx" next-margin="90rpx" current="{{swiperIndex}}" bindchange="swiperChange">
<block wx:for="{{imgUrls}}" wx:index="{{index}}">
<swiper-item class="swiper-item">
<image mode="aspectFill" src="{{item.src}}" class="slide-image {{swiperIndex == index ? 'active' : ''}}" />
<view>{{item.text}}</view>
</swiper-item>
</block>
</swiper>
```

index.wxss
```
.swiper-block {
height: 1000rpx;
width: 100%;
margin-top: 30px;
}

.swiper-item {
display: flex;
flex-direction: column;
justify-content: center;
align-items: flex-start;
overflow: unset;
position: relative;
}

.swiper-item view{
position: absolute;
left: 0;
right: 0;
bottom: 10%;
line-height: 60rpx;
text-align: center;
z-index: 999;
}

.slide-image {
height: 800rpx;
width: 520rpx;
border-radius: 9rpx;
box-shadow: 0px 0px 30rpx rgba(0, 0, 0, 0.2);
margin: 0rpx 30rpx;
z-index: 1;
}

.active {
transform: scale(1.15);
transition: all 0.2s ease-in 0s;
z-index: 20;
}
```

index.js
```
Page({
data: {
imgUrls: [{
src: 'https://img.mukewang.com/5a72827d0001cb8006000338-240-135.jpg',
text: '1111',
}, {
src: 'https://img.mukewang.com/5a72827d0001cb8006000338-240-135.jpg',
text: '2222',
}, {
src: 'https://img.mukewang.com/5a72827d0001cb8006000338-240-135.jpg',
text: '3333',
}, {
src: 'https://img.mukewang.com/5a72827d0001cb8006000338-240-135.jpg',
text: '4444',
}, {
src: 'https://img.mukewang.com/5a72827d0001cb8006000338-240-135.jpg',
text: '5555',
}, ],
indicatorDots: false,
autoplay: false,
interval: 5000,
duration: 1000,
swiperIndex: 0,
},
swiperChange(e) {
const that = this;
that.setData({
swiperIndex: e.detail.current,
})
}
})
```
2018 年 12 月 11 日
回复了 aloyuu 创建的主题 问与答 一休息就想干活,一干活就想休息 , 这是什么病??
穷病
只是自己使用的话,可以用测试号或企业微信
2018 年 12 月 10 日
回复了 lucat 创建的主题 Python 以下两种风格 Python 写法,请问大家倾向哪种:)
分情况,这种用第一种
wps ?
2018 年 12 月 8 日
回复了 zjiecode 创建的主题 分享创造 打算做一个微信消息推送服务,有没有人需要用?
企业微信,测试号都可以
2018 年 12 月 4 日
回复了 doommm 创建的主题 程序员 各位老哥见过这样的后端 API 约定吗
接过一个这样的外包,搞的我想屎
2018 年 11 月 22 日
回复了 youxi 创建的主题 宽带症候群 怎么解除联通无限流量卡限速
收购联通
2018 年 11 月 22 日
回复了 thinks 创建的主题 Android 入了台 mix3,感觉没有 S8+或者等于 6 那么稳定
1234 吧,毕竟 V 友,不能让你吃太大的亏
2018 年 11 月 20 日
回复了 yuhuan66666 创建的主题 程序员 大佬给派了个实习生,求问实习生怎么带?
让他自生自灭
2018 年 11 月 20 日
回复了 endosome 创建的主题 iPhone XS Max 用起来很舒服
一个月才 1g ?
2018 年 11 月 15 日
回复了 BarZu 创建的主题 推广 “离职自己花了一年时间做的进销存软件”后续
2018 年 11 月 8 日
回复了 shiyanlouclean 创建的主题 推广 🙈🙈🙈留言抽奖啦!抽 5 个人,送 460 门编程课呦
分子
max 可以收到
2018 年 11 月 1 日
回复了 sanshiliu 创建的主题 分享创造 做了一个图片社区
50 排队
2018 年 10 月 30 日
回复了 Steven09 创建的主题 程序员 csdn 的 js,这是什么仇什么怨?
1 ... 4  5  6  7  8  9  10  11  12  13 ... 21  
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   1153 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 53ms · UTC 17:51 · PVG 01:51 · LAX 10:51 · JFK 13:51
♥ Do have faith in what you're doing.