feat:数字积分加枚举

This commit is contained in:
2026-05-22 11:31:00 +08:00
parent 2a92567835
commit 5512e17b94
23 changed files with 1553 additions and 1497 deletions
+11 -11
View File
@@ -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>
+3 -3
View File
@@ -3,12 +3,12 @@
<view class="down-panel">
<view class="flex-r-lr mt-24">
<view></view>
<text class="text-zu1 text-32">{{title}}</text>
<text class="text-gray text-32">{{title}}</text>
<image src="https://static.tbmall.xin/static/new/close.png" @click.stop="onCancel" class="close-img"></image>
</view>
<text class="text-zu1 text-48 mt-88">{{articleTitle}}</text>
<text class="text-gray text-48 mt-88">{{articleTitle}}</text>
<view class="content-text mt-48">
<text class="text-28 text-zu1">
<text class="text-28 text-gray">
{{contentText}}
</text>
</view>
+1 -1
View File
@@ -16,7 +16,7 @@
</view>
<text class="text-32 text-zi text-bold" style="margin-top:16rpx">¥<text class="text-44">{{dataObj.minPrice}}</text>
</text>
<text class="text-32 text-zu1 text-overflow1" style="margin-top:16rpx">{{dataObj.name}}</text>
<text class="text-32 text-gray text-overflow1" style="margin-top:16rpx">{{dataObj.name}}</text>
<MyBtn text="查看详情" wd="100%" br="44rpx" @ok="onOk" style="margin-top:24rpx"></MyBtn>
</view>
</up-popup>