|
|
@@ -28,7 +28,7 @@
|
|
|
</view>
|
|
|
</template>
|
|
|
</view>
|
|
|
- <CustomTabBar :currentTabNumber="0"></CustomTabBar>
|
|
|
+ <!-- <CustomTabBar :currentTabNumber="0"></CustomTabBar> -->
|
|
|
</view>
|
|
|
</template>
|
|
|
|
|
|
@@ -36,7 +36,7 @@
|
|
|
import {reactive} from "vue";
|
|
|
import {onLoad} from "@dcloudio/uni-app"
|
|
|
import * as shuxueHttp from "@/api/chanpinShuxue.js"
|
|
|
- import CustomTabBar from "@/components/custom-tabbar/custom-tabbar.vue";
|
|
|
+ // import CustomTabBar from "@/components/custom-tabbar/custom-tabbar.vue";
|
|
|
import cacheManager from "@/utils/cacheManager.js";
|
|
|
const data = reactive({
|
|
|
dengjiId: null,
|
|
|
@@ -58,9 +58,21 @@
|
|
|
if (cacheManager.get('xuexi-shuxue')) {
|
|
|
cacheManager.remove("xuexi-shuxue")
|
|
|
}
|
|
|
- uni.redirectTo({
|
|
|
+ /* uni.redirectTo({
|
|
|
url: `/pages/chanpinneirong/index?banbenId=${item.id}&danyuanId=1&customType=3&chanpinId=${item.chanpinId}&dengjiId=${item.dengjiId}`
|
|
|
- })
|
|
|
+ }) */
|
|
|
+ const opt = {
|
|
|
+ banbenId: item.id,
|
|
|
+ danyuanId:1, // 测试需要固定为 1
|
|
|
+ chanpinId:item.chanpinId,
|
|
|
+ dengjiId: item.dengjiId
|
|
|
+ }
|
|
|
+ // 跳转
|
|
|
+ uni.switchTab({
|
|
|
+ url: "/pages/chanpinneirong/index"
|
|
|
+ })
|
|
|
+
|
|
|
+
|
|
|
}
|
|
|
|
|
|
onLoad((options) => {
|