[权证核销模块样式调整]

This commit is contained in:
2021-10-26 09:51:28 +08:00
parent 97dc6226da
commit e4b8a33d7c
11 changed files with 163 additions and 102 deletions

View File

@@ -3,26 +3,24 @@
* moduleName:核销相关操作
*/
import {
request
} from '../index'
import { request } from '../index'
// 扫码前置条件 get 核销前置 post 表示核销
const scanInfo = (apiUrl, data, method) => {
const scanInfo = (apiUrl,data,method) => {
return request({
url: apiUrl,
method: method,
data: data
method:method,
data:data
})
}
// 核销记录
const scanList = (apiUrl, data) => {
const scanList = (apiUrl,data) => {
return request({
url: apiUrl,
method: 'GET',
data: data
method:'GET',
data:data
})
}

View File

@@ -281,14 +281,18 @@
"name": "verificationIndex",
"auth": true,
"style": {
"navigationBarTitleText": "扫码核销"
"navigationBarTitleText": "扫码核销",
"navigationBarBackgroundColor":"#076cff",
"navigationBarTextStyle":"white"
}
}, {
"path": "pages/verification/history",
"name": "verificationHistory",
"auth": true,
"style": {
"navigationBarTitleText": "核销记录"
"navigationBarTitleText": "核销记录",
"navigationBarBackgroundColor":"#076cff",
"navigationBarTextStyle":"white"
}
}, {
"path": "pages/shop/lists",

View File

@@ -1,7 +1,7 @@
<template>
<view class="Record" v-if="loaded">
<view class="record-top">
<image src="/static/images/ver-bg.png" mode="widthFix" class="record-bg" />
<image src="/static/imgs/ver-bg.png" mode="widthFix" class="record-bg" />
<view class="record-top-nav">
<view :class="['record-top-item',type==='year'?'selectTopItem':'']" @click="selectType('year')">按年
</view>
@@ -33,7 +33,7 @@
<view class="boss" v-if="isBos">
<view class="boss-left">
<image src="/static/images/boss.png" mode="mode" class="boss-img">我是BOSS
<image src="/static/imgs/top_logo.png" mode="mode" class="boss-img">我是BOSS
</view>
<view class="boss-right" @click="shopShow = true">
<u-select v-model="shopShow" :list="ShopList" @confirm="shopConfirm" value-name='store_id'
@@ -167,7 +167,8 @@
this.ShopList = [{name:'全部',store_id:''},...res.stores]
this.isBos = res.isBos
}).catch(err => {
this.$refs.uToast.show({
console.log(err)
uni.showToast({
title: err.message,
type: 'error',
icon: false,

View File

@@ -1,6 +1,6 @@
<template>
<view class="Verification">
<image class="top-img" src="/static/images/hexiao_bg.png" mode="widthFix" />
<image class="top-img" src="/static/imgs/hexiao_bg.png" mode="widthFix" />
<view class="txt">
<view class="title">扫描券码和权证 一键核销</view>
<view class="des">降低核销门槛 <span class='dian'>·</span>低成本留存优质客户</view>

BIN
static/imgs/hexiao_bg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

BIN
static/imgs/ver-bg.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB

File diff suppressed because one or more lines are too long

View File

@@ -8326,6 +8326,34 @@ var render = function() {
attrs: { _i: 101 }
})
]
),
_c(
"view",
{
staticClass: _vm._$s(102, "sc", "tool-label"),
attrs: { _i: 102 },
on: {
click: function($event) {
return _vm.$Router.push({
name: "verificationIndex"
})
}
}
},
[
_c("image", {
staticClass: _vm._$s(103, "sc", "tool-label-img"),
attrs: { _i: 103 }
}),
_c("view", {
staticClass: _vm._$s(
104,
"sc",
"tool-label-name"
),
attrs: { _i: 104 }
})
]
)
]
)
@@ -8335,49 +8363,27 @@ var render = function() {
_c(
"view",
{
staticClass: _vm._$s(102, "sc", "userPartner"),
attrs: { _i: 102 }
staticClass: _vm._$s(105, "sc", "userPartner"),
attrs: { _i: 105 }
},
[
_c("view", {
staticClass: _vm._$s(103, "sc", "partner-title"),
attrs: { _i: 103 }
}),
_c(
"view",
{
staticClass: _vm._$s(104, "sc", "tool-list"),
attrs: { _i: 104 }
},
[
_c(
"view",
{
staticClass: _vm._$s(105, "sc", "tool-label"),
attrs: { _i: 105 },
on: { click: _vm.custEject }
},
[
_c("image", {
staticClass: _vm._$s(106, "sc", "tool-label-img"),
staticClass: _vm._$s(106, "sc", "partner-title"),
attrs: { _i: 106 }
}),
_c("view", {
staticClass: _vm._$s(107, "sc", "tool-label-name"),
_c(
"view",
{
staticClass: _vm._$s(107, "sc", "tool-list"),
attrs: { _i: 107 }
})
]
),
},
[
_c(
"view",
{
staticClass: _vm._$s(108, "sc", "tool-label"),
attrs: { _i: 108 },
on: {
click: function($event) {
return _vm.$Router.push({ name: "userCode" })
}
}
on: { click: _vm.custEject }
},
[
_c("image", {
@@ -8397,7 +8403,7 @@ var render = function() {
attrs: { _i: 111 },
on: {
click: function($event) {
return _vm.$Router.push({ name: "userHelp" })
return _vm.$Router.push({ name: "userCode" })
}
}
},
@@ -8419,7 +8425,7 @@ var render = function() {
attrs: { _i: 114 },
on: {
click: function($event) {
return _vm.$Router.push({ name: "userClause" })
return _vm.$Router.push({ name: "userHelp" })
}
}
},
@@ -8433,6 +8439,28 @@ var render = function() {
attrs: { _i: 116 }
})
]
),
_c(
"view",
{
staticClass: _vm._$s(117, "sc", "tool-label"),
attrs: { _i: 117 },
on: {
click: function($event) {
return _vm.$Router.push({ name: "userClause" })
}
}
},
[
_c("image", {
staticClass: _vm._$s(118, "sc", "tool-label-img"),
attrs: { _i: 118 }
}),
_c("view", {
staticClass: _vm._$s(119, "sc", "tool-label-name"),
attrs: { _i: 119 }
})
]
)
]
)
@@ -35501,9 +35529,7 @@ Object.defineProperty(exports, "__esModule", { value: true });exports.scanList =
var _index = __webpack_require__(/*! ../index */ 26); /**
* Web-zdx
* moduleName:核销相关操作
*/
// 扫码前置条件 get 核销前置 post 表示核销
*/ // 扫码前置条件 get 核销前置 post 表示核销
var scanInfo = function scanInfo(apiUrl, data, method) {
return (0, _index.request)({
url: apiUrl,
@@ -38611,7 +38637,8 @@ var _scan = __webpack_require__(/*! @/apis/interfaces/scan */ 303);function _toC
_this.ShopList = [{ name: '全部', store_id: '' }].concat(_toConsumableArray(res.stores));
_this.isBos = res.isBos;
}).catch(function (err) {
_this.$refs.uToast.show({
__f__("log", err, " at pages/verification/history.vue:170");
uni.showToast({
title: err.message,
type: 'error',
icon: false,
@@ -38635,7 +38662,7 @@ var _scan = __webpack_require__(/*! @/apis/interfaces/scan */ 303);function _toC
},
// 选择 年 月 日 切换要重置数据
selectType: function selectType(type) {
__f__("log", type, typeof type, " at pages/verification/history.vue:194");
__f__("log", type, typeof type, " at pages/verification/history.vue:195");
if (this.type !== type) {
switch (type) {
case 'year':

View File

@@ -4047,6 +4047,37 @@ var render = function() {
)
],
1
),
_c(
"v-uni-view",
{
staticClass: _vm._$g(102, "sc"),
attrs: { _i: 102 },
on: {
click: function($event) {
return _vm.$handleViewEvent($event)
}
}
},
[
_c("v-uni-image", {
staticClass: _vm._$g(103, "sc"),
attrs: {
src: "/static/user/userTool-05.png",
mode: "",
_i: 103
}
}),
_c(
"v-uni-view",
{
staticClass: _vm._$g(104, "sc"),
attrs: { _i: 104 }
},
[_vm._v("扫码核销")]
)
],
1
)
],
1
@@ -4057,48 +4088,17 @@ var render = function() {
: _vm._e(),
_c(
"v-uni-view",
{ staticClass: _vm._$g(102, "sc"), attrs: { _i: 102 } },
{ staticClass: _vm._$g(105, "sc"), attrs: { _i: 105 } },
[
_c(
"v-uni-view",
{ staticClass: _vm._$g(103, "sc"), attrs: { _i: 103 } },
{ staticClass: _vm._$g(106, "sc"), attrs: { _i: 106 } },
[_vm._v("我的服务")]
),
_c(
"v-uni-view",
{ staticClass: _vm._$g(104, "sc"), attrs: { _i: 104 } },
{ staticClass: _vm._$g(107, "sc"), attrs: { _i: 107 } },
[
_c(
"v-uni-view",
{
staticClass: _vm._$g(105, "sc"),
attrs: { _i: 105 },
on: {
click: function($event) {
return _vm.$handleViewEvent($event)
}
}
},
[
_c("v-uni-image", {
staticClass: _vm._$g(106, "sc"),
attrs: {
src: "/static/user/userServe-00.png",
mode: "",
_i: 106
}
}),
_c(
"v-uni-view",
{
staticClass: _vm._$g(107, "sc"),
attrs: { _i: 107 }
},
[_vm._v("专属客服")]
)
],
1
),
_c(
"v-uni-view",
{
@@ -4114,7 +4114,7 @@ var render = function() {
_c("v-uni-image", {
staticClass: _vm._$g(109, "sc"),
attrs: {
src: "/static/user/userServe-01.png",
src: "/static/user/userServe-00.png",
mode: "",
_i: 109
}
@@ -4125,7 +4125,7 @@ var render = function() {
staticClass: _vm._$g(110, "sc"),
attrs: { _i: 110 }
},
[_vm._v("邀请好友")]
[_vm._v("专属客服")]
)
],
1
@@ -4145,7 +4145,7 @@ var render = function() {
_c("v-uni-image", {
staticClass: _vm._$g(112, "sc"),
attrs: {
src: "/static/user/userServe-02.png",
src: "/static/user/userServe-01.png",
mode: "",
_i: 112
}
@@ -4156,7 +4156,7 @@ var render = function() {
staticClass: _vm._$g(113, "sc"),
attrs: { _i: 113 }
},
[_vm._v("帮助中心")]
[_vm._v("邀请好友")]
)
],
1
@@ -4176,7 +4176,7 @@ var render = function() {
_c("v-uni-image", {
staticClass: _vm._$g(115, "sc"),
attrs: {
src: "/static/user/userServe-03.png",
src: "/static/user/userServe-02.png",
mode: "",
_i: 115
}
@@ -4187,6 +4187,37 @@ var render = function() {
staticClass: _vm._$g(116, "sc"),
attrs: { _i: 116 }
},
[_vm._v("帮助中心")]
)
],
1
),
_c(
"v-uni-view",
{
staticClass: _vm._$g(117, "sc"),
attrs: { _i: 117 },
on: {
click: function($event) {
return _vm.$handleViewEvent($event)
}
}
},
[
_c("v-uni-image", {
staticClass: _vm._$g(118, "sc"),
attrs: {
src: "/static/user/userServe-03.png",
mode: "",
_i: 118
}
}),
_c(
"v-uni-view",
{
staticClass: _vm._$g(119, "sc"),
attrs: { _i: 119 }
},
[_vm._v("服务条款")]
)
],
@@ -18903,7 +18934,7 @@ var render = function() {
[
_c("v-uni-image", {
staticClass: _vm._$g(1, "sc"),
attrs: { src: "/static/images/hexiao_bg.png", mode: "widthFix", _i: 1 }
attrs: { src: "/static/imgs/hexiao_bg.png", mode: "widthFix", _i: 1 }
}),
_c(
"v-uni-view",
@@ -19339,7 +19370,7 @@ var render = function() {
_c("v-uni-image", {
staticClass: _vm._$g(2, "sc"),
attrs: {
src: "/static/images/ver-bg.png",
src: "/static/imgs/ver-bg.png",
mode: "widthFix",
_i: 2
}
@@ -19496,7 +19527,7 @@ var render = function() {
_c("v-uni-image", {
staticClass: _vm._$g(21, "sc"),
attrs: {
src: "/static/images/boss.png",
src: "/static/imgs/top_logo.png",
mode: "mode",
_i: 21
}

Binary file not shown.

After

Width:  |  Height:  |  Size: 54 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 7.3 KiB