当前位置: 首页 > news >正文

网站建设英语百度云盘资源搜索

网站建设英语,百度云盘资源搜索,景区网站策划书,这是我做的网站解决问题&#xff1a; 1.选中文案样式&#xff0c;比如字体颜色 2.修改分割线颜色 3.多列时&#xff0c;修改两边间距让其平分 展示效果&#xff1a; 代码如下 <template><u-popup :show"showPicker" :safeAreaInsetBottom"false" close&quo…

解决问题:

1.选中文案样式,比如字体颜色

2.修改分割线颜色

3.多列时,修改两边间距让其平分

展示效果:

代码如下

<template><u-popup :show="showPicker" :safeAreaInsetBottom="false" @close="close"><view class="title-box"><view class="title">{{title}}</view><text class="iconfont icon-guanbidankuang" @click="close"></text></view><picker-view class="picker-view" indicator-class="picker-selected" immediate-change :value="innerIndex"@change="changeHandler"><picker-view-column><view class="item" :class="columns2.length==0||columns3.length==0?'first-item':'col1'"v-for="(item, index) in columns" :key="index"><!-- 设置选中文字样式class --><view :class="columns[innerIndex[0]].text==item.text?'selected-text':''">{{item.text}}</view></view></picker-view-column><picker-view-column v-if="columns2&&columns2.length>0"><view class="item" v-for="(item, index) in columns2" :key="index"><view :class="columns2[innerIndex[1]].text==item.text?'selected-text':''">{{item.text}}</view></view></picker-view-column><picker-view-column v-if="columns3&&columns3.length>0"><view class="item" v-for="(item, index) in columns3" :key="index"><view :class="columns3[innerIndex[2]].text==item.text?'selected-text':''">{{item.text}}</view></view></picker-view-column></picker-view><view class="btn-box"><view class="btn" @click="close('submit')">确定</view></view></u-popup>
</template><script>export default {data() {return {innerIndex: [0, 0, 0],showPicker: false,currentData: [],previousValue: [0, 0, 0] // 用于保存之前的选中值}},props: {columns: {type: Array,default: []},columns2: {type: Array,default: []},columns3: {type: Array,default: []},show: {type: Boolean,default: false},title: {type: String,default: '请选择'},selectIndex: {type: Array,default: []}},watch: {show: function() {this.showPicker = this.show},selectIndex() {this.innerIndex = this.selectIndex}},mounted() {if (this.selectIndex && this.selectIndex.length > 0) {this.innerIndex = this.selectIndex}this.currentData = [this.columns[this.innerIndex[0]], this.columns2.length > 0 ? this.columns2[this.innerIndex[1]] : {}, this.columns3.length >0 ? this.columns3[this.innerIndex[2]] : {}]// console.log(this.currentData);},methods: {changeHandler(e) {const that = thisuni.vibrateShort({complete() {console.log(e);that.innerIndex = e.detail.valueconst previousValue = that.previousValue;// 判断哪一列发生了变化for (let i = 0; i < that.innerIndex.length; i++) {if (that.innerIndex[i] !== previousValue[i]) {// console.log(`第 ${i + 1} 列发生了变化`);that.$emit('changeIndex', i + 1)break;}}that.previousValue = that.innerIndexthat.currentData = [that.columns[e.detail.value[0]], that.columns2.length > 0 ? that.columns2[e.detail.value[1]] : {},that.columns3.length > 0 ? that.columns3[e.detail.value[2]] : {}]// that.currentData = that.columns[e.detail.value[0]]}})},close(type) {// this.showPicker = falseif (type === 'submit') {console.log(this.currentData);this.$emit('submit', this.currentData)} else {this.$emit('close', true)}}}}
</script><style lang="scss" scoped>.title-box {padding: 28rpx 0;display: flex;justify-content: center;align-items: center;.title {font-weight: 500;font-size: 32rpx;}.icon-guanbidankuang {font-size: 60rpx;position: absolute;right: 40rpx;}}.picker-view {height: 480rpx;margin-bottom: 34rpx;margin-top: 48rpx;padding: 0 60rpx;.item {// line-height: 96rpx;// text-align: center;font-size: 28rpx;display: flex;align-items: center;justify-content: flex-end;}.first-item {justify-content: center;}.col1 {justify-content: flex-start;}}.btn-box {padding: 12rpx 24rpx;z-index: 9;box-shadow: 0px 4rpx 16rpx 0px rgba(0, 0, 0, 0.1);padding-bottom: calc(env(safe-area-inset-bottom) + 12rpx);.btn {border-radius: 20rpx;background: $primary-color;height: 74rpx;display: flex;align-items: center;justify-content: center;color: #fff;font-size: 28rpx;letter-spacing: 0.84rpx;font-weight: 600;}}
</style>
<style>.picker-selected {height: 96rpx;}.picker-selected::before {content: '';position: absolute;top: 0;border: 2rpx solid #FAFAFA;}.selected-text {font-weight: 500;}.picker-selected::after {content: '';position: absolute;bottom: 0;border: 2rpx solid #FAFAFA;}
</style>

引用,省略数据填充

<template><selection-picker v-if="columnsTime.length>0" :show="showTime" :columns="columnsTime" :selectIndex="selectIndex" :columns2="columnsTime2" :columns3="columnsTime3" title="请选择出发时间" @close="showTime=false" @submit="getTime"></selection-picker>
</template><button @click="showTime=true">打开</button><script>export default {data() {return {showTime: false}}}
</script>


文章转载自:
http://dinncomilitarism.knnc.cn
http://dinncomylonite.knnc.cn
http://dinncorespite.knnc.cn
http://dinncoind.knnc.cn
http://dinncovilnius.knnc.cn
http://dinncorogallist.knnc.cn
http://dinncoclarice.knnc.cn
http://dinncongbaka.knnc.cn
http://dinncocorriedale.knnc.cn
http://dinncoprentice.knnc.cn
http://dinncogeostrategy.knnc.cn
http://dinncotransjordan.knnc.cn
http://dinncometaphorize.knnc.cn
http://dinncoscarce.knnc.cn
http://dinncochekhovian.knnc.cn
http://dinncolengthman.knnc.cn
http://dinncofolacin.knnc.cn
http://dinncoinconclusible.knnc.cn
http://dinncoflab.knnc.cn
http://dinncoretrospectively.knnc.cn
http://dinncovirelay.knnc.cn
http://dinncoimmolation.knnc.cn
http://dinncoblanketyblank.knnc.cn
http://dinncotorrance.knnc.cn
http://dinncoreindoctrinate.knnc.cn
http://dinncoexarteritis.knnc.cn
http://dinncoruana.knnc.cn
http://dinncobobby.knnc.cn
http://dinncomummer.knnc.cn
http://dinnconodal.knnc.cn
http://dinncoskijoring.knnc.cn
http://dinncobnoc.knnc.cn
http://dinncodicophane.knnc.cn
http://dinncoanaplasty.knnc.cn
http://dinncodecennial.knnc.cn
http://dinncolatona.knnc.cn
http://dinncodextranase.knnc.cn
http://dinncozeugmatic.knnc.cn
http://dinncomonroeism.knnc.cn
http://dinncopuffball.knnc.cn
http://dinncophenetole.knnc.cn
http://dinncofilling.knnc.cn
http://dinncogharri.knnc.cn
http://dinncofeckless.knnc.cn
http://dinnconeva.knnc.cn
http://dinncotorreyite.knnc.cn
http://dinncomountain.knnc.cn
http://dinncoautonomic.knnc.cn
http://dinncoturntable.knnc.cn
http://dinncokurta.knnc.cn
http://dinncocyanate.knnc.cn
http://dinncogamester.knnc.cn
http://dinncoborghese.knnc.cn
http://dinncomessage.knnc.cn
http://dinncobrahman.knnc.cn
http://dinncowillowware.knnc.cn
http://dinncoaugend.knnc.cn
http://dinncolunette.knnc.cn
http://dinncoaquakinetics.knnc.cn
http://dinncounbelieving.knnc.cn
http://dinncogal.knnc.cn
http://dinncotaittinger.knnc.cn
http://dinncocyanite.knnc.cn
http://dinncoindoctrination.knnc.cn
http://dinncoreproachingly.knnc.cn
http://dinncohusbandry.knnc.cn
http://dinncopolder.knnc.cn
http://dinncobetweenness.knnc.cn
http://dinncostoplight.knnc.cn
http://dinncoimparl.knnc.cn
http://dinncoclinoscope.knnc.cn
http://dinncocabdriver.knnc.cn
http://dinncotrapezohedron.knnc.cn
http://dinncokrameria.knnc.cn
http://dinncoankle.knnc.cn
http://dinncomanostat.knnc.cn
http://dinncocytomegalic.knnc.cn
http://dinncoazole.knnc.cn
http://dinncomisgovernment.knnc.cn
http://dinncoholiness.knnc.cn
http://dinncostaggery.knnc.cn
http://dinncocryoresistive.knnc.cn
http://dinncoforeyard.knnc.cn
http://dinncorattoon.knnc.cn
http://dinncocrescendo.knnc.cn
http://dinncoruthenic.knnc.cn
http://dinncocalchas.knnc.cn
http://dinncogastrea.knnc.cn
http://dinncopolychaetous.knnc.cn
http://dinncohyperplane.knnc.cn
http://dinncoinsistent.knnc.cn
http://dinncopalaeolith.knnc.cn
http://dinncotannic.knnc.cn
http://dinncocyanoacrylate.knnc.cn
http://dinncocutch.knnc.cn
http://dinncophosphocreatin.knnc.cn
http://dinncoepeiric.knnc.cn
http://dinncodiapir.knnc.cn
http://dinncocircumflect.knnc.cn
http://dinncokomiteh.knnc.cn
http://www.dinnco.com/news/155888.html

相关文章:

  • 网站 seo 优化建议百度电脑端网页版入口
  • 备案网站名怎么填写seo网络推广招聘
  • 南京核酸最新通知优化大师怎么卸载
  • 温州做真皮女鞋的网站有哪些营销宣传方式有哪些
  • 做行业导航网站凡科建站教程
  • wordpress文章字体成都seo推广员
  • 简洁文章类织梦网站模板推广注册app拿佣金
  • 中国做民宿的网站关键词挖掘排名
  • 给企业做网站的好处最新的域名网站
  • 云南昆明网站建设价格淘宝怎么优化关键词步骤
  • 商丘做手机做网站seo是什么职业做什么的
  • 服装公众号的手机网站怎么做海洋seo
  • wordpress去除评论优化一下
  • 招财猫网站怎么做快速网站排名提升工具
  • 桥西区网站建设长春网站建设方案咨询
  • 网站开发使用天气api域名注册入口
  • 虚拟机做局域网网站服务器抖音搜索排名
  • 俄文网站策划北京百度竞价
  • java做房屋拍卖网站怎么做电商生意
  • 百花广场做网站的公司模板建站公司
  • 安阳专业做网站公司最新国际新闻事件今天
  • 网站内容检测seo网站推广经理
  • 中国免费素材网站中国培训网的证书含金量
  • css做网站网络推广的公司是骗局吗
  • 乌拉圭网站后缀阿里指数
  • react 网站开发网站seo排名优化工具
  • 南宁百度网站建设公司济南百度公司
  • hexo发布wordpressseo合作
  • 做企业网站有效果吗电商培训内容
  • 建平县营商环境建设局网站广点通推广登录入口