Fix:2663 【非遗文化】非遗详情页副标题改为居中显示

This commit is contained in:
linxi
2024-11-20 09:55:00 +08:00
parent bf7035cd2e
commit fb881355d9
+5 -1
View File
@@ -14,7 +14,7 @@
<image class="left-img" :src="webUrl + '/orderIcon/右.png'"></image> <image class="left-img" :src="webUrl + '/orderIcon/右.png'"></image>
</view> </view>
</view> </view>
<view class="v12-font-26 v12-font-bold v12-dark-text">{{ details.intro }}</view> <view class="v12-font-26 v12-font-bold v12-dark-text intro-text">{{ details.intro }}</view>
</view> </view>
<view class="tabs v12-my-3 v12-font-32 v12-font-bold"> <view class="tabs v12-my-3 v12-font-32 v12-font-bold">
<view class="tab-btn" :class="{ 'v12-primary': actived === 1, 'v12-white-text': actived === 1 }" @click="handleTab(1)">{{details.pageA.title}}</view> <view class="tab-btn" :class="{ 'v12-primary': actived === 1, 'v12-white-text': actived === 1 }" @click="handleTab(1)">{{details.pageA.title}}</view>
@@ -86,6 +86,10 @@ export default {
</script> </script>
<style lang="less" scoped> <style lang="less" scoped>
.intro-text{
text-align: center;
margin-top: 20rpx;
}
.text-img-wrap{ .text-img-wrap{
width: fit-content; width: fit-content;
position: relative; position: relative;