123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236 |
- <template>
- <view class="body">
- <view class="background"></view>
- <view class="content">
- <view class="userInfo">
- <view class="userInfo-box">
- <view class="userInfo-img">
- <image class="portrait" src="../../static/error/missing-face.png"></image>
- </view>
- <view class="userInfo-xinxi">
- <view class="title">
- <text>满园春泰州店</text>
- </view>
- <view class="phone">
- <text>19999999999</text>
- </view>
- </view>
- <view class="balance">
- 可用余额¥20000
- </view>
- </view>
- </view>
- <view class="userInfoList">
- <view class="userInfoList-top">
- <view class="top">
- <image src="../../static/merchant/saoma.png" mode=""></image>
- </view>
- 扫码核销
- </view>
- <view class="userInfoList-top">
- <view class="top">
- <image src="../../static/merchant/erweima.png" mode=""></image>
- </view>
- 店铺二维码
- </view>
- <view class="userInfoList-bottom">
- <view class="bottom">
- <image src="../../static/merchant/money.png" mode=""></image>
- </view>
- 店铺财务
- </view>
- <view class="userInfoList-bottom">
- <view class="bottom">
- <image src="../../static/merchant/order.png" mode=""></image>
- </view>
- 订单管理
- </view>
- <view class="userInfoList-bottom" @click="navTo('/pages/merchant/commodity')">
- <view class="bottom">
- <image src="../../static/merchant/shop.png" mode=""></image>
- </view>
- 商品管理
- </view>
- <view class="userInfoList-bottom">
- <view class="bottom">
- <image src="../../static/merchant/xiadan.png" mode=""></image>
- </view>
- 在线下单
- </view>
- <view class="userInfoList-bottom" @click="navTo('/pages/merchant/vipDetail')">
- <view class="bottom">
- <image src="../../static/merchant/vip.png" mode=""></image>
- </view>
- 店铺会员
- </view>
- <view class="userInfoList-bottom">
- <view class="bottom">
- <image src="../../static/merchant/dianpu.png" mode=""></image>
- </view>
- 店铺数据
- </view>
- </view>
- </view>
- </view>
- </template>
- <script>
- export default {
- data() {
- return {
- };
- },
- methods:{
- //跳转
- navTo(url){
- uni.navigateTo({
- url
- })
- }
- }
- }
- </script>
- <style lang="scss">
- page {
- height: 100%;
- background-color: #EEEDED;
- padding: 0;
- margin: 0;
- }
- .content {
- background-color: #EEEDED;
- margin: 0 30rpx;
- display: flex;
- flex-direction: column;
- }
- .background {
- width: 100%;
- height: 220rpx;
- background-color: #75E5B6;
- }
- .userInfo {
- margin-top: -110rpx;
- display: flex;
- flex-direction: column;
- justify-content: center;
- background-color: #F9F9F9;
- border-radius: 19rpx;
- width: 100%;
- height: 300rpx;
- .userInfo-box {
- display: flex;
- flex-direction: column;
- align-items: center;
- .userInfo-img {
- margin: -65rpx 0 0 0;
- width: 130rpx;
- height: 130rpx;
- border: 5rpx solid #fff;
- border-radius: 50%;
- image {
- width: 100%;
- height: 100%;
- }
- }
- .userInfo-xinxi {
- .title {
- margin: 20rpx 0;
- font-size: 32rpx;
- font-family: PingFang SC;
- font-weight: bold;
- color: #333333;
- line-height: 21rpx;
- }
- .phone {
- font-size: 28rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #666666;
- line-height: 21rpx;
- margin-bottom: 40rpx;
- }
- }
- .balance {
- text-align: center;
- width: 500rpx;
- height: 60rpx;
- background: #52C696;
- border-radius: 30rpx;
- font-size: 28rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #FFFFFF;
- line-height: 60rpx;
- }
- }
- }
- .userInfoList {
- display: flex;
- flex-wrap:wrap;
- justify-content: space-between;
- .userInfoList-top {
- position: relative;
- margin: 15rpx 0 ;
- display: flex;
-
- justify-content: center;
- align-items: center;
- width: 340rpx;
- height: 100rpx;
- background: #FFFFFF;
- border-radius: 20rpx;
- font-size: 30rpx;
- font-family: PingFang SC;
- font-weight: 500;
- color: #4D4D4D;
- line-height: 21rpx;
- .top {
- position: absolute;
- margin-left: -230rpx;
- width: 50rpx;
- height: 50rpx;
- image {
- width: 100%;
- height: 100%;
- }
- }
- }
- .userInfoList-bottom{
- margin-bottom: 15rpx;
- width: 340rpx;
- height: 250rpx;
- background: #F9F9F9;
- border-radius: 20rpx;
- display: flex;
- flex-direction: column;
- justify-content: center;
- align-items: center;
- .bottom{
- margin-bottom: 20rpx;
- width: 68rpx;
- height: 68rpx;
- image{
- width: 100%;
- height: 100%;
- }
- }
- }
- }
- </style>
|