Merge branch 'master' of http://gitea.yxtsoft.com/lipinka/yxt-yyth-ui-miniprogram
@@ -6,8 +6,8 @@
|
|||||||
* loginTimeoutPage = "/pages/login/index", // 登录超时或失效的情况下,跳转到的登录页面
|
* loginTimeoutPage = "/pages/login/index", // 登录超时或失效的情况下,跳转到的登录页面
|
||||||
*/
|
*/
|
||||||
module.exports = {
|
module.exports = {
|
||||||
// baseUrl: 'http://192.168.2.113:7201',
|
baseUrl: 'http://192.168.2.113:7201',
|
||||||
baseUrl: 'https://supervise.yxtsoft.com/lpkapi',
|
// baseUrl: 'https://supervise.yxtsoft.com/lpkapi',
|
||||||
// baseUrl: 'http://jianguan.yyundong.com/api',
|
// baseUrl: 'http://jianguan.yyundong.com/api',
|
||||||
tokenName: "Authorization", // 请求头中token的名字,与服务器端对应
|
tokenName: "Authorization", // 请求头中token的名字,与服务器端对应
|
||||||
loginTimeoutCode: "5001", // 登录超时或失效的情况下,服务器端返回的错误码
|
loginTimeoutCode: "5001", // 登录超时或失效的情况下,服务器端返回的错误码
|
||||||
|
|||||||
24
pages.json
@@ -35,8 +35,7 @@
|
|||||||
{
|
{
|
||||||
"path": "pages/card/card_bind",
|
"path": "pages/card/card_bind",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "绑定云菜窖卡",
|
"navigationStyle": "custom"
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
@@ -44,8 +43,7 @@
|
|||||||
{
|
{
|
||||||
"path": "pages/card/card_bind2",
|
"path": "pages/card/card_bind2",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "绑定云菜窖卡",
|
"navigationStyle": "custom"
|
||||||
"enablePullDownRefresh": false
|
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"path": "pages/index/BindPhone",
|
"path": "pages/index/BindPhone",
|
||||||
@@ -83,23 +81,23 @@
|
|||||||
{
|
{
|
||||||
"path": "pages/good/goodsDetail",
|
"path": "pages/good/goodsDetail",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "商品详情",
|
"navigationBarTitleText": "产品详情",
|
||||||
"enablePullDownRefresh": false
|
"enablePullDownRefresh": false
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"path": "pages/SelectAddressActivity",
|
"path": "pages/SelectAddressActivity",
|
||||||
"style": {
|
"style": {
|
||||||
"navigationBarTitleText": "选择提货点",
|
"navigationBarTitleText": "提货点列表",
|
||||||
"enablePullDownRefresh": false
|
"enablePullDownRefresh": false
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"globalStyle": {
|
"globalStyle": {
|
||||||
"navigationBarTextStyle": "black",
|
"navigationBarTextStyle": "white",
|
||||||
"navigationBarTitleText": "uni-app",
|
"navigationBarTitleText": "uni-app",
|
||||||
"navigationBarBackgroundColor": "#F8F8F8",
|
"navigationBarBackgroundColor": "#FE9039",
|
||||||
"backgroundColor": "#F8F8F8"
|
"backgroundColor": "#FE9039"
|
||||||
},
|
},
|
||||||
"tabBar": {
|
"tabBar": {
|
||||||
"color": "#7A7E83",
|
"color": "#7A7E83",
|
||||||
@@ -109,13 +107,13 @@
|
|||||||
"list": [{
|
"list": [{
|
||||||
"pagePath": "pages/card/card",
|
"pagePath": "pages/card/card",
|
||||||
"text": "礼包",
|
"text": "礼包",
|
||||||
"iconPath": "static/ze_bag_1.png",
|
"iconPath": "static/bomicon/bom_notPack.png",
|
||||||
"selectedIconPath": "static/ze_bag2.png"
|
"selectedIconPath": "static/bomicon/bom_pack.png"
|
||||||
}, {
|
}, {
|
||||||
"pagePath": "pages/record/recordList",
|
"pagePath": "pages/record/recordList",
|
||||||
"text": "预约记录",
|
"text": "预约记录",
|
||||||
"iconPath": "static/ze_underway1.png",
|
"iconPath": "static/bomicon/bom_notRecord.png",
|
||||||
"selectedIconPath": "static/ze_underway2.png"
|
"selectedIconPath": "static/bomicon/bom_record.png"
|
||||||
}]
|
}]
|
||||||
},
|
},
|
||||||
"uniIdRouter": {}
|
"uniIdRouter": {}
|
||||||
|
|||||||
@@ -1,6 +1,6 @@
|
|||||||
<template>
|
<template>
|
||||||
<view>
|
<view>
|
||||||
<view style="position: sticky;top: 0;background-color: #FFFFFF;">
|
<view style="position: sticky;top: 0;background-color: #FE9039;">
|
||||||
<view class="search-container">
|
<view class="search-container">
|
||||||
<!-- 搜索框 -->
|
<!-- 搜索框 -->
|
||||||
<view class="search-container-bar">
|
<view class="search-container-bar">
|
||||||
@@ -9,24 +9,24 @@
|
|||||||
v-model="associativeText" :focus="focus" :placeholder="hotWorld" clearButton="auto"
|
v-model="associativeText" :focus="focus" :placeholder="hotWorld" clearButton="auto"
|
||||||
cancelButton="none" @clear="clear" />
|
cancelButton="none" @clear="clear" />
|
||||||
<view v-if="stringIsNotEmpty(associativeText) && associativeText!=page.key" @click="search"
|
<view v-if="stringIsNotEmpty(associativeText) && associativeText!=page.key" @click="search"
|
||||||
style="margin-right: 10px;font-size: 13px;">搜索</view>
|
style="margin-right: 10px;font-size: 13px; color: #FED6B5;">搜索</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="search-body">
|
<view class="search-body">
|
||||||
<view
|
<view
|
||||||
style="font-size: 26rpx;padding-left: 40rpx;padding-right: 40rpx;padding-top: 10rpx;padding-bottom: 20rpx;color: steelblue;">
|
style="font-size: 26rpx;padding-left: 50rpx;padding-right: 40rpx;padding-top: 10rpx;padding-bottom: 20rpx;color: #FED6B5;">
|
||||||
输入关键字筛选提货点
|
输入关键字筛选提货点
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
||||||
<loading-state ref="pageView" @request="request">
|
<loading-state ref="pageView" @request="request">
|
||||||
<!-- 搜索联想 -->
|
<!-- 搜索联想 -->
|
||||||
<view
|
<view style="display: flex;flex-direction: column;background: #FFFFFF;
|
||||||
style="display: flex;flex-direction: column;background: #FFFFFF;border-radius: 30rpx;padding: 20rpx;box-sizing: border-box;margin: 20rpx;width: calc(100% - 40rpx);padding-bottom: 0px;"
|
border-top-left-radius: 30px;border-top-right-radius: 30px; padding:10px 20px;margin-top: 10px;box-sizing: border-box;padding-bottom: 0px;"
|
||||||
v-for="(item,index) in dataList" :key="index">
|
v-for="(item,index) in dataList" :key="index">
|
||||||
|
<!--
|
||||||
<!-- 顶部标题 -->
|
|
||||||
<view
|
<view
|
||||||
style="display: flex;flex-direction: row;width: 100%;box-sizing: border-box;width: 100%;margin-top:10rpx ;align-items: center;">
|
style="display: flex;flex-direction: row;width: 100%;box-sizing: border-box;width: 100%;margin-top:10rpx ;align-items: center;">
|
||||||
<image src="../static/address_name.png" style="width: 50rpx;height: 50rpx;flex-shrink: 0;">
|
<image src="../static/address_name.png" style="width: 50rpx;height: 50rpx;flex-shrink: 0;">
|
||||||
@@ -36,11 +36,9 @@
|
|||||||
</text>
|
</text>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 营业时间 -->
|
|
||||||
<text
|
<text
|
||||||
style="font-size: 24rpx;color: #999999;margin-top: 6rpx;box-sizing: border-box;width: 100%;display:inline-block;white-space: pre-wrap; word-wrap: break-word;height: auto;">营业时间:{{item.businessHours}}</text>
|
style="font-size: 24rpx;color: #999999;margin-top: 6rpx;box-sizing: border-box;width: 100%;display:inline-block;white-space: pre-wrap; word-wrap: break-word;height: auto;">营业时间:{{item.businessHours}}</text>
|
||||||
|
|
||||||
<!-- 提货点信息 -->
|
|
||||||
<view style="display: flex;flex-direction: row;margin-top: 22rpx;">
|
<view style="display: flex;flex-direction: row;margin-top: 22rpx;">
|
||||||
<image v-if="false"
|
<image v-if="false"
|
||||||
style="width: 120rpx;height: 120rpx;border-radius: 20rpx;flex-shrink: 0;background-color: #fafafa;">
|
style="width: 120rpx;height: 120rpx;border-radius: 20rpx;flex-shrink: 0;background-color: #fafafa;">
|
||||||
@@ -62,7 +60,6 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<!-- 底部 -->
|
|
||||||
|
|
||||||
<view style="display: flex;flex-direction: row;margin-top: 38rpx;border-top: 1rpx #f1f2f3 solid;">
|
<view style="display: flex;flex-direction: row;margin-top: 38rpx;border-top: 1rpx #f1f2f3 solid;">
|
||||||
<view style="flex: 1;"></view>
|
<view style="flex: 1;"></view>
|
||||||
@@ -77,12 +74,44 @@
|
|||||||
<image src="../static/address_confirm.png" style="width: 18px;height: 18px;"></image>
|
<image src="../static/address_confirm.png" style="width: 18px;height: 18px;"></image>
|
||||||
<view style="font-size: 13px;margin-left: 6px;">确定</view>
|
<view style="font-size: 13px;margin-left: 6px;">确定</view>
|
||||||
</view>
|
</view>
|
||||||
|
</view> -->
|
||||||
|
|
||||||
|
<text style="font-size: 18px;font-weight: 600;font-family: sans-serif;color: 333;">{{item.name}}</text>
|
||||||
|
|
||||||
|
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 8px;">
|
||||||
|
<image src="https://supervise.yxtsoft.com/lpk/image/date.png" style="width: 20px;height: 20px;">
|
||||||
|
</image>
|
||||||
|
<text style="margin-left: 5px;font-size: 12px; color: #999;">营业时间:{{item.businessHours}}</text>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 8px;">
|
||||||
|
<image src="https://supervise.yxtsoft.com/lpk/image/location.png" style="width: 20px;height: 20px;">
|
||||||
|
</image>
|
||||||
|
<text style="margin-left: 5px;font-size: 12px; color: #999;flex: 1;">门店地址:{{item.address}}</text>
|
||||||
|
<image src="https://supervise.yxtsoft.com/lpk/image/navigation.png"
|
||||||
|
style="width: 20px;height: 20px; margin-right: 20px;"></image>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view style="display: flex;flex-direction: row;margin-top: 38rpx;border-top: 1rpx #f1f2f3 solid; justify-content: space-between;
|
||||||
|
padding-left: 30px;padding-right:30px;">
|
||||||
|
|
||||||
|
<view class="btn" @click.stop="phone(item.phone)">
|
||||||
|
<image src="https://supervise.yxtsoft.com/lpk/image/phone.png" style="width: 20px;height: 20px;">
|
||||||
|
</image>
|
||||||
|
<text style="margin-left: 5px;font-size: 14px; color: #666;">电话咨询</text>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view class="btn" @click.stop="confirm(item)">
|
||||||
|
<image src="https://supervise.yxtsoft.com/lpk/image/user.png" style="width: 20px;height: 20px;">
|
||||||
|
</image>
|
||||||
|
<text style="margin-left: 5px;font-size: 14px; color: #666;">预约自提</text>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</loading-state>
|
</loading-state>
|
||||||
|
|
||||||
<view style="height: 20px;"></view>
|
<view style="height: 20px;"></view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
@@ -164,14 +193,18 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
display: flex;
|
margin-top: 10px;
|
||||||
flex-direction: row;
|
border: 1px solid #FEA561;
|
||||||
padding: 10px;
|
border-radius: 20px;
|
||||||
|
display: flex;flex-direction: row;
|
||||||
align-items: center;
|
align-items: center;
|
||||||
|
justify-content: center;
|
||||||
|
padding: 5px 10px;
|
||||||
|
margin-bottom: 10px;
|
||||||
}
|
}
|
||||||
|
|
||||||
.search-body {
|
.search-body {
|
||||||
background-color: #ffffff;
|
background-color: #FE9039;
|
||||||
border-bottom-right-radius: 10px;
|
border-bottom-right-radius: 10px;
|
||||||
border-bottom-left-radius: 10px;
|
border-bottom-left-radius: 10px;
|
||||||
}
|
}
|
||||||
@@ -204,7 +237,7 @@
|
|||||||
top: 0;
|
top: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
right: 0;
|
right: 0;
|
||||||
background: white;
|
background: #FE9039;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -8,7 +8,7 @@
|
|||||||
</NavBar>
|
</NavBar>
|
||||||
<view style="display: flex;flex-direction: column;align-items: center;">
|
<view style="display: flex;flex-direction: column;align-items: center;">
|
||||||
<view class="btn" @click="bind">
|
<view class="btn" @click="bind">
|
||||||
<image src="@/static/binding.png" style="width: 15px;height: 15px;"></image>
|
<image src="https://supervise.yxtsoft.com/lpk/image/binding.png" style="width: 15px;height: 15px;"></image>
|
||||||
<text
|
<text
|
||||||
style="height: 45px;line-height: 45px;font-size: 17px; text-align: center;color: #FE6B00;margin-left: 11px;">绑定新卡</text>
|
style="height: 45px;line-height: 45px;font-size: 17px; text-align: center;color: #FE6B00;margin-left: 11px;">绑定新卡</text>
|
||||||
</view>
|
</view>
|
||||||
@@ -18,7 +18,7 @@
|
|||||||
<view
|
<view
|
||||||
style="display: flex;flex-direction: column;background-color: #fff;height: 50vh; border-top-left-radius: 25px;border-top-right-radius: 25px;margin-top: -9.06vw;">
|
style="display: flex;flex-direction: column;background-color: #fff;height: 50vh; border-top-left-radius: 25px;border-top-right-radius: 25px;margin-top: -9.06vw;">
|
||||||
|
|
||||||
<z-paging ref="paging" use-page-scroll v-model="data" @query="queryList" :refresher-enabled="false">
|
<z-paging ref="paging" use-page-scroll v-model="data" @query="queryList" :refresher-enabled="false">
|
||||||
|
|
||||||
<view v-for="(item,index) in data" :key="index"
|
<view v-for="(item,index) in data" :key="index"
|
||||||
style="display: flex;flex-direction: column;align-items: center;margin-top: 14px; "
|
style="display: flex;flex-direction: column;align-items: center;margin-top: 14px; "
|
||||||
@@ -29,10 +29,10 @@
|
|||||||
|
|
||||||
<view style="display: flex;flex-direction: row; align-items: center; flex: 1;">
|
<view style="display: flex;flex-direction: row; align-items: center; flex: 1;">
|
||||||
|
|
||||||
<image src="@/static/pack.png" mode="aspectFill" v-show="item.showBtn"
|
<image src="https://supervise.yxtsoft.com/lpk/image/pack.png" mode="aspectFill" v-show="item.showBtn"
|
||||||
style="width: 50px;height: 50px;margin-right: 10px;" />
|
style="width: 50px;height: 50px;margin-right: 10px;" />
|
||||||
|
|
||||||
<image src="@/static/pack2.png" mode="aspectFill" v-show="!item.showBtn"
|
<image src="https://supervise.yxtsoft.com/lpk/image/pack2.png" mode="aspectFill" v-show="!item.showBtn"
|
||||||
style="width: 50px;height: 50px;margin-right: 10px;" />
|
style="width: 50px;height: 50px;margin-right: 10px;" />
|
||||||
|
|
||||||
<view style="display: flex;flex-direction: column;padding-right: 10px;">
|
<view style="display: flex;flex-direction: column;padding-right: 10px;">
|
||||||
@@ -50,7 +50,8 @@
|
|||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view style="font-size: 12px;color:#fff;flex-shrink: 0;
|
<view :class="{ showBtn: !item.showBtn }"
|
||||||
|
style="font-size: 12px;color:#fff;flex-shrink: 0;
|
||||||
border-radius: 15px; height: 30px;padding: 0px 12px;line-height: 30px;
|
border-radius: 15px; height: 30px;padding: 0px 12px;line-height: 30px;
|
||||||
background: -webkit-linear-gradient(left,#FF7405,#FFAD6D);">预约提货</view>
|
background: -webkit-linear-gradient(left,#FF7405,#FFAD6D);">预约提货</view>
|
||||||
|
|
||||||
@@ -134,10 +135,17 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
},
|
},
|
||||||
booking(sid) {
|
booking(item) {
|
||||||
uni.navigateTo({
|
|
||||||
url: '/pages/card/card_booking?sid=' + sid
|
if(!item.notRese){
|
||||||
})
|
this.shortToast("该卡商品已全部预约。")
|
||||||
|
return
|
||||||
|
}else{
|
||||||
|
uni.navigateTo({
|
||||||
|
url: '/pages/card/card_booking?sid=' + item.sid
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
@@ -146,15 +154,17 @@
|
|||||||
<style>
|
<style>
|
||||||
.top {
|
.top {
|
||||||
width: 100vw;
|
width: 100vw;
|
||||||
height: 126.66vw;
|
/* height: 126.66vw; */
|
||||||
|
height: 85vw;
|
||||||
/* 加载背景图 */
|
/* 加载背景图 */
|
||||||
background-image: url(https://supervise.yxtsoft.com/lpk/image/hmoe_bj.png);
|
background-image: url(https://supervise.yxtsoft.com/lpk/image/hmoe_bj.png);
|
||||||
/* 让背景图基于容器大小伸缩 */
|
/* 让背景图基于容器大小伸缩 */
|
||||||
background-size: cover;
|
background-size:100% 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.btn {
|
.btn {
|
||||||
margin-top: 97.86vw;
|
/* margin-top: 97.86vw; */
|
||||||
|
margin-top: 60vw;
|
||||||
width: 83%;
|
width: 83%;
|
||||||
background-color: #FFF;
|
background-color: #FFF;
|
||||||
border-radius: 45px;
|
border-radius: 45px;
|
||||||
@@ -166,17 +176,21 @@
|
|||||||
|
|
||||||
.item {
|
.item {
|
||||||
/* 加载背景图 */
|
/* 加载背景图 */
|
||||||
background-image: url(../../static/card_item.png);
|
background-image: url(https://supervise.yxtsoft.com/lpk/image/card_item.png);
|
||||||
/* 让背景图基于容器大小伸缩 */
|
/* 让背景图基于容器大小伸缩 */
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.item2 {
|
.item2 {
|
||||||
/* 加载背景图 */
|
/* 加载背景图 */
|
||||||
background-image: url(../../static/card_item2.png);
|
background-image: url(https://supervise.yxtsoft.com/lpk/image/card_item2.png);
|
||||||
/* 让背景图基于容器大小伸缩 */
|
/* 让背景图基于容器大小伸缩 */
|
||||||
background-size: 100% 100%;
|
background-size: 100% 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.showBtn{
|
||||||
|
visibility: hidden;
|
||||||
|
}
|
||||||
|
|
||||||
.use {
|
.use {
|
||||||
display: flex;
|
display: flex;
|
||||||
@@ -194,12 +208,7 @@
|
|||||||
transition: filter 0.2s;
|
transition: filter 0.2s;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bottom {
|
|
||||||
/* 加载背景图 */
|
|
||||||
background-image: url(../../static/card_bg1.png);
|
|
||||||
/* 让背景图基于容器大小伸缩 */
|
|
||||||
background-size: cover;
|
|
||||||
}
|
|
||||||
|
|
||||||
.oragin {}
|
.oragin {}
|
||||||
|
|
||||||
|
|||||||
@@ -1,8 +1,17 @@
|
|||||||
<template>
|
<template>
|
||||||
<view style="box-sizing: border-box;">
|
<view style="display: flex;flex-direction: column;background-color: #fff;">
|
||||||
<image src="../../static/bing_bg.png" style="width: 100vw;height: 50vw;z-index: 0;"></image>
|
|
||||||
|
|
||||||
<view style="display: flex;flex-direction: column;margin-top: -10vw;box-sizing: border-box;">
|
<view class="top">
|
||||||
|
<NavBar ref="nav" navTitle="绑定云菜窖卡" :showIcon="true" :start-change-height="page.startHeight"
|
||||||
|
:end-change-height="page.endHeight">
|
||||||
|
</NavBar>
|
||||||
|
<view >
|
||||||
|
<image src="https://supervise.yxtsoft.com/lpk/image/card_example.png" mode="scaleToFill" style="width: 100%;height: 70vw"></image>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<!-- <view style="display: flex;flex-direction: column;margin-top: -10vw;box-sizing: border-box;">
|
||||||
<view
|
<view
|
||||||
style="display: flex;flex-direction: column;border-radius: 20rpx;background: #FFFFFF;z-index: 1;align-items: center;box-sizing: border-box;">
|
style="display: flex;flex-direction: column;border-radius: 20rpx;background: #FFFFFF;z-index: 1;align-items: center;box-sizing: border-box;">
|
||||||
<view style="margin: 15px;">绑定云菜窖卡</view>
|
<view style="margin: 15px;">绑定云菜窖卡</view>
|
||||||
@@ -25,7 +34,40 @@
|
|||||||
<view
|
<view
|
||||||
style="margin: 30px;background-color: #fd3655;width: calc(100% - 60px);border-radius: 100rpx;height: 80rpx;display: flex;flex-direction: column;align-items: center;line-height: 80rpx;color: #FFFFFF;font-size: 36rpx;"
|
style="margin: 30px;background-color: #fd3655;width: calc(100% - 60px);border-radius: 100rpx;height: 80rpx;display: flex;flex-direction: column;align-items: center;line-height: 80rpx;color: #FFFFFF;font-size: 36rpx;"
|
||||||
@click="save">
|
@click="save">
|
||||||
绑定</view>
|
绑定</view> -->
|
||||||
|
|
||||||
|
<view style="display: flex;flex-direction: column;padding:20px;">
|
||||||
|
|
||||||
|
<view style="display: flex;flex-direction: row;align-items: center;">
|
||||||
|
<view style="background: #FF9D33; border-radius: 50%;width: 12px;height: 12px;"></view>
|
||||||
|
<view style="background: #FFDAB2; border-radius: 50%;width: 12px;height: 12px;"></view>
|
||||||
|
<text style="margin-left: 8px;font-size: 18px;color: #333;">绑定云菜窖卡</text>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货编码</text>
|
||||||
|
<view style="display: flex;flex-direction: row;justify-content: space-between;
|
||||||
|
background: #F8F8F8;border-radius: 5px;box-sizing: border-box;
|
||||||
|
width: calc(100vw -40px);align-items: center; padding:10px 0px;margin-top: 5px;">
|
||||||
|
<input maxlength="20" placeholder="请输入/扫码"
|
||||||
|
style="font-size: 30rpx;flex: 1;margin-right: 20px;padding-left: 10px;" type="number"
|
||||||
|
:value="page.code" @input="onKeyInput1" />
|
||||||
|
<view style="width: 1px;height: 20px;background: #ccc; margin-right: 10px;"></view>
|
||||||
|
<uni-icons type="camera-filled" color="#c0c4cc" size="22" style="flex-shrink: 0;margin-right: 10px;"
|
||||||
|
@click="scan" />
|
||||||
|
</view>
|
||||||
|
<text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货密码</text>
|
||||||
|
<view style="display: flex;flex-direction: row;justify-content: space-between;
|
||||||
|
background: #F8F8F8;border-radius: 5px; padding:10px 0px;
|
||||||
|
box-sizing: border-box;width: calc(100vw - 40px);align-items: center;margin-top: 10px;">
|
||||||
|
<input maxlength="6" placeholder="请输入提货密码" style="font-size: 30rpx;flex: 1;padding-left: 10px;"
|
||||||
|
type="number" :value="page.codeKey" @input="onKeyInput2" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view style="background: -webkit-linear-gradient(left,#FFB176,#FE923B); position: absolute; bottom: 30px;
|
||||||
|
width: 90%;border-radius: 100rpx;height: 80rpx;display: flex;
|
||||||
|
flex-direction: column;align-items: center;line-height: 80rpx;color: #FFFFFF;font-size: 36rpx;" @click="save">
|
||||||
|
绑定</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
@@ -36,12 +78,18 @@
|
|||||||
page: {
|
page: {
|
||||||
code: '',
|
code: '',
|
||||||
codeKey: '',
|
codeKey: '',
|
||||||
customerSid: ''
|
customerSid: '',
|
||||||
|
startHeight: 0,
|
||||||
|
endHeight: 0
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
onLoad() {
|
onLoad() {
|
||||||
this.page.customerSid = getApp().globalData.sid
|
this.page.customerSid = getApp().globalData.sid
|
||||||
|
let info = uni.getSystemInfoSync();
|
||||||
|
|
||||||
|
this.page.startHeight = info.windowWidth * 0.6
|
||||||
|
this.page.endHeight = info.windowWidth * 0.8
|
||||||
},
|
},
|
||||||
methods: {
|
methods: {
|
||||||
onKeyInput1(event) {
|
onKeyInput1(event) {
|
||||||
@@ -83,5 +131,8 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
|
.top{
|
||||||
|
width: 100vw;
|
||||||
|
height: 70vw;
|
||||||
|
}
|
||||||
</style>
|
</style>
|
||||||
@@ -2,10 +2,19 @@
|
|||||||
|
|
||||||
<!-- 扫码进入 携带参数 -->
|
<!-- 扫码进入 携带参数 -->
|
||||||
|
|
||||||
<view style="box-sizing: border-box;">
|
<view style="display: flex;flex-direction: column;background-color: #fff;">
|
||||||
<image src="../../static/bing_bg.png" style="width: 100vw;height: 50vw;z-index: 0;"></image>
|
|
||||||
|
<view class="top">
|
||||||
<view style="display: flex;flex-direction: column;margin-top: -10vw;box-sizing: border-box;">
|
<NavBar ref="nav" navTitle="绑定云菜窖卡" :showIcon="true" :start-change-height="page.startHeight"
|
||||||
|
:end-change-height="page.endHeight">
|
||||||
|
</NavBar>
|
||||||
|
<view >
|
||||||
|
<image src="https://supervise.yxtsoft.com/lpk/image/card_example.png" mode="scaleToFill" style="width: 100%;height: 70vw"></image>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<!-- <view style="display: flex;flex-direction: column;margin-top: -10vw;box-sizing: border-box;">
|
||||||
<view
|
<view
|
||||||
style="display: flex;flex-direction: column;border-radius: 20rpx;background: #FFFFFF;z-index: 1;align-items: center;box-sizing: border-box;">
|
style="display: flex;flex-direction: column;border-radius: 20rpx;background: #FFFFFF;z-index: 1;align-items: center;box-sizing: border-box;">
|
||||||
<view style="margin: 15px;">绑定云菜窖卡</view>
|
<view style="margin: 15px;">绑定云菜窖卡</view>
|
||||||
@@ -24,11 +33,44 @@
|
|||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
<view
|
<view
|
||||||
style="margin: 30px;background-color: #fd3655;width: calc(100% - 60px);border-radius: 100rpx;height: 80rpx;display: flex;flex-direction: column;align-items: center;line-height: 80rpx;color: #FFFFFF;font-size: 36rpx;"
|
style="margin: 30px;background-color: #fd3655;width: calc(100% - 60px);border-radius: 100rpx;height: 80rpx;display: flex;flex-direction: column;align-items: center;line-height: 80rpx;color: #FFFFFF;font-size: 36rpx;"
|
||||||
@click="save">
|
@click="save">
|
||||||
绑定</view>
|
绑定</view> -->
|
||||||
|
|
||||||
|
<view style="display: flex;flex-direction: column;padding:20px;">
|
||||||
|
|
||||||
|
<view style="display: flex;flex-direction: row;align-items: center;">
|
||||||
|
<view style="background: #FF9D33; border-radius: 50%;width: 12px;height: 12px;"></view>
|
||||||
|
<view style="background: #FFDAB2; border-radius: 50%;width: 12px;height: 12px;"></view>
|
||||||
|
<text style="margin-left: 8px;font-size: 18px;color: #333;">绑定云菜窖卡</text>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货编码</text>
|
||||||
|
<view style="display: flex;flex-direction: row;justify-content: space-between;
|
||||||
|
background: #F8F8F8;border-radius: 5px;box-sizing: border-box;
|
||||||
|
width: calc(100vw -40px);align-items: center; padding:10px 0px;margin-top: 5px;">
|
||||||
|
<input maxlength="20" placeholder="请输入/扫码"
|
||||||
|
style="font-size: 30rpx;flex: 1;margin-right: 20px;padding-left: 10px;" type="number"
|
||||||
|
:value="page.code" @input="onKeyInput1" />
|
||||||
|
<view style="width: 1px;height: 20px;background: #ccc; margin-right: 10px;"></view>
|
||||||
|
<uni-icons type="camera-filled" color="#c0c4cc" size="22" style="flex-shrink: 0;margin-right: 10px;"
|
||||||
|
@click="scan" />
|
||||||
|
</view>
|
||||||
|
<text style="margin-left: 8px;font-size: 14px;color: #333;margin-top: 20px;">提货密码</text>
|
||||||
|
<view style="display: flex;flex-direction: row;justify-content: space-between;
|
||||||
|
background: #F8F8F8;border-radius: 5px; padding:10px 0px;
|
||||||
|
box-sizing: border-box;width: calc(100vw - 40px);align-items: center;margin-top: 10px;">
|
||||||
|
<input maxlength="6" placeholder="请输入提货密码" style="font-size: 30rpx;flex: 1;padding-left: 10px;"
|
||||||
|
type="number" :value="page.codeKey" @input="onKeyInput2" />
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view style="background: -webkit-linear-gradient(left,#FFB176,#FE923B); position: absolute; bottom: 30px;
|
||||||
|
width: 90%;border-radius: 100rpx;height: 80rpx;display: flex;
|
||||||
|
flex-direction: column;align-items: center;line-height: 80rpx;color: #FFFFFF;font-size: 36rpx;" @click="save">
|
||||||
|
绑定</view>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
|
|||||||
@@ -98,10 +98,4 @@
|
|||||||
background: linear-gradient(89.8deg, rgba(218, 51, 33, 1) -3.76%, rgba(237, 113, 53, 0) 300.05%);
|
background: linear-gradient(89.8deg, rgba(218, 51, 33, 1) -3.76%, rgba(237, 113, 53, 0) 300.05%);
|
||||||
}
|
}
|
||||||
|
|
||||||
.bottom {
|
|
||||||
/* 加载背景图 */
|
|
||||||
background-image: url(../../static/card_bg1.png);
|
|
||||||
/* 让背景图基于容器大小伸缩 */
|
|
||||||
background-size: cover;
|
|
||||||
}
|
|
||||||
</style>
|
</style>
|
||||||
@@ -2,8 +2,8 @@
|
|||||||
|
|
||||||
<loading-state ref="pageView" @request="request">
|
<loading-state ref="pageView" @request="request">
|
||||||
<view>
|
<view>
|
||||||
<image :src="data.picUrl" style="width: 100vw;height: 100vw;background-color: #FFFFFF;"></image>
|
<image :src="data.picUrl" style="width: 100vw;height: 80vw;"></image>
|
||||||
<view
|
<!-- <view
|
||||||
style="margin-top: 9px;margin-left: 9px;margin-right: 9px;border-top-left-radius: 13px;border-top-right-radius: 13px;display: flex;flex-direction: column;align-items: center;background-color: #FFFFFF;padding-top: 11px;">
|
style="margin-top: 9px;margin-left: 9px;margin-right: 9px;border-top-left-radius: 13px;border-top-right-radius: 13px;display: flex;flex-direction: column;align-items: center;background-color: #FFFFFF;padding-top: 11px;">
|
||||||
<image src="../../static/goods_price_bg.png"
|
<image src="../../static/goods_price_bg.png"
|
||||||
style="width: 90vw;height: 16vw;border-radius: 10px;position: absolute;"></image>
|
style="width: 90vw;height: 16vw;border-radius: 10px;position: absolute;"></image>
|
||||||
@@ -33,7 +33,33 @@
|
|||||||
{{data.remarks}}
|
{{data.remarks}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
</view> -->
|
||||||
|
|
||||||
|
<view style="display: flex;flex-direction: column;background: #fff;padding: 20px;margin-top: 10px;
|
||||||
|
border-top-left-radius: 20px;border-top-right-radius: 20px;height: 100%;">
|
||||||
|
|
||||||
|
<text style="font-size: 18px;font-weight: 600;font-family: sans-serif;color: #333;">{{data.name}}</text>
|
||||||
|
|
||||||
|
<view style="display: flex;flex-direction: row;justify-content: space-between;margin-top: 10px;">
|
||||||
|
<text style="font-size: 13px;color: #666;">规    格</text>
|
||||||
|
<text style="font-size: 13px;color: #999;">{{data.remarks}}</text>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view style="display: flex;flex-direction: row;align-items: center;margin-top: 20px;">
|
||||||
|
|
||||||
|
<view style="width: 2px;height: 15px;background: #FF7A11;margin-right: 10px;"></view>
|
||||||
|
<text style="font-size: 14px;font-weight: 600;font-family: sans-serif;color: #333;">商品详情</text>
|
||||||
|
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view style="margin-top: 10px;" v-show="!data.appContent==''">
|
||||||
|
<rich-text :nodes="data.appContent | formatRichText" ></rich-text>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</loading-state>
|
</loading-state>
|
||||||
</template>
|
</template>
|
||||||
@@ -49,7 +75,8 @@
|
|||||||
picUrl: '',
|
picUrl: '',
|
||||||
name: '',
|
name: '',
|
||||||
price: '',
|
price: '',
|
||||||
remarks: ''
|
remarks: '',
|
||||||
|
appContent: ""
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@@ -57,12 +84,47 @@
|
|||||||
this.page.sid = options.sid
|
this.page.sid = options.sid
|
||||||
this.request()
|
this.request()
|
||||||
},
|
},
|
||||||
|
filters: {
|
||||||
|
/**
|
||||||
|
* 处理富文本里的图片宽度自适应
|
||||||
|
* 1.去掉img标签里的style、width、height属性
|
||||||
|
* 2.img标签添加style属性:max-width:100%;height:auto
|
||||||
|
* 3.修改所有style里的width属性为max-width:100%
|
||||||
|
* 4.去掉<br/>标签
|
||||||
|
* @param html
|
||||||
|
* @returns {void|string|*}
|
||||||
|
*/
|
||||||
|
formatRichText(html) {
|
||||||
|
//控制小程序中图片大小
|
||||||
|
if (html) {
|
||||||
|
let newContent = html.replace(/<img[^>]*>/gi, function(match, capture) {
|
||||||
|
match = match.replace(/style="[^"]+"/gi, '').replace(/style='[^']+'/gi, '');
|
||||||
|
match = match.replace(/width="[^"]+"/gi, '').replace(/width='[^']+'/gi, '');
|
||||||
|
match = match.replace(/height="[^"]+"/gi, '').replace(/height='[^']+'/gi, '');
|
||||||
|
return match;
|
||||||
|
});
|
||||||
|
newContent = newContent.replace(/style="[^"]+"/gi, function(match, capture) {
|
||||||
|
match = match.replace(/width:[^;]+;/gi, 'max-width:100%;').replace(/width:[^;]+;/gi,
|
||||||
|
'max-width:100%;');
|
||||||
|
return match;
|
||||||
|
});
|
||||||
|
newContent = newContent.replace(/<br[^>]*\/>/gi, '');
|
||||||
|
newContent = newContent.replace(/\<img/gi,
|
||||||
|
'<img style="max-width:100%;height:auto;display:inline-block;margin:10rpx auto;"');
|
||||||
|
return newContent;
|
||||||
|
} else {
|
||||||
|
return '暂无商品详情';
|
||||||
|
}
|
||||||
|
},
|
||||||
|
},
|
||||||
methods: {
|
methods: {
|
||||||
request() {
|
request() {
|
||||||
let _this = this
|
let _this = this
|
||||||
_this.$api.goodsDetail(this.page.sid).then((resp) => {
|
_this.$api.goodsDetail(this.page.sid).then((resp) => {
|
||||||
console.log(resp);
|
console.log(resp);
|
||||||
_this.data = resp
|
_this.data = resp
|
||||||
|
|
||||||
|
|
||||||
_this.$nextTick(() => {
|
_this.$nextTick(() => {
|
||||||
_this.$refs.pageView.setLoadState(2)
|
_this.$refs.pageView.setLoadState(2)
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -1,45 +1,93 @@
|
|||||||
<template>
|
<template>
|
||||||
|
<!-- 有列表的时候用 :auto='false' 需要你在onload等调用reload方法 -->
|
||||||
<!-- 有列表的时候用 :auto='false' 需要你在onload等调用reload方法 -->
|
<z-paging ref="paging" v-model="data" @query="queryList" :auto='true'>
|
||||||
<z-paging ref="paging" v-model="data" @query="queryList" :auto='true'>
|
|
||||||
|
<view v-for="(item,index) in data" style=" display: flex;flex-direction: column;margin-top: 15px;margin-left: 10px;margin-right: 10px;">
|
||||||
<view v-for="(item,index) in data" style="display: flex;flex-direction: column;margin-top: 15px; margin-left: 15px; margin-right: 15px;">
|
<!-- <view
|
||||||
<view
|
style="display: flex;flex-direction: column;border: 1px solid #e29a68;width: 100%;border-radius: 20rpx;margin-top: 8px;"
|
||||||
style="display: flex;flex-direction: column;border: 1px solid #e29a68;width: 100%;border-radius: 20rpx;margin-top: 8px;"
|
@click="detail(item.orderSid)">
|
||||||
@click="detail(item.orderSid)">
|
|
||||||
|
<view class="use">
|
||||||
<view class="use">
|
<image style="width: 70rpx;height: 70rpx;position: absolute;right: 40px;"
|
||||||
<image style="width: 70rpx;height: 70rpx;position: absolute;right: 40px;"
|
src="../../static/card_line.png"></image>
|
||||||
src="../../static/card_line.png"></image>
|
<image src="../../static/gift.png" style="width: 30px;height: 30px;padding-left: 6px;"></image>
|
||||||
<image src="../../static/gift.png" style="width: 30px;height: 30px;padding-left: 6px;"></image>
|
<view style="flex: 1;display: flex;flex-direction: column;z-index: 1;">
|
||||||
<view style="flex: 1;display: flex;flex-direction: column;z-index: 1;">
|
<view style="font-size: 14px;padding: 2px;padding-left: 5px;padding-top: 7px;">{{item.code}}
|
||||||
<view style="font-size: 14px;padding: 2px;padding-left: 5px;padding-top: 7px;">{{item.code}}
|
</view>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
<view
|
||||||
|
style="flex-shrink: 0;padding: 9px;font-size: 13px;z-index: 1;font-weight: 600;">{{item.reserveDate}}
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
<view
|
||||||
|
style="display: flex;flex-direction: column; padding: 10px;border-bottom-left-radius: 20rpx;border-bottom-right-radius: 20rpx;background-color: #fdf0ee;">
|
||||||
|
|
||||||
|
<view style="width: 100%;display: flex;flex-direction: row;align-items: center;">
|
||||||
|
<text>礼包类型:</text>
|
||||||
|
<text>{{item.bagName}}</text>
|
||||||
|
</view>
|
||||||
|
<view style="width: 100%;display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
|
||||||
|
<text>提货门店:</text>
|
||||||
|
<text>{{item.store}}</text>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
</view>
|
||||||
|
</view> -->
|
||||||
|
|
||||||
|
<view class="item" :class="{ item2: item.state=='已提货' }"
|
||||||
|
style="display: flex;flex-direction: row;padding: 15px 5px;"
|
||||||
|
>
|
||||||
|
|
||||||
|
<image src="https://supervise.yxtsoft.com/lpk/image/pack.png" mode="aspectFill" v-show="item.state=='未提货'"
|
||||||
|
style="width: 50px;height: 50px;margin-right: 10px;" />
|
||||||
|
|
||||||
|
<image src="https://supervise.yxtsoft.com/lpk/image/pack2.png" mode="aspectFill" v-show="item.state=='已提货'"
|
||||||
|
style="width: 50px;height: 50px;margin-right: 10px;" />
|
||||||
|
|
||||||
|
<view style=" display: flex;flex-direction: column;">
|
||||||
|
|
||||||
|
<text style="color: #FE801A; font-size: 18px;">{{item.bagName}}</text>
|
||||||
|
|
||||||
|
<view style=" display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
|
||||||
|
<text style="color: #333; font-size: 14px;">卡    号:</text>
|
||||||
|
<text style="color: #333; font-size: 14px;">{{item.code}}</text>
|
||||||
|
</view>
|
||||||
|
<view style=" display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
|
||||||
|
<text style="color: #333; font-size: 14px;">提货门店:</text>
|
||||||
|
<text style="color: #333; font-size: 14px;">{{item.store}}</text>
|
||||||
|
</view>
|
||||||
|
<view style=" display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
|
||||||
|
<text style="color: #333; font-size: 14px;">提货日期:</text>
|
||||||
|
<text style="color: #333; font-size: 14px;">{{item.reserveDate}}</text>
|
||||||
|
</view>
|
||||||
|
<view style=" display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
|
||||||
|
<text style="color: #333; font-size: 14px;">提 货 人:</text>
|
||||||
|
<text style="color: #333; font-size: 14px;">{{item.userName}}</text>
|
||||||
|
</view>
|
||||||
|
<view style=" display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
|
||||||
|
<text style="color: #333; font-size: 14px;">联系电话:</text>
|
||||||
|
<text style="color: #333; font-size: 14px;">{{item.userPhone}}</text>
|
||||||
|
</view>
|
||||||
|
<view style=" display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
|
||||||
|
<text style="color: #333; font-size: 14px;">状    态:</text>
|
||||||
|
<text style="font-size: 14px;"
|
||||||
|
:style="{color:(item.state=='未提货'? '#FE8128' : '#333')}">{{item.state}}</text>
|
||||||
|
</view>
|
||||||
|
<view style=" display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
|
||||||
|
<text style="color: #999; font-size: 12px;">- {{item.goods}}</text>
|
||||||
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
</view>
|
||||||
|
|
||||||
|
|
||||||
|
</view>
|
||||||
|
|
||||||
<view
|
|
||||||
style="flex-shrink: 0;padding: 9px;font-size: 13px;z-index: 1;font-weight: 600;">{{item.reserveDate}}
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view
|
|
||||||
style="display: flex;flex-direction: column; padding: 10px;border-bottom-left-radius: 20rpx;border-bottom-right-radius: 20rpx;background-color: #fdf0ee;">
|
|
||||||
|
|
||||||
<view style="width: 100%;display: flex;flex-direction: row;align-items: center;">
|
|
||||||
<text>礼包类型:</text>
|
|
||||||
<text>{{item.bagName}}</text>
|
|
||||||
</view>
|
|
||||||
<view style="width: 100%;display: flex;flex-direction: row;align-items: center;margin-top: 5px;">
|
|
||||||
<text>提货门店:</text>
|
|
||||||
<text>{{item.store}}</text>
|
|
||||||
</view>
|
|
||||||
|
|
||||||
</view>
|
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</z-paging>
|
||||||
|
|
||||||
</z-paging>
|
|
||||||
|
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script>
|
<script>
|
||||||
@@ -83,33 +131,19 @@
|
|||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style>
|
<style>
|
||||||
.use {
|
.item{
|
||||||
display: flex;
|
|
||||||
flex-direction: row;
|
|
||||||
border-top-left-radius: 20rpx;
|
|
||||||
border-top-right-radius: 20rpx;
|
|
||||||
color: #FFF;
|
|
||||||
align-items: center;
|
|
||||||
background: linear-gradient(89.8deg, rgba(218, 51, 33, 1) -3.76%, rgba(237, 113, 53, 0) 300.05%);
|
|
||||||
}
|
|
||||||
|
|
||||||
.gray {
|
|
||||||
filter: grayscale(100%);
|
|
||||||
-webkit-filter: grayscale(100%);
|
|
||||||
transition: filter 0.2s;
|
|
||||||
}
|
|
||||||
|
|
||||||
.bottom {
|
|
||||||
/* 加载背景图 */
|
/* 加载背景图 */
|
||||||
background-image: url(../../static/card_bg1.png);
|
background-image: url(https://supervise.yxtsoft.com/lpk/image/record_item.png);
|
||||||
/* 让背景图基于容器大小伸缩 */
|
/* 让背景图基于容器大小伸缩 */
|
||||||
background-size: cover;
|
background-size: 100% 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.oragin {}
|
.item2{
|
||||||
|
/* 加载背景图 */
|
||||||
uni-page-body,
|
background-image: url(https://supervise.yxtsoft.com/lpk/image/record_item2.png);
|
||||||
page {
|
/* 让背景图基于容器大小伸缩 */
|
||||||
background: #FFFFFF;
|
background-size: 100% 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
</style>
|
</style>
|
||||||
BIN
static/OIP-C.jpg
|
Before Width: | Height: | Size: 15 KiB |
|
Before Width: | Height: | Size: 341 B |
|
Before Width: | Height: | Size: 408 B |
|
Before Width: | Height: | Size: 2.0 KiB |
|
Before Width: | Height: | Size: 504 B |
|
Before Width: | Height: | Size: 748 B |
|
Before Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 145 KiB |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 3.2 KiB |
|
Before Width: | Height: | Size: 1000 B After Width: | Height: | Size: 3.1 KiB |
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 4.4 KiB After Width: | Height: | Size: 3.0 KiB |
|
Before Width: | Height: | Size: 574 B |
|
Before Width: | Height: | Size: 9.5 KiB |
|
Before Width: | Height: | Size: 18 KiB |
|
Before Width: | Height: | Size: 14 KiB |
|
Before Width: | Height: | Size: 9.8 KiB |
|
Before Width: | Height: | Size: 1.3 KiB |
|
Before Width: | Height: | Size: 806 KiB |
BIN
static/pack.png
|
Before Width: | Height: | Size: 11 KiB |
BIN
static/pack2.png
|
Before Width: | Height: | Size: 8.8 KiB |
|
Before Width: | Height: | Size: 402 B |
|
Before Width: | Height: | Size: 498 B |
|
Before Width: | Height: | Size: 928 B |
|
Before Width: | Height: | Size: 740 B |