You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
96 lines
2.8 KiB
96 lines
2.8 KiB
|
2 months ago
|
<template>
|
||
|
|
<view class="page1">
|
||
|
|
<view style="height: 80rpx;line-height: 100rpx;padding-left: 20rpx;width: 95%;margin: 0 auto;">
|
||
|
|
账号
|
||
|
|
</view>
|
||
|
|
<view style="width: 95%;margin: 0 auto;background: #fff;border-radius: 10px;padding: 15rpx;">
|
||
|
|
<view @tap="goDetail('/package2/index/shopInfo')" style="display: flex;height: 100rpx;line-height: 100rpx;border-bottom: 1px solid #eee;">
|
||
|
|
<view style="width: 10%;">
|
||
|
|
<uni-icons type="contact" size="27"></uni-icons>
|
||
|
|
</view>
|
||
|
|
<view style="width: 80%;">
|
||
|
|
修改个人信息
|
||
|
|
</view>
|
||
|
|
<view>
|
||
|
|
<uni-icons type="right" size="27"></uni-icons>
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
<view v-if="isShopkeeper" @tap="goDetail('/package1/index/updateShopMsg')" style="display: flex;height: 100rpx;line-height: 100rpx;border-bottom: 1px solid #eee;">
|
||
|
|
<view style="width: 10%;">
|
||
|
|
<uni-icons type="shop" size="27"></uni-icons>
|
||
|
|
</view>
|
||
|
|
<view style="width: 80%;">
|
||
|
|
更新店铺信息
|
||
|
|
</view>
|
||
|
|
<view>
|
||
|
|
<uni-icons type="right" size="27"></uni-icons>
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
<view v-if="isShopkeeper" @tap="goDetail('/package1/index/updateQR')" style="display: flex;height: 100rpx;line-height: 100rpx;">
|
||
|
|
<view style="width: 10%;">
|
||
|
|
<uni-icons type="calendar" size="27"></uni-icons>
|
||
|
|
</view>
|
||
|
|
<view style="width: 80%;">
|
||
|
|
更新店铺二维码
|
||
|
|
</view>
|
||
|
|
<view>
|
||
|
|
<uni-icons type="right" size="27"></uni-icons>
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
<view style="height: 80rpx;line-height: 100rpx;padding-left: 20rpx;width: 95%;margin: 0 auto;">
|
||
|
|
关于
|
||
|
|
</view>
|
||
|
|
<view style="width: 95%;margin: 0 auto;background: #fff;border-radius: 10px;padding: 15rpx;">
|
||
|
|
<view @tap="goDetail('/package2/other/tutorialList')" style="display: flex;height: 100rpx;line-height: 100rpx;border-bottom: 1px solid #eee;">
|
||
|
|
<view style="width: 10%;">
|
||
|
|
<uni-icons type="search" size="27"></uni-icons>
|
||
|
|
</view>
|
||
|
|
<view style="width: 80%;">
|
||
|
|
使用教程
|
||
|
|
</view>
|
||
|
|
<view>
|
||
|
|
<uni-icons type="right" size="27"></uni-icons>
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
<view @tap="goDetail('/package1/index/feedBack')" style="display: flex;height: 100rpx;line-height: 100rpx;">
|
||
|
|
<view style="width: 10%;">
|
||
|
|
<uni-icons type="chat" size="27"></uni-icons>
|
||
|
|
</view>
|
||
|
|
<view style="width: 80%;">
|
||
|
|
问题反馈
|
||
|
|
</view>
|
||
|
|
<view>
|
||
|
|
<uni-icons type="right" size="27"></uni-icons>
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
</view>
|
||
|
|
</template>
|
||
|
|
|
||
|
|
<script>
|
||
|
|
export default {
|
||
|
|
data() {
|
||
|
|
return {
|
||
|
|
isShopkeeper:false, //是否是管理员
|
||
|
|
}
|
||
|
|
},
|
||
|
|
onLoad(){
|
||
|
|
if(uni.getStorageSync('type') == 0 && uni.getStorageSync('shopOwnerPhone') == uni.getStorageSync('username')){
|
||
|
|
this.isShopkeeper = true
|
||
|
|
}
|
||
|
|
},
|
||
|
|
methods: {
|
||
|
|
goDetail(url){
|
||
|
|
uni.navigateTo({
|
||
|
|
url: url
|
||
|
|
})
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
</script>
|
||
|
|
<style lang="scss">
|
||
|
|
page,.page1{
|
||
|
|
font-size: 28rpx;
|
||
|
|
}
|
||
|
|
</style>
|