This commit is contained in:
zmj 2024-05-25 13:47:43 +08:00
parent 47a2821fa0
commit 51fe5f25b6
6 changed files with 11 additions and 10 deletions

View File

@ -132,8 +132,8 @@ export function phonelogin(data) {
* 获取用户中心菜单
*
*/
export function getMenuList() {
return request.get("common/menus", {}, {
export function getMenuList(data) {
return request.get("common/menus", data, {
noAuth: true
});
}

View File

@ -39,7 +39,7 @@
我是经销商
</view>
</view>
<view style="height: 50rpx;"></view>
<view style="height: 50rpx;"></view>
</view>
</template>
@ -63,7 +63,7 @@
if (isNewStoreType == 1) uni.setStorageSync('newStore', true);
if (isNewStoreType == 2) uni.setStorageSync('newSupplier', true);
if (isNewStoreType == 3) uni.setStorageSync('newDistribution', true);
console.log(uni.getStorageSync('newSupplier'), uni.getStorageSync('newDistribution'))
uni.setStorageSync('userType', isNewStoreType)
uni.switchTab({
url: url
})

View File

@ -707,7 +707,7 @@
this.$store.commit('SET_STOKEN', res.data?.token);
}
}).catch(err => {
console.log("获取报错", err)
// console.log("", err)
})
},

View File

@ -792,8 +792,9 @@
*/
getMyMenus: function() {
let that = this;
if (this.MyMenus.length) return;
getMenuList().then(res => {
getMenuList({
type: uni.getStorageSync('userType') || null
}).then(res => {
that.personalMenu = []
res.data.menu.forEach((item, index) => {
that.filterMenus(item)

View File

@ -7,14 +7,14 @@
<text class="next-btn-text font" style="line-height: 76rpx;" @click="next">我知道了</text>
</view>
<view class="target" :style="{left:left-20,top:top-13.5}" @click="next">
<image src="http://lihai001.oss-cn-chengdu.aliyuncs.com/def/6202d269b6163b9ec7a4383559fc67a8.png"
<image src="https://lihai001.oss-cn-chengdu.aliyuncs.com/attach/af251202405251345514747.png"
class="target-icon"></image>
<text class="target-text">经销入驻</text>
</view>
<view :style="{left:left-20+'px',top:top-70+'px'}" class="trans1">
<image src="/static/images/pointer.png" style="width: 254rpx;height: 254rpx;"></image>
</view>
<view class="tips-box" :style="{left:left-200,top:top-170}">
<view class="tips-box" :style="{left:left-100,top:top-170}">
<view class="tips" style="position: absolute;padding-left: 20px;">
<view class="tras" :class="{act:isAct}">
<text style="font-size: 28rpx;line-height: 100rpx;color: white;">点击我的页面,进行经销商入驻</text>

View File

@ -7,7 +7,7 @@
<text class="next-btn-text font" style="line-height: 76rpx;" @click="next">我知道了</text>
</view>
<view class="target" :style="{left:left-20,top:top-13.5}" @click="next">
<image src="http://lihai001.oss-cn-chengdu.aliyuncs.com/def/6202d269b6163b9ec7a4383559fc67a8.png"
<image src="https://lihai001.oss-cn-chengdu.aliyuncs.com/attach/c251a202405251344552292.png"
class="target-icon"></image>
<text class="target-text">供应入驻</text>
</view>