feat:数字积分加枚举
This commit is contained in:
@@ -14,7 +14,7 @@
|
||||
<scroll-view :scroll-x="true" class="address-select-view">
|
||||
<view class="address-select-view-scroll">
|
||||
<view class="select-box" @click="onSelectItrm(item,index)" v-for="(item,index) in selectList" :key="index">
|
||||
<text class="text-28 text-zu1" :style="{color:index == curSelect ? '#7934F6' : '#333',
|
||||
<text class="text-28 text-gray" :style="{color:index == curSelect ? '#7934F6' : '#333',
|
||||
'white-space':'nowrap',}">{{item.name}}</text>
|
||||
<view class="select-line" v-if="index == curSelect"></view>
|
||||
</view>
|
||||
@@ -23,21 +23,21 @@
|
||||
</scroll-view>
|
||||
<scroll-view :scroll-y="true" class="address-bottom-list" :scroll-into-view="scrollId">
|
||||
<view class="address-data-view" v-for="(item,index) in dataList" :key="index" :id="item.zi">
|
||||
<text class="text-32 text-zu1 text-bold">{{item.zi}}</text>
|
||||
<text class="text-32 text-gray text-bold">{{item.zi}}</text>
|
||||
<view class="address-data-data" @click="onItem(item,xItem)" v-for="(xItem,xIndex) in item.data" :key="xIndex">
|
||||
<text class="text-32 text-zu1 ">{{xItem.name}}</text>
|
||||
<text class="text-32 text-gray ">{{xItem.name}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</scroll-view>
|
||||
<view class="right-zi-view" v-if="dataList.length">
|
||||
<view class="zi-box" v-for="(item,index) in dataList" @click="onMao(item.zi)" :key="index">
|
||||
<text class="text-24 text-zu1">{{item.zi}}</text>
|
||||
<text class="text-24 text-gray">{{item.zi}}</text>
|
||||
</view>
|
||||
</view>
|
||||
</view>
|
||||
</up-popup>
|
||||
</template>
|
||||
|
||||
</up-popup>
|
||||
</template>
|
||||
|
||||
<script>
|
||||
import Func from '/utils/func'
|
||||
import MyBtn from '@/components/common/my-btn.vue'
|
||||
@@ -94,9 +94,9 @@
|
||||
this.$emit('itemSelect',item,xItem);
|
||||
}
|
||||
}
|
||||
}
|
||||
</script>
|
||||
|
||||
}
|
||||
</script>
|
||||
|
||||
<style lang="scss" scoped>
|
||||
.address-popup-view{
|
||||
width:100vw;
|
||||
@@ -193,5 +193,5 @@
|
||||
padding: 0 32rpx;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
}
|
||||
}
|
||||
</style>
|
||||
Reference in New Issue
Block a user