Commit 4559a3af authored by Zheng Shang Jun's avatar Zheng Shang Jun

我的收藏样式修改1

parent b6cea67a
...@@ -28,10 +28,10 @@ ...@@ -28,10 +28,10 @@
</template> </template>
</browse-item> </browse-item>
</view> </view>
<!-- 导航条 -->
<hs-tab-bar></hs-tab-bar>
<!-- 底部占位符 --> <!-- 底部占位符 -->
<view :class="{ 'mask-template1': !edit, 'mask-template2': edit }"></view> <view :class="{ 'mask-template1': !edit, 'mask-template2': edit }"></view>
<!-- 导航条 -->
<hs-tab-bar></hs-tab-bar>
</view> </view>
</template> </template>
...@@ -82,6 +82,7 @@ export default { ...@@ -82,6 +82,7 @@ export default {
// 编辑 // 编辑
editorClick() { editorClick() {
this.edit = true; this.edit = true;
// console.log(this.safeDiced);
}, },
// 完成 // 完成
completeClick() { completeClick() {
...@@ -120,11 +121,11 @@ export default { ...@@ -120,11 +121,11 @@ export default {
// 底部占位符 // 底部占位符
.mask-template1 { .mask-template1 {
width: 100%; width: 100%;
height: 150rpx; height: 100rpx;
} }
.mask-template2 { .mask-template2 {
width: 100%; width: 100%;
height: 250rpx; height: 200rpx;
} }
.collect { .collect {
height: 100%; height: 100%;
......
...@@ -334,7 +334,7 @@ export default { ...@@ -334,7 +334,7 @@ export default {
.posi { .posi {
position: fixed; position: fixed;
bottom: 100rpx; bottom: 120rpx;
height: 100rpx; height: 100rpx;
width: 100%; width: 100%;
background-color: white; background-color: white;
......
<template> <template>
<view> <view>
<statusBar /> <statusBar />
<view @click="login">模拟登录</view> <view @click="login">模拟登录</view>
</view> </view>
</template> </template>
<script> <script>
import statusBar from '@/components/statusBar.vue'; import statusBar from "@/components/statusBar.vue";
export default { export default {
components: { components: {
statusBar statusBar,
}, },
data() { data() {
return {}; return {};
}, },
methods: { methods: {
async login() { async login() {
await this.$store.dispatch('login', { await this.$store.dispatch("login", {
account: '18332345678', account: "18332345678",
password: 'e10adc3949ba59abbe56e057f20f883e' password: "e10adc3949ba59abbe56e057f20f883e",
}); });
// await this.$store.dispatch('login', { // await this.$store.dispatch('login', {
// account: '13588828505', // account: '13588828505',
// password: '10470c3b4b1fed12c3baac014be15fac67c6e815', // password: '10470c3b4b1fed12c3baac014be15fac67c6e815',
// }); // });
// await this.$store.dispatch("getDictionary") // await this.$store.dispatch("getDictionary")
// await this.$store.dispatch("getSizeList") // await this.$store.dispatch("getSizeList")
// await this.$store.dispatch("getCategoryList") // await this.$store.dispatch("getCategoryList")
// this.$Router.push("/pages/goods/list") // this.$Router.push("/pages/goods/list")
this.$Router.push('/pages/home/index'); this.$Router.push("/pages/home/index");
} // uni.setStorageSync("assignType",2)
} // this.$Router.push('/pages/brands/collection');
},
},
}; };
</script> </script>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment