|
|
@@ -112,24 +112,18 @@
|
|
|
<text class="emoji-icon">🎓</text>
|
|
|
<text>学习中心</text>
|
|
|
</view>
|
|
|
- <view class="function-grid three-cols">
|
|
|
+ <view class="function-grid">
|
|
|
<view class="function-item" @click="getDnVideo()">
|
|
|
<view class="function-icon city">
|
|
|
<text class="emoji-icon">▶️</text>
|
|
|
</view>
|
|
|
- <text class="function-name">斗南批发教程</text>
|
|
|
+ <text class="function-name">斗南端批发教程</text>
|
|
|
</view>
|
|
|
<view class="function-item" @click="getCityVideo()">
|
|
|
<view class="function-icon market">
|
|
|
<text class="emoji-icon">▶️</text>
|
|
|
</view>
|
|
|
- <text class="function-name">城市批发教程</text>
|
|
|
- </view>
|
|
|
- <view class="function-item" @click="getHdVideo()">
|
|
|
- <view class="function-icon retail">
|
|
|
- <text class="emoji-icon">▶️</text>
|
|
|
- </view>
|
|
|
- <text class="function-name">零售版教程</text>
|
|
|
+ <text class="function-name">城市端批发教程</text>
|
|
|
</view>
|
|
|
</view>
|
|
|
</view>
|
|
|
@@ -424,9 +418,6 @@ export default {
|
|
|
goOldRenew(){
|
|
|
this.$util.pageTo({ url: '/admin/shop/renewal'})
|
|
|
},
|
|
|
- getHdVideo(){
|
|
|
- this.$util.pageTo({ url: '/admin/book/ls' })
|
|
|
- },
|
|
|
getCityVideo(){
|
|
|
const that = this;
|
|
|
that.$util.pageTo({ url: '/admin/book/index' })
|
|
|
@@ -435,11 +426,6 @@ export default {
|
|
|
const that = this;
|
|
|
that.$util.pageTo({ url: '/admin/book/jdIndex' })
|
|
|
},
|
|
|
- getRetailVideo(){
|
|
|
- const that = this;
|
|
|
- // 这里可以添加零售版视频的跳转逻辑
|
|
|
- that.$util.pageTo({ url: '/admin/book/retailIndex' })
|
|
|
- },
|
|
|
goAdmin(){
|
|
|
this.$util.pageTo({ url: '/admin/staff/admin'})
|
|
|
},
|
|
|
@@ -1131,12 +1117,6 @@ export default {
|
|
|
.function-grid {
|
|
|
display: flex;
|
|
|
flex-wrap: nowrap;
|
|
|
- gap: 8upx;
|
|
|
- }
|
|
|
-
|
|
|
- .function-grid.three-cols .function-item {
|
|
|
- width: calc(33.33% - 8upx);
|
|
|
- flex-shrink: 0;
|
|
|
}
|
|
|
|
|
|
.function-item {
|
|
|
@@ -1152,6 +1132,11 @@ export default {
|
|
|
min-height: 90upx;
|
|
|
flex: 1;
|
|
|
min-width: 0;
|
|
|
+ margin-left: 8upx;
|
|
|
+
|
|
|
+ &:first-child {
|
|
|
+ margin-left: 0;
|
|
|
+ }
|
|
|
}
|
|
|
|
|
|
.function-icon {
|
|
|
@@ -1176,11 +1161,6 @@ export default {
|
|
|
box-shadow: 0 2upx 8upx rgba(67, 233, 123, 0.25);
|
|
|
}
|
|
|
|
|
|
- .function-icon.retail {
|
|
|
- background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
|
|
|
- box-shadow: 0 2upx 8upx rgba(250, 112, 154, 0.25);
|
|
|
- }
|
|
|
-
|
|
|
.function-icon .emoji-icon {
|
|
|
font-size: 20upx;
|
|
|
filter: drop-shadow(0 1upx 2upx rgba(255, 255, 255, 0.3));
|
|
|
@@ -1200,18 +1180,8 @@ export default {
|
|
|
max-width: 100%;
|
|
|
}
|
|
|
|
|
|
- /* 响应式优化 */
|
|
|
- @media (max-width: 600upx) {
|
|
|
- .function-grid.three-cols .function-item {
|
|
|
- width: calc(50% - 6upx);
|
|
|
- }
|
|
|
- }
|
|
|
-
|
|
|
+ /* 窄屏时教程入口改成左右排布,避免文字被挤扁 */
|
|
|
@media (max-width: 400upx) {
|
|
|
- .function-grid.three-cols .function-item {
|
|
|
- width: 100%;
|
|
|
- }
|
|
|
-
|
|
|
.function-item {
|
|
|
flex-direction: row;
|
|
|
justify-content: flex-start;
|