Commit 1b670a86 by 宋冰琦

调整部分图片 修改商品详情按钮样式

parent 55374e15
...@@ -34,7 +34,7 @@ ...@@ -34,7 +34,7 @@
"iconPath": "/static/imgs/caidanweixuanzhong.png", "iconPath": "/static/imgs/caidanweixuanzhong.png",
"selectedIconPath": "/static/imgs/caidanxuanzhong.png", "selectedIconPath": "/static/imgs/caidanxuanzhong.png",
"pagePath": "pages/menu/menu", "pagePath": "pages/menu/menu",
"text": "菜单" "text": "主页"
}, },
{ {
"iconPath": "/static/imgs/dingdanweixuanzhong.png", "iconPath": "/static/imgs/dingdanweixuanzhong.png",
...@@ -110,7 +110,7 @@ ...@@ -110,7 +110,7 @@
} }
.icon { .icon {
width: 40rpx; width: 50rpx;
height: 40rpx; height: 45rpx;
} }
</style> </style>
\ No newline at end of file
...@@ -123,13 +123,24 @@ ...@@ -123,13 +123,24 @@
</div> </div>
</view> </view>
<view v-if="size > 0" class="good-select-cont"> <view v-if="size > 0" class="good-select-cont">
<view> <span
<a
:class=" :class="
!shopState || !isInRange !shopState || !isInRange
? 'good-select-btn1-close' ? 'good-select-btn1-close'
: 'good-select-btn1' : 'good-select-btn1'
" "
@click="shoppingCart"
type="default"
>加入购物袋</span
>
<view>
<a
:class="
!shopState || !isInRange
? 'good-select-btn2-close'
: 'good-select-btn2'
"
@click="getallNum()" @click="getallNum()"
v-if="userms" v-if="userms"
> >
...@@ -149,17 +160,6 @@ ...@@ -149,17 +160,6 @@
立即购买 立即购买
</button> </button>
</view> </view>
<span
:class="
!shopState || !isInRange
? 'good-select-btn2-close'
: 'good-select-btn2'
"
@click="shoppingCart"
type="default"
>加入购物袋</span
>
</view> </view>
</view> </view>
</view> </view>
...@@ -827,7 +827,7 @@ button[disabled]:not([type]) { ...@@ -827,7 +827,7 @@ button[disabled]:not([type]) {
border-radius: 2px; border-radius: 2px;
font-size: 28rpx; font-size: 28rpx;
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
background: #0050f6; background: #1954ee;
line-height: 104rpx; line-height: 104rpx;
text-align: center; text-align: center;
color: #fff; color: #fff;
......
...@@ -10,7 +10,7 @@ ...@@ -10,7 +10,7 @@
<view :style="{'text-align':'center'}"> <view :style="{'text-align':'center'}">
<image class="empty_icon" src="/static/imgs/wuxiaoxizhanweitu.png"></image> <image class="empty_icon" src="/static/imgs/wuxiaoxizhanweitu.png"></image>
</view> </view>
<view class="empty_text">——暂无消息,去品尝杯咖啡吧——</view> <view class="empty_text">暂无消息,先去下单</view>
<button class="empty_button" @click="goHome">去品尝</button> <button class="empty_button" @click="goHome">去品尝</button>
</view> </view>
<view class="msg_item" v-for="item in list" @click="toRead(item)" :key="item.id"> <view class="msg_item" v-for="item in list" @click="toRead(item)" :key="item.id">
...@@ -120,7 +120,6 @@ export default { ...@@ -120,7 +120,6 @@ export default {
} }
.empty_text { .empty_text {
margin-top: 44rpx;
width: 414rpx; width: 414rpx;
text-align: center; text-align: center;
font-size: 24rpx; font-size: 24rpx;
...@@ -129,7 +128,7 @@ export default { ...@@ -129,7 +128,7 @@ export default {
color: #999999; color: #999999;
} }
.empty_button { .empty_button {
margin-top: 35rpx; margin-top: 50rpx;
width: 167rpx; width: 167rpx;
height: 64rpx; height: 64rpx;
border-radius: 2rpx; border-radius: 2rpx;
......
...@@ -148,7 +148,8 @@ ...@@ -148,7 +148,8 @@
<view v-if="userms" class="function"> <view v-if="userms" class="function">
<view class="title">常用功能</view> <view class="title">常用功能</view>
<view class="function_item"> <view class="function_item">
<u-icon name="server-fill" color="#000000" size="16"></u-icon> <!-- <u-icon name="server-fill" color="#000000" size="16"></u-icon> -->
<image class="icon_wechat" src="/static/imgs/ico_wechat.png"></image>
<button <button
class="function_item_text" class="function_item_text"
open-type="contact" open-type="contact"
...@@ -182,11 +183,11 @@ export default { ...@@ -182,11 +183,11 @@ export default {
}); });
} }
let platform = uni.getSystemInfoSync().platform; let platform = uni.getSystemInfoSync().platform;
if (platform == "android") { // if (platform == "android") {
this.img = "../../static/imgs/wodezhanweitu.png"; this.img = "../../static/imgs/wodezhanweitu.png";
} else { // } else {
this.img = "https://s3.bmp.ovh/imgs/2022/07/05/1768111c5c7f5300.gif"; // this.img = "https://s3.bmp.ovh/imgs/2022/07/05/1768111c5c7f5300.gif";
} // }
}, },
async onShow() { async onShow() {
const dayTitleList = [ const dayTitleList = [
...@@ -467,7 +468,7 @@ button::after { ...@@ -467,7 +468,7 @@ button::after {
} }
.icon { .icon {
width: 99.94rpx; width: 99.94rpx;
height: 110rpx; height: 120rpx;
margin: 0 auto; margin: 0 auto;
} }
} }
...@@ -614,6 +615,10 @@ button::after { ...@@ -614,6 +615,10 @@ button::after {
display: flex; display: flex;
align-items: center; align-items: center;
margin-top: 22rpx; margin-top: 22rpx;
.icon_wechat {
width: 35rpx;
height: 35rpx;
}
.function_item_text { .function_item_text {
flex: 1; flex: 1;
......
...@@ -30,8 +30,8 @@ ...@@ -30,8 +30,8 @@
src="/static/imgs/wudingdanzhanweitu.png" src="/static/imgs/wudingdanzhanweitu.png"
></image> ></image>
</view> </view>
<view class="empty_text">——您还未下单,下单品尝一下吧——</view> <view class="empty_text">没有订单,去买一杯</view>
<button class="empty_button" @click="goHome">去品尝</button> <button class="empty_button" @click="goHome">下 单</button>
</view> </view>
<view class="empty_notdl" v-show="!userms"> <view class="empty_notdl" v-show="!userms">
<view :style="{ 'text-align': 'center' }"> <view :style="{ 'text-align': 'center' }">
...@@ -40,13 +40,13 @@ ...@@ -40,13 +40,13 @@
src="/static/imgs/weidengluzhanweitu.png" src="/static/imgs/weidengluzhanweitu.png"
></image> ></image>
</view> </view>
<view class="empty_text">——您还未登录,请先登录——</view> <view class="empty_text">请先授权后登录</view>
<button <button
class="empty_button" class="empty_button"
open-type="getPhoneNumber" open-type="getPhoneNumber"
@getphonenumber="getPhoneNumber" @getphonenumber="getPhoneNumber"
> >
去登
</button> </button>
</view> </view>
<view class="orders" :style="{ 'padding-bottom': orderBottom + 'rpx' }"> <view class="orders" :style="{ 'padding-bottom': orderBottom + 'rpx' }">
...@@ -403,8 +403,6 @@ export default { ...@@ -403,8 +403,6 @@ export default {
} }
.empty_text { .empty_text {
width: 500rpx; width: 500rpx;
margin-top: 32.73rpx;
text-align: center; text-align: center;
font-size: 24rpx; font-size: 24rpx;
...@@ -413,7 +411,7 @@ export default { ...@@ -413,7 +411,7 @@ export default {
color: #999999; color: #999999;
} }
.empty_button { .empty_button {
margin-top: 34.29rpx; margin-top: 50rpx;
width: 167rpx; width: 167rpx;
height: 64rpx; height: 64rpx;
border-radius: 2rpx; border-radius: 2rpx;
...@@ -421,6 +419,7 @@ export default { ...@@ -421,6 +419,7 @@ export default {
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
background: #0050f6; background: #0050f6;
font-weight: 400; font-weight: 400;
letter-spacing: 5rpx;
color: #ffffff; color: #ffffff;
line-height: 64rpx; line-height: 64rpx;
} }
...@@ -442,7 +441,6 @@ export default { ...@@ -442,7 +441,6 @@ export default {
height: 236rpx; height: 236rpx;
} }
.empty_text { .empty_text {
margin-top: 32rpx;
text-align: center; text-align: center;
font-size: 24rpx; font-size: 24rpx;
...@@ -451,7 +449,7 @@ export default { ...@@ -451,7 +449,7 @@ export default {
color: #999999; color: #999999;
} }
.empty_button { .empty_button {
margin-top: 36rpx; margin-top: 50rpx;
width: 167rpx; width: 167rpx;
height: 64rpx; height: 64rpx;
border-radius: 2rpx; border-radius: 2rpx;
...@@ -459,6 +457,7 @@ export default { ...@@ -459,6 +457,7 @@ export default {
font-family: PingFangSC-Regular, PingFang SC; font-family: PingFangSC-Regular, PingFang SC;
background: #0050f6; background: #0050f6;
font-weight: 400; font-weight: 400;
letter-spacing: 5rpx;
color: #ffffff; color: #ffffff;
line-height: 64rpx; line-height: 64rpx;
} }
......
static/imgs/caidanweixuanzhong.png

3.24 KB | W: | H:

static/imgs/caidanweixuanzhong.png

610 Bytes | W: | H:

static/imgs/caidanweixuanzhong.png
static/imgs/caidanweixuanzhong.png
static/imgs/caidanweixuanzhong.png
static/imgs/caidanweixuanzhong.png
  • 2-up
  • Swipe
  • Onion skin
static/imgs/caidanxuanzhong.png

5.1 KB | W: | H:

static/imgs/caidanxuanzhong.png

849 Bytes | W: | H:

static/imgs/caidanxuanzhong.png
static/imgs/caidanxuanzhong.png
static/imgs/caidanxuanzhong.png
static/imgs/caidanxuanzhong.png
  • 2-up
  • Swipe
  • Onion skin
static/imgs/dingdan.png

7.22 KB | W: | H:

static/imgs/dingdan.png

2.63 KB | W: | H:

static/imgs/dingdan.png
static/imgs/dingdan.png
static/imgs/dingdan.png
static/imgs/dingdan.png
  • 2-up
  • Swipe
  • Onion skin
static/imgs/dingdanweixuanzhong.png

1.43 KB | W: | H:

static/imgs/dingdanweixuanzhong.png

800 Bytes | W: | H:

static/imgs/dingdanweixuanzhong.png
static/imgs/dingdanweixuanzhong.png
static/imgs/dingdanweixuanzhong.png
static/imgs/dingdanweixuanzhong.png
  • 2-up
  • Swipe
  • Onion skin
static/imgs/dingdanxuanzhong.png

3.73 KB | W: | H:

static/imgs/dingdanxuanzhong.png

1.27 KB | W: | H:

static/imgs/dingdanxuanzhong.png
static/imgs/dingdanxuanzhong.png
static/imgs/dingdanxuanzhong.png
static/imgs/dingdanxuanzhong.png
  • 2-up
  • Swipe
  • Onion skin
static/imgs/messageLogo.png

3.17 KB | W: | H:

static/imgs/messageLogo.png

1.02 KB | W: | H:

static/imgs/messageLogo.png
static/imgs/messageLogo.png
static/imgs/messageLogo.png
static/imgs/messageLogo.png
  • 2-up
  • Swipe
  • Onion skin
static/imgs/weidengluzhanweitu.png

118 KB | W: | H:

static/imgs/weidengluzhanweitu.png

11.9 KB | W: | H:

static/imgs/weidengluzhanweitu.png
static/imgs/weidengluzhanweitu.png
static/imgs/weidengluzhanweitu.png
static/imgs/weidengluzhanweitu.png
  • 2-up
  • Swipe
  • Onion skin
static/imgs/wodeweixuanzhong.png

3.43 KB | W: | H:

static/imgs/wodeweixuanzhong.png

1.07 KB | W: | H:

static/imgs/wodeweixuanzhong.png
static/imgs/wodeweixuanzhong.png
static/imgs/wodeweixuanzhong.png
static/imgs/wodeweixuanzhong.png
  • 2-up
  • Swipe
  • Onion skin
static/imgs/wodexuanzhong.png

4.76 KB | W: | H:

static/imgs/wodexuanzhong.png

1.45 KB | W: | H:

static/imgs/wodexuanzhong.png
static/imgs/wodexuanzhong.png
static/imgs/wodexuanzhong.png
static/imgs/wodexuanzhong.png
  • 2-up
  • Swipe
  • Onion skin
static/imgs/wodezhanweitu.png

91.1 KB | W: | H:

static/imgs/wodezhanweitu.png

64.8 KB | W: | H:

static/imgs/wodezhanweitu.png
static/imgs/wodezhanweitu.png
static/imgs/wodezhanweitu.png
static/imgs/wodezhanweitu.png
  • 2-up
  • Swipe
  • Onion skin
static/imgs/wudingdanzhanweitu.png

115 KB | W: | H:

static/imgs/wudingdanzhanweitu.png

9.19 KB | W: | H:

static/imgs/wudingdanzhanweitu.png
static/imgs/wudingdanzhanweitu.png
static/imgs/wudingdanzhanweitu.png
static/imgs/wudingdanzhanweitu.png
  • 2-up
  • Swipe
  • Onion skin
static/imgs/wuxiaoxizhanweitu.png

119 KB | W: | H:

static/imgs/wuxiaoxizhanweitu.png

14.7 KB | W: | H:

static/imgs/wuxiaoxizhanweitu.png
static/imgs/wuxiaoxizhanweitu.png
static/imgs/wuxiaoxizhanweitu.png
static/imgs/wuxiaoxizhanweitu.png
  • 2-up
  • Swipe
  • Onion skin
static/imgs/xiaoxi.png

4.89 KB | W: | H:

static/imgs/xiaoxi.png

467 Bytes | W: | H:

static/imgs/xiaoxi.png
static/imgs/xiaoxi.png
static/imgs/xiaoxi.png
static/imgs/xiaoxi.png
  • 2-up
  • Swipe
  • Onion skin
static/imgs/youhuijuan.png

12.2 KB | W: | H:

static/imgs/youhuijuan.png

1.42 KB | W: | H:

static/imgs/youhuijuan.png
static/imgs/youhuijuan.png
static/imgs/youhuijuan.png
static/imgs/youhuijuan.png
  • 2-up
  • Swipe
  • Onion skin
static/logo.png

3.93 KB | W: | H:

static/logo.png

3.28 KB | W: | H:

static/logo.png
static/logo.png
static/logo.png
static/logo.png
  • 2-up
  • Swipe
  • Onion skin
static/touxiang.png

15.9 KB | W: | H:

static/touxiang.png

16 KB | W: | H:

static/touxiang.png
static/touxiang.png
static/touxiang.png
static/touxiang.png
  • 2-up
  • Swipe
  • Onion skin
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