更新代码
This commit is contained in:
parent
9085f81753
commit
90de7773a2
@ -21,7 +21,7 @@
|
||||
<view class="carForm_carName">车辆持有人:{{cusInfo.cusName}}</view>
|
||||
<view class="carForm_carPhone">持有人电话:{{cusInfo.phoneNumber}}</view>
|
||||
</view>
|
||||
<image class="carImg" src="" mode="aspectFill"></image>
|
||||
<image class="carImg" src="" mode="aspectFill" :src="config.baseImageUrl + car.logoImg"></image>
|
||||
</view>
|
||||
<view class="cardInfoBody_footer">
|
||||
<view class="nj">
|
||||
@ -101,11 +101,17 @@
|
||||
<script>
|
||||
import request from '../../utils/request';
|
||||
import VNavigationBar from '@/components/VNavigationBar.vue'
|
||||
import config from "@/config";
|
||||
|
||||
export default {
|
||||
components: {
|
||||
VNavigationBar,
|
||||
},
|
||||
computed: {
|
||||
config() {
|
||||
return config
|
||||
}
|
||||
},
|
||||
data() {
|
||||
return {
|
||||
dateList: [{
|
||||
@ -205,7 +211,7 @@
|
||||
url: '/pages/myReservation/reservationSuccess?info=' + encodeURIComponent(JSON.stringify(this.info))
|
||||
})
|
||||
}).catch(() => {})
|
||||
|
||||
|
||||
},
|
||||
async initCarList() {
|
||||
const res = await request({
|
||||
@ -541,4 +547,4 @@
|
||||
color: #FFFFFF;
|
||||
}
|
||||
}
|
||||
</style>
|
||||
</style>
|
||||
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
@ -105,11 +105,11 @@
|
||||
/******/
|
||||
/******/
|
||||
/******/ // mini-css-extract-plugin CSS loading
|
||||
/******/ var cssChunks = {"uni_modules/uni-icons/components/uni-icons/uni-icons":1,"components/VNavigationBar":1,"components/tabBar/tabBar":1,"uni_modules/uni-popup/components/uni-popup/uni-popup":1,"components/reservationOrder/reservationOrder":1,"components/mote-lines-divide/mote-lines-divide":1,"components/ticketsItem/ticketsItem":1,"uni_modules/uni-rate/components/uni-rate/uni-rate":1};
|
||||
/******/ var cssChunks = {"uni_modules/uni-icons/components/uni-icons/uni-icons":1,"components/VNavigationBar":1,"components/tabBar/tabBar":1,"uni_modules/uni-popup/components/uni-popup/uni-popup":1,"components/reservationOrder/reservationOrder":1,"components/mote-lines-divide/mote-lines-divide":1,"components/ticketsItem/ticketsItem":1,"uni_modules/uni-rate/components/uni-rate/uni-rate":1,"uni_modules/uni-table/components/uni-table/uni-table":1,"uni_modules/uni-table/components/uni-td/uni-td":1,"uni_modules/uni-table/components/uni-th/uni-th":1,"uni_modules/uni-table/components/uni-tr/uni-tr":1,"uni_modules/uni-table/components/uni-tr/table-checkbox":1};
|
||||
/******/ if(installedCssChunks[chunkId]) promises.push(installedCssChunks[chunkId]);
|
||||
/******/ else if(installedCssChunks[chunkId] !== 0 && cssChunks[chunkId]) {
|
||||
/******/ promises.push(installedCssChunks[chunkId] = new Promise(function(resolve, reject) {
|
||||
/******/ var href = "" + ({"uni_modules/uni-icons/components/uni-icons/uni-icons":"uni_modules/uni-icons/components/uni-icons/uni-icons","components/VNavigationBar":"components/VNavigationBar","components/tabBar/tabBar":"components/tabBar/tabBar","uni_modules/uni-popup/components/uni-popup/uni-popup":"uni_modules/uni-popup/components/uni-popup/uni-popup","components/reservationOrder/reservationOrder":"components/reservationOrder/reservationOrder","components/mote-lines-divide/mote-lines-divide":"components/mote-lines-divide/mote-lines-divide","components/ticketsItem/ticketsItem":"components/ticketsItem/ticketsItem","uni_modules/uni-rate/components/uni-rate/uni-rate":"uni_modules/uni-rate/components/uni-rate/uni-rate","uni_modules/uni-transition/components/uni-transition/uni-transition":"uni_modules/uni-transition/components/uni-transition/uni-transition"}[chunkId]||chunkId) + ".wxss";
|
||||
/******/ var href = "" + ({"uni_modules/uni-icons/components/uni-icons/uni-icons":"uni_modules/uni-icons/components/uni-icons/uni-icons","components/VNavigationBar":"components/VNavigationBar","components/tabBar/tabBar":"components/tabBar/tabBar","uni_modules/uni-popup/components/uni-popup/uni-popup":"uni_modules/uni-popup/components/uni-popup/uni-popup","components/reservationOrder/reservationOrder":"components/reservationOrder/reservationOrder","components/mote-lines-divide/mote-lines-divide":"components/mote-lines-divide/mote-lines-divide","components/ticketsItem/ticketsItem":"components/ticketsItem/ticketsItem","uni_modules/uni-rate/components/uni-rate/uni-rate":"uni_modules/uni-rate/components/uni-rate/uni-rate","uni_modules/uni-transition/components/uni-transition/uni-transition":"uni_modules/uni-transition/components/uni-transition/uni-transition","uni_modules/uni-table/components/uni-table/uni-table":"uni_modules/uni-table/components/uni-table/uni-table","uni_modules/uni-table/components/uni-td/uni-td":"uni_modules/uni-table/components/uni-td/uni-td","uni_modules/uni-table/components/uni-th/uni-th":"uni_modules/uni-table/components/uni-th/uni-th","uni_modules/uni-table/components/uni-tr/uni-tr":"uni_modules/uni-table/components/uni-tr/uni-tr","uni_modules/uni-table/components/uni-tr/table-checkbox":"uni_modules/uni-table/components/uni-tr/table-checkbox"}[chunkId]||chunkId) + ".wxss";
|
||||
/******/ var fullhref = __webpack_require__.p + href;
|
||||
/******/ var existingLinkTags = document.getElementsByTagName("link");
|
||||
/******/ for(var i = 0; i < existingLinkTags.length; i++) {
|
||||
|
12
unpackage/dist/dev/mp-weixin/common/vendor.js
vendored
12
unpackage/dist/dev/mp-weixin/common/vendor.js
vendored
@ -1758,7 +1758,7 @@ function initData(vueOptions, context) {
|
||||
try {
|
||||
data = data.call(context); // 支持 Vue.prototype 上挂的数据
|
||||
} catch (e) {
|
||||
if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"qixiu","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
||||
if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"qixiu","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
||||
console.warn('根据 Vue 的 data 函数初始化小程序 data 失败,请尽量确保 data 函数中不访问 vm 对象,否则可能影响首次数据渲染速度。', data);
|
||||
}
|
||||
}
|
||||
@ -9305,7 +9305,7 @@ function type(obj) {
|
||||
|
||||
function flushCallbacks$1(vm) {
|
||||
if (vm.__next_tick_callbacks && vm.__next_tick_callbacks.length) {
|
||||
if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"qixiu","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
||||
if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"qixiu","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
||||
var mpInstance = vm.$scope;
|
||||
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
|
||||
']:flushCallbacks[' + vm.__next_tick_callbacks.length + ']');
|
||||
@ -9326,14 +9326,14 @@ function nextTick$1(vm, cb) {
|
||||
//1.nextTick 之前 已 setData 且 setData 还未回调完成
|
||||
//2.nextTick 之前存在 render watcher
|
||||
if (!vm.__next_tick_pending && !hasRenderWatcher(vm)) {
|
||||
if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"qixiu","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
|
||||
if(Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"qixiu","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
|
||||
var mpInstance = vm.$scope;
|
||||
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + vm._uid +
|
||||
']:nextVueTick');
|
||||
}
|
||||
return nextTick(cb, vm)
|
||||
}else{
|
||||
if(Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"qixiu","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG){
|
||||
if(Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"qixiu","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG){
|
||||
var mpInstance$1 = vm.$scope;
|
||||
console.log('[' + (+new Date) + '][' + (mpInstance$1.is || mpInstance$1.route) + '][' + vm._uid +
|
||||
']:nextMPTick');
|
||||
@ -9429,7 +9429,7 @@ var patch = function(oldVnode, vnode) {
|
||||
});
|
||||
var diffData = this.$shouldDiffData === false ? data : diff(data, mpData);
|
||||
if (Object.keys(diffData).length) {
|
||||
if (Object({"VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"qixiu","VUE_APP_PLATFORM":"mp-weixin","NODE_ENV":"development","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
||||
if (Object({"NODE_ENV":"development","VUE_APP_DARK_MODE":"false","VUE_APP_NAME":"qixiu","VUE_APP_PLATFORM":"mp-weixin","BASE_URL":"/"}).VUE_APP_DEBUG) {
|
||||
console.log('[' + (+new Date) + '][' + (mpInstance.is || mpInstance.route) + '][' + this._uid +
|
||||
']差量更新',
|
||||
JSON.stringify(diffData));
|
||||
@ -12355,7 +12355,7 @@ function loginAppuserName(data) {
|
||||
// 使用租户域名(标识),获得租户编号
|
||||
function getTenantIdByWebsite(website) {
|
||||
return (0, _request.default)({
|
||||
url: '/system/tenant/getListByWebsite',
|
||||
url: '/admin-api/system/tenant/getListByWebsite',
|
||||
method: 'get',
|
||||
params: {
|
||||
website: website
|
||||
|
@ -1,6 +1,6 @@
|
||||
{
|
||||
"component": true,
|
||||
"usingComponents": {
|
||||
"uni-icons": "/uni_modules/uni-icons/components/uni-icons/uni-icons"
|
||||
},
|
||||
"component": true
|
||||
}
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
{
|
||||
"usingComponents": {},
|
||||
"component": true
|
||||
"component": true,
|
||||
"usingComponents": {}
|
||||
}
|
@ -146,7 +146,7 @@ var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime
|
||||
var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 42));
|
||||
var _request = _interopRequireDefault(__webpack_require__(/*! @/utils/request */ 43));
|
||||
var tabBarVue = function tabBarVue() {
|
||||
Promise.all(/*! require.ensure | components/tabBar/tabBar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/tabBar/tabBar")]).then((function () {
|
||||
__webpack_require__.e(/*! require.ensure | components/tabBar/tabBar */ "components/tabBar/tabBar").then((function () {
|
||||
return resolve(__webpack_require__(/*! @/components/tabBar/tabBar.vue */ 238));
|
||||
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||||
};
|
||||
|
@ -135,7 +135,7 @@ __webpack_require__.r(__webpack_exports__);
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
/* WEBPACK VAR INJECTION */(function(uni) {
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
@ -152,18 +152,25 @@ var _default = {
|
||||
},
|
||||
data: function data() {
|
||||
return {
|
||||
customInfo: {},
|
||||
tabList: [{
|
||||
value: 0,
|
||||
title: '优惠卷'
|
||||
title: '礼包券'
|
||||
}, {
|
||||
value: 1,
|
||||
title: '卡包'
|
||||
}],
|
||||
activeKey: 0
|
||||
};
|
||||
},
|
||||
onLoad: function onLoad(data) {
|
||||
//当前登录用户信息
|
||||
this.customInfo = JSON.parse(uni.getStorageSync('customerInfo'));
|
||||
console.log(this.customInfo, 66);
|
||||
}
|
||||
};
|
||||
exports.default = _default;
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
||||
|
||||
/***/ }),
|
||||
|
||||
|
@ -1 +1 @@
|
||||
<view class="container data-v-1dc084c7"><v-navigation-bar vue-id="cb5ed5c2-1" title-color="#333" background-color="#fff" title="卡卷包" class="data-v-1dc084c7" bind:__l="__l"></v-navigation-bar><view class="tabbar data-v-1dc084c7"><block wx:for="{{tabList}}" wx:for-item="item" wx:for-index="__i0__" wx:key="value"><view class="{{['tabItem','data-v-1dc084c7',(activeKey===item.value)?'active':'']}}">{{''+item.title+''}}<block wx:if="{{activeKey===item.value}}"><view class="activeLine data-v-1dc084c7"></view></block></view></block></view><view class="body data-v-1dc084c7"><view class="cardItem data-v-1dc084c7"><view class="cardItemTop data-v-1dc084c7"><view class="cardImg data-v-1dc084c7"><view class="cardImgText data-v-1dc084c7">车辆保养卡</view><image class="cardImgBg data-v-1dc084c7" src="../../static/images/cardRollBg.png" mode="aspectFit"></image></view><view class="cardInfo data-v-1dc084c7"><view class="cardName data-v-1dc084c7">车辆保养卡</view><view class="cardEndDate data-v-1dc084c7">2024-09-20</view></view><view class="cardInfoRight data-v-1dc084c7"><view class="cardNum data-v-1dc084c7"><text class="cardNumValue data-v-1dc084c7">4</text>次</view><view class="cardLabel data-v-1dc084c7">可用次数</view></view></view><view class="cardItemBottom data-v-1dc084c7"><view class="useSm data-v-1dc084c7">使用说明</view><view class="useBtn data-v-1dc084c7">去使用</view></view></view></view></view>
|
||||
<view class="container data-v-1dc084c7"><v-navigation-bar vue-id="cb5ed5c2-1" title-color="#333" background-color="#fff" title="卡券包" class="data-v-1dc084c7" bind:__l="__l"></v-navigation-bar><view class="body data-v-1dc084c7"><view class="cardItem data-v-1dc084c7"><block wx:for="{{customInfo.couponList}}" wx:for-item="item" wx:for-index="__i0__"><view class="cardItemTop data-v-1dc084c7"><view class="cardImg data-v-1dc084c7"><block wx:if="{{item.couponType=='lbq'}}"><view class="cardImgText data-v-1dc084c7">礼包券</view></block><block wx:if="{{item.couponType=='byk'}}"><view class="cardImgText data-v-1dc084c7">保养卡</view></block><image class="cardImgBg data-v-1dc084c7" src="../../static/images/cardRollBg.png" mode="aspectFit"></image></view><view class="cardInfo data-v-1dc084c7"><view class="cardName data-v-1dc084c7">{{item.couponName}}</view></view><block wx:if="{{item.outRule!='mehx'}}"><view class="cardInfoRight data-v-1dc084c7"><view class="cardNum data-v-1dc084c7"><text class="cardNumValue data-v-1dc084c7">{{item.balance}}</text>次</view><view class="cardLabel data-v-1dc084c7">可用次数</view></view></block><block wx:if="{{item.outRule=='mehx'}}"><view class="cardInfoRight data-v-1dc084c7"><view class="cardNum data-v-1dc084c7"><text class="cardNumValue data-v-1dc084c7">{{item.balance}}</text>元</view><view class="cardLabel data-v-1dc084c7">余额</view></view></block></view></block></view></view></view>
|
38
unpackage/dist/dev/mp-weixin/pages/my/my.js
vendored
38
unpackage/dist/dev/mp-weixin/pages/my/my.js
vendored
@ -137,17 +137,21 @@ __webpack_require__.r(__webpack_exports__);
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(uni) {
|
||||
|
||||
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 40));
|
||||
var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 42));
|
||||
var _request = _interopRequireDefault(__webpack_require__(/*! @/utils/request */ 43));
|
||||
var VNavigationBar = function VNavigationBar() {
|
||||
Promise.all(/*! require.ensure | components/VNavigationBar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/VNavigationBar")]).then((function () {
|
||||
return resolve(__webpack_require__(/*! @/components/VNavigationBar.vue */ 245));
|
||||
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||||
};
|
||||
var tabBarVue = function tabBarVue() {
|
||||
Promise.all(/*! require.ensure | components/tabBar/tabBar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/tabBar/tabBar")]).then((function () {
|
||||
__webpack_require__.e(/*! require.ensure | components/tabBar/tabBar */ "components/tabBar/tabBar").then((function () {
|
||||
return resolve(__webpack_require__(/*! @/components/tabBar/tabBar.vue */ 238));
|
||||
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||||
};
|
||||
@ -156,8 +160,13 @@ var _default = {
|
||||
tabBarVue: tabBarVue,
|
||||
VNavigationBar: VNavigationBar
|
||||
},
|
||||
onShow: function onShow(data) {
|
||||
this.getServer();
|
||||
},
|
||||
data: function data() {
|
||||
return {
|
||||
//用户信息
|
||||
customInfo: {},
|
||||
menuCard1: [{
|
||||
title: '我的资料',
|
||||
icon: __webpack_require__(/*! @/static/icons/my-menu-icon1.png */ 86),
|
||||
@ -195,6 +204,33 @@ var _default = {
|
||||
uni.navigateTo({
|
||||
url: '/pages/my/myEquity'
|
||||
});
|
||||
},
|
||||
//获取当前登录用户信息
|
||||
getServer: function getServer() {
|
||||
var _this = this;
|
||||
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
||||
var res;
|
||||
return _regenerator.default.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
_context.next = 2;
|
||||
return (0, _request.default)({
|
||||
url: "/userClient/customer/getUserCustomer",
|
||||
method: 'get',
|
||||
params: {}
|
||||
});
|
||||
case 2:
|
||||
res = _context.sent;
|
||||
_this.customInfo = res.data;
|
||||
uni.setStorageSync('customerInfo', JSON.stringify(_this.customInfo));
|
||||
case 5:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee);
|
||||
}))();
|
||||
}
|
||||
}
|
||||
};
|
||||
|
@ -1 +1 @@
|
||||
<view class="container data-v-0be17cc6"><view class="body data-v-0be17cc6"><v-navigation-bar vue-id="704e9d00-1" titleColor="rgba(0,0,0,0.9)" leftTitle="true" backgroundColor="transparent" title=" " class="data-v-0be17cc6" bind:__l="__l"></v-navigation-bar><view class="body-top data-v-0be17cc6"><image class="userBmg data-v-0be17cc6" src="../../static/images/image1.png" mode="widthFix"></image><view class="userInfo data-v-0be17cc6"><image class="avatar data-v-0be17cc6" src="../../static/images/avatar.png" mode="aspectFit"></image><text class="userName data-v-0be17cc6">用户昵称</text></view></view><view class="level data-v-0be17cc6"><image class="levelIcon data-v-0be17cc6" src mode="aspectFit"></image><view class="levelInfo data-v-0be17cc6"><text class="levelNum data-v-0be17cc6">Lv.2</text><text class="levelQy data-v-0be17cc6">当前可享受4项权益</text></view><view data-event-opts="{{[['tap',[['showEquity',['$event']]]]]}}" class="showQyBtn data-v-0be17cc6" bindtap="__e">查看权益<image class="showQyBtnIcon data-v-0be17cc6" src="../../static/icons/icon1.png" mode="aspectFit"></image></view></view><view class="menu1 data-v-0be17cc6"><view data-event-opts="{{[['tap',[['goToPage',['/pages/myCar/myCar']]]]]}}" class="menu1-item menu-myCar data-v-0be17cc6" style="background:linear-gradient( 90deg, #DEE5FC 0%, #CAD6FA 100%);" bindtap="__e"><image class="menu1-item-icon data-v-0be17cc6" src="../../static/icons/myCar.png" mode="aspectFit"></image><text style="flex:1;" class="data-v-0be17cc6">我的车辆</text><image class="menu1-item-btnIcon data-v-0be17cc6" src="../../static/icons/icon2.png" mode></image><image class="bmg data-v-0be17cc6" src="../../static/images/image2.png" mode="aspectFit"></image></view><view data-event-opts="{{[['tap',[['goToPage',['/pages/myReservation/myReservation']]]]]}}" class="menu1-item menu-myOrder data-v-0be17cc6" style="background:linear-gradient( 90deg, #CFF3ED 0%, #9FE9DD 100%);" bindtap="__e"><image class="menu1-item-icon data-v-0be17cc6" src="../../static/icons/myOrder.png" mode="aspectFit"></image><text style="flex:1;" class="data-v-0be17cc6">我的预约</text><image class="menu1-item-btnIcon data-v-0be17cc6" src="../../static/icons/icon3.png" mode></image><image class="bmg data-v-0be17cc6" src="../../static/images/image2.png" mode="aspectFit"></image></view></view><view class="menuCard data-v-0be17cc6"><block wx:for="{{menuCard1}}" wx:for-item="item" wx:for-index="index" wx:key="title"><view data-event-opts="{{[['tap',[['goToPage',['$0'],[[['menuCard1','title',item.title,'path']]]]]]]}}" class="menu-item data-v-0be17cc6" bindtap="__e"><image class="menu-item-icon data-v-0be17cc6" src="{{item.icon}}" mode="aspectFit"></image><text class="menu-item-title data-v-0be17cc6">{{item.title}}</text><block wx:if="{{item.title==='消息中心'}}"><text class="messageNum data-v-0be17cc6">{{''+'12'+''}}</text></block><image class="menu-item-more data-v-0be17cc6" src="../../static/icons/homeInfoMore.png" mode="widthFix"></image></view></block></view><view class="menuCard data-v-0be17cc6"><block wx:for="{{menuCard2}}" wx:for-item="item" wx:for-index="index" wx:key="title"><view data-event-opts="{{[['tap',[['goToPage',['$0'],[[['menuCard2','title',item.title,'path']]]]]]]}}" class="menu-item data-v-0be17cc6" bindtap="__e"><image class="menu-item-icon data-v-0be17cc6" src="{{item.icon}}" mode="aspectFit"></image><text class="menu-item-title data-v-0be17cc6">{{item.title}}</text><image class="menu-item-more data-v-0be17cc6" src="../../static/icons/homeInfoMore.png" mode="widthFix"></image></view></block></view></view><tab-bar-vue vue-id="704e9d00-2" msg="3" class="data-v-0be17cc6" bind:__l="__l"></tab-bar-vue></view>
|
||||
<view class="container data-v-0be17cc6"><view class="body data-v-0be17cc6"><v-navigation-bar vue-id="704e9d00-1" titleColor="rgba(0,0,0,0.9)" leftTitle="{{true}}" backgroundColor="transparent" title=" " class="data-v-0be17cc6" bind:__l="__l"></v-navigation-bar><view class="body-top data-v-0be17cc6"><image class="userBmg data-v-0be17cc6" src="../../static/images/image1.png" mode="widthFix"></image><view class="userInfo data-v-0be17cc6"><image class="avatar data-v-0be17cc6" src="../../static/images/avatar.png" mode="aspectFit"></image><text class="customInfo data-v-0be17cc6">{{customInfo.cusName}}</text></view></view><view class="level data-v-0be17cc6"><image class="levelIcon data-v-0be17cc6" src mode="aspectFit"></image><view class="levelInfo data-v-0be17cc6"><text class="levelNum data-v-0be17cc6">{{customInfo.levelName}}</text></view><view data-event-opts="{{[['tap',[['showEquity',['$event']]]]]}}" class="showQyBtn data-v-0be17cc6" bindtap="__e">查看权益<image class="showQyBtnIcon data-v-0be17cc6" src="../../static/icons/icon1.png" mode="aspectFit"></image></view></view><view class="menu1 data-v-0be17cc6"><view data-event-opts="{{[['tap',[['goToPage',['/pages/myCar/myCar']]]]]}}" class="menu1-item menu-myCar data-v-0be17cc6" style="background:linear-gradient( 90deg, #DEE5FC 0%, #CAD6FA 100%);" bindtap="__e"><image class="menu1-item-icon data-v-0be17cc6" src="../../static/icons/myCar.png" mode="aspectFit"></image><text style="flex:1;" class="data-v-0be17cc6">我的车辆</text><image class="menu1-item-btnIcon data-v-0be17cc6" src="../../static/icons/icon2.png" mode></image><image class="bmg data-v-0be17cc6" src="../../static/images/image2.png" mode="aspectFit"></image></view><view data-event-opts="{{[['tap',[['goToPage',['/pages/myReservation/myReservation']]]]]}}" class="menu1-item menu-myOrder data-v-0be17cc6" style="background:linear-gradient( 90deg, #CFF3ED 0%, #9FE9DD 100%);" bindtap="__e"><image class="menu1-item-icon data-v-0be17cc6" src="../../static/icons/myOrder.png" mode="aspectFit"></image><text style="flex:1;" class="data-v-0be17cc6">我的预约</text><image class="menu1-item-btnIcon data-v-0be17cc6" src="../../static/icons/icon3.png" mode></image><image class="bmg data-v-0be17cc6" src="../../static/images/image2.png" mode="aspectFit"></image></view></view><view class="menuCard data-v-0be17cc6"><block wx:for="{{menuCard1}}" wx:for-item="item" wx:for-index="index" wx:key="title"><view data-event-opts="{{[['tap',[['goToPage',['$0'],[[['menuCard1','title',item.title,'path']]]]]]]}}" class="menu-item data-v-0be17cc6" bindtap="__e"><image class="menu-item-icon data-v-0be17cc6" src="{{item.icon}}" mode="aspectFit"></image><text class="menu-item-title data-v-0be17cc6">{{item.title}}</text><block wx:if="{{item.title==='消息中心'}}"><text class="messageNum data-v-0be17cc6">{{''+'12'+''}}</text></block><image class="menu-item-more data-v-0be17cc6" src="../../static/icons/homeInfoMore.png" mode="widthFix"></image></view></block></view><view class="menuCard data-v-0be17cc6"><block wx:for="{{menuCard2}}" wx:for-item="item" wx:for-index="index" wx:key="title"><view data-event-opts="{{[['tap',[['goToPage',['$0'],[[['menuCard2','title',item.title,'path']]]]]]]}}" class="menu-item data-v-0be17cc6" bindtap="__e"><image class="menu-item-icon data-v-0be17cc6" src="{{item.icon}}" mode="aspectFit"></image><text class="menu-item-title data-v-0be17cc6">{{item.title}}</text><image class="menu-item-more data-v-0be17cc6" src="../../static/icons/homeInfoMore.png" mode="widthFix"></image></view></block></view></view><tab-bar-vue vue-id="704e9d00-2" msg="3" class="data-v-0be17cc6" bind:__l="__l"></tab-bar-vue></view>
|
@ -135,12 +135,16 @@ __webpack_require__.r(__webpack_exports__);
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
/* WEBPACK VAR INJECTION */(function(uni) {
|
||||
|
||||
|
||||
var _interopRequireDefault = __webpack_require__(/*! @babel/runtime/helpers/interopRequireDefault */ 4);
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
});
|
||||
exports.default = void 0;
|
||||
var _regenerator = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/regenerator */ 40));
|
||||
var _asyncToGenerator2 = _interopRequireDefault(__webpack_require__(/*! @babel/runtime/helpers/asyncToGenerator */ 42));
|
||||
var _request = _interopRequireDefault(__webpack_require__(/*! @/utils/request */ 43));
|
||||
var VNavigationBar = function VNavigationBar() {
|
||||
Promise.all(/*! require.ensure | components/VNavigationBar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/VNavigationBar")]).then((function () {
|
||||
return resolve(__webpack_require__(/*! @/components/VNavigationBar.vue */ 245));
|
||||
@ -152,6 +156,7 @@ var _default = {
|
||||
},
|
||||
data: function data() {
|
||||
return {
|
||||
customInfo: {},
|
||||
equityList: [{
|
||||
title: '进店送'
|
||||
}, {
|
||||
@ -161,26 +166,41 @@ var _default = {
|
||||
}, {
|
||||
title: '赠送全车360'
|
||||
}],
|
||||
levelEquityList: [{
|
||||
level: '1',
|
||||
desc: '进店送精美礼品一份\n赠送原车配套空气滤芯一个\n赠送198空调雾化杀菌除味一次\n赠送全车360安全检测'
|
||||
}, {
|
||||
level: '2',
|
||||
desc: '进店送精美礼品一份\n赠送原车配套空气滤芯一个\n赠送198空调雾化杀菌除味一次\n赠送全车360安全检测'
|
||||
}, {
|
||||
level: '3',
|
||||
desc: '进店送精美礼品一份\n赠送原车配套空气滤芯一个\n赠送198空调雾化杀菌除味一次\n赠送全车360安全检测'
|
||||
}, {
|
||||
level: '4',
|
||||
desc: '进店送精美礼品一份\n赠送原车配套空气滤芯一个\n赠送198空调雾化杀菌除味一次\n赠送全车360安全检测'
|
||||
}, {
|
||||
level: '5',
|
||||
desc: '进店送精美礼品一份\n赠送原车配套空气滤芯一个\n赠送198空调雾化杀菌除味一次\n赠送全车360安全检测'
|
||||
}]
|
||||
levelEquityList: []
|
||||
};
|
||||
},
|
||||
onShow: function onShow(data) {
|
||||
//当前登录用户信息
|
||||
this.customInfo = JSON.parse(uni.getStorageSync('customerInfo'));
|
||||
this.getMemberList();
|
||||
},
|
||||
methods: {
|
||||
getMemberList: function getMemberList() {
|
||||
var _this = this;
|
||||
return (0, _asyncToGenerator2.default)( /*#__PURE__*/_regenerator.default.mark(function _callee() {
|
||||
return _regenerator.default.wrap(function _callee$(_context) {
|
||||
while (1) {
|
||||
switch (_context.prev = _context.next) {
|
||||
case 0:
|
||||
_context.next = 2;
|
||||
return (0, _request.default)({
|
||||
url: '/userClient/customer/allMember',
|
||||
method: 'get'
|
||||
}).then(function (res) {
|
||||
_this.levelEquityList = res.data;
|
||||
});
|
||||
case 2:
|
||||
case "end":
|
||||
return _context.stop();
|
||||
}
|
||||
}
|
||||
}, _callee);
|
||||
}))();
|
||||
}
|
||||
}
|
||||
};
|
||||
exports.default = _default;
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
||||
|
||||
/***/ }),
|
||||
|
||||
|
@ -1 +1 @@
|
||||
<view class="container data-v-09179aaa"><v-navigation-bar vue-id="7312a3bb-1" title="权益信息" background-color="rgba(0,0,0,0)" title-color="#333" class="data-v-09179aaa" bind:__l="__l"></v-navigation-bar><view class="body data-v-09179aaa"><view class="card1 data-v-09179aaa"><image class="card1Bg data-v-09179aaa" src="../../static/images/image3.png" mode="aspectFit"></image><view class="topLeft data-v-09179aaa">当前等级</view><view class="levelNum data-v-09179aaa">Lv.2</view></view><view class="equityTitle data-v-09179aaa"><image class="leftIcon data-v-09179aaa" src="../../static/icons/my-icon1.png" mode="aspectFit"></image><view class="data-v-09179aaa">尊享<text class="colorTitle data-v-09179aaa">4项</text>权益</view><image class="rightIcon data-v-09179aaa" src="../../static/icons/my-icon1.png" mode="aspectFit"></image></view><view class="card2 data-v-09179aaa"><block wx:for="{{equityList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="cardItem data-v-09179aaa"><view class="dian data-v-09179aaa"></view><text class="data-v-09179aaa">{{item.title}}</text></view></block></view><view class="equityTitle data-v-09179aaa"><image class="leftIcon data-v-09179aaa" src="../../static/icons/my-icon1.png" mode="aspectFit"></image><view class="data-v-09179aaa"><text class="colorTitle data-v-09179aaa">等级</text>介绍</view><image class="rightIcon data-v-09179aaa" src="../../static/icons/my-icon1.png" mode="aspectFit"></image></view><view class="card3 data-v-09179aaa"><view class="card3Header card3Tr data-v-09179aaa"><view class="card3Td data-v-09179aaa">等级标识</view><view class="card3Td data-v-09179aaa">权益信息</view></view><block wx:for="{{levelEquityList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="card3Tr data-v-09179aaa"><view class="card3Td data-v-09179aaa"><image class="levelIcon data-v-09179aaa" src="../../static/icons/my-icon2.png" mode="aspectFit"></image><text class="data-v-09179aaa">{{"LV."+item.level}}</text></view><view class="card3Td data-v-09179aaa">{{''+item.desc+''}}</view></view></block></view></view><view class="data-v-09179aaa"></view></view>
|
||||
<view class="container data-v-09179aaa"><v-navigation-bar vue-id="7312a3bb-1" title="权益信息" background-color="rgba(0,0,0,0)" title-color="#333" class="data-v-09179aaa" bind:__l="__l"></v-navigation-bar><view class="body data-v-09179aaa"><view class="card1 data-v-09179aaa"><image class="card1Bg data-v-09179aaa" src="../../static/images/image3.png" mode="aspectFit"></image><view class="topLeft data-v-09179aaa">当前等级</view><view class="levelNum data-v-09179aaa">{{''+customInfo.levelName+''}}</view></view><view class="equityTitle data-v-09179aaa"><image class="leftIcon data-v-09179aaa" src="../../static/icons/my-icon1.png" mode="aspectFit"></image><view class="data-v-09179aaa">尊享权益</view><image class="rightIcon data-v-09179aaa" src="../../static/icons/my-icon1.png" mode="aspectFit"></image></view><view class="card2 data-v-09179aaa"><text class="data-v-09179aaa">{{customInfo.userEquity}}</text></view><view class="equityTitle data-v-09179aaa"><image class="leftIcon data-v-09179aaa" src="../../static/icons/my-icon1.png" mode="aspectFit"></image><view class="data-v-09179aaa"><text class="colorTitle data-v-09179aaa">等级</text>介绍</view><image class="rightIcon data-v-09179aaa" src="../../static/icons/my-icon1.png" mode="aspectFit"></image></view><view class="card3 data-v-09179aaa"><view class="card3Header card3Tr data-v-09179aaa"><view class="card3Td data-v-09179aaa">等级标识</view><view class="card3Td data-v-09179aaa">权益信息</view></view><block wx:for="{{levelEquityList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="card3Tr data-v-09179aaa"><view class="card3Td data-v-09179aaa"><image class="levelIcon data-v-09179aaa" src="../../static/icons/my-icon2.png" mode="aspectFit"></image><text class="data-v-09179aaa">{{item.name}}</text></view><view class="card3Td data-v-09179aaa">{{''+item.userEquity+''}}</view></view></block></view></view><view class="data-v-09179aaa"></view></view>
|
11
unpackage/dist/dev/mp-weixin/pages/my/myInfo.js
vendored
11
unpackage/dist/dev/mp-weixin/pages/my/myInfo.js
vendored
@ -135,7 +135,7 @@ __webpack_require__.r(__webpack_exports__);
|
||||
/***/ (function(module, exports, __webpack_require__) {
|
||||
|
||||
"use strict";
|
||||
|
||||
/* WEBPACK VAR INJECTION */(function(uni) {
|
||||
|
||||
Object.defineProperty(exports, "__esModule", {
|
||||
value: true
|
||||
@ -151,10 +151,17 @@ var _default = {
|
||||
VNavigationBarVue: VNavigationBarVue
|
||||
},
|
||||
data: function data() {
|
||||
return {};
|
||||
return {
|
||||
customInfo: {}
|
||||
};
|
||||
},
|
||||
onShow: function onShow(data) {
|
||||
//当前登录用户信息
|
||||
this.customInfo = JSON.parse(uni.getStorageSync('customerInfo'));
|
||||
}
|
||||
};
|
||||
exports.default = _default;
|
||||
/* WEBPACK VAR INJECTION */}.call(this, __webpack_require__(/*! ./node_modules/@dcloudio/uni-mp-weixin/dist/index.js */ 2)["default"]))
|
||||
|
||||
/***/ }),
|
||||
|
||||
|
@ -1 +1 @@
|
||||
<view class="container data-v-46427794"><v-navigation-bar-vue vue-id="fbe6081c-1" titleColor="#333" backgroundColor="#fff" title="我的资料" class="data-v-46427794" bind:__l="__l"></v-navigation-bar-vue><view class="body data-v-46427794"><view class="formItem data-v-46427794"><text class="formLabel data-v-46427794">头像</text><image class="avatar data-v-46427794" src="../../static/images/avatar.png" mode="aspectFit"></image></view><view class="formItem data-v-46427794"><text class="formLabel data-v-46427794">昵称</text><text class="formValue data-v-46427794">用户昵称</text><image class="formBtn data-v-46427794" src="../../static/icons/homeInfoMore.png" mode="aspectFit"></image></view><view class="formItem data-v-46427794"><text class="formLabel data-v-46427794">手机号</text><text class="formValue data-v-46427794">157****9706</text><image class="formBtn data-v-46427794" src="../../static/icons/homeInfoMore.png" mode="aspectFit"></image></view></view></view>
|
||||
<view class="container data-v-46427794"><v-navigation-bar-vue vue-id="fbe6081c-1" titleColor="#333" backgroundColor="#fff" title="我的资料" class="data-v-46427794" bind:__l="__l"></v-navigation-bar-vue><view class="body data-v-46427794"><view class="formItem data-v-46427794"><text class="formLabel data-v-46427794">姓名</text><text class="formValue data-v-46427794">{{customInfo.cusName}}</text></view><view class="formItem data-v-46427794"><text class="formLabel data-v-46427794">手机号</text><text class="formValue data-v-46427794">{{customInfo.phoneNumber}}</text></view><view class="formItem data-v-46427794"><text class="formLabel data-v-46427794">联系地址</text><text class="formValue data-v-46427794">{{customInfo.address}}</text></view></view></view>
|
@ -162,6 +162,7 @@ var _default = {
|
||||
cusName: "",
|
||||
sex: "",
|
||||
idCard: "",
|
||||
birthday: "请选择你的生日",
|
||||
phoneNumber: "",
|
||||
address: ""
|
||||
},
|
||||
@ -244,6 +245,13 @@ var _default = {
|
||||
});
|
||||
return false;
|
||||
}
|
||||
if ("请选择你的生日" == this.formData.birthday) {
|
||||
uni.showToast({
|
||||
title: '请选择生日',
|
||||
icon: 'none'
|
||||
});
|
||||
return false;
|
||||
}
|
||||
if ("" == this.formData.phoneNumber || !this.isValidPhoneNumber(this.formData.phoneNumber)) {
|
||||
uni.showToast({
|
||||
title: '请填写手机号',
|
||||
@ -280,6 +288,7 @@ var _default = {
|
||||
},
|
||||
bindDateChange: function bindDateChange(e) {
|
||||
this.formData.birthday = e.detail.value;
|
||||
this.$forceUpdate();
|
||||
},
|
||||
radioChange: function radioChange(e) {
|
||||
var radioItems = this.radioSexItems;
|
||||
|
@ -1 +1 @@
|
||||
<view class="container data-v-a85a3e86"><v-navigation-bar vue-id="62ec902e-1" title-color="#333" background-color="#fff" title="信息填写" class="data-v-a85a3e86" bind:__l="__l"></v-navigation-bar><view class="body data-v-a85a3e86"><view class="formItem data-v-a85a3e86"><view class="formLabel data-v-a85a3e86">姓名</view><view class="formContainer data-v-a85a3e86"><input placeholder="请填写你的真实姓名" type="text" data-event-opts="{{[['input',[['__set_model',['$0','cusName','$event',[]],['formData']]]]]}}" value="{{formData.cusName}}" bindinput="__e" class="data-v-a85a3e86"/></view></view><view class="formItem data-v-a85a3e86"><view class="formLabel data-v-a85a3e86">性别</view><view class="formContainer data-v-a85a3e86"><radio-group class="radioGroup data-v-a85a3e86" name="group1" bindchange="{{radioChange}}"><block wx:for="{{radioSexItems}}" wx:for-item="item" wx:for-index="index" wx:key="value"><label class="radio data-v-a85a3e86"><radio activeBackgroundColor="#009EDA" value="{{item.value}}" checked="{{item.checked}}" class="data-v-a85a3e86"></radio>{{''+item.name+''}}</label></block></radio-group></view></view><view class="formItem data-v-a85a3e86"><view class="formLabel data-v-a85a3e86">身份证号</view><view class="formContainer data-v-a85a3e86"><input placeholder="请填写你的身份证号" type="text" data-event-opts="{{[['input',[['__set_model',['$0','idCard','$event',[]],['formData']]]]]}}" value="{{formData.idCard}}" bindinput="__e" class="data-v-a85a3e86"/></view></view><view class="formItem data-v-a85a3e86"><view class="formLabel data-v-a85a3e86">手机号</view><view class="formContainer data-v-a85a3e86"><input placeholder="请填写你的手机号" type="text" data-event-opts="{{[['input',[['__set_model',['$0','phoneNumber','$event',[]],['formData']]]]]}}" value="{{formData.phoneNumber}}" bindinput="__e" class="data-v-a85a3e86"/></view></view><view class="formItem data-v-a85a3e86"><view class="formLabel data-v-a85a3e86">联系地址</view><view class="formContainer data-v-a85a3e86"><textarea placeholder="请填写你的联系地址" maxlength="300" data-event-opts="{{[['input',[['__set_model',['$0','address','$event',[]],['formData']]]]]}}" value="{{formData.address}}" bindinput="__e" class="data-v-a85a3e86"></textarea></view></view><view data-event-opts="{{[['tap',[['getlogin']]]]}}" class="dl data-v-a85a3e86" bindtap="__e"><text class="data-v-a85a3e86">注册</text></view></view></view>
|
||||
<view class="container data-v-a85a3e86"><v-navigation-bar vue-id="62ec902e-1" title-color="#333" background-color="#fff" title="注册会员" class="data-v-a85a3e86" bind:__l="__l"></v-navigation-bar><view class="body data-v-a85a3e86"><view class="formItem data-v-a85a3e86"><view class="formLabel data-v-a85a3e86">姓名</view><view class="formContainer data-v-a85a3e86"><input placeholder="请填写你的真实姓名" type="text" data-event-opts="{{[['input',[['__set_model',['$0','cusName','$event',[]],['formData']]]]]}}" value="{{formData.cusName}}" bindinput="__e" class="data-v-a85a3e86"/></view></view><view class="formItem data-v-a85a3e86"><view class="formLabel data-v-a85a3e86">性别</view><view class="formContainer data-v-a85a3e86"><radio-group class="radioGroup data-v-a85a3e86" name="group1" bindchange="{{radioChange}}"><block wx:for="{{radioSexItems}}" wx:for-item="item" wx:for-index="index" wx:key="value"><label class="radio data-v-a85a3e86"><radio activeBackgroundColor="#009EDA" value="{{item.value}}" checked="{{item.checked}}" class="data-v-a85a3e86"></radio>{{''+item.name+''}}</label></block></radio-group></view></view><view class="formItem data-v-a85a3e86"><view class="formLabel data-v-a85a3e86">身份证号</view><view class="formContainer data-v-a85a3e86"><input placeholder="请填写你的身份证号" type="text" data-event-opts="{{[['input',[['__set_model',['$0','idCard','$event',[]],['formData']]]]]}}" value="{{formData.idCard}}" bindinput="__e" class="data-v-a85a3e86"/></view></view><view class="formItem data-v-a85a3e86"><view class="formLabel data-v-a85a3e86">生日</view><view class="formContainer data-v-a85a3e86"><picker mode="date" value="{{formData.birthday}}" data-event-opts="{{[['change',[['bindDateChange',['$event']]]]]}}" bindchange="__e" class="data-v-a85a3e86"><view class="data-v-a85a3e86">{{formData.birthday}}</view></picker></view></view><view class="formItem data-v-a85a3e86"><view class="formLabel data-v-a85a3e86">手机号</view><view class="formContainer data-v-a85a3e86"><input placeholder="请填写你的手机号" type="text" data-event-opts="{{[['input',[['__set_model',['$0','phoneNumber','$event',[]],['formData']]]]]}}" value="{{formData.phoneNumber}}" bindinput="__e" class="data-v-a85a3e86"/></view></view><view class="formItem data-v-a85a3e86"><view class="formLabel data-v-a85a3e86">联系地址</view><view class="formContainer data-v-a85a3e86"><textarea placeholder="请填写你的联系地址" maxlength="300" data-event-opts="{{[['input',[['__set_model',['$0','address','$event',[]],['formData']]]]]}}" value="{{formData.address}}" bindinput="__e" class="data-v-a85a3e86"></textarea></view></view><view data-event-opts="{{[['tap',[['getlogin']]]]}}" class="dl data-v-a85a3e86" bindtap="__e"><text class="data-v-a85a3e86">注册</text></view></view></view>
|
@ -20,6 +20,10 @@
|
||||
color: #333333;
|
||||
padding-bottom: 20rpx;
|
||||
}
|
||||
.container .formLabel.data-v-a85a3e86:before {
|
||||
content: "*";
|
||||
color: red;
|
||||
}
|
||||
.container .radioGroup.data-v-a85a3e86 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
|
@ -167,7 +167,7 @@ var VNavigationBar = function VNavigationBar() {
|
||||
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||||
};
|
||||
var tabBarVue = function tabBarVue() {
|
||||
Promise.all(/*! require.ensure | components/tabBar/tabBar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/tabBar/tabBar")]).then((function () {
|
||||
__webpack_require__.e(/*! require.ensure | components/tabBar/tabBar */ "components/tabBar/tabBar").then((function () {
|
||||
return resolve(__webpack_require__(/*! @/components/tabBar/tabBar.vue */ 238));
|
||||
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||||
};
|
||||
|
@ -258,7 +258,7 @@ var VNavigationBar = function VNavigationBar() {
|
||||
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||||
};
|
||||
var tabBarVue = function tabBarVue() {
|
||||
Promise.all(/*! require.ensure | components/tabBar/tabBar */[__webpack_require__.e("common/vendor"), __webpack_require__.e("components/tabBar/tabBar")]).then((function () {
|
||||
__webpack_require__.e(/*! require.ensure | components/tabBar/tabBar */ "components/tabBar/tabBar").then((function () {
|
||||
return resolve(__webpack_require__(/*! @/components/tabBar/tabBar.vue */ 238));
|
||||
}).bind(null, __webpack_require__)).catch(__webpack_require__.oe);
|
||||
};
|
||||
@ -393,7 +393,7 @@ var _default = {
|
||||
that = _this2;
|
||||
_context2.next = 3;
|
||||
return (0, _request.default)({
|
||||
url: '/pay/toPay',
|
||||
url: '/userClient/pay/toPay',
|
||||
method: 'get',
|
||||
params: {
|
||||
orderId: data.id
|
||||
|
@ -1 +1 @@
|
||||
<view class="container data-v-40959460"><v-navigation-bar vue-id="5bc50eb4-1" titleColor="rgba(0,0,0,0.9)" leftTitle="true" backgroundColor="transparent" title="我的订单" class="data-v-40959460" bind:__l="__l"></v-navigation-bar><view class="body data-v-40959460"><view class="tabList data-v-40959460"><block wx:for="{{tabList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeTabFun',['$0'],[[['tabList','',index,'id']]]]]]]}}" class="{{['tabItem','data-v-40959460',(item.id===activeKey)?'actived':'']}}" bindtap="__e">{{''+item.title+''}}<block wx:if="{{activeKey===item.id}}"><view class="activeLine data-v-40959460"></view></block></view></block></view><view class="orderList data-v-40959460"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="orderItem data-v-40959460"><view class="line1 data-v-40959460"><view class="orderNo data-v-40959460">{{'订单编号:'+item.$orig.orderNo+''}}</view><text class="{{['orderStatus','data-v-40959460','status_'+item.$orig.status]}}">{{''+item.m0+''}}</text></view><view class="orderInfo data-v-40959460"><image class="orderInfoIcon data-v-40959460" src mode="aspectFit"></image><text class="orderInfoText data-v-40959460">{{item.$orig.goodsTitle}}</text></view><view class="orderInfo data-v-40959460"><image class="orderInfoIcon data-v-40959460" src mode="aspectFit"></image><text class="orderInfoText data-v-40959460">{{item.f0}}</text></view><view class="line2 data-v-40959460"><view class="data-v-40959460">共计<text class="orderAmountUnit data-v-40959460">¥</text><text class="orderAmount data-v-40959460">{{item.$orig.payMoney}}</text></view><text class="data-v-40959460">{{item.m1}}</text></view><view class="line3 data-v-40959460"><view data-event-opts="{{[['tap',[['goPay',['$0'],[[['orderList','',index]]]]]]]}}" class="showOrder data-v-40959460" bindtap="__e">支付</view><view data-event-opts="{{[['tap',[['gotoDetail',['$0'],[[['orderList','',index]]]]]]]}}" class="showOrder data-v-40959460" bindtap="__e">查看订单</view><block wx:if="{{item.$orig.orderStatus==='1'&&!item.$orig.commentDesc}}"><view data-event-opts="{{[['tap',[['gotoEvaluate',['$0'],[[['orderList','',index]]]]]]]}}" class="evaluate data-v-40959460" bindtap="__e">评价订单</view></block></view></view></block></view><uni-popup vue-id="5bc50eb4-2" type="center" border-radius="10px 10px 0 0" data-ref="popup" data-event-opts="{{[['^change',[['popupChange']]]]}}" bind:change="__e" class="data-v-40959460 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view style="position:relative;padding:30rpx;border-radius:20rpx;width:600rpx;background-color:#fff;display:flex;align-items:center;row-gap:10rpx;flex-direction:column;" class="data-v-40959460"><canvas style="width:200px;height:200px;" canvas-id="myQrcode" class="data-v-40959460"></canvas><image style="width:200px;height:200px;position:absolute;top:30rpx;" id="dl-pay-img" src="{{imageUrl}}" class="_img data-v-40959460"></image><view class="popup-title data-v-40959460">长按识别图中二维码支付</view></view></uni-popup></view><tab-bar-vue vue-id="5bc50eb4-3" msg="2" class="data-v-40959460" bind:__l="__l"></tab-bar-vue></view>
|
||||
<view class="container data-v-40959460"><v-navigation-bar vue-id="5bc50eb4-1" titleColor="rgba(0,0,0,0.9)" leftTitle="true" backgroundColor="transparent" title="我的订单" class="data-v-40959460" bind:__l="__l"></v-navigation-bar><view class="body data-v-40959460"><view class="tabList data-v-40959460"><block wx:for="{{tabList}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view data-event-opts="{{[['tap',[['changeTabFun',['$0'],[[['tabList','',index,'id']]]]]]]}}" class="{{['tabItem','data-v-40959460',(item.id===activeKey)?'actived':'']}}" bindtap="__e">{{''+item.title+''}}<block wx:if="{{activeKey===item.id}}"><view class="activeLine data-v-40959460"></view></block></view></block></view><view class="orderList data-v-40959460"><block wx:for="{{$root.l0}}" wx:for-item="item" wx:for-index="index" wx:key="index"><view class="orderItem data-v-40959460"><view class="line1 data-v-40959460"><view class="orderNo data-v-40959460">{{'订单编号:'+item.$orig.orderNo+''}}</view><text class="{{['orderStatus','data-v-40959460','status_'+item.$orig.status]}}">{{''+item.m0+''}}</text></view><view class="orderInfo data-v-40959460"><image class="orderInfoIcon data-v-40959460" src mode="aspectFit"></image><text class="orderInfoText data-v-40959460">{{item.$orig.goodsTitle}}</text></view><view class="orderInfo data-v-40959460"><image class="orderInfoIcon data-v-40959460" src mode="aspectFit"></image><text class="orderInfoText data-v-40959460">{{item.f0}}</text></view><view class="line2 data-v-40959460"><view class="data-v-40959460">共计<text class="orderAmountUnit data-v-40959460">¥</text><text class="orderAmount data-v-40959460">{{item.$orig.payMoney}}</text></view><text class="data-v-40959460">{{item.m1}}</text></view><view class="line3 data-v-40959460"><block wx:if="{{item.$orig.orderStatus=='0'}}"><view data-event-opts="{{[['tap',[['goPay',['$0'],[[['orderList','',index]]]]]]]}}" class="showOrder data-v-40959460" bindtap="__e">支付</view></block><block wx:if="{{item.$orig.goodsType=='2'}}"><view data-event-opts="{{[['tap',[['gotoDetail',['$0'],[[['orderList','',index]]]]]]]}}" class="showOrder data-v-40959460" bindtap="__e">查看订单</view></block><block wx:if="{{item.$orig.goodsType=='2'&&item.$orig.orderStatus==='1'&&!item.$orig.commentDesc}}"><view data-event-opts="{{[['tap',[['gotoEvaluate',['$0'],[[['orderList','',index]]]]]]]}}" class="evaluate data-v-40959460" bindtap="__e">评价订单</view></block></view></view></block></view><uni-popup vue-id="5bc50eb4-2" type="center" border-radius="10px 10px 0 0" data-ref="popup" data-event-opts="{{[['^change',[['popupChange']]]]}}" bind:change="__e" class="data-v-40959460 vue-ref" bind:__l="__l" vue-slots="{{['default']}}"><view style="position:relative;padding:30rpx;border-radius:20rpx;width:600rpx;background-color:#fff;display:flex;align-items:center;row-gap:10rpx;flex-direction:column;" class="data-v-40959460"><canvas style="width:200px;height:200px;" canvas-id="myQrcode" class="data-v-40959460"></canvas><image style="width:200px;height:200px;position:absolute;top:30rpx;" id="dl-pay-img" src="{{imageUrl}}" class="_img data-v-40959460"></image><view class="popup-title data-v-40959460">长按识别图中二维码支付</view></view></uni-popup></view><tab-bar-vue vue-id="5bc50eb4-3" msg="2" class="data-v-40959460" bind:__l="__l"></tab-bar-vue></view>
|
Loading…
Reference in New Issue
Block a user