You've already forked qlg.tsgz.moe
Init Repo
This commit is contained in:
15
hyhproject/mobile2/common/function.php
Executable file
15
hyhproject/mobile2/common/function.php
Executable file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
use think\Db;
|
||||
/**
|
||||
* ============================================================================
|
||||
*/
|
||||
/**
|
||||
* 获取购物车数量
|
||||
*/
|
||||
function WSTCartNum(){
|
||||
$userId = session('WST_USER.userId');
|
||||
$cartNum = Db::name('carts')->where(['userId'=>$userId])->field('cartId')->select();
|
||||
$count = count($cartNum);
|
||||
return $count;
|
||||
}
|
||||
|
14
hyhproject/mobile2/conf/config.php
Executable file
14
hyhproject/mobile2/conf/config.php
Executable file
@ -0,0 +1,14 @@
|
||||
<?php
|
||||
// +----------------------------------------------------------------------
|
||||
// | ThinkPHP [ WE CAN DO IT JUST THINK ]
|
||||
// +----------------------------------------------------------------------
|
||||
// | Copyright (c) 2006~2016 http://thinkphp.cn All rights reserved.
|
||||
// +----------------------------------------------------------------------
|
||||
// | Licensed ( http://www.apache.org/licenses/LICENSE-2.0 )
|
||||
// +----------------------------------------------------------------------
|
||||
// | Author: liu21st <liu21st@gmail.com>
|
||||
// +----------------------------------------------------------------------
|
||||
|
||||
return [
|
||||
|
||||
];
|
247
hyhproject/mobile2/controller/Alipays.php
Executable file
247
hyhproject/mobile2/controller/Alipays.php
Executable file
@ -0,0 +1,247 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
use think\Loader;
|
||||
use wstmart\common\model\Payments as M;
|
||||
use wstmart\mobile\model\Orders as OM;
|
||||
use wstmart\common\model\LogPayParams as PM;
|
||||
use wstmart\common\model\ChargeItems as CM;
|
||||
use wstmart\common\model\LogMoneys as LM;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 阿里支付控制器
|
||||
*/
|
||||
class Alipays extends Base{
|
||||
|
||||
/**
|
||||
* 初始化
|
||||
*/
|
||||
private $alipayConfig;
|
||||
public function _initialize() {
|
||||
header ("Content-type: text/html; charset=utf-8");
|
||||
Loader::import ( 'alipay.Corefunction' );
|
||||
Loader::import ( 'alipay.Md5function' );
|
||||
Loader::import ( 'alipay.AlipayNotify' );
|
||||
Loader::import ( 'alipay.AlipaySubmit' );
|
||||
$m = new M();
|
||||
$payment = $m->getPayment("alipays");
|
||||
$this->alipayConfig = array(
|
||||
'partner' =>$payment['parterID'], //这里是你在成功申请支付宝接口后获取到的PID;
|
||||
'key'=>$payment['parterKey'],//这里是你在成功申请支付宝接口后获取到的Key
|
||||
'seller_email'=>$payment['payAccount'],
|
||||
'sign_type'=>strtoupper('MD5'),
|
||||
'input_charset'=> strtolower('utf-8'),
|
||||
'cacert'=>'',
|
||||
'transport'=> 'http'
|
||||
);
|
||||
}
|
||||
|
||||
/**
|
||||
* 支付宝支付跳转方法
|
||||
*/
|
||||
public function toAliPay(){
|
||||
|
||||
$payObj = input("payObj/s");
|
||||
|
||||
$call_back_url = "";
|
||||
$notify_url = "";
|
||||
$subject = "";
|
||||
$total_fee = 0;
|
||||
$transId = 0;
|
||||
$userId = 0;
|
||||
$payParams = array();
|
||||
if($payObj=="recharge"){//充值
|
||||
$itemId = (int)input("itemId/d");
|
||||
$orderAmount = 0;
|
||||
if($itemId>0){
|
||||
$cm = new CM();
|
||||
$item = $cm->getItemMoney($itemId);
|
||||
$total_fee = isSet($item["chargeMoney"])?$item["chargeMoney"]:0;
|
||||
}else{
|
||||
$total_fee = (int)input("needPay/d");
|
||||
}
|
||||
|
||||
$shopId = (int)session('WST_USER.shopId');
|
||||
$targetType = ($shopId>0)?1:0;
|
||||
$targetId = (int)session('WST_USER.userId');
|
||||
if($targetType==1){//商家
|
||||
$targetId = $shopId;
|
||||
}
|
||||
$userId = $targetId;
|
||||
$out_trade_no = WSTOrderNo();
|
||||
$transId = $out_trade_no;
|
||||
$payParams["targetId"] = $targetId;
|
||||
$payParams["targetType"] = $targetType;
|
||||
$payParams["itemId"] = $itemId;
|
||||
$payParams["payObj"] = $payObj;
|
||||
|
||||
$call_back_url = url("mobile/users/index","",true,true);
|
||||
$notify_url = url("mobile/alipays/aliNotify","",true,true);
|
||||
$subject = '钱包充值';
|
||||
}else{
|
||||
$orderNo = input('orderNo');
|
||||
$isBatch = (int)input('isBatch');
|
||||
$userId = (int)session('WST_USER.userId');
|
||||
$m = new OM();
|
||||
$obj = array();
|
||||
$obj["userId"] = $userId;
|
||||
$obj["orderNo"] = input("orderNo/s");
|
||||
$obj["isBatch"] = (int)input("isBatch/d");
|
||||
$rs = $m->getOrderPayInfo($obj);
|
||||
if(empty($rs)){
|
||||
$this->assign('type','');
|
||||
return $this->fetch("users/orders/orders_list");
|
||||
}else{
|
||||
$m = new M();
|
||||
$om = new OM();
|
||||
$data = $om->checkOrderPay($obj);
|
||||
if($data["status"]==-1){
|
||||
echo "<span style='font-size:40px;'>您的订单已支付,不要重复支付!</span>";
|
||||
return;
|
||||
}else if($data["status"]==-2){
|
||||
echo "<span style='font-size:40px;'>您的订单因商品库存不足,不能支付!</span>";
|
||||
return;
|
||||
}
|
||||
}
|
||||
$order = $om->getPayOrders($obj);
|
||||
$total_fee = $order["needPay"];
|
||||
$payRand = $order["payRand"];
|
||||
$out_trade_no = $obj["orderNo"]."a".$payRand;
|
||||
$transId = $obj["orderNo"];
|
||||
|
||||
$payParams["userId"] = $userId;
|
||||
$payParams["isBatch"] = $isBatch;
|
||||
$payParams["orderNo"] = $orderNo;
|
||||
|
||||
$call_back_url = url("mobile/orders/index","",true,true);
|
||||
$notify_url = url("mobile/alipays/aliNotify","",true,true);
|
||||
$subject = '支付购买商品费用';
|
||||
}
|
||||
|
||||
$format = "xml";
|
||||
$v = "2.0";
|
||||
$req_id = date('Ymdhis');
|
||||
$merchant_url = "";
|
||||
$seller_email = $this->alipayConfig['seller_email'];
|
||||
|
||||
$req_data = '<direct_trade_create_req><notify_url>' . $notify_url . '</notify_url><call_back_url>' . $call_back_url . '</call_back_url><seller_account_name>' . $seller_email . '</seller_account_name><out_trade_no>' . $out_trade_no . '</out_trade_no><subject>' . $subject . '</subject><total_fee>' . $total_fee . '</total_fee><merchant_url>' . $merchant_url . '</merchant_url></direct_trade_create_req>';
|
||||
|
||||
//构造要请求的参数数组,无需改动
|
||||
$para_token = array(
|
||||
"service" => "alipay.wap.trade.create.direct",
|
||||
"partner" => trim($this->alipayConfig['partner']),
|
||||
"sec_id" => trim($this->alipayConfig['sign_type']),
|
||||
"format" => $format,
|
||||
"v" => $v,
|
||||
"req_id" => $req_id,
|
||||
"req_data" => $req_data,
|
||||
"_input_charset" => trim(strtolower($this->alipayConfig['input_charset']))
|
||||
);
|
||||
//建立请求
|
||||
$alipaySubmit = new \AlipaySubmit($this->alipayConfig);
|
||||
$html_text = $alipaySubmit->buildRequestHttp($para_token);
|
||||
//URLDECODE返回的信息
|
||||
$html_text = urldecode($html_text);
|
||||
//解析远程模拟提交后返回的信息
|
||||
$para_html_text = $alipaySubmit->parseResponse($html_text);
|
||||
//获取request_token
|
||||
$request_token = $para_html_text['request_token'];
|
||||
//**************************根据授权码token调用交易接口alipay.wap.auth.authAndExecute**************************
|
||||
//业务详细
|
||||
$req_data = '<auth_and_execute_req><request_token>' . $request_token . '</request_token></auth_and_execute_req>';
|
||||
//必填
|
||||
|
||||
//构造要请求的参数数组,无需改动
|
||||
$parameter = array(
|
||||
"service" => "alipay.wap.auth.authAndExecute",
|
||||
"partner" => trim($this->alipayConfig['partner']),
|
||||
"sec_id" => trim($this->alipayConfig['sign_type']),
|
||||
"format" => $format,
|
||||
"v" => $v,
|
||||
"req_id" => $req_id,
|
||||
"req_data" => $req_data,
|
||||
"_input_charset" => trim(strtolower($this->alipayConfig['input_charset']))
|
||||
);
|
||||
|
||||
$data = array();
|
||||
$data["userId"] = $userId;
|
||||
$data["transId"] = $transId;
|
||||
$data["paramsVa"] = json_encode($payParams);
|
||||
$data["payFrom"] = 'alipays';
|
||||
$m = new PM();
|
||||
$m->addPayLog($data);
|
||||
|
||||
//建立请求
|
||||
$alipaySubmit = new \AlipaySubmit($this->alipayConfig);
|
||||
$html_text = $alipaySubmit->buildRequestForm($parameter, 'get', '');
|
||||
echo $html_text;
|
||||
}
|
||||
|
||||
/**
|
||||
* 服务器异步通知页面方法
|
||||
*
|
||||
*/
|
||||
function aliNotify() {
|
||||
$om = new OM();
|
||||
// 计算得出通知验证结果
|
||||
$alipayNotify = new \AlipayNotify ( $this->alipayConfig );
|
||||
$verify_result = $alipayNotify->verifyNotify ();
|
||||
|
||||
if ($verify_result) {
|
||||
$notify_data = $_POST['notify_data'];
|
||||
// 获取支付宝的通知返回参数,可参考技术文档中服务器异步通知参数列表
|
||||
// 解析notify_data
|
||||
// 注意:该功能PHP5环境及以上支持,需开通curl、SSL等PHP配置环境。建议本地调试时使用PHP开发软件
|
||||
$doc = new \DOMDocument ();
|
||||
$doc->loadXML ( $notify_data );
|
||||
if (! empty ( $doc->getElementsByTagName ( "notify" )->item ( 0 )->nodeValue )) {
|
||||
// 交易号
|
||||
$trade_no = $doc->getElementsByTagName ( "trade_no" )->item ( 0 )->nodeValue;
|
||||
// 商户订单号
|
||||
$out_trade_no = $doc->getElementsByTagName ( "out_trade_no" )->item ( 0 )->nodeValue;
|
||||
|
||||
$total_fee = $doc->getElementsByTagName( "total_fee" )->item(0)->nodeValue;
|
||||
// 支付宝交易号
|
||||
$trade_no = $doc->getElementsByTagName ( "trade_no" )->item ( 0 )->nodeValue;
|
||||
// 交易状态
|
||||
$trade_status = $doc->getElementsByTagName ( "trade_status" )->item ( 0 )->nodeValue;
|
||||
if ($trade_status == 'TRADE_FINISHED' OR $trade_status == 'TRADE_SUCCESS') {
|
||||
$obj["trade_no"] = $trade_no;
|
||||
$tradeNo = explode("a",$out_trade_no);
|
||||
|
||||
$obj["out_trade_no"] = $tradeNo[0];
|
||||
$obj["payFrom"] = 'alipays';
|
||||
$obj["total_fee"] = $total_fee;
|
||||
|
||||
$m = new PM();
|
||||
$payParams = $m->getPayLog(["transId"=>$obj["out_trade_no"]]);
|
||||
if(isSet($payParams["payObj"]) && $payParams["payObj"]=='recharge'){
|
||||
|
||||
$obj["targetId"] = $payParams["targetId"];
|
||||
$obj["targetType"] = $payParams["targetType"];
|
||||
$obj["itemId"] = $payParams["itemId"];;
|
||||
// 支付成功业务逻辑
|
||||
$m = new LM();
|
||||
$rs = $m->complateRecharge ( $obj );
|
||||
}else{
|
||||
//$payFrom = $om->getOrderPayFrom($tradeNo[0]);
|
||||
$obj["userId"] = $payParams["userId"];
|
||||
$obj["isBatch"] = $payParams["isBatch"];
|
||||
//支付成功业务逻辑
|
||||
$rs = $om->complatePay($obj);
|
||||
}
|
||||
|
||||
if($rs["status"]==1){
|
||||
echo 'success';
|
||||
}else{
|
||||
echo 'fail';
|
||||
}
|
||||
}
|
||||
//echo "success"; // 请不要修改或删除
|
||||
}
|
||||
} else {
|
||||
// 验证失败
|
||||
echo "fail";
|
||||
}
|
||||
}
|
||||
|
||||
}
|
17
hyhproject/mobile2/controller/Areas.php
Executable file
17
hyhproject/mobile2/controller/Areas.php
Executable file
@ -0,0 +1,17 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
use wstmart\common\model\Areas as M;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 地区控制器
|
||||
*/
|
||||
class Areas extends Base{
|
||||
/**
|
||||
* 列表查询
|
||||
*/
|
||||
public function listQuery(){
|
||||
$m = new M();
|
||||
$rs = $m->listQuery();
|
||||
return WSTReturn('', 1,$rs);
|
||||
}
|
||||
}
|
71
hyhproject/mobile2/controller/Base.php
Executable file
71
hyhproject/mobile2/controller/Base.php
Executable file
@ -0,0 +1,71 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
use think\Controller;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 基础控制器
|
||||
*/
|
||||
class Base extends Controller {
|
||||
public function __construct(){
|
||||
parent::__construct();
|
||||
WSTConf('CONF',WSTConfig());
|
||||
$this->assign("v",WSTConf('CONF.wstVersion')."_".WSTConf('CONF.wstPcStyleId'));
|
||||
|
||||
if(WSTConf('CONF.seoMallSwitch')==0){
|
||||
$this->redirect('mobile/switchs/index');
|
||||
exit;
|
||||
}
|
||||
}
|
||||
// 权限验证方法
|
||||
protected function checkAuth(){
|
||||
$USER = session('WST_USER');
|
||||
if(empty($USER)){
|
||||
if(request()->isAjax()){
|
||||
die('{"status":-999,"msg":"您还未登录"}');
|
||||
}else{
|
||||
$this->redirect('mobile/users/login');
|
||||
exit;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// 店铺权限验证方法
|
||||
protected function checkShopAuth($opt){
|
||||
$shopMenus = WSTShopOrderMenus();
|
||||
if($opt=="list"){
|
||||
if(count($shopMenus)==0){
|
||||
session('moshoporder','对不起,您无权进行该操作');
|
||||
$this->redirect('mobile/error/message',['code'=>'moshoporder']);
|
||||
exit;
|
||||
}
|
||||
}else{
|
||||
if(!array_key_exists($opt,$shopMenus)){
|
||||
if(request()->isAjax()){
|
||||
die('{"status":-1,"msg":"您无权进行该操作"}');
|
||||
}else{
|
||||
session('moshoporder','对不起,您无权进行该操作');
|
||||
$this->redirect('mobile/error/message',['code'=>'moshoporder']);
|
||||
exit;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
protected function fetch($template = '', $vars = [], $replace = [], $config = []){
|
||||
$style = WSTConf('CONF.wstmobileStyle')?WSTConf('CONF.wstmobileStyle'):'default';
|
||||
$replace['__MOBILE__'] = str_replace('/index.php','',\think\Request::instance()->root()).'/hyhproject/mobile/view/'.$style;
|
||||
return $this->view->fetch($style."/".$template, $vars, $replace, $config);
|
||||
|
||||
}
|
||||
/**
|
||||
* 上传图片
|
||||
*/
|
||||
public function uploadPic(){
|
||||
return WSTUploadPic(0);
|
||||
}
|
||||
/**
|
||||
* 获取验证码
|
||||
*/
|
||||
public function getVerify(){
|
||||
WSTVerify();
|
||||
}
|
||||
}
|
26
hyhproject/mobile2/controller/Brands.php
Executable file
26
hyhproject/mobile2/controller/Brands.php
Executable file
@ -0,0 +1,26 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
use wstmart\common\model\Brands as M;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 品牌控制器
|
||||
*/
|
||||
class Brands extends Base{
|
||||
/**
|
||||
* 主页
|
||||
*/
|
||||
public function index(){
|
||||
return $this->fetch('brands');
|
||||
}
|
||||
/**
|
||||
* 列表
|
||||
*/
|
||||
public function pageQuery(){
|
||||
$m = new M();
|
||||
$rs = $m->pageQuery(input('pagesize/d'));
|
||||
foreach ($rs['Rows'] as $key =>$v){
|
||||
$rs['Rows'][$key]['brandImg'] = WSTImg($v['brandImg'],2);
|
||||
}
|
||||
return $rs;
|
||||
}
|
||||
}
|
152
hyhproject/mobile2/controller/Carts.php
Executable file
152
hyhproject/mobile2/controller/Carts.php
Executable file
@ -0,0 +1,152 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
use wstmart\common\model\Carts as M;
|
||||
use wstmart\common\model\UserAddress;
|
||||
use wstmart\common\model\Payments;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 购物车控制器
|
||||
*/
|
||||
class Carts extends Base{
|
||||
|
||||
// 前置方法执行列表
|
||||
protected $beforeActionList = [
|
||||
'checkAuth'
|
||||
];
|
||||
/**
|
||||
* 批量修改购物车状态
|
||||
*/
|
||||
public function batchChangeCartGoods(){
|
||||
$m = new M();
|
||||
return $m->batchChangeCartGoods();
|
||||
}
|
||||
/**
|
||||
* 查看购物车列表
|
||||
*/
|
||||
public function index(){
|
||||
$m = new M();
|
||||
$carts = $m->getCarts(false);
|
||||
$this->assign('carts',$carts);
|
||||
return $this->fetch('carts');
|
||||
}
|
||||
/**
|
||||
* 加入购物车
|
||||
*/
|
||||
public function addCart(){
|
||||
$m = new M();
|
||||
$rs = $m->addCart();
|
||||
$rs['cartNum'] = WSTCartNum();
|
||||
return $rs;
|
||||
}
|
||||
/**
|
||||
* 修改购物车商品状态
|
||||
*/
|
||||
public function changeCartGoods(){
|
||||
$m = new M();
|
||||
$rs = $m->changeCartGoods();
|
||||
return $rs;
|
||||
}
|
||||
/**
|
||||
* 删除购物车里的商品
|
||||
*/
|
||||
public function delCart(){
|
||||
$m = new M();
|
||||
$rs= $m->delCart();
|
||||
return $rs;
|
||||
}
|
||||
/**
|
||||
* 计算运费、惠宝和总商品价格
|
||||
*/
|
||||
public function getCartMoney(){
|
||||
$m = new M();
|
||||
$data = $m->getCartMoney();
|
||||
return $data;
|
||||
}
|
||||
/**
|
||||
* 计算运费、惠宝和总商品价格/虚拟商品
|
||||
*/
|
||||
public function getQuickCartMoney(){
|
||||
$m = new M();
|
||||
$data = $m->getQuickCartMoney();
|
||||
return $data;
|
||||
}
|
||||
/**
|
||||
* 跳去购物车结算页面
|
||||
*/
|
||||
public function settlement(){
|
||||
$m = new M();
|
||||
//获取一个用户地址
|
||||
$addressId = (int)input('addressId');
|
||||
$ua = new UserAddress();
|
||||
if($addressId>0){
|
||||
$userAddress = $ua->getById($addressId);
|
||||
}else{
|
||||
$userAddress = $ua->getDefaultAddress();
|
||||
}
|
||||
$this->assign('userAddress',$userAddress);
|
||||
//获取支付方式
|
||||
$pa = new Payments();
|
||||
$payments = $pa->getByGroup('2');
|
||||
$areaId2 = isset($userAddress['areaId2']) ? $userAddress['areaId2'] : 0;
|
||||
//dump($payments);
|
||||
//获取已选的购物车商品
|
||||
$carts = $m->getCarts(true, 0, $areaId2);
|
||||
|
||||
//hook("mobileControllerCartsSettlement",["carts"=>$carts,"payments"=>&$payments]);
|
||||
//ect整合相关优惠还有判断不能和在线支付商品一块
|
||||
// hook("ectIntegration",["carts"=>&$carts,'isSettlement'=>false,'uId'=>(int)session('WST_USER.userId')]);
|
||||
$this->assign('payments',$payments);
|
||||
//获取用户惠宝
|
||||
$user = model('users')->getFieldsById((int)session('WST_USER.userId'),'userScore');
|
||||
//计算可用惠宝和金额
|
||||
$goodsTotalMoney = (int)(($carts['goodsTotalMoney'] - $carts['promotionMoney'] - $carts['allShippingMoney']) * HuiScale());//$carts['goodsTotalMoney']; 惠宝最多可抵用20% mark 20170907
|
||||
$goodsTotalScore = WSTScoreToMoney($goodsTotalMoney,true);
|
||||
|
||||
$useOrderScore =0;
|
||||
$useOrderMoney = 0;
|
||||
if($user['userScore']>$goodsTotalScore){
|
||||
$useOrderScore = $goodsTotalScore;
|
||||
$useOrderMoney = $goodsTotalMoney;
|
||||
}else{
|
||||
$useOrderScore = $user['userScore'];
|
||||
$useOrderMoney = WSTScoreToMoney($useOrderScore);
|
||||
}
|
||||
$this->assign('userOrderScore',$useOrderScore);
|
||||
$this->assign('userOrderMoney',$useOrderMoney);
|
||||
|
||||
$this->assign('carts',$carts);
|
||||
return $this->fetch('settlement');
|
||||
}
|
||||
/**
|
||||
* 跳去虚拟商品购物车结算页面
|
||||
*/
|
||||
public function quickSettlement(){
|
||||
$m = new M();
|
||||
//获取支付方式
|
||||
$pa = new Payments();
|
||||
$payments = $pa->getByGroup('2');
|
||||
$this->assign('payments',$payments);
|
||||
//获取用户惠宝
|
||||
$user = model('users')->getFieldsById((int)session('WST_USER.userId'),'userScore');
|
||||
//获取已选的购物车商品
|
||||
$carts = $m->getQuickCarts();
|
||||
//计算可用惠宝和金额
|
||||
$goodsTotalMoney = (int)($carts['goodsTotalMoney'] * HuiScale());//$carts['goodsTotalMoney']; 惠宝最多可抵用20% mark 20170907
|
||||
$goodsTotalScore = WSTScoreToMoney($goodsTotalMoney,true);
|
||||
|
||||
$useOrderScore =0;
|
||||
$useOrderMoney = 0;
|
||||
if($user['userScore']>$goodsTotalScore){
|
||||
$useOrderScore = $goodsTotalScore;
|
||||
$useOrderMoney = $goodsTotalMoney;
|
||||
}else{
|
||||
$useOrderScore = $user['userScore'];
|
||||
$useOrderMoney = WSTScoreToMoney($useOrderScore);
|
||||
}
|
||||
$this->assign('userOrderScore',$useOrderScore);
|
||||
$this->assign('userOrderMoney',$useOrderMoney);
|
||||
|
||||
$this->assign('carts',$carts);
|
||||
return $this->fetch('settlement_quick');
|
||||
}
|
||||
}
|
54
hyhproject/mobile2/controller/Cashconfigs.php
Executable file
54
hyhproject/mobile2/controller/Cashconfigs.php
Executable file
@ -0,0 +1,54 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 提现账号控制器
|
||||
*/
|
||||
class Cashconfigs extends Base{
|
||||
// 前置方法执行列表
|
||||
protected $beforeActionList = [
|
||||
'checkAuth',
|
||||
];
|
||||
/**
|
||||
* 查看提现账号
|
||||
*/
|
||||
public function index(){
|
||||
$this->assign('area',model('areas')->listQuery(0));
|
||||
$this->assign('banks',model('banks')->listQuery(0));
|
||||
return $this->fetch('users/cashconfigs/list');
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取用户数据
|
||||
*/
|
||||
public function pageQuery(){
|
||||
$userId = (int)session('WST_USER.userId');
|
||||
$data = model('CashConfigs')->pageQuery(0,$userId);
|
||||
return WSTReturn("", 1,$data);
|
||||
}
|
||||
/**
|
||||
* 获取记录
|
||||
*/
|
||||
public function getById(){
|
||||
$id = (int)input('id');
|
||||
return model('CashConfigs')->getById($id);
|
||||
}
|
||||
/**
|
||||
* 新增
|
||||
*/
|
||||
public function add(){
|
||||
return model('CashConfigs')->add();
|
||||
}
|
||||
/**
|
||||
* 编辑
|
||||
*/
|
||||
public function edit(){
|
||||
return model('CashConfigs')->edit();
|
||||
}
|
||||
/**
|
||||
* 删除
|
||||
*/
|
||||
public function del(){
|
||||
return model('CashConfigs')->del();
|
||||
}
|
||||
}
|
34
hyhproject/mobile2/controller/Cashdraws.php
Executable file
34
hyhproject/mobile2/controller/Cashdraws.php
Executable file
@ -0,0 +1,34 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 提现记录控制器
|
||||
*/
|
||||
class Cashdraws extends Base{
|
||||
// 前置方法执行列表
|
||||
protected $beforeActionList = [
|
||||
'checkAuth',
|
||||
];
|
||||
/**
|
||||
* 查看用户提现记录
|
||||
*/
|
||||
public function index(){
|
||||
return $this->fetch('users/cashdraws/list');
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取用户数据
|
||||
*/
|
||||
public function pageQuery(){
|
||||
$userId = (int)session('WST_USER.userId');
|
||||
$data = model('CashDraws')->pageQuery(0,$userId);
|
||||
return WSTReturn("", 1,$data);
|
||||
}
|
||||
|
||||
/**
|
||||
* 提现
|
||||
*/
|
||||
public function drawMoney(){
|
||||
return model('CashDraws')->drawMoney();
|
||||
}
|
||||
}
|
75
hyhproject/mobile2/controller/Demo.php
Executable file
75
hyhproject/mobile2/controller/Demo.php
Executable file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
//use wstmart\common\model\Demo as M;
|
||||
//use think\Loader;
|
||||
//use think\Db;
|
||||
//require_once(ROOT_PATH.'../php/lib/XS.php');
|
||||
/**
|
||||
* ============================================================================
|
||||
* 地区控制器
|
||||
*/
|
||||
class Demo extends Base{
|
||||
/**
|
||||
* 列表查询
|
||||
*/
|
||||
public function index(){
|
||||
//Loader::import ( 'php.lib.XS' );
|
||||
$xs = new \XS('goods');
|
||||
//$doc = new \XSDocument; // 自动使用 $prefix/sdk/php/app/demo.ini 作项目配置文件
|
||||
$data = array(
|
||||
'goodsId' => 6666667, // 此字段为主键,是进行文档替换的唯一标识
|
||||
'goodsName' => '测鞋子的标题'
|
||||
);
|
||||
//$doc->setFields($data);
|
||||
// $index = $xs->index; // 获取 索引对象
|
||||
// //$index->del(array('6666666', '6666667')); // 同时删除主键值为 123, 789, 456 的记录
|
||||
// //添加到索引数据库中
|
||||
// $index->add($doc);
|
||||
|
||||
|
||||
// // 创建文档对象
|
||||
// $xs = new \XS('goods');
|
||||
|
||||
// $info = $xs->search->search('苹果');
|
||||
// //echo $info->goodsName;
|
||||
// //dump($info);
|
||||
// foreach ($info as $key => $v) {
|
||||
// $data[$key]['goodsId'] = $v['goodsId'];
|
||||
// $data[$key]['goodsName'] = $v['goodsName'];
|
||||
// }
|
||||
//dump($data);
|
||||
}
|
||||
public function search(){
|
||||
|
||||
//'select * form hyh_ads a where a.adPositionId in (select positionId from hyh_ad_positions where positionCode='mo-ads-index' ) '
|
||||
//$ads_list = Db::name('ads')->where(['adPositionId'=>291,'dataFlag'=>1])->order('adSort asc')->select();
|
||||
//dump($ads_list);
|
||||
|
||||
//$m = new Demo();
|
||||
//$brand_list = $m->getBrandList();
|
||||
//dump($brand_list);
|
||||
|
||||
|
||||
$keyword = input('keyword');
|
||||
$shopId = (int)input('shopId');
|
||||
//$xs = new \XS('goods');
|
||||
$search = 'goodsName:'.$keyword;
|
||||
if($shopId){
|
||||
$search.=' goodsId:'.$shopId;
|
||||
}
|
||||
$info = $xs->search->getField('goodsId')->search($search);
|
||||
//$info = $xs->search->search($keyword);
|
||||
foreach ($info as $key => $v) {//把返回的数据转换为数组
|
||||
$data[$key]['goodsId'] = $v['goodsId'];
|
||||
$data[$key]['goodsName'] = $v['goodsName'];
|
||||
}
|
||||
if($data){
|
||||
exit(jsonReturn('调用成功',1,$data));
|
||||
}
|
||||
exit(jsonReturn('调用失败',-1));
|
||||
}
|
||||
// public function getBrandList(){
|
||||
// return Db::name('brands')->where('dataFlag=1')->select();
|
||||
|
||||
// }
|
||||
}
|
21
hyhproject/mobile2/controller/Error.php
Executable file
21
hyhproject/mobile2/controller/Error.php
Executable file
@ -0,0 +1,21 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 错误处理控制器
|
||||
*/
|
||||
class Error extends Base{
|
||||
public function index(){
|
||||
header("HTTP/1.0 404 Not Found");
|
||||
return $this->fetch('error_sys');
|
||||
}
|
||||
public function message(){
|
||||
$code = input('code');
|
||||
if($code !== null && session($code)!=''){
|
||||
$this->assign('message',session($code));
|
||||
}else{
|
||||
$this->assign('message','操作错误,请联系商城管理员');
|
||||
}
|
||||
return $this->fetch('error_lost');
|
||||
}
|
||||
}
|
68
hyhproject/mobile2/controller/Favorites.php
Executable file
68
hyhproject/mobile2/controller/Favorites.php
Executable file
@ -0,0 +1,68 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
use wstmart\common\model\Favorites as M;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 收藏控制器
|
||||
*/
|
||||
class Favorites extends Base{
|
||||
// 前置方法执行列表
|
||||
protected $beforeActionList = [
|
||||
'checkAuth',
|
||||
];
|
||||
/**
|
||||
* 关注的商品
|
||||
*/
|
||||
public function goods(){
|
||||
return $this->fetch('users/favorites/list_goods');
|
||||
}
|
||||
/**
|
||||
* 关注的店铺
|
||||
*/
|
||||
public function shops(){
|
||||
return $this->fetch('users/favorites/list_shops');
|
||||
}
|
||||
/**
|
||||
* 关注的商品列表
|
||||
*/
|
||||
public function listGoodsQuery(){
|
||||
$m = new M();
|
||||
$data = $m->listGoodsQuery();
|
||||
foreach($data['Rows'] as $k=>$v){
|
||||
$data['Rows'][$k]['goodsImg'] = WSTImg($v['goodsImg'],3);
|
||||
}
|
||||
return WSTReturn("", 1,$data);
|
||||
}
|
||||
/**
|
||||
* 关注的店铺列表
|
||||
*/
|
||||
public function listShopQuery(){
|
||||
$m = new M();
|
||||
$data = $m->listShopQuery();
|
||||
foreach($data['Rows'] as $k=>$v){
|
||||
$data['Rows'][$k]['shopImg'] = WSTImg($v['shopImg'],3);
|
||||
if(!empty($v['goods'])){
|
||||
foreach($v['goods'] as $k1=>$v1){
|
||||
$v[$k1]['goodsImg'] = WSTImg($v1['goodsImg'],3);
|
||||
}
|
||||
}
|
||||
}
|
||||
return WSTReturn("", 1,$data);
|
||||
}
|
||||
/**
|
||||
* 取消关注
|
||||
*/
|
||||
public function cancel(){
|
||||
$m = new M();
|
||||
$rs = $m->del();
|
||||
return $rs;
|
||||
}
|
||||
/**
|
||||
* 增加关注
|
||||
*/
|
||||
public function add(){
|
||||
$m = new M();
|
||||
$rs = $m->add();
|
||||
return $rs;
|
||||
}
|
||||
}
|
108
hyhproject/mobile2/controller/Goods.php
Executable file
108
hyhproject/mobile2/controller/Goods.php
Executable file
@ -0,0 +1,108 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
use wstmart\common\model\GoodsCats;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 商品控制器
|
||||
*/
|
||||
class Goods extends Base{
|
||||
/**
|
||||
* 商品主页
|
||||
*/
|
||||
public function detail(){
|
||||
$m = model('goods');
|
||||
$goods = $m->getBySale(input('goodsId/d'));
|
||||
$key=input('key');
|
||||
hook('mobileControllerGoodsIndex',['getParams'=>input()]);
|
||||
|
||||
|
||||
// 找不到商品记录
|
||||
if(empty($goods))return $this->fetch('error_lost');
|
||||
//判断是否药品
|
||||
$goods_cat=strpos($goods['goodsCatIdPath'],'389');
|
||||
if($goods_cat!==false && $key==''){
|
||||
return $this->fetch("error_lost");
|
||||
}
|
||||
//记录用户浏览商品
|
||||
$userId = (int)session('WST_USER.userId');
|
||||
if($userId){
|
||||
$data['userId']=$userId;
|
||||
$data['goodsId']=$goods['goodsId'];
|
||||
$data['path']='2';
|
||||
$data['create_time']=time();
|
||||
$result=db('page_view')->insert($data);
|
||||
}
|
||||
$goods['goodsDesc']=htmlspecialchars_decode($goods['goodsDesc']);
|
||||
$rule = '/<img src=".*?\/(upload.*?)"/';
|
||||
preg_match_all($rule, $goods['goodsDesc'], $images);
|
||||
foreach($images[0] as $k=>$v){
|
||||
|
||||
$goods['goodsDesc'] = str_replace('/'.$images[1][$k], '__IMGURL__/'.WSTConf("CONF.goodsLogo") . "\" data-echo=\"__IMGURL__/".WSTImg($images[1][$k],2), $goods['goodsDesc']);
|
||||
}
|
||||
if(!empty($goods)){
|
||||
$history = cookie("wx_history_goods");
|
||||
$history = is_array($history)?$history:[];
|
||||
array_unshift($history, (string)$goods['goodsId']);
|
||||
$history = array_values(array_unique($history));
|
||||
if(!empty($history)){
|
||||
cookie("wx_history_goods",$history,25920000);
|
||||
}
|
||||
}
|
||||
$goods['consult'] = model('GoodsConsult')->firstQuery($goods['goodsId']);
|
||||
$goods['appraises'] = model('GoodsAppraises')->getGoodsEachApprNum($goods['goodsId']);
|
||||
hook('afterGetGoods',['params'=>&$goods]);
|
||||
$goods['is_seckilling']=isset($goods['is_seckilling'])?$goods['is_seckilling']:0;
|
||||
//hook('afterGetGoods',['params'=>&$goods]);
|
||||
$this->assign("info", $goods);
|
||||
return $this->fetch('goods_detail');
|
||||
}
|
||||
/**
|
||||
* 商品列表
|
||||
*/
|
||||
public function lists(){
|
||||
$this->assign("keyword", input('keyword'));
|
||||
$this->assign("catId", input('catId/d'));
|
||||
$this->assign("brandId", input('brandId/d'));
|
||||
return $this->fetch('goods_list');
|
||||
}
|
||||
/**
|
||||
* 获取列表
|
||||
*/
|
||||
public function pageQuery(){
|
||||
$m = model('goods');
|
||||
$gc = new GoodsCats();
|
||||
$catId = (int)input('catId');
|
||||
if($catId>0){
|
||||
$goodsCatIds = $gc->getParentIs($catId);
|
||||
}else{
|
||||
$goodsCatIds = [];
|
||||
}
|
||||
$rs = $m->pageQuery($goodsCatIds);
|
||||
foreach ($rs['Rows'] as $key =>$v){
|
||||
$rs['Rows'][$key]['goodsImg'] = WSTImg($v['goodsImg'],2);
|
||||
$rs['Rows'][$key]['praiseRate'] = ($v['totalScore']>0)?(sprintf("%.2f",$v['totalScore']/($v['totalUsers']*15))*100).'%':'100%';
|
||||
}
|
||||
// `券`标签
|
||||
hook('afterQueryGoods',['page'=>&$rs]);
|
||||
return $rs;
|
||||
}
|
||||
|
||||
/**
|
||||
* 浏览历史页面
|
||||
*/
|
||||
public function history(){
|
||||
return $this->fetch('users/history/list');
|
||||
}
|
||||
/**
|
||||
* 获取浏览历史
|
||||
*/
|
||||
public function historyQuery(){
|
||||
$rs = model('goods')->historyQuery();
|
||||
if(!empty($rs)){
|
||||
foreach($rs['Rows'] as $k=>$v){
|
||||
$rs['Rows'][$k]['goodsImg'] = WSTImg($v['goodsImg'],3);
|
||||
}
|
||||
}
|
||||
return $rs;
|
||||
}
|
||||
}
|
44
hyhproject/mobile2/controller/Goodsappraises.php
Executable file
44
hyhproject/mobile2/controller/Goodsappraises.php
Executable file
@ -0,0 +1,44 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
use wstmart\common\model\GoodsAppraises as M;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 评价控制器
|
||||
*/
|
||||
class GoodsAppraises extends Base{
|
||||
// 前置方法执行列表
|
||||
protected $beforeActionList = [
|
||||
'checkAuth' => ['except'=>'getbyid'],// 只要访问only下的方法才才需要执行前置操作
|
||||
];
|
||||
/**
|
||||
* 根据商品id获取评论
|
||||
*/
|
||||
public function getById(){
|
||||
$m = new M();
|
||||
$rs = $m->getById();
|
||||
return $rs;
|
||||
}
|
||||
/**
|
||||
* 根据订单id,用户id,商品id获取评价
|
||||
*/
|
||||
public function getAppr(){
|
||||
$m = model('GoodsAppraises');
|
||||
$rs = $m->getAppr();
|
||||
if(!empty($rs['data']['images'])){
|
||||
$imgs = explode(',',$rs['data']['images']);
|
||||
foreach($imgs as $k=>$v){
|
||||
$imgs[$k] = WSTImg($v,1);
|
||||
}
|
||||
$rs['data']['images'] = $imgs;
|
||||
}
|
||||
return $rs;
|
||||
}
|
||||
/**
|
||||
* 添加评价
|
||||
*/
|
||||
public function add(){
|
||||
$m = new M();
|
||||
$rs = $m->add();
|
||||
return $rs;
|
||||
}
|
||||
}
|
18
hyhproject/mobile2/controller/Goodscats.php
Executable file
18
hyhproject/mobile2/controller/Goodscats.php
Executable file
@ -0,0 +1,18 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
use wstmart\mobile\model\GoodsCats as M;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 商品分类控制器
|
||||
*/
|
||||
class GoodsCats extends Base{
|
||||
/**
|
||||
* 列表
|
||||
*/
|
||||
public function index(){
|
||||
$m = new M();
|
||||
$goodsCatList = $m->getGoodsCats();
|
||||
$this->assign('list',$goodsCatList);
|
||||
return $this->fetch('goods_category');
|
||||
}
|
||||
}
|
35
hyhproject/mobile2/controller/Goodsconsult.php
Executable file
35
hyhproject/mobile2/controller/Goodsconsult.php
Executable file
@ -0,0 +1,35 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
use wstmart\common\model\GoodsConsult as CG;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 商品咨询控制器
|
||||
*/
|
||||
class GoodsConsult extends Base{
|
||||
/**
|
||||
* 商品咨询页
|
||||
*/
|
||||
public function index(){
|
||||
$this->assign('goodsId',(int)input('goodsId'));
|
||||
return $this->fetch('goodsconsult/list');
|
||||
}
|
||||
/**
|
||||
* 根据商品id获取商品咨询
|
||||
*/
|
||||
public function listQuery(){
|
||||
$m = new CG();
|
||||
return $m->listQuery();
|
||||
}
|
||||
/**
|
||||
* 发布商品咨询页
|
||||
*/
|
||||
public function consult(){
|
||||
$this->assign('goodsId',(int)input('goodsId'));
|
||||
return $this->fetch('goodsconsult/consult');
|
||||
}
|
||||
public function add(){
|
||||
$m = new CG();
|
||||
return $m->add();
|
||||
}
|
||||
|
||||
}
|
83
hyhproject/mobile2/controller/Index.php
Executable file
83
hyhproject/mobile2/controller/Index.php
Executable file
@ -0,0 +1,83 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
use wstmart\mobile\model\Index as M;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 默认控制器
|
||||
*/
|
||||
class Index extends Base{
|
||||
/**
|
||||
* 首页
|
||||
*/
|
||||
public function index(){
|
||||
$m = new M();
|
||||
hook('mobileControllerIndexIndex',['getParams'=>input()]);
|
||||
|
||||
//秒杀商品
|
||||
// $now_time = time(); //当前时间
|
||||
// if(is_int($now_time/7200)){ //双整点时间,如:10:00, 12:00
|
||||
// $start_time = $now_time;
|
||||
// }else{
|
||||
// $start_time = floor($now_time/7200)*7200; //取得前一个双整点时间
|
||||
// }
|
||||
// $end_time = $start_time+7200; //结束时间
|
||||
|
||||
$year = date("Y");
|
||||
$month = date("m");
|
||||
$day = date("d");
|
||||
$start_time = mktime(8,0,0,$month,$day,$year);//当天开始时间戳
|
||||
$end_time= mktime(20,0,0,$month,$day,$year);//当天结束时间戳
|
||||
$this->assign('start_time',$start_time);
|
||||
$this->assign('end_time',$end_time);
|
||||
|
||||
$news = $m->getSysMsg('msg');
|
||||
$this->assign('news',$news);
|
||||
$ads['count'] = count(model("common/Tags")->listAds("mo-ads-index",99,86400));
|
||||
$ads['width'] = 'width:'.$ads['count'].'00%';
|
||||
$this->assign("ads", $ads);
|
||||
return $this->fetch('index');
|
||||
}
|
||||
/**
|
||||
* 楼层
|
||||
*/
|
||||
public function pageQuery(){
|
||||
$m = new M();
|
||||
$rs = $m->pageQuery();
|
||||
if(isset($rs['goods'])){
|
||||
foreach ($rs['goods'] as $key =>$v){
|
||||
$rs['goods'][$key]['goodsImg'] = WSTImg($v['goodsImg'],2);
|
||||
}
|
||||
}
|
||||
return $rs;
|
||||
}
|
||||
/**
|
||||
* 猜你喜欢
|
||||
* @return [type] [description]
|
||||
*/
|
||||
public function guess_like(){
|
||||
$m = new M();
|
||||
$rs = $m->guess_like();
|
||||
if(isset($rs['goods'])){
|
||||
foreach ($rs['goods'] as $key =>$v){
|
||||
$rs['goods'][$key]['goodsImg'] = WSTImg($v['goodsImg'],2);
|
||||
}
|
||||
}
|
||||
return $rs;
|
||||
}
|
||||
/**
|
||||
* 转换url
|
||||
*/
|
||||
public function transfor(){
|
||||
$data = input('param.');
|
||||
$url = $data['url'];
|
||||
unset($data['url']);
|
||||
echo Url($url,$data);
|
||||
}
|
||||
/**
|
||||
* 跳去登录之前的地址
|
||||
*/
|
||||
public function sessionAddress(){
|
||||
session('WST_MO_WlADDRESS',input('url'));
|
||||
return WSTReturn("", 1);
|
||||
}
|
||||
}
|
31
hyhproject/mobile2/controller/Invoices.php
Executable file
31
hyhproject/mobile2/controller/Invoices.php
Executable file
@ -0,0 +1,31 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
use wstmart\common\model\Invoices as M;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 发票信息控制器
|
||||
*/
|
||||
class Invoices extends Base{
|
||||
/**
|
||||
* 列表
|
||||
*/
|
||||
public function pageQuery(){
|
||||
$m = new M();
|
||||
$rs = $m->pageQuery(5);// 移动版只显示5条发票信息
|
||||
return $rs;
|
||||
}
|
||||
/**
|
||||
* 新增
|
||||
*/
|
||||
public function add(){
|
||||
$m = new M();
|
||||
return $m->add();
|
||||
}
|
||||
/**
|
||||
* 修改
|
||||
*/
|
||||
public function edit(){
|
||||
$m = new M();
|
||||
return $m->edit();
|
||||
}
|
||||
}
|
15
hyhproject/mobile2/controller/Juhui.php
Executable file
15
hyhproject/mobile2/controller/Juhui.php
Executable file
@ -0,0 +1,15 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 默认控制器
|
||||
*/
|
||||
class Juhui extends Base{
|
||||
/**
|
||||
* 首页
|
||||
*/
|
||||
public function index(){
|
||||
return $this->fetch('juhui');
|
||||
}
|
||||
|
||||
}
|
61
hyhproject/mobile2/controller/Logmoneys.php
Executable file
61
hyhproject/mobile2/controller/Logmoneys.php
Executable file
@ -0,0 +1,61 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 资金流水控制器
|
||||
*/
|
||||
class Logmoneys extends Base{
|
||||
// 前置方法执行列表
|
||||
protected $beforeActionList = [
|
||||
'checkAuth'
|
||||
];
|
||||
/**
|
||||
* 查看用户资金流水
|
||||
*/
|
||||
public function usermoneys(){
|
||||
$userId = (int)session('WST_USER.userId');
|
||||
$rs = model('Users')->getFieldsById($userId,['lockMoney','userMoney','payPwd']);
|
||||
$rs['isSetPayPwd'] = ($rs['payPwd']=='')?0:1;
|
||||
unset($rs['payPwd']);
|
||||
$rs['num'] = count(model('cashConfigs')->listQuery(0,$userId));
|
||||
$this->assign('rs',$rs);
|
||||
return $this->fetch('users/logmoneys/list');
|
||||
}
|
||||
/**
|
||||
* 资金流水
|
||||
*/
|
||||
public function record(){
|
||||
$userId = (int)session('WST_USER.userId');
|
||||
$rs = model('Users')->getFieldsById($userId,['lockMoney','userMoney','payPwd']);
|
||||
$this->assign('rs',$rs);
|
||||
return $this->fetch('users/logmoneys/record');
|
||||
}
|
||||
/**
|
||||
* 列表
|
||||
*/
|
||||
public function pageQuery(){
|
||||
$userId = (int)session('WST_USER.userId');
|
||||
$data = model('LogMoneys')->pageQuery("",$userId);
|
||||
return WSTReturn("", 1,$data);
|
||||
}
|
||||
/**
|
||||
* 验证支付密码
|
||||
*/
|
||||
public function checkPayPwd(){
|
||||
return model('mobile/users')->checkPayPwd();
|
||||
}
|
||||
|
||||
/**
|
||||
* 充值[用户]
|
||||
*/
|
||||
public function toRecharge(){
|
||||
$userId = (int)session('WST_USER.userId');
|
||||
$rs = model('Users')->getFieldsById($userId,'userMoney');
|
||||
$this->assign('rs',$rs);
|
||||
$payments = model('common/payments')->recharePayments('2');
|
||||
$this->assign('payments',$payments);
|
||||
$chargeItems = model('common/ChargeItems')->queryList();
|
||||
$this->assign('chargeItems',$chargeItems);
|
||||
return $this->fetch('users/recharge/recharge');
|
||||
}
|
||||
}
|
40
hyhproject/mobile2/controller/Messages.php
Executable file
40
hyhproject/mobile2/controller/Messages.php
Executable file
@ -0,0 +1,40 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
use wstmart\common\model\Messages as M;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 商城消息控制器
|
||||
*/
|
||||
class Messages extends Base{
|
||||
// 前置方法执行列表
|
||||
protected $beforeActionList = [
|
||||
'checkAuth'
|
||||
];
|
||||
/**
|
||||
* 查看商城消息
|
||||
*/
|
||||
public function index(){
|
||||
return $this->fetch('users/messages/list');
|
||||
}
|
||||
/**
|
||||
* 获取列表
|
||||
*/
|
||||
public function pageQuery(){
|
||||
$m = new M();
|
||||
return $m->pageQuery();
|
||||
}
|
||||
/**
|
||||
* 获取列表详情
|
||||
*/
|
||||
public function getById(){
|
||||
$m = new M();
|
||||
return $m->getById();
|
||||
}
|
||||
/**
|
||||
* 删除地址
|
||||
*/
|
||||
public function del(){
|
||||
$m = new M();
|
||||
return $m->batchDel();
|
||||
}
|
||||
}
|
53
hyhproject/mobile2/controller/News.php
Executable file
53
hyhproject/mobile2/controller/News.php
Executable file
@ -0,0 +1,53 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
use wstmart\mobile\model\Articles as M;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 新闻控制器
|
||||
*/
|
||||
class News extends Base{
|
||||
/**
|
||||
* 列表查询
|
||||
*/
|
||||
public function view(){
|
||||
$m = new M();
|
||||
$data = $m->getChildInfos();
|
||||
$catId = $data['0']['catId'];
|
||||
$articleId = (int)input('articleId');
|
||||
$this->assign('articleId',$articleId);
|
||||
$this->assign('catInfo',$data);
|
||||
$this->assign('catId',$catId);
|
||||
return $this->fetch('articles/news_list');
|
||||
}
|
||||
/**
|
||||
* 获取商城快讯列表
|
||||
*/
|
||||
public function getNewsList(){
|
||||
$m = new M();
|
||||
$data = $m->getArticles();
|
||||
foreach($data as $k=>$v){
|
||||
$data[$k]['articleContent'] = strip_tags(html_entity_decode($v['articleContent']));
|
||||
$data[$k]['createTime'] = date('Y-m-d',strtotime($data[$k]['createTime']));
|
||||
$data[$k]['coverImg'] = str_replace("_thumb.", ".", $data[$k]['coverImg']);
|
||||
}
|
||||
return $data;
|
||||
}
|
||||
/**
|
||||
* 查看详情
|
||||
*/
|
||||
public function getNews(){
|
||||
$m = new M();
|
||||
$data = $m->getNewsById();
|
||||
$data['articleContent']=htmlspecialchars_decode($data['articleContent']);
|
||||
$data['createTime'] = date('Y-m-d',strtotime($data['createTime']));
|
||||
return $data;
|
||||
}
|
||||
/**
|
||||
* 点赞
|
||||
*/
|
||||
public function like(){
|
||||
$m = new M();
|
||||
$data = $m->like();
|
||||
return $data;
|
||||
}
|
||||
}
|
55
hyhproject/mobile2/controller/Ordercomplains.php
Executable file
55
hyhproject/mobile2/controller/Ordercomplains.php
Executable file
@ -0,0 +1,55 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
use wstmart\common\model\OrderComplains as M;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 投诉控制器
|
||||
*/
|
||||
class orderComplains extends Base{
|
||||
// 前置方法执行列表
|
||||
protected $beforeActionList = [
|
||||
'checkAuth'
|
||||
];
|
||||
public function complain(){
|
||||
$oId = (int)input('oId');
|
||||
$this->assign('oId',$oId);
|
||||
return $this->fetch('users/orders/orders_complains');
|
||||
}
|
||||
/**
|
||||
* 保存订单投诉信息
|
||||
*/
|
||||
public function saveComplain(){
|
||||
return model('OrderComplains')->saveComplain();
|
||||
}
|
||||
/**
|
||||
* 用户投诉列表
|
||||
*/
|
||||
public function index(){
|
||||
return $this->fetch('users/orders/list_complains');
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取用户投诉列表
|
||||
*/
|
||||
public function complainByPage(){
|
||||
$m = model('OrderComplains');
|
||||
return $m->queryUserComplainByPage();
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户查投诉详情
|
||||
*/
|
||||
public function getComplainDetail(){
|
||||
$rs = model('OrderComplains')->getComplainDetail(0);
|
||||
$annex = $rs['complainAnnex'];
|
||||
if($annex){
|
||||
foreach($annex as $k=>$v){
|
||||
$annex1[] = WSTImg($v,2);
|
||||
}
|
||||
$rs['complainAnnex'] = $annex1;
|
||||
}
|
||||
return $rs;
|
||||
}
|
||||
|
||||
}
|
25
hyhproject/mobile2/controller/Orderrefunds.php
Executable file
25
hyhproject/mobile2/controller/Orderrefunds.php
Executable file
@ -0,0 +1,25 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
use wstmart\common\model\OrderRefunds as M;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 订单退款控制器
|
||||
*/
|
||||
class Orderrefunds extends Base{
|
||||
/**
|
||||
* 用户申请退款
|
||||
*/
|
||||
public function refund(){
|
||||
$m = new M();
|
||||
$rs = $m->refund();
|
||||
return $rs;
|
||||
}
|
||||
/**
|
||||
* 商家处理是否同意
|
||||
*/
|
||||
public function shopRefund(){
|
||||
$m = new M();
|
||||
$rs = $m->shopRefund();
|
||||
return $rs;
|
||||
}
|
||||
}
|
270
hyhproject/mobile2/controller/Orders.php
Executable file
270
hyhproject/mobile2/controller/Orders.php
Executable file
@ -0,0 +1,270 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
use wstmart\common\model\Orders as M;
|
||||
use wstmart\common\model\Payments;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 订单控制器
|
||||
*/
|
||||
class Orders extends Base{
|
||||
// 前置方法执行列表
|
||||
protected $beforeActionList = [
|
||||
'checkAuth'
|
||||
];
|
||||
/*********************************************** 用户操作订单 ************************************************************/
|
||||
/**
|
||||
* 提醒发货
|
||||
*/
|
||||
public function noticeDeliver(){
|
||||
$m = new M();
|
||||
return $m->noticeDeliver();
|
||||
}
|
||||
/**
|
||||
* 提交订单
|
||||
*/
|
||||
public function submit(){
|
||||
$m = new M();
|
||||
$rs = $m->submit(2);
|
||||
return $rs;
|
||||
}
|
||||
/**
|
||||
* 提交虚拟订单
|
||||
*/
|
||||
public function quickSubmit(){
|
||||
$m = new M();
|
||||
$rs = $m->quickSubmit();
|
||||
return $rs;
|
||||
}
|
||||
/**
|
||||
* 在线支付方式
|
||||
*/
|
||||
public function succeed(){
|
||||
//获取支付方式
|
||||
$pa = new Payments();
|
||||
$payments = $pa->getByGroup('2');
|
||||
$this->assign('payments',$payments);
|
||||
$this->assign('orderNo',input("get.orderNo"));
|
||||
$this->assign('isBatch',(int)input("get.isBatch/d",0));
|
||||
return $this->fetch("users/orders/orders_pay_list");
|
||||
}
|
||||
/**
|
||||
* 订单管理
|
||||
*/
|
||||
public function index(){
|
||||
$type = input('param.type','');
|
||||
$this->assign('type',$type);
|
||||
return $this->fetch("users/orders/orders_list");
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单列表
|
||||
*/
|
||||
public function getOrderList(){
|
||||
/*
|
||||
-3:拒收、退款列表
|
||||
-2:待付款列表
|
||||
-1:已取消订单
|
||||
0,1: 待收货
|
||||
2:待评价/已完成
|
||||
*/
|
||||
$flag = -1;
|
||||
$type = input('param.type');
|
||||
$status = [];
|
||||
switch ($type) {
|
||||
case 'waitPay':
|
||||
$status=[-2];
|
||||
break;
|
||||
case 'waitDeliver':
|
||||
$status=[0];
|
||||
break;
|
||||
case 'waitReceive':
|
||||
$status=[1];
|
||||
break;
|
||||
case 'waitAppraise':
|
||||
$status=[2];
|
||||
$flag=0;
|
||||
break;
|
||||
case 'finish':
|
||||
$status=[2];
|
||||
break;
|
||||
case 'abnormal': // 退款/拒收 与取消合并
|
||||
$status=[-1,-3];
|
||||
break;
|
||||
default:
|
||||
$status=[-5,-4,-3,-2,-1,0,1,2];
|
||||
break;
|
||||
}
|
||||
$m = new M();
|
||||
$rs = $m->userOrdersByPage($status,$flag);
|
||||
foreach($rs['Rows'] as $k=>$v){
|
||||
if(!empty($v['list'])){
|
||||
foreach($v['list'] as $k1=>$v1){
|
||||
$rs['Rows'][$k]['list'][$k1]['goodsImg'] = $v1['goodsImg'];
|
||||
}
|
||||
}
|
||||
}
|
||||
return $rs;
|
||||
}
|
||||
|
||||
/**
|
||||
* 订单详情
|
||||
*/
|
||||
public function getDetail(){
|
||||
$m = new M();
|
||||
$rs = $m->getByView((int)input('id'));
|
||||
$rs['status'] = WSTLangOrderStatus($rs['orderStatus']);
|
||||
$rs['payInfo'] = WSTLangPayType($rs['payType']);
|
||||
$rs['deliverInfo'] = WSTLangDeliverType($rs['deliverType']);
|
||||
foreach($rs['goods'] as $k=>$v){
|
||||
$v['goodsImg'] = WSTImg($v['goodsImg'],3);
|
||||
}
|
||||
// 优惠券钩子
|
||||
hook('mobileDocumentOrderSummaryView',['rs'=>&$rs]);
|
||||
// 满就送钩子
|
||||
hook('mobileDocumentOrderViewGoodsPromotion',['rs'=>&$rs]);
|
||||
return $rs;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户确认收货
|
||||
*/
|
||||
public function receive(){
|
||||
$m = new M();
|
||||
$rs = $m->receive();
|
||||
return $rs;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户-评价页
|
||||
*/
|
||||
public function orderAppraise(){
|
||||
$m = model('Orders');
|
||||
$oId = (int)input('oId');
|
||||
//根据订单id获取 商品信息
|
||||
$data = $m->getOrderInfoAndAppr();
|
||||
$data['shopName']=model('shops')->getShopName($oId);
|
||||
$this->assign('data',$data);
|
||||
$this->assign('oId',$oId);
|
||||
return $this->fetch('users/orders/orders_appraises');
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户取消订单
|
||||
*/
|
||||
public function cancellation(){
|
||||
$m = new M();
|
||||
$rs = $m->cancel();
|
||||
return $rs;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户拒收订单
|
||||
*/
|
||||
public function reject(){
|
||||
$m = new M();
|
||||
$rs = $m->reject();
|
||||
return $rs;
|
||||
}
|
||||
|
||||
/**
|
||||
* 用户退款
|
||||
*/
|
||||
public function getRefund(){
|
||||
$m = new M();
|
||||
return $m->getMoneyByOrder((int)input('id'));
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/*********************************************** 商家操作订单 ************************************************************/
|
||||
|
||||
/**
|
||||
* 商家-查看订单列表
|
||||
*/
|
||||
public function sellerOrder(){
|
||||
$this->checkShopAuth("list");
|
||||
$type = input('param.type','all');
|
||||
$this->assign('type',$type);
|
||||
$express = model('Express')->listQuery();
|
||||
$this->assign('express',$express);
|
||||
return $this->fetch('users/sellerorders/orders_list');
|
||||
}
|
||||
|
||||
/**
|
||||
* 商家-订单列表
|
||||
*/
|
||||
public function getSellerOrderList(){
|
||||
/*
|
||||
-3:拒收、退款列表
|
||||
-2:待付款列表
|
||||
-1:已取消订单
|
||||
0: 待发货
|
||||
1,2:待评价/已完成
|
||||
*/
|
||||
$type = input('param.type');
|
||||
$this->checkShopAuth($type);
|
||||
$status = [];
|
||||
switch ($type) {
|
||||
case 'waitPay':
|
||||
$status=-2;
|
||||
break;
|
||||
case 'waitDeliver':
|
||||
$status=0;
|
||||
break;
|
||||
case 'waitReceive':
|
||||
$status=1;
|
||||
break;
|
||||
case 'waitDelivery':
|
||||
$status=0;
|
||||
break;
|
||||
case 'finish':
|
||||
$status=2;
|
||||
break;
|
||||
case 'abnormal': // 退款/拒收 与取消合并
|
||||
$status=[-1,-3];
|
||||
break;
|
||||
default:
|
||||
$status=[-5,-4,-3,-2,-1,0,1,2];
|
||||
break;
|
||||
}
|
||||
$m = new M();
|
||||
$rs = $m->shopOrdersByPage($status);
|
||||
foreach($rs['Rows'] as $k=>$v){
|
||||
if(!empty($v['list'])){
|
||||
foreach($v['list'] as $k1=>$v1){
|
||||
$rs['Rows'][$k]['list'][$k1]['goodsImg'] = $v1['goodsImg'];
|
||||
}
|
||||
}
|
||||
}
|
||||
return WSTReturn('操作成功',1,$rs);
|
||||
}
|
||||
|
||||
/**
|
||||
* 商家发货
|
||||
*/
|
||||
public function deliver(){
|
||||
$this->checkShopAuth("waitDeliver");
|
||||
$m = new M();
|
||||
$rs = $m->deliver();
|
||||
return $rs;
|
||||
}
|
||||
/**
|
||||
* 商家修改订单价格
|
||||
*/
|
||||
public function editOrderMoney(){
|
||||
$this->checkShopAuth("waitPay");
|
||||
$m = new M();
|
||||
$rs = $m->editOrderMoney();
|
||||
return $rs;
|
||||
}
|
||||
/**
|
||||
* 商家-操作退款
|
||||
*/
|
||||
public function toShopRefund(){
|
||||
$this->checkShopAuth("abnormal");
|
||||
return model('OrderRefunds')->getRefundMoneyByOrder((int)input('id'));
|
||||
}
|
||||
|
||||
|
||||
}
|
24
hyhproject/mobile2/controller/Promotion.php
Executable file
24
hyhproject/mobile2/controller/Promotion.php
Executable file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 默认控制器
|
||||
*/
|
||||
class Promotion extends Base{
|
||||
/**
|
||||
* 首页
|
||||
*/
|
||||
public function index(){
|
||||
//return $this->fetch('rebate');
|
||||
}
|
||||
public function rebate(){
|
||||
return $this->fetch('rebate');
|
||||
}
|
||||
public function day_new(){
|
||||
return $this->fetch('day_new');
|
||||
}
|
||||
public function bash(){
|
||||
return $this->fetch('bash');
|
||||
}
|
||||
|
||||
}
|
151
hyhproject/mobile2/controller/Shops.php
Executable file
151
hyhproject/mobile2/controller/Shops.php
Executable file
@ -0,0 +1,151 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
use wstmart\common\model\GoodsCats;
|
||||
use wstmart\mobile\model\Goods;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 门店控制器
|
||||
*/
|
||||
class Shops extends Base{
|
||||
/**
|
||||
* 店铺街
|
||||
*/
|
||||
public function shopStreet(){
|
||||
$gc = new GoodsCats();
|
||||
$goodsCats = $gc->listQuery(0);
|
||||
$this->assign('goodscats',$goodsCats);
|
||||
$this->assign("keyword", input('keyword'));
|
||||
return $this->fetch('shop_street');
|
||||
}
|
||||
/**
|
||||
* 店铺首页
|
||||
*/
|
||||
public function index(){
|
||||
$s = model('shops');
|
||||
$shopId = (int)input('shopId',1);
|
||||
$data = $s->getShopSummary($shopId);
|
||||
$this->assign('data',$data);
|
||||
// 是否已关注
|
||||
$isFavor = model('favorites')->checkFavorite($shopId,1);
|
||||
$this->assign('isFavor',$isFavor);
|
||||
$this->assign("goodsName", input('goodsName'));
|
||||
return $this->fetch('shop_index');
|
||||
}
|
||||
/**
|
||||
* 店铺详情
|
||||
*/
|
||||
public function home(){
|
||||
$s = model('shops');
|
||||
$shopId = (int)input("param.shopId/d",1);
|
||||
$data['shop'] = $s->getShopInfo($shopId);
|
||||
hook("goShopAfterAddView",["shopId"=>$shopId,'path'=>3]);
|
||||
$ct1 = input("param.ct1/d",0);
|
||||
$ct2 = input("param.ct2/d",0);
|
||||
$goodsName = input("param.goodsName");
|
||||
if(($data['shop']['shopId']==1 || $shopId==0) && $ct1==0 && !isset($goodsName))
|
||||
$this->redirect('mobile/shops/selfShop');
|
||||
|
||||
$gcModel = model('ShopCats');
|
||||
$data['shopcats'] = $gcModel->getShopCats($shopId);
|
||||
|
||||
$this->assign('shopId',$shopId);//店铺id
|
||||
|
||||
$this->assign('ct1',$ct1);//一级分类
|
||||
$this->assign('ct2',$ct2);//二级分类
|
||||
|
||||
$this->assign('goodsName',urldecode($goodsName));//搜索
|
||||
$this->assign('data',$data);
|
||||
|
||||
// 是否已关注
|
||||
$isFavor = model('favorites')->checkFavorite($shopId,1);
|
||||
$this->assign('isFavor',$isFavor);
|
||||
$followNum = model('favorites')->followNum($shopId,1);
|
||||
$this->assign('followNum',$followNum);
|
||||
|
||||
$cart = model('carts')->getCartInfo();
|
||||
$this->assign('cart',$cart);
|
||||
return $this->fetch('shop_home');
|
||||
}
|
||||
/**
|
||||
* 店铺商品列表
|
||||
*/
|
||||
public function shopGoodsList(){
|
||||
$s = model('shops');
|
||||
$shopId = (int)input("param.shopId/d",1);
|
||||
|
||||
$ct1 = input("param.ct1/d",0);
|
||||
$ct2 = input("param.ct2/d",0);
|
||||
$goodsName = input("param.goodsName");
|
||||
$gcModel = model('ShopCats');
|
||||
$data['shopcats'] = $gcModel->getShopCats($shopId);
|
||||
|
||||
$this->assign('shopId',$shopId);//店铺id
|
||||
|
||||
$this->assign('ct1',$ct1);//一级分类
|
||||
$this->assign('ct2',$ct2);//二级分类
|
||||
|
||||
$this->assign('goodsName',urldecode($goodsName));//搜索
|
||||
$this->assign('data',$data);
|
||||
|
||||
return $this->fetch('shop_goods_list');
|
||||
}
|
||||
/**
|
||||
* 获取店铺商品
|
||||
*/
|
||||
public function getShopGoods(){
|
||||
$shopId = (int)input('shopId',1);
|
||||
$g = model('goods');
|
||||
$rs = $g->shopGoods($shopId);
|
||||
foreach($rs['Rows'] as $k=>$v){
|
||||
$rs['Rows'][$k]['goodsImg'] = WSTImg($v['goodsImg'],2);
|
||||
}
|
||||
return $rs;
|
||||
}
|
||||
|
||||
/**
|
||||
* 自营店铺
|
||||
*/
|
||||
public function selfShop(){
|
||||
$s = model('shops');
|
||||
$data['shop'] = $s->getShopInfo(1);
|
||||
if(empty($data['shop']))return $this->fetch('error_lost');
|
||||
$this->assign('selfShop',1);
|
||||
$data['shopcats'] = model('ShopCats')->getShopCats(1);
|
||||
$this->assign('goodsName',urldecode(input("param.goodsName")));//搜索
|
||||
// 店长推荐
|
||||
$data['rec'] = $s->getRecGoods('rec');
|
||||
// 热销商品
|
||||
$data['hot'] = $s->getRecGoods('hot');
|
||||
$this->assign('data',$data);
|
||||
// 是否已关注
|
||||
$isFavor = model('favorites')->checkFavorite(1,1);
|
||||
$this->assign('isFavor',$isFavor);
|
||||
$followNum = model('favorites')->followNum(1,1);
|
||||
$this->assign('followNum',$followNum);
|
||||
$this->assign("keyword", input('keyword'));
|
||||
return $this->fetch('self_shop');
|
||||
}
|
||||
public function getFloorData(){
|
||||
$s = model('shops');
|
||||
$rs = $s->getFloorData();
|
||||
if(isset($rs['goods'])){
|
||||
foreach($rs['goods'] as $k=>$v){
|
||||
$rs['goods'][$k]['goodsImg'] = WSTImg($v['goodsImg'],2);
|
||||
}
|
||||
}
|
||||
return $rs;
|
||||
}
|
||||
|
||||
/**
|
||||
* 店铺街列表
|
||||
*/
|
||||
public function pageQuery(){
|
||||
$m = model('shops');
|
||||
$rs = $m->pageQuery(input('pagesize/d'));
|
||||
foreach ($rs['Rows'] as $key =>$v){
|
||||
$rs['Rows'][$key]['shopImg'] = WSTImg($v['shopImg'],3);
|
||||
}
|
||||
return $rs;
|
||||
}
|
||||
|
||||
}
|
22
hyhproject/mobile2/controller/Switchs.php
Executable file
22
hyhproject/mobile2/controller/Switchs.php
Executable file
@ -0,0 +1,22 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 关闭提示处理控制器
|
||||
*/
|
||||
use think\Controller;
|
||||
class Switchs extends Controller{
|
||||
public function __construct(){
|
||||
parent::__construct();
|
||||
WSTConf('CONF',WSTConfig());
|
||||
$this->assign("v",WSTConf('CONF.wstVersion')."_".WSTConf('CONF.wstPcStyleId'));
|
||||
}
|
||||
protected function fetch($template = '', $vars = [], $replace = [], $config = []){
|
||||
$style = WSTConf('CONF.wstmobileStyle')?WSTConf('CONF.wstmobileStyle'):'default';
|
||||
$replace['__MOBILE__'] = str_replace('/index.php','',\think\Request::instance()->root()).'/hyhproject/mobile/view/'.$style;
|
||||
return $this->view->fetch($style."/".$template, $vars, $replace, $config);
|
||||
}
|
||||
public function index(){
|
||||
return $this->fetch('error_switch');
|
||||
}
|
||||
}
|
211
hyhproject/mobile2/controller/Unionpays.php
Executable file
211
hyhproject/mobile2/controller/Unionpays.php
Executable file
@ -0,0 +1,211 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
use think\Loader;
|
||||
use wstmart\common\model\Payments as M;
|
||||
use wstmart\common\model\Orders as OM;
|
||||
use wstmart\common\model\LogMoneys as LM;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 银联支付控制器
|
||||
*/
|
||||
class Unionpays extends Base{
|
||||
|
||||
/**
|
||||
* 初始化
|
||||
*/
|
||||
private $unionConfig;
|
||||
public function _initialize() {
|
||||
header ("Content-type: text/html; charset=utf-8");
|
||||
Loader::import('unionpay.sdk.acp_service');
|
||||
$m = new M();
|
||||
$this->unionConfig = $m->getPayment("unionpays");
|
||||
|
||||
$config = array();
|
||||
$config["signCertPwd"] = $this->unionConfig["unionSignCertPwd"];//"000000"
|
||||
$config["signMethod"] = "01";
|
||||
|
||||
$config["frontUrl"] = url("mobile/orders/index","",true,true);
|
||||
$config["backUrl"] = url("mobile/unionpays/notify","",true,true);
|
||||
new \SDKConfig($config);
|
||||
}
|
||||
|
||||
|
||||
public function getUnionpaysUrl(){
|
||||
$m = new OM();
|
||||
$payObj = input("payObj/s");
|
||||
$data = array();
|
||||
if($payObj=="recharge"){
|
||||
$needPay = input("needPay/d");
|
||||
$data["status"] = $needPay>0?1:-1;
|
||||
}else{
|
||||
$userId = (int)session('WST_USER.userId');
|
||||
$data = $m->checkOrderPay();
|
||||
}
|
||||
return $data;
|
||||
}
|
||||
|
||||
/**
|
||||
* 生成支付代码
|
||||
* @param array $order 订单信息
|
||||
* @param array $config_value 支付方式信息
|
||||
*/
|
||||
public function toUnionpay(){
|
||||
|
||||
$payObj = input("payObj/s");
|
||||
$m = new OM();
|
||||
$obj = array();
|
||||
$data = array();
|
||||
$orderAmount = 0;
|
||||
$orderId = "";
|
||||
$extra_param = "";
|
||||
if($payObj=="recharge"){//充值
|
||||
$orderAmount = input("needPay/d");
|
||||
$targetType = (int)input("targetType/d");
|
||||
$targetId = (int)session('WST_USER.userId');
|
||||
if($targetType==1){//商家
|
||||
$targetId = (int)session('WST_USER.shopId');
|
||||
}
|
||||
$data["status"] = $orderAmount>0?1:-1;
|
||||
$orderId = WSTOrderNo();
|
||||
$extra_param = $payObj."|".$targetId."|".$targetType;
|
||||
|
||||
}else{
|
||||
$obj["orderNo"] = input("orderNo/s");
|
||||
$obj["isBatch"] = (int)input("isBatch/d");
|
||||
$data = $m->checkOrderPay($obj);
|
||||
if($data["status"]==1){
|
||||
$userId = (int)session('WST_USER.userId');
|
||||
$obj["userId"] = $userId;
|
||||
$order = $m->getPayOrders($obj);
|
||||
$orderAmount = $order["needPay"];
|
||||
$payRand = $order["payRand"];
|
||||
$orderId = $obj["orderNo"]."a".$payRand;
|
||||
$extra_param = $payObj."|".$userId."|".$obj["isBatch"];
|
||||
}
|
||||
}
|
||||
|
||||
if($data["status"]==1){
|
||||
$params = array(
|
||||
//以下信息非特殊情况不需要改动
|
||||
'version' => \SDKConfig::$version, //版本号
|
||||
'encoding' => 'utf-8', //编码方式
|
||||
'txnType' => '01', //交易类型
|
||||
'txnSubType' => '01', //交易子类
|
||||
'bizType' => '000201', //业务类型
|
||||
'frontUrl' => \SDKConfig::$frontUrl, //前台通知地址
|
||||
'backUrl' => \SDKConfig::$backUrl, //后台通知地址
|
||||
'signMethod' => \SDKConfig::$signMethod,//签名方法
|
||||
'channelType' => '08', //渠道类型,07-PC,08-手机
|
||||
'accessType' => '0', //接入类型
|
||||
'currencyCode' => '156', //交易币种,境内商户固定156
|
||||
//TODO 以下信息需要填写
|
||||
'merId' => $this->unionConfig["unionMerId"], //"777290058110048",//商户代码
|
||||
'orderId' => $orderId, //商户订单号,8-32位数字字母,不能含“-”或“_”
|
||||
'txnTime' => date('YmdHis'), //订单发送时间,格式为YYYYMMDDhhmmss,取北京时间
|
||||
'txnAmt' => $orderAmount*100, //交易金额,单位分,此处默认取demo演示页面传递的参数
|
||||
// 订单超时时间。
|
||||
//'payTimeout' => date('YmdHis', strtotime('+15 minutes')),
|
||||
|
||||
'reqReserved' => $extra_param,
|
||||
);
|
||||
$acpService = new \AcpService();
|
||||
$acpService::sign ( $params );
|
||||
$uri = \SDKConfig::$frontTransUrl;
|
||||
$html_form = $acpService::createAutoFormHtml( $params, $uri );
|
||||
echo $html_form;
|
||||
}else{
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 异步回调接口
|
||||
*/
|
||||
public function notify(){
|
||||
|
||||
//计算得出通知验证结果
|
||||
$acpService = new \AcpService(); // 使用银联原生自带的累 和方法 这里只是引用了一下 而已
|
||||
$verify_result = $acpService->validate($_POST);
|
||||
|
||||
if($verify_result){//验证成功
|
||||
$out_trade_no = $_POST['orderId']; //商户订单号
|
||||
$queryId = $_POST['queryId']; //银联支付流水号
|
||||
// 解释: 交易成功且结束,即不可再做任何操作。
|
||||
if($_POST['respMsg'] == 'Success!'){
|
||||
$m = new OM();
|
||||
$extras = explode("|",$_POST['reqReserved']);
|
||||
$rs = array();
|
||||
if($extras[0]=="recharge"){//充值
|
||||
$targetId = (int)$extras [1];
|
||||
$targetType = (int)$extras [2];
|
||||
$obj = array ();
|
||||
$obj["trade_no"] = $_POST['trade_no'];
|
||||
$obj["out_trade_no"] = $_POST["out_trade_no"];;
|
||||
$obj["targetId"] = $targetId;
|
||||
$obj["targetType"] = $targetType;
|
||||
$obj["total_fee"] = $_POST['total_fee'];
|
||||
$obj["payFrom"] = 'unionpays';
|
||||
// 支付成功业务逻辑
|
||||
$m = new LM();
|
||||
$rs = $m->complateRecharge ( $obj );
|
||||
}else{
|
||||
//商户订单号
|
||||
$obj = array();
|
||||
$tradeNo = explode("a",$out_trade_no);
|
||||
$obj["trade_no"] = $_POST['trade_no'];
|
||||
$obj["out_trade_no"] = $tradeNo[0];
|
||||
$obj["total_fee"] = $_POST['total_fee'];
|
||||
|
||||
$obj["userId"] = $extras[1];
|
||||
$obj["isBatch"] = $extras[2];
|
||||
$obj["payFrom"] = 'unionpays';
|
||||
//支付成功业务逻辑
|
||||
$rs = $m->complatePay($obj);
|
||||
}
|
||||
if($rs["status"]==1){
|
||||
echo 'success';
|
||||
}else{
|
||||
echo 'fail';
|
||||
}
|
||||
}
|
||||
}else{
|
||||
echo "fail"; //验证失败
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 同步回调接口
|
||||
*/
|
||||
public function response(){
|
||||
//计算得出通知验证结果
|
||||
$acpService = new \AcpService(); // 使用银联原生自带的累 和方法 这里只是引用了一下 而已
|
||||
$verify_result = $acpService->validate($_POST);
|
||||
|
||||
if($verify_result){ //验证成功
|
||||
$order_sn = $out_trade_no = $_POST['orderId']; //商户订单号
|
||||
$queryId = $_POST['queryId']; //银联支付流水号
|
||||
$respMsg = $_POST['respMsg']; //交易状态
|
||||
|
||||
if($_POST['respMsg'] == 'success'){
|
||||
$m = new OM();
|
||||
$extras = explode("|",$_POST['extra_param']);
|
||||
if($extras[0]=="recharge"){//充值
|
||||
$this->redirect(url("mobile/users/index"));
|
||||
}else{
|
||||
$obj = array();
|
||||
$tradeNo = explode("a",$out_trade_no);
|
||||
$obj["orderNo"] = $tradeNo[0];
|
||||
$obj["userId"] = $extras[1];
|
||||
$obj["isBatch"] = $extras[2];
|
||||
$rs = $m->getOrderType($obj);
|
||||
$this->redirect(url("mobile/orders/index"));
|
||||
}
|
||||
}else {
|
||||
$this->error('支付失败');
|
||||
}
|
||||
}else {
|
||||
$this->error('支付失败');
|
||||
}
|
||||
}
|
||||
|
||||
}
|
61
hyhproject/mobile2/controller/Useraddress.php
Executable file
61
hyhproject/mobile2/controller/Useraddress.php
Executable file
@ -0,0 +1,61 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
use wstmart\common\model\UserAddress as M;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 用户地址控制器
|
||||
*/
|
||||
class UserAddress extends Base{
|
||||
// 前置方法执行列表
|
||||
protected $beforeActionList = [
|
||||
'checkAuth'
|
||||
];
|
||||
/**
|
||||
* 地址管理
|
||||
*/
|
||||
public function index(){
|
||||
$m = new M();
|
||||
$userId = session('WST_USER.userId');
|
||||
$addressList = $m->listQuery($userId);
|
||||
//获取省级地区信息
|
||||
$area = model('mobile/Areas')->listQuery(0);
|
||||
$this->assign('area',$area);
|
||||
$this->assign('list', $addressList);
|
||||
$this->assign('type', (int)input('type'));
|
||||
$this->assign('addressId', (int)input('addressId'));//结算选中的地址
|
||||
return $this->fetch('users/useraddress/list');
|
||||
}
|
||||
/**
|
||||
* 获取地址信息
|
||||
*/
|
||||
public function getById(){
|
||||
$m = new M();
|
||||
return $m->getById(input('post.addressId/d'));
|
||||
}
|
||||
/**
|
||||
* 设置为默认地址
|
||||
*/
|
||||
public function setDefault(){
|
||||
$m = new M();
|
||||
return $m->setDefault();
|
||||
}
|
||||
/**
|
||||
* 新增/编辑地址
|
||||
*/
|
||||
public function edits(){
|
||||
$m = new M();
|
||||
if(input('post.addressId/d')){
|
||||
$rs = $m->edit();
|
||||
}else{
|
||||
$rs = $m->add();
|
||||
}
|
||||
return $rs;
|
||||
}
|
||||
/**
|
||||
* 删除地址
|
||||
*/
|
||||
public function del(){
|
||||
$m = new M();
|
||||
return $m->del();
|
||||
}
|
||||
}
|
608
hyhproject/mobile2/controller/Users.php
Executable file
608
hyhproject/mobile2/controller/Users.php
Executable file
@ -0,0 +1,608 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
use wstmart\mobile\model\Users as M;
|
||||
use wstmart\mobile\model\Messages;
|
||||
use wstmart\common\model\LogSms;
|
||||
use wstmart\common\model\Users as MUsers;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 用户控制器
|
||||
*/
|
||||
class Users extends Base{
|
||||
// 前置方法执行列表
|
||||
protected $beforeActionList = [// mark cheng 添加reg 20180321
|
||||
'checkAuth' => ['except'=>'reg,checklogin,login,register,getverify,toregister,forgetpass,forgetpasst,forgetpasss,forgetpassf,findpass,getfindphone,resetpass,getphoneverifycode,checkuserphone']// 访问这些except下的方法不需要执行前置操作
|
||||
];
|
||||
/**
|
||||
*跳转到合源惠联盟 mark 20170919 hsf
|
||||
*/
|
||||
|
||||
public function to_hyhlm(){
|
||||
session('to_hyhlm',null);
|
||||
hook('toHyhlm');
|
||||
die;
|
||||
}
|
||||
|
||||
/**
|
||||
* 会员登录页
|
||||
*/
|
||||
public function login(){
|
||||
//如果已经登录了则直接跳去用户中心
|
||||
$USER = session('WST_USER');
|
||||
if(!empty($USER) && $USER['userId']!=''){
|
||||
$this->redirect("users/index");
|
||||
}
|
||||
return $this->fetch('login');
|
||||
}
|
||||
/**
|
||||
* 会员登录
|
||||
*/
|
||||
public function checkLogin(){
|
||||
$m = new M();
|
||||
$rs = $m->checkLogin(2);
|
||||
$rs['url'] = session('WST_MO_WlADDRESS');
|
||||
return $rs;
|
||||
}
|
||||
|
||||
public function toRegister(){
|
||||
return $this->fetch('register');
|
||||
}
|
||||
/**
|
||||
* 会员注册
|
||||
*/
|
||||
public function register(){
|
||||
$m = new M();
|
||||
$rs = $m->regist(2);
|
||||
$rs['url'] = session('WST_MO_WlADDRESS');
|
||||
return $rs;
|
||||
}
|
||||
/**
|
||||
* 手机号码是否存在
|
||||
*/
|
||||
public function checkUserPhone(){
|
||||
$userPhone = input("post.userPhone");
|
||||
$m = new M();
|
||||
$rs = $m->checkUserPhone($userPhone,(int)session('WST_USER.userId'));
|
||||
if($rs["status"]!=1){
|
||||
return WSTReturn("手机号已注册",-1);
|
||||
}else{
|
||||
return WSTReturn("",1);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* 获取验证码
|
||||
*/
|
||||
public function getPhoneVerifyCode(){
|
||||
$userPhone = input("post.userPhone");
|
||||
$rs = array();
|
||||
if(!WSTIsPhone($userPhone)){
|
||||
return WSTReturn("手机号格式不正确!");
|
||||
exit();
|
||||
}
|
||||
$m = new M();
|
||||
$rs = $m->checkUserPhone($userPhone,(int)session('WST_USER.userId'));
|
||||
if($rs["status"]!=1){
|
||||
return WSTReturn("手机号已存在!");
|
||||
exit();
|
||||
}
|
||||
$phoneVerify = rand(100000,999999);
|
||||
$tpl = WSTMsgTemplates('PHONE_USER_REGISTER_VERFIY');
|
||||
if( $tpl['tplContent']!='' && $tpl['status']=='1'){
|
||||
$params = ['tpl'=>$tpl,'params'=>['MALL_NAME'=>WSTConf("CONF.mallName"),'VERFIY_CODE'=>$phoneVerify,'VERFIY_TIME'=>10]];
|
||||
$m = new LogSms();
|
||||
$rv = $m->sendSMS(0,$userPhone,$params,'getPhoneVerifyCode',$phoneVerify);
|
||||
}
|
||||
if($rv['status']==1){
|
||||
session('VerifyCode_userPhone',$phoneVerify);
|
||||
session('VerifyCode_userPhone_Time',time());
|
||||
}
|
||||
return $rv;
|
||||
}
|
||||
/**
|
||||
* 会员中心
|
||||
*/
|
||||
public function index(){
|
||||
$userId = session('WST_USER.userId');
|
||||
$m = new M();
|
||||
$user = $m->getById($userId);
|
||||
if($user['userName']=='')
|
||||
$user['userName']=$user['loginName'];
|
||||
$this->assign('user', $user);
|
||||
//商城未读消息的数量 及 各订单状态数量
|
||||
$data = model('index')->getSysMsg('msg','order','follow','history');
|
||||
$this->assign('data',$data);
|
||||
return $this->fetch('users/index');
|
||||
}
|
||||
|
||||
/**
|
||||
* 个人信息
|
||||
*/
|
||||
public function edit(){
|
||||
$userId = session('WST_USER.userId');
|
||||
$m = new M();
|
||||
$user = $m->getById($userId);
|
||||
$this->assign('user', $user);
|
||||
return $this->fetch('users/edit');
|
||||
}
|
||||
/**
|
||||
* 编辑个人信息
|
||||
*/
|
||||
public function editUserInfo(){
|
||||
$m = new M();
|
||||
return $m->edit();
|
||||
}
|
||||
/**
|
||||
* 账户安全
|
||||
*/
|
||||
public function security(){
|
||||
$m = new M();
|
||||
$userId = (int)session('WST_USER.userId');
|
||||
$user = $m->getById($userId);
|
||||
$payPwd = $user['payPwd'];
|
||||
$userPhone = $user['userPhone'];
|
||||
$loginPwd = $user['loginPwd'];
|
||||
$user['loginPwd'] = empty($loginPwd)?0:1;
|
||||
$user['payPwd'] = empty($payPwd)?0:1;
|
||||
$user['userPhone'] = empty($userPhone)?0:1;
|
||||
$this->assign('user', $user);
|
||||
session('Edit_userPhone_Time', null);
|
||||
return $this->fetch('users/security/index');
|
||||
}
|
||||
/**
|
||||
* 修改登录密码
|
||||
*/
|
||||
public function editLoginPass(){
|
||||
$m = new M();
|
||||
$userId = (int)session('WST_USER.userId');
|
||||
$user = $m->getById($userId);
|
||||
$loginPwd = $user['loginPwd'];
|
||||
$user['loginPwd'] = empty($loginPwd)?0:1;
|
||||
$this->assign('user', $user);
|
||||
return $this->fetch('users/security/user_login_pass');
|
||||
}
|
||||
public function editloginPwd(){
|
||||
$m = new M();
|
||||
$userId = (int)session('WST_USER.userId');
|
||||
return $m->editPass($userId);
|
||||
}
|
||||
/**
|
||||
* 修改支付密码
|
||||
*/
|
||||
public function editPayPass(){
|
||||
$m = new M();
|
||||
$userId = (int)session('WST_USER.userId');
|
||||
$user = $m->getById($userId);
|
||||
$payPwd = $user['payPwd'];
|
||||
$user['payPwd'] = empty($payPwd)?0:1;
|
||||
$this->assign('user', $user);
|
||||
return $this->fetch('users/security/user_pay_pass');
|
||||
}
|
||||
public function editpayPwd(){
|
||||
$m = new M();
|
||||
$userId = (int)session('WST_USER.userId');
|
||||
return $m->editPayPass($userId);
|
||||
}
|
||||
/**
|
||||
* 忘记支付密码
|
||||
*/
|
||||
public function backPayPass(){
|
||||
$m = new M();
|
||||
$userId = (int)session('WST_USER.userId');
|
||||
$user = $m->getById($userId);
|
||||
$userPhone = $user['userPhone'];
|
||||
$user['userPhone'] = WSTStrReplace($user['userPhone'],'*',3);
|
||||
$user['phoneType'] = empty($userPhone)?0:1;
|
||||
$backType = (int)session('Type_backPaypwd');
|
||||
$timeVerify = session('Verify_backPaypwd_Time');
|
||||
$user['backType'] = ($backType==1 && time()<floatval($timeVerify)+10*60)?1:0;
|
||||
$this->assign('user', $user);
|
||||
return $this->fetch('users/security/user_back_paypwd');
|
||||
}
|
||||
/**
|
||||
* 忘记支付密码:发送短信
|
||||
*/
|
||||
public function backpayCode(){
|
||||
$m = new MUsers();
|
||||
$data = $m->getById(session('WST_USER.userId'));
|
||||
$userPhone = $data['userPhone'];
|
||||
$phoneVerify = rand(100000,999999);
|
||||
$rv = ['status'=>-1,'msg'=>'短信发送失败'];
|
||||
$tpl = WSTMsgTemplates('PHONE_FOTGET_PAY');
|
||||
if( $tpl['tplContent']!='' && $tpl['status']=='1'){
|
||||
$params = ['tpl'=>$tpl,'params'=>['LOGIN_NAME'=>$data['loginName'],'VERFIY_CODE'=>$phoneVerify,'VERFIY_TIME'=>10]];
|
||||
$m = new LogSms();
|
||||
$rv = $m->sendSMS(0,$userPhone,$params,'getPhoneVerifyt',$phoneVerify);
|
||||
}
|
||||
if($rv['status']==1){
|
||||
$USER = [];
|
||||
$USER['userPhone'] = $userPhone;
|
||||
$USER['phoneVerify'] = $phoneVerify;
|
||||
session('Verify_backPaypwd_info',$USER);
|
||||
session('Verify_backPaypwd_Time',time());
|
||||
return WSTReturn('短信发送成功!',1);
|
||||
}
|
||||
return $rv;
|
||||
}
|
||||
/**
|
||||
* 忘记支付密码:验证短信
|
||||
*/
|
||||
public function verifybackPay(){
|
||||
$phoneVerify = input("post.phoneCode");
|
||||
$timeVerify = session('Verify_backPaypwd_Time');
|
||||
if(!session('Verify_backPaypwd_info.phoneVerify') || time()>floatval($timeVerify)+10*60){
|
||||
return WSTReturn("校验码已失效,请重新发送!");
|
||||
exit();
|
||||
}
|
||||
if($phoneVerify==session('Verify_backPaypwd_info.phoneVerify')){
|
||||
session('Type_backPaypwd',1);
|
||||
return WSTReturn("验证成功",1);
|
||||
}
|
||||
return WSTReturn("校验码不一致,请重新输入!");
|
||||
}
|
||||
/**
|
||||
* 忘记支付密码:重置密码
|
||||
*/
|
||||
public function resetbackPay(){
|
||||
$m = new M();
|
||||
return $m->resetbackPay();
|
||||
}
|
||||
/**
|
||||
* 修改手机
|
||||
*/
|
||||
public function editPhone(){
|
||||
$m = new M();
|
||||
$userId = (int)session('WST_USER.userId');
|
||||
$user = $m->getById($userId);
|
||||
$userPhone = $user['userPhone'];
|
||||
$user['userPhone'] = WSTStrReplace($user['userPhone'],'*',3);
|
||||
$user['phoneType'] = empty($userPhone)?0:1;
|
||||
$this->assign('user', $user);
|
||||
session('Edit_userPhone_Time', null);
|
||||
return $this->fetch('users/security/user_phone');
|
||||
}
|
||||
/**
|
||||
* 绑定手机:发送短信验证码
|
||||
*/
|
||||
public function sendCodeTie(){
|
||||
$userPhone = input("post.userPhone");
|
||||
if(!WSTIsPhone($userPhone)){
|
||||
return WSTReturn("手机号格式不正确!");
|
||||
exit();
|
||||
}
|
||||
$rs = array();
|
||||
$m = new MUsers();
|
||||
$rs = WSTCheckLoginKey($userPhone,(int)session('WST_USER.userId'));
|
||||
if($rs["status"]!=1){
|
||||
return WSTReturn("手机号已存在!");
|
||||
exit();
|
||||
}
|
||||
$data = $m->getById(session('WST_USER.userId'));
|
||||
$phoneVerify = rand(100000,999999);
|
||||
$rv = ['status'=>-1,'msg'=>'短信发送失败'];
|
||||
$tpl = WSTMsgTemplates('PHONE_BIND');
|
||||
if( $tpl['tplContent']!='' && $tpl['status']=='1'){
|
||||
$params = ['tpl'=>$tpl,'params'=>['LOGIN_NAME'=>$data['loginName'],'VERFIY_CODE'=>$phoneVerify,'VERFIY_TIME'=>10]];
|
||||
$m = new LogSms();
|
||||
$rv = $m->sendSMS(0,$userPhone,$params,'sendCodeTie',$phoneVerify);
|
||||
}
|
||||
if($rv['status']==1){
|
||||
$USER = '';
|
||||
$USER['userPhone'] = $userPhone;
|
||||
$USER['phoneVerify'] = $phoneVerify;
|
||||
session('Verify_info',$USER);
|
||||
session('Verify_userPhone_Time',time());
|
||||
return WSTReturn('短信发送成功!',1);
|
||||
}
|
||||
return $rv;
|
||||
}
|
||||
/**
|
||||
* 绑定手机
|
||||
*/
|
||||
public function phoneEdit(){
|
||||
$phoneVerify = input("post.phoneCode");
|
||||
$process = input("post.process");
|
||||
$timeVerify = session('Verify_userPhone_Time');
|
||||
if(!session('Verify_info.phoneVerify') || time()>floatval($timeVerify)+10*60){
|
||||
return WSTReturn("校验码已失效,请重新发送!");
|
||||
exit();
|
||||
}
|
||||
if($phoneVerify==session('Verify_info.phoneVerify')){
|
||||
$m = new M();
|
||||
$rs = $m->editPhone((int)session('WST_USER.userId'),session('Verify_info.userPhone'));
|
||||
return $rs;
|
||||
}
|
||||
return WSTReturn("校验码不一致,请重新输入!");
|
||||
}
|
||||
/**
|
||||
* 修改手机:发送短信验证码
|
||||
*/
|
||||
public function sendCodeEdit(){
|
||||
$m = new MUsers();
|
||||
$data = $m->getById(session('WST_USER.userId'));
|
||||
$userPhone = $data['userPhone'];
|
||||
$phoneVerify = rand(100000,999999);
|
||||
$rv = ['status'=>-1,'msg'=>'短信发送失败'];
|
||||
$tpl = WSTMsgTemplates('PHONE_EDIT');
|
||||
if( $tpl['tplContent']!='' && $tpl['status']=='1'){
|
||||
$params = ['tpl'=>$tpl,'params'=>['LOGIN_NAME'=>$data['loginName'],'VERFIY_CODE'=>$phoneVerify,'VERFIY_TIME'=>10]];
|
||||
$m = new LogSms();
|
||||
$rv = $m->sendSMS(0,$userPhone,$params,'getPhoneVerifyt',$phoneVerify);
|
||||
}
|
||||
if($rv['status']==1){
|
||||
$USER = '';
|
||||
$USER['userPhone'] = $userPhone;
|
||||
$USER['phoneVerify'] = $phoneVerify;
|
||||
session('Verify_info2',$USER);
|
||||
session('Verify_userPhone_Time2',time());
|
||||
return WSTReturn('短信发送成功!',1);
|
||||
}
|
||||
return $rv;
|
||||
}
|
||||
/**
|
||||
* 修改手机
|
||||
*/
|
||||
public function phoneEdito(){
|
||||
$phoneVerify = input("post.phoneCode");
|
||||
$timeVerify = session('Verify_userPhone_Time2');
|
||||
if(!session('Verify_info2.phoneVerify') || time()>floatval($timeVerify)+10*60){
|
||||
return WSTReturn("校验码已失效,请重新发送!");
|
||||
exit();
|
||||
}
|
||||
if($phoneVerify==session('Verify_info2.phoneVerify')){
|
||||
session('Edit_userPhone_Time',time());
|
||||
return WSTReturn("验证成功",1);
|
||||
return $rs;
|
||||
}
|
||||
return WSTReturn("校验码不一致,请重新输入!",-1);
|
||||
}
|
||||
public function editPhoneo(){
|
||||
$m = new M();
|
||||
$userId = (int)session('WST_USER.userId');
|
||||
$user = $m->getById($userId);
|
||||
$userPhone = $user['userPhone'];
|
||||
$user['userPhone'] = WSTStrReplace($user['userPhone'],'*',3);
|
||||
$timeVerify = session('Edit_userPhone_Time');
|
||||
if(time()>floatval($timeVerify)+15*60){
|
||||
$user['phoneType'] = 1;
|
||||
}else{
|
||||
$user['phoneType'] = 0;
|
||||
}
|
||||
$this->assign('user', $user);
|
||||
return $this->fetch('users/security/user_phone');
|
||||
}
|
||||
/**
|
||||
* 用户退出
|
||||
*/
|
||||
public function logout(){
|
||||
session('WST_USER',null);
|
||||
setcookie("loginPwd", null);
|
||||
session('WST_MO_WlADDRESS',null);
|
||||
return WSTReturn("",1);
|
||||
}
|
||||
|
||||
/************************************************* 忘记密码 ********************************************************/
|
||||
// 页面过期/失效
|
||||
protected function expire($msg=''){
|
||||
$message = $msg?$msg:'页面已失效!';
|
||||
$html = '<h1>'.$message.'</h1><script>setTimeout(function(){location.href="'.url('mobile/users/index','','',true).'";},1000)</script>';
|
||||
return $this->display($html);
|
||||
}
|
||||
/**
|
||||
* 忘记密码
|
||||
*/
|
||||
public function forgetPass(){
|
||||
return $this->fetch('forget_pass');
|
||||
}
|
||||
public function forgetPasst(){
|
||||
if(time()<floatval(session('findPass.findTime'))+30*60){
|
||||
$userId = session('findPass.userId');
|
||||
$m = new M();
|
||||
$info = $m->getById($userId);
|
||||
if($info['userPhone']!='')$info['userPhone'] = WSTStrReplace($info['userPhone'],'*',3);
|
||||
if($info['userEmail']!='')$info['userEmail'] = WSTStrReplace($info['userEmail'],'*',2,'@');
|
||||
$this->assign('forgetInfo',$info);
|
||||
return $this->fetch('forget_pass2');
|
||||
}else{
|
||||
return $this->expire();
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 重置密码
|
||||
*/
|
||||
public function resetPass(){
|
||||
if(!session('findPass')){
|
||||
return $this->expire();
|
||||
}
|
||||
return $this->fetch('forget_pass3');
|
||||
}
|
||||
public function forgetPasss(){
|
||||
if(!session('findPass')){
|
||||
return $this->expire();
|
||||
}
|
||||
$USER = session('findPass');
|
||||
if(empty($USER) && $USER['userId']!=''){
|
||||
$this->expire('请在同一浏览器操作!');
|
||||
}
|
||||
$uId = session('findPass.userId');
|
||||
$key = session("findPass.key");
|
||||
// 验证邮箱中的验证码
|
||||
$secretCode = input('secretCode');
|
||||
if($key==$secretCode){
|
||||
session('REST_userId',$uId);
|
||||
session('REST_success','1');
|
||||
return WSTReturn('验证成功',1);
|
||||
}else{
|
||||
return WSTReturn('校验码错误',-1);
|
||||
}
|
||||
|
||||
}
|
||||
/**
|
||||
* 找回密码
|
||||
*/
|
||||
public function findPass(){
|
||||
//禁止缓存
|
||||
header('Cache-Control:no-cache,must-revalidate');
|
||||
header('Pragma:no-cache');
|
||||
$code = input("post.verifyCode");
|
||||
$step = input("post.step/d");
|
||||
switch ($step) {
|
||||
case 1:#第一步,验证身份
|
||||
if(!WSTVerifyCheck($code)){
|
||||
return WSTReturn('验证码错误!',-1);
|
||||
}
|
||||
$loginName = input("post.loginName");
|
||||
$rs = WSTCheckLoginKey($loginName);
|
||||
if($rs["status"]==1){
|
||||
return WSTReturn("用户名不存在!");
|
||||
exit();
|
||||
}
|
||||
$m = new M();
|
||||
$info = $m->checkAndGetLoginInfo($loginName);
|
||||
if ($info != false) {
|
||||
session('findPass',array('userId'=>$info['userId'],'loginName'=>$loginName,'userPhone'=>$info['userPhone'],'userEmail'=>$info['userEmail'],'loginSecret'=>$info['loginSecret'],'findTime'=>time()));
|
||||
return WSTReturn("操作成功",1);
|
||||
}else return WSTReturn("用户名不存在!");
|
||||
break;
|
||||
case 2:#第二步,验证方式
|
||||
if (session('findPass.loginName') != null ){
|
||||
if(input("post.modes")==1){
|
||||
if ( session('findPass.userPhone') == null) {
|
||||
return WSTReturn('你没有预留手机号码,请通过邮箱方式找回密码!',-1);
|
||||
}
|
||||
$phoneVerify = input("post.Checkcode");
|
||||
if(!$phoneVerify){
|
||||
return WSTReturn('校验码不能为空!',-1);
|
||||
}
|
||||
return $this->checkfindPhone($phoneVerify);
|
||||
}else{
|
||||
if (session('findPass.userEmail')==null) {
|
||||
return WSTReturn('你没有预留邮箱,请通过手机号码找回密码!',-1);
|
||||
}
|
||||
if(!WSTVerifyCheck($code)){
|
||||
return WSTReturn('验证码错误!',-1);
|
||||
}
|
||||
return $this->getfindEmail();
|
||||
}
|
||||
}else return $this->expire();
|
||||
break;
|
||||
case 3:#第三步,设置新密码
|
||||
$resetPass = session('REST_success');
|
||||
if($resetPass != 1)return $this->expire();
|
||||
$loginPwd = input("post.loginPwd");
|
||||
$repassword = input("post.repassword");
|
||||
$decrypt_data = WSTRSA($loginPwd);
|
||||
$decrypt_data2 = WSTRSA($repassword);
|
||||
if($decrypt_data['status']==1 && $decrypt_data2['status']==1){
|
||||
$loginPwd = $decrypt_data['data'];
|
||||
$repassword = $decrypt_data2['data'];
|
||||
}else{
|
||||
return WSTReturn('设置失败');
|
||||
}
|
||||
if ($loginPwd == $repassword) {
|
||||
$m = new M();
|
||||
$rs = $m->resetPass();
|
||||
if($rs['status']==1){
|
||||
return $rs;
|
||||
}else{
|
||||
return $rs;
|
||||
}
|
||||
}else return WSTReturn('两次密码不同!',-1);
|
||||
break;
|
||||
default:
|
||||
return $this->expire();
|
||||
break;
|
||||
}
|
||||
}
|
||||
/**
|
||||
* 手机验证码获取
|
||||
*/
|
||||
public function getfindPhone(){
|
||||
session('WST_USER',session('findPass.userId'));
|
||||
if(session('findPass.userPhone')==''){
|
||||
return WSTReturn('你没有预留手机号码,请通过邮箱方式找回密码!',-1);
|
||||
}
|
||||
$phoneVerify = rand(100000,999999);
|
||||
session('WST_USER',null);
|
||||
$rv = ['status'=>-1,'msg'=>'短信发送失败'];
|
||||
$tpl = WSTMsgTemplates('PHONE_FOTGET');
|
||||
if( $tpl['tplContent']!='' && $tpl['status']=='1'){
|
||||
$params = ['tpl'=>$tpl,'params'=>['VERFIY_CODE'=>$phoneVerify,'VERFIY_TIME'=>10]];
|
||||
$m = new LogSms();
|
||||
$rv = $m->sendSMS(0,session('findPass.userPhone'),$params,'getPhoneVerify',$phoneVerify);
|
||||
}
|
||||
if($rv['status']==1){
|
||||
// 记录发送短信的时间,用于验证是否过期
|
||||
session('REST_Time',time());
|
||||
$USER = '';
|
||||
$USER['phoneVerify'] = $phoneVerify;
|
||||
$USER['time'] = time();
|
||||
session('findPhone',$USER);
|
||||
return WSTReturn('短信发送成功!',1);
|
||||
}
|
||||
return $rv;
|
||||
}
|
||||
/**
|
||||
* 手机验证码检测
|
||||
* -1 错误,1正确
|
||||
*/
|
||||
public function checkfindPhone($phoneVerify){
|
||||
if(!session('findPhone.phoneVerify') || time()>floatval(session('findPhone.time'))+10*60){
|
||||
return WSTReturn("校验码已失效,请重新发送!");
|
||||
exit();
|
||||
}
|
||||
if (session('findPhone.phoneVerify') == $phoneVerify ) {
|
||||
$fuserId = session('findPass.userId');
|
||||
if(!empty($fuserId)){
|
||||
session('REST_userId',$fuserId);
|
||||
session('REST_success','1');
|
||||
$rs['status'] = 1;
|
||||
$rs['url'] = url('mobile/users/resetPass');
|
||||
return $rs;
|
||||
}
|
||||
return WSTReturn('无效用户',-1);
|
||||
}
|
||||
return WSTReturn('校验码错误!',-1);
|
||||
}
|
||||
/**
|
||||
* 发送验证邮件/找回密码
|
||||
*/
|
||||
public function getfindEmail(){
|
||||
$code = rand(0,999999);
|
||||
$sendRs = ['status'=>-1,'msg'=>'邮件发送失败'];
|
||||
$tpl = WSTMsgTemplates('EMAIL_FOTGET');
|
||||
if( $tpl['tplContent']!='' && $tpl['status']=='1'){
|
||||
$find = ['${LOGIN_NAME}','${SEND_TIME}','${VERFIY_CODE}','${VERFIY_TIME}'];
|
||||
$replace = [session('findPass.loginName'),date('Y-m-d H:i:s'),$code,30];
|
||||
$sendRs = WSTSendMail(session('findPass.userEmail'),'密码重置',str_replace($find,$replace,$tpl['content']));
|
||||
}
|
||||
if($sendRs['status']==1){
|
||||
$uId = session('findPass.userId');
|
||||
session("findPass.key", $code);
|
||||
// 发起重置密码的时间;
|
||||
session('REST_Time',time());
|
||||
return WSTReturn("发送成功",1);
|
||||
}else{
|
||||
return WSTReturn($sendRs['msg'],-1);
|
||||
}
|
||||
}
|
||||
public function userSet(){
|
||||
return $this->fetch('users/userset/list');
|
||||
}
|
||||
public function aboutUs(){
|
||||
return $this->fetch('users/userset/about');
|
||||
}
|
||||
// mark by cheng 添加手机版分享20180320
|
||||
public function share(){
|
||||
$name = session('WST_USER.loginName');
|
||||
$data['url'] = 'http://www.heyuanhui.cn/mobile/users/reg?pName='.$name;
|
||||
$data['title'] = '分享好友';
|
||||
$data['desc'] = '分享好友注册';
|
||||
$this->assign('data',$data);
|
||||
return $this->fetch('users/share');
|
||||
}
|
||||
// mark by cheng 新注册页20180320
|
||||
public function reg(){
|
||||
return $this->fetch('reg');
|
||||
}
|
||||
}
|
38
hyhproject/mobile2/controller/Userscores.php
Executable file
38
hyhproject/mobile2/controller/Userscores.php
Executable file
@ -0,0 +1,38 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
use wstmart\common\model\UserScores as MUserscores;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 地区控制器
|
||||
*/
|
||||
class Userscores extends Base{
|
||||
// 前置方法执行列表
|
||||
protected $beforeActionList = [
|
||||
'checkAuth'
|
||||
];
|
||||
/**
|
||||
* 查看
|
||||
*/
|
||||
public function index(){
|
||||
$rs = model('Users')->getFieldsById((int)session('WST_USER.userId'),['userScore','userTotalScore']);
|
||||
$this->assign('object',$rs);
|
||||
return $this->fetch('users/userscores/list');
|
||||
}
|
||||
/**
|
||||
* 获取数据
|
||||
*/
|
||||
public function pageQuery(){
|
||||
$userId = (int)session('WST_USER.userId');
|
||||
$data = model('UserScores')->pageQuery($userId);
|
||||
return WSTReturn("", 1,$data);
|
||||
}
|
||||
/**
|
||||
* 签到惠宝
|
||||
*/
|
||||
public function signScore(){
|
||||
$m = new MUserscores();
|
||||
$userId = (int)session('WST_USER.userId');
|
||||
$rs = $m->signScore($userId);
|
||||
return $rs;
|
||||
}
|
||||
}
|
49
hyhproject/mobile2/controller/Wallets.php
Executable file
49
hyhproject/mobile2/controller/Wallets.php
Executable file
@ -0,0 +1,49 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
use wstmart\common\model\Orders as OM;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 源宝控制器
|
||||
*/
|
||||
class Wallets extends Base{
|
||||
// 前置方法执行列表
|
||||
protected $beforeActionList = [
|
||||
'checkAuth'
|
||||
];
|
||||
/**
|
||||
* 跳去支付页面
|
||||
*/
|
||||
public function payment(){
|
||||
$data = [];
|
||||
$data['orderNo'] = input('orderNo');
|
||||
$data['isBatch'] = (int)input('isBatch');
|
||||
$data['userId'] = (int)session('WST_USER.userId');
|
||||
$this->assign('data',$data);
|
||||
$m = new OM();
|
||||
$rs = $m->getOrderPayInfo($data);
|
||||
|
||||
$list = $m->getByUnique();
|
||||
$this->assign('rs',$list);
|
||||
|
||||
if(empty($rs)){
|
||||
$this->assign('type','');
|
||||
return $this->fetch("users/orders/orders_list");
|
||||
}else{
|
||||
$this->assign('needPay',$rs['needPay']);
|
||||
//获取用户钱包
|
||||
$user = model('users')->getFieldsById($data['userId'],'userMoney,payPwd');
|
||||
$this->assign('userMoney',$user['userMoney']);
|
||||
$payPwd = $user['payPwd'];
|
||||
$payPwd = empty($payPwd)?0:1;
|
||||
$this->assign('payPwd',$payPwd);
|
||||
}
|
||||
return $this->fetch('users/orders/orders_pay_wallets');
|
||||
}
|
||||
/**
|
||||
* 钱包支付
|
||||
*/
|
||||
public function payByWallet(){
|
||||
$m = new OM();
|
||||
return $m->payByWallet();
|
||||
}
|
||||
}
|
185
hyhproject/mobile2/controller/Weixinpays.php
Executable file
185
hyhproject/mobile2/controller/Weixinpays.php
Executable file
@ -0,0 +1,185 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\controller;
|
||||
use think\Loader;
|
||||
use wstmart\common\model\Payments as M;
|
||||
use wstmart\common\model\Orders as OM;
|
||||
use wstmart\common\model\LogMoneys as LM;
|
||||
use wstmart\common\model\ChargeItems as CM;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 微信支付控制器
|
||||
*/
|
||||
class Weixinpays extends Base{
|
||||
|
||||
/**
|
||||
* 初始化
|
||||
*/
|
||||
private $wxpayConfig;
|
||||
private $wxpay;
|
||||
public function _initialize() {
|
||||
header ("Content-type: text/html; charset=utf-8");
|
||||
Loader::import('wxpay.WxPayConf');
|
||||
Loader::import('wxpay.WxJsApiPay');
|
||||
|
||||
$this->wxpayConfig = array();
|
||||
$m = new M();
|
||||
$this->wxpay = $m->getPayment("weixinpays");
|
||||
$this->wxpayConfig['appid'] = $this->wxpay['appId']; // 微信公众号身份的唯一标识
|
||||
$this->wxpayConfig['appsecret'] = $this->wxpay['appsecret']; // JSAPI接口中获取openid
|
||||
$this->wxpayConfig['mchid'] = $this->wxpay['mchId']; // 受理商ID
|
||||
$this->wxpayConfig['key'] = $this->wxpay['apiKey']; // 商户支付密钥Key
|
||||
$this->wxpayConfig['notifyurl'] = url("mobile/weixinpays/notify","",true,true);
|
||||
$this->wxpayConfig['returnurl'] = url("mobile/orders/index","",true,true);
|
||||
$this->wxpayConfig['curl_timeout'] = 30;
|
||||
|
||||
// 初始化WxPayConf
|
||||
new \WxPayConf($this->wxpayConfig);
|
||||
}
|
||||
|
||||
|
||||
public function toWeixinPay(){
|
||||
$data = [];
|
||||
$payObj = input("payObj/s");
|
||||
if($payObj=="recharge"){
|
||||
$cm = new CM();
|
||||
$itemId = (int)input("itemId/d");
|
||||
$targetType = (int)input("targetType/d");
|
||||
$targetId = (int)session('WST_USER.userId');
|
||||
if($targetType==1){//商家
|
||||
$targetId = (int)session('WST_USER.shopId');
|
||||
}
|
||||
$needPay = 0;
|
||||
if($itemId>0){
|
||||
$item = $cm->getItemMoney($itemId);
|
||||
$needPay = isSet($item["chargeMoney"])?$item["chargeMoney"]:0;
|
||||
}else{
|
||||
$needPay = (int)input("needPay/d");
|
||||
}
|
||||
$out_trade_no = WSTOrderNo();
|
||||
$body = "钱包充值";
|
||||
$data["status"] = $needPay>0?1:-1;
|
||||
$attach = $payObj."@".$targetId."@".$targetType."@".$needPay."@".$itemId;
|
||||
$returnurl = url("mobile/logmoneys/usermoneys","",true,true);
|
||||
}else{
|
||||
|
||||
$data['orderNo'] = input('orderNo');
|
||||
$data['isBatch'] = (int)input('isBatch');
|
||||
$data['userId'] = (int)session('WST_USER.userId');
|
||||
$m = new OM();
|
||||
$rs = $m->getOrderPayInfo($data);
|
||||
if(empty($rs)){
|
||||
$this->assign('type','');
|
||||
return $this->fetch("users/orders/orders_list");
|
||||
}else{
|
||||
$pkey = base64_decode(input("pkey"));
|
||||
$extras = explode ( "@",$pkey);
|
||||
|
||||
$m = new OM();
|
||||
$userId = (int)session('WST_USER.userId');
|
||||
$obj["userId"] = $userId;
|
||||
$obj["orderNo"] = input("orderNo");
|
||||
$obj["isBatch"] = (int)input("isBatch");
|
||||
|
||||
$rs = $m->getByUnique();
|
||||
$this->assign('rs',$rs);
|
||||
$body = "支付订单";
|
||||
$order = $m->getPayOrders($obj);
|
||||
$needPay = $order["needPay"];
|
||||
$payRand = $order["payRand"];
|
||||
$out_trade_no = $obj["orderNo"]."a1".$payRand;
|
||||
$attach = $userId."@".$obj["orderNo"]."@".$obj["isBatch"];
|
||||
$returnurl = url("mobile/orders/index","",true,true);
|
||||
}
|
||||
}
|
||||
|
||||
// 初始化WxPayConf
|
||||
new \WxPayConf ( $this->wxpayConfig );
|
||||
//使用统一支付接口
|
||||
$notify_url = $this->wxpayConfig ['notifyurl'];
|
||||
$unifiedOrder = new \UnifiedOrder();
|
||||
$unifiedOrder->setParameter("out_trade_no",$out_trade_no);//商户订单号
|
||||
$unifiedOrder->setParameter("notify_url",$notify_url);//通知地址
|
||||
$unifiedOrder->setParameter("trade_type","MWEB");//交易类型
|
||||
$unifiedOrder->setParameter("attach",$attach);//扩展参数
|
||||
$unifiedOrder->setParameter("body",$body);//商品描述
|
||||
$needPay = WSTBCMoney($needPay,0,2);
|
||||
$unifiedOrder->setParameter("total_fee", $needPay * 100);//总金额
|
||||
|
||||
$wap_name = WSTConf('CONF.mallName');
|
||||
$unifiedOrder->setParameter("scene_info", "{'h5_info': {'type':'Wap','wap_url': '".$notify_url."','wap_name': '".$wap_name."'}}");//总金额
|
||||
|
||||
$this->assign('needPay',$needPay);
|
||||
$this->assign('returnUrl',$returnurl );
|
||||
$this->assign('payObj',$payObj);
|
||||
$wxResult = $unifiedOrder->getResult();
|
||||
$this->assign('mweb_url',$wxResult['mweb_url']."&redirect_url".urlencode($returnurl));
|
||||
return $this->fetch('users/orders/orders_wxpay');
|
||||
}
|
||||
|
||||
|
||||
public function notify() {
|
||||
// 使用通用通知接口
|
||||
$notify = new \Notify();
|
||||
// 存储微信的回调
|
||||
$xml = file_get_contents("php://input");
|
||||
$notify->saveData ( $xml );
|
||||
if ($notify->checkSign () == FALSE) {
|
||||
$notify->setReturnParameter ( "return_code", "FAIL" ); // 返回状态码
|
||||
$notify->setReturnParameter ( "return_msg", "签名失败" ); // 返回信息
|
||||
} else {
|
||||
$notify->setReturnParameter ( "return_code", "SUCCESS" ); // 设置返回码
|
||||
}
|
||||
$returnXml = $notify->returnXml ();
|
||||
if ($notify->checkSign () == TRUE) {
|
||||
if ($notify->data ["return_code"] == "FAIL") {
|
||||
// 此处应该更新一下订单状态,商户自行增删操作
|
||||
} elseif ($notify->data ["result_code"] == "FAIL") {
|
||||
// 此处应该更新一下订单状态,商户自行增删操作
|
||||
} else {
|
||||
$order = $notify->getData ();
|
||||
$rs = $this->process($order);
|
||||
if($rs["status"]==1){
|
||||
echo "SUCCESS";
|
||||
}else{
|
||||
echo "FAIL";
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//订单处理
|
||||
private function process($order) {
|
||||
|
||||
$obj = array();
|
||||
$obj["trade_no"] = $order['transaction_id'];
|
||||
|
||||
$obj["total_fee"] = (float)$order["total_fee"]/100;
|
||||
$extras = explode ( "@", $order ["attach"] );
|
||||
if($extras[0]=="recharge"){//充值
|
||||
$targetId = (int)$extras [1];
|
||||
$targetType = (int)$extras [2];
|
||||
$itemId = (int)$extras [4];
|
||||
|
||||
$obj["out_trade_no"] = $order['out_trade_no'];
|
||||
$obj["targetId"] = $targetId;
|
||||
$obj["targetType"] = $targetType;
|
||||
$obj["itemId"] = $itemId;
|
||||
$obj["payFrom"] = 'weixinpays';
|
||||
// 支付成功业务逻辑
|
||||
$m = new LM();
|
||||
$rs = $m->complateRecharge ( $obj );
|
||||
}else{
|
||||
$obj["userId"] = $extras[0];
|
||||
$obj["out_trade_no"] = $extras[1];
|
||||
$obj["isBatch"] = $extras[2];
|
||||
$obj["payFrom"] = "weixinpays";
|
||||
// 支付成功业务逻辑
|
||||
$m = new OM();
|
||||
$rs = $m->complatePay ( $obj );
|
||||
}
|
||||
|
||||
return $rs;
|
||||
|
||||
}
|
||||
|
||||
}
|
100
hyhproject/mobile2/model/Articles.php
Executable file
100
hyhproject/mobile2/model/Articles.php
Executable file
@ -0,0 +1,100 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\model;
|
||||
use think\Db;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 文章类
|
||||
*/
|
||||
class Articles extends Base{
|
||||
|
||||
/**
|
||||
* 获取咨询中中心所有文章
|
||||
*/
|
||||
public function getArticles(){
|
||||
// 获取咨询中心下的所有分类id
|
||||
$catId = input('catId');
|
||||
$rs = $this->alias('a')
|
||||
->field('a.*')
|
||||
->join('__ARTICLE_CATS__ ac','a.catId=ac.catId','inner')
|
||||
->where(['a.catId'=>$catId,
|
||||
'a.isShow'=>1,
|
||||
'a.dataFlag'=>1,
|
||||
'ac.dataFlag'=>1,
|
||||
'ac.isShow'=>1,
|
||||
'ac.catType'=>0,
|
||||
])
|
||||
->order('createTime desc')
|
||||
->paginate((int)input('pagesize'));
|
||||
return $rs;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* 根据id获取资讯文章
|
||||
*/
|
||||
public function getNewsById(){
|
||||
$id = (int)input('id');
|
||||
WSTArticleVisitorNum($id);// 统计文章访问量
|
||||
$article = $this->alias('a')
|
||||
->field('a.*')
|
||||
->join('__ARTICLE_CATS__ ac','a.catId=ac.catId','inner')
|
||||
->where('ac.catType=0 and a.dataFlag=1 and a.isShow=1')
|
||||
->cache(true)
|
||||
->find($id);
|
||||
// 图片延迟加载
|
||||
$article['articleContent']=htmlspecialchars_decode($article['articleContent']);
|
||||
$rule = '/<img src="\/(wstmartp.*?)"/';
|
||||
preg_match_all($rule, $article['articleContent'],$images);
|
||||
foreach($images[0] as $k=>$v){
|
||||
$article['articleContent'] = str_replace($v, "<img src='/".WSTImg($images[1][$k],3)."'", $article['articleContent']);
|
||||
}
|
||||
$articleId = cookie("mobile_like_articleId");
|
||||
$articleId = is_array($articleId)?$articleId:[];
|
||||
$rc = !empty($articleId)?in_array($id,$articleId):'';
|
||||
if($rc){
|
||||
$article['likeState'] = 1;
|
||||
}else{
|
||||
$article['likeState'] = 0;
|
||||
}
|
||||
return $article;
|
||||
}
|
||||
/**
|
||||
* 点赞
|
||||
*/
|
||||
public function like(){
|
||||
$id = input("param.id/d");
|
||||
//判断记录是否存在
|
||||
$articleId = cookie("mobile_like_articleId");
|
||||
$articleId = is_array($articleId)?$articleId:[];
|
||||
$rc = !empty($articleId)?in_array($id,$articleId):'';
|
||||
if($rc)return WSTReturn("已点赞成功", -1);
|
||||
$rs = $this->where(['isShow'=>1,'dataFlag'=>1,'articleId'=>$id])->setInc('likeNum',1);
|
||||
//判断是否点赞成功
|
||||
if(false !== $rs){
|
||||
array_push($articleId,$id);
|
||||
cookie("mobile_like_articleId",$articleId,25920000);
|
||||
return WSTReturn("点赞成功", 1);
|
||||
}else{
|
||||
return WSTReturn($this->getError(),-1);
|
||||
}
|
||||
}
|
||||
/**
|
||||
* 获取资讯中心的子集分类
|
||||
*/
|
||||
public function getChildInfos(){
|
||||
$infos = cache('NEW_INFOS');
|
||||
$i = 0;
|
||||
if(!$infos){
|
||||
$data = Db::name('article_cats')->cache(true)->select();
|
||||
foreach($data as $k=>$v){
|
||||
if($v['parentId']== 8){
|
||||
$infos[$i]['catId'] = $v['catId'];
|
||||
$infos[$i]['catName'] = $v['catName'];
|
||||
$i++;
|
||||
}
|
||||
}
|
||||
cache('NEW_INFOS',$infos);
|
||||
}
|
||||
return $infos;
|
||||
}
|
||||
}
|
8
hyhproject/mobile2/model/Base.php
Executable file
8
hyhproject/mobile2/model/Base.php
Executable file
@ -0,0 +1,8 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\model;
|
||||
use wstmart\common\model\Base as CBase;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 基础模型器
|
||||
*/
|
||||
class Base extends CBase {}
|
173
hyhproject/mobile2/model/Goods.php
Executable file
173
hyhproject/mobile2/model/Goods.php
Executable file
@ -0,0 +1,173 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\model;
|
||||
use wstmart\common\model\Goods as CGoods;
|
||||
use think\Db;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 商品类
|
||||
*/
|
||||
class Goods extends CGoods{
|
||||
/**
|
||||
* 获取列表
|
||||
*/
|
||||
public function pageQuery($goodsCatIds = []){
|
||||
//查询条件
|
||||
$keyword = input('keyword');
|
||||
$brandId = input('brandId/d');
|
||||
$where = $where2 = [];
|
||||
$where['goodsStatus'] = 1;
|
||||
$where['g.dataFlag'] = 1;
|
||||
$where['isSale'] = 1;
|
||||
$where['goodsCatIdPath']=['notlike','389'.'%'];
|
||||
if($keyword!='')$where['goodsName'] = ['like','%'.$keyword.'%'];
|
||||
if($brandId>0)$where['g.brandId'] = $brandId;
|
||||
//排序条件
|
||||
$orderBy = input('condition/d',0);
|
||||
$orderBy = ($orderBy>=0 && $orderBy<=4)?$orderBy:0;
|
||||
$order = (input('desc/d',0)==1)?1:0;
|
||||
$pageBy = ['saleNum','shopPrice','visitNum','saleTime'];
|
||||
$pageOrder = ['desc','asc'];
|
||||
if(!empty($goodsCatIds))$where['goodsCatIdPath'] = ['like',implode('_',$goodsCatIds).'_%'];
|
||||
$list = Db::name('goods')->alias('g')->join("__SHOPS__ s","g.shopId = s.shopId")->join('__GOODS_SCORES__ gs','gs.goodsId=g.goodsId')
|
||||
->where($where)
|
||||
->field('g.goodsId,goodsName,saleNum,shopPrice,marketPrice,isSpec,goodsImg,appraiseNum,visitNum,s.shopId,shopName,isSelf,isFreeShipping,gallery,gs.totalScore,gs.totalUsers')
|
||||
->order($pageBy[$orderBy]." ".$pageOrder[$order].",goodsId asc")
|
||||
->paginate(input('pagesize/d'))->toArray();
|
||||
return $list;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取商品资料在前台展示
|
||||
*/
|
||||
public function getBySale($goodsId){
|
||||
$key = input('key');
|
||||
// 浏览量
|
||||
$this->where('goodsId',$goodsId)->setInc('visitNum',1);
|
||||
$rs = Db::name('goods')->where(['goodsId'=>$goodsId,'dataFlag'=>1])->find();
|
||||
if(!empty($rs)){
|
||||
$rs['read'] = false;
|
||||
//判断是否可以公开查看
|
||||
$viKey = WSTShopEncrypt($rs['shopId']);
|
||||
if(($rs['isSale']==0 || $rs['goodsStatus']==0) && $viKey != $key)return [];
|
||||
if($key!='')$rs['read'] = true;
|
||||
//获取店铺信息
|
||||
$rs['shop'] = model('shops')->getBriefShop((int)$rs['shopId']);
|
||||
if(empty($rs['shop']))return [];
|
||||
//获取商店的授权商店分类和商铺电话信息
|
||||
$goodsCats = Db::name('cat_shops')->alias('cs')->join('__GOODS_CATS__ gc','cs.catId=gc.catId and gc.dataFlag=1','left')->join('__SHOPS__ s','s.shopId = cs.shopId','left')
|
||||
->where('cs.shopId',$rs['shopId'])->field('cs.shopId,s.shopTel,gc.catId,gc.catName')->select();
|
||||
$rs['shop']['catId'] = $goodsCats[0]['catId'];
|
||||
$rs['shop']['shopTel'] = $goodsCats[0]['shopTel'];
|
||||
|
||||
$cat = [];
|
||||
foreach ($goodsCats as $v){
|
||||
$cat[] = $v['catName'];
|
||||
}
|
||||
$rs['shop']['cat'] = implode(',',$cat);
|
||||
if(empty($rs['shop']))return [];
|
||||
$gallery = [];
|
||||
$gallery[] = $rs['goodsImg'];
|
||||
|
||||
if($rs['gallery']!=''){//有多个图片就把多个一维图片地址合成一个数组
|
||||
$tmp = explode(',',$rs['gallery']);
|
||||
$gallery = array_merge($gallery,$tmp);
|
||||
}
|
||||
$rs['gallery'] = $gallery;
|
||||
//获取规格值
|
||||
$specs = Db::name('spec_cats')->alias('gc')->join('__SPEC_ITEMS__ sit','gc.catId=sit.catId','inner')
|
||||
->where(['sit.goodsId'=>$goodsId,'gc.isShow'=>1,'sit.dataFlag'=>1])
|
||||
->field('gc.isAllowImg,gc.catName,sit.catId,sit.itemId,sit.itemName,sit.itemImg')
|
||||
->order('gc.isAllowImg desc,gc.catSort asc,gc.catId asc')->select();
|
||||
$rs['spec']=[];
|
||||
//把属于同一个分类的规格整合到一块
|
||||
foreach ($specs as $key =>$v){
|
||||
$rs['spec'][$v['catId']]['name'] = $v['catName'];
|
||||
$rs['spec'][$v['catId']]['list'][] = $v;
|
||||
}
|
||||
//dump($rs['spec']);die;
|
||||
//获取销售规格,商品规格的具体属性
|
||||
$sales = Db::name('goods_specs')->where('goodsId',$goodsId)->field('id,isDefault,productNo,specIds,marketPrice,specPrice,specStock')->select();
|
||||
if(!empty($sales)){
|
||||
//将规格ID格式如:3:4:5:6:7,设为数组键名,与$rs['spec']['catId']['list']['itemId'] 对应
|
||||
/*实例
|
||||
//$specs转换后$rs['spec']数据
|
||||
[11] => array(2) {//11代表规格分类ID
|
||||
["name"] => string(12) "机身颜色"//规格分类名称
|
||||
["list"] => array(2) {//当前分类11下的数据
|
||||
[0] => array(6) {
|
||||
["isAllowImg"] => int(1)
|
||||
["catName"] => string(12) "机身颜色"
|
||||
["catId"] => int(11)
|
||||
["itemId"] => int(5)//这个即代表数据的ID,3:4:(5):6:7就是对应的这个
|
||||
["itemName"] => string(6) "黄色"
|
||||
["itemImg"] => string(44) "upload/goods/2017-11/5a0a7e2ee935c_thumb.jpg"
|
||||
}
|
||||
[1] => array(6) {
|
||||
["isAllowImg"] => int(1)
|
||||
["catName"] => string(12) "机身颜色"
|
||||
["catId"] => int(11)
|
||||
["itemId"] => int(10)
|
||||
["itemName"] => string(6) "灰色"
|
||||
["itemImg"] => string(44) "upload/goods/2017-11/5a0a7e3970fed_thumb.jpg"
|
||||
}
|
||||
}
|
||||
}
|
||||
//$sales原始数据
|
||||
[0] => array(7) {
|
||||
["id"] => int(3)
|
||||
["isDefault"] => int(1)
|
||||
["productNo"] => string(1) "3"
|
||||
["specIds"] => string(9) "3:4:5:6:7"
|
||||
["marketPrice"] => string(7) "1070.00"
|
||||
["specPrice"] => string(7) "1002.00"
|
||||
["specStock"] => int(0)
|
||||
}
|
||||
//$sales下面转换后数据
|
||||
["3:4:5:6:7"] => array(6) {
|
||||
["id"] => int(3)
|
||||
["isDefault"] => int(1)
|
||||
["productNo"] => string(1) "3"
|
||||
["marketPrice"] => string(7) "1070.00"
|
||||
["specPrice"] => string(7) "1002.00"
|
||||
["specStock"] => int(0)
|
||||
}*/
|
||||
foreach ($sales as $key =>$v){
|
||||
$str = explode(':',$v['specIds']);
|
||||
sort($str);
|
||||
unset($v['specIds']);
|
||||
$rs['saleSpec'][implode(':',$str)] = $v;
|
||||
}
|
||||
}
|
||||
//获取商品属性
|
||||
$rs['attrs'] = Db::name('attributes')->alias('a')->join('goods_attributes ga','a.attrId=ga.attrId','inner')
|
||||
->where(['a.isShow'=>1,'dataFlag'=>1,'goodsId'=>$goodsId])->field('a.attrName,ga.attrVal')
|
||||
->order('attrSort asc')->select();
|
||||
//获取商品评分
|
||||
$rs['scores'] = Db::name('goods_scores')->where('goodsId',$goodsId)->field('totalScore,totalUsers')->find();
|
||||
$rs['scores']['totalScores'] = ($rs['scores']['totalScore']==0)?5:WSTScore($rs['scores']['totalScore'],$rs['scores']['totalUsers'],5,0,3);
|
||||
WSTUnset($rs, 'totalUsers');
|
||||
//关注
|
||||
$f = model('Favorites');
|
||||
$rs['favShop'] = $f->checkFavorite($rs['shopId'],1);
|
||||
$rs['favGood'] = $f->checkFavorite($goodsId,0);
|
||||
}
|
||||
//dump($rs);die;
|
||||
return $rs;
|
||||
}
|
||||
|
||||
|
||||
public function historyQuery(){
|
||||
$ids = cookie("wx_history_goods");
|
||||
if(empty($ids))return [];
|
||||
$where = [];
|
||||
$where['isSale'] = 1;
|
||||
$where['goodsStatus'] = 1;
|
||||
$where['dataFlag'] = 1;
|
||||
$where['goodsId'] = ['in',$ids];
|
||||
$orderBy = "field(`goodsId`,".implode(',',$ids).")";
|
||||
return Db::name('goods')
|
||||
->where($where)->field('goodsId,goodsName,goodsImg,saleNum,shopPrice')
|
||||
->order($orderBy)
|
||||
->paginate((int)input('pagesize'))->toArray();
|
||||
}
|
||||
}
|
27
hyhproject/mobile2/model/GoodsAppraises.php
Executable file
27
hyhproject/mobile2/model/GoodsAppraises.php
Executable file
@ -0,0 +1,27 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\model;
|
||||
use wstmart\common\model\GoodsAppraises as CGoodsAppraises;
|
||||
use think\Db;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 评价类
|
||||
*/
|
||||
class GoodsAppraises extends CGoodsAppraises{
|
||||
/**
|
||||
* 获取评论
|
||||
*/
|
||||
public function getAppr(){
|
||||
$oId = (int)input('oId');
|
||||
$uId = (int)session('WST_USER.userId');
|
||||
$gId = (int)input('gId');
|
||||
$specId = (int)input('sId');
|
||||
$orderGoodsId = (int)input('orderGoodsId');
|
||||
$rs = $this->where(['orderId'=>$oId,'userId'=>$uId,'goodsId'=>$gId,'goodsSpecId'=>$specId,'orderGoodsId'=>$orderGoodsId])->find();
|
||||
if($rs!==false){
|
||||
$rs = !empty($rs)?$rs:['goodsScore'=>'','timeScore'=>'','serviceScore'=>'','content'=>''];
|
||||
return WSTReturn('',1,$rs);
|
||||
}
|
||||
return WSTReturn('获取出错',-1);
|
||||
}
|
||||
|
||||
}
|
75
hyhproject/mobile2/model/GoodsCats.php
Executable file
75
hyhproject/mobile2/model/GoodsCats.php
Executable file
@ -0,0 +1,75 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\model;
|
||||
use think\Cache;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 商品分类类
|
||||
*/
|
||||
class GoodsCats extends Base{
|
||||
/**
|
||||
* 列表
|
||||
*/
|
||||
public function getGoodsCats(){
|
||||
$list = cache('WST_CACHE_GOODS_CAT_MOB');
|
||||
if(!$list){
|
||||
//查询一级分类
|
||||
$trs1s = $this->where(["dataFlag"=>1,"isShow"=>1,"parentId"=>0])->field('catId,parentId,catName')->order('catSort asc')->select();
|
||||
$trs1 = array();
|
||||
$list = array();
|
||||
$rs2 = array();
|
||||
$maprs = array();
|
||||
$ids = array();
|
||||
foreach ($trs1s as $key =>$v){
|
||||
$trs1[$key]['catId'] = $v['catId'];
|
||||
$trs1[$key]['parentId'] = $v['parentId'];
|
||||
$trs1[$key]['catName'] = $v['catName'];
|
||||
$ids[] = $v['catId'];
|
||||
}
|
||||
$ids[] = -1;
|
||||
//查询二级分类
|
||||
$trs2s = $this->where("dataFlag=1 and isShow=1 and parentId in(".implode(',',$ids).")")->field('catId,parentId,catName')->order('catSort asc')->select();
|
||||
$trs2 = array();
|
||||
$ids = array();
|
||||
foreach ($trs2s as $key =>$v){
|
||||
$trs2[$key]['catId'] = $v['catId'];
|
||||
$trs2[$key]['parentId'] = $v['parentId'];
|
||||
$trs2[$key]['catName'] = $v['catName'];
|
||||
}
|
||||
foreach ($trs2 as $v2){
|
||||
$ids[] = $v2['catId'];
|
||||
$maprs[$v2['parentId']][] = $v2;
|
||||
}
|
||||
$ids[] = -1;
|
||||
//查询三级分类
|
||||
$trs3s = $this->where("dataFlag=1 and isShow=1 and parentId in(".implode(',',$ids).")")->field('catId,parentId,catName,catImg')->order('catSort asc')->select();
|
||||
$trs3 = array();
|
||||
$ids = array();
|
||||
foreach ($trs3s as $key =>$v){
|
||||
$trs3[$key]['catId'] = $v['catId'];
|
||||
$trs3[$key]['parentId'] = $v['parentId'];
|
||||
$trs3[$key]['catName'] = $v['catName'];
|
||||
$trs3[$key]['catImg'] = strval($v['catImg']);
|
||||
}
|
||||
foreach ($trs3 as $v2){
|
||||
$maprs[$v2['parentId']][] = $v2;
|
||||
}
|
||||
//倒序建立樹形
|
||||
foreach ($trs2 as $v2){
|
||||
$v2['childList'] = [];
|
||||
if(isset($maprs[$v2['catId']]))$v2['childList'] = $maprs[$v2['catId']];
|
||||
$rs2[] = $v2;
|
||||
}
|
||||
foreach ($trs1 as $v2){
|
||||
foreach ($rs2 as $vv2){
|
||||
if($vv2['parentId']==$v2['catId']){
|
||||
$v2['childList'][] = $vv2;
|
||||
}
|
||||
}
|
||||
$list[] = $v2;
|
||||
}
|
||||
Cache::set('WST_CACHE_GOODS_CAT_MOB',$list);
|
||||
}
|
||||
return $list;
|
||||
}
|
||||
|
||||
}
|
68
hyhproject/mobile2/model/Index.php
Executable file
68
hyhproject/mobile2/model/Index.php
Executable file
@ -0,0 +1,68 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\model;
|
||||
use wstmart\common\model\Tags as T;
|
||||
use think\Db;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 默认类
|
||||
*/
|
||||
class Index extends Base{
|
||||
/**
|
||||
* 楼层
|
||||
*/
|
||||
public function pageQuery(){
|
||||
$limit = (int)input('post.currPage');//楼层页码
|
||||
if($limit>9)return;
|
||||
$cacheData = cache('MO_CATS_ADS'.$limit);
|
||||
if($cacheData)return $cacheData;
|
||||
$rs = Db::name('goods_cats')->where(['dataFlag'=>1,'isShow'=>1,'parentId'=>0,'isFloor'=>1])->field('catId,catName')->order('catSort asc')->limit($limit,1)->select();//按设定排序获取分类名称,异步下拉加载,传输楼层的层楼
|
||||
if($rs){
|
||||
$rs= $rs[0];//用select就选第一个,其实可以改成find
|
||||
$t = new T();
|
||||
$rs['ads'] = $t->listAds('mo-ads-'.$limit,'1');//获取手机版楼层页面的广告图
|
||||
$rs['goods'] = Db::name('goods')->alias('g')->join('__RECOMMENDS__ r','g.goodsId=r.dataId')->join('__GOODS_SCORES__ gs','gs.goodsId=g.goodsId')
|
||||
->where(['r.goodsCatId'=>$rs['catId'],'g.isSale'=>1,'g.dataFlag'=>1,'g.goodsStatus'=>1,'r.dataSrc'=>0,'r.dataType'=>1])
|
||||
->field('g.goodsId,g.goodsName,g.goodsImg,g.shopPrice,g.marketPrice,g.saleNum,gs.totalScore,gs.totalUsers')->order('r.dataSort asc')->limit(8)->select();
|
||||
if(empty($rs['goods'])){
|
||||
$rs['goods'] = Db::name('goods')->alias('g')->join('__GOODS_SCORES__ gs','gs.goodsId=g.goodsId')
|
||||
->where(['g.goodsCatIdPath'=>['like',$rs['catId'].'_%'],'g.isSale'=>1,'g.dataFlag'=>1,'g.goodsStatus'=>1,'g.isHot'=>1])
|
||||
->field('g.goodsId,g.goodsName,g.goodsImg,g.shopPrice,g.marketPrice,g.saleNum,gs.totalScore,gs.totalUsers')
|
||||
->order('saleNum desc,goodsId asc')->limit(8)->select();
|
||||
}
|
||||
if($rs['goods']){
|
||||
foreach ($rs['goods'] as $key =>$v){
|
||||
$rs['goods'][$key]['praiseRate'] = ($v['totalScore']>0)?(sprintf("%.2f",$v['totalScore']/($v['totalUsers']*15))*100).'%':'100%';
|
||||
}
|
||||
}
|
||||
$rs['currPage'] = $limit;
|
||||
}
|
||||
cache('MO_CATS_ADS'.$limit,$rs,86400);
|
||||
return $rs;
|
||||
}
|
||||
|
||||
/**
|
||||
* 获取系统消息
|
||||
*/
|
||||
function getSysMsg($msg='',$order='',$follow='',$history=''){
|
||||
$data = [];
|
||||
$userId = (int)session('WST_USER.userId');
|
||||
if($msg!=''){
|
||||
$data['message']['num'] = Db::name('messages')->where(['receiveUserId'=>$userId,'msgStatus'=>0,'dataFlag'=>1])->count();
|
||||
}
|
||||
if($order!=''){
|
||||
$data['order']['waitPay'] = Db::name('orders')->where(['userId'=>$userId,'orderStatus'=>-2,'dataFlag'=>1])->count();
|
||||
$data['order']['waitSend'] = Db::name('orders')->where(['userId'=>$userId,'orderStatus'=>0,'dataFlag'=>1])->count();
|
||||
$data['order']['waitReceive'] = Db::name('orders')->where(['userId'=>$userId,'orderStatus'=>1,'dataFlag'=>1])->count();
|
||||
$data['order']['waitAppraise'] = Db::name('orders')->where(['userId'=>$userId,'orderStatus'=>2,'isAppraise'=>0,'dataFlag'=>1])->count();
|
||||
}
|
||||
if($follow!=''){
|
||||
$data['follow']['goods'] = Db::name('favorites')->where(['userId'=>$userId,'favoriteType'=>0])->count();
|
||||
$data['follow']['shops'] = Db::name('favorites')->where(['userId'=>$userId,'favoriteType'=>1])->count();
|
||||
}
|
||||
if($history!=''){
|
||||
$history = cookie("wx_history_goods");
|
||||
$data['history']['num'] = count($history);
|
||||
}
|
||||
return $data;
|
||||
}
|
||||
}
|
11
hyhproject/mobile2/model/Orders.php
Executable file
11
hyhproject/mobile2/model/Orders.php
Executable file
@ -0,0 +1,11 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\model;
|
||||
use wstmart\common\model\Orders as COrders;
|
||||
use think\Db;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 订单类
|
||||
*/
|
||||
class Orders extends COrders{
|
||||
|
||||
}
|
9
hyhproject/mobile2/model/Payments.php
Executable file
9
hyhproject/mobile2/model/Payments.php
Executable file
@ -0,0 +1,9 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\model;
|
||||
use wstmart\common\model\Payments as CPayments;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 支付管理业务处理
|
||||
*/
|
||||
class Payments extends CPayments{
|
||||
}
|
134
hyhproject/mobile2/model/Shops.php
Executable file
134
hyhproject/mobile2/model/Shops.php
Executable file
@ -0,0 +1,134 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\model;
|
||||
use wstmart\common\model\Shops as CShops;
|
||||
use think\Db;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 门店类
|
||||
*/
|
||||
class Shops extends CShops{
|
||||
/**
|
||||
* 店铺街列表
|
||||
*/
|
||||
public function pageQuery($pagesize){
|
||||
$catId = (int)input("id");
|
||||
$keyword = input("keyword");
|
||||
$condition = input("condition");
|
||||
$desc = input("desc");
|
||||
$datas = array('sort'=>array('1'=>'ss.totalScore/ss.totalUsers'),'desc'=>array('desc','asc'));
|
||||
$rs = $this->alias('s');
|
||||
$where = [];
|
||||
$where['s.dataFlag'] = 1;
|
||||
$where['s.shopStatus'] = 1;
|
||||
$where['s.applyStatus'] = 2;
|
||||
if($keyword!='')$where['s.shopName'] = ['like','%'.$keyword.'%'];
|
||||
if($catId>0){
|
||||
$rs->join('__CAT_SHOPS__ cs','cs.shopId = s.shopId','left');
|
||||
$where['cs.catId'] = $catId;
|
||||
}
|
||||
$order = ['s.shopId'=>'asc'];
|
||||
if($condition>0){
|
||||
$order = [$datas['sort'][$condition]=>$datas['desc'][$desc]];
|
||||
}
|
||||
$page = $rs->join('__SHOP_SCORES__ ss','ss.shopId = s.shopId','left')
|
||||
->where($where)->order($order)
|
||||
->field('s.shopId,s.shopImg,s.shopName,s.shopCompany,ss.totalScore,ss.totalUsers,ss.goodsScore,ss.goodsUsers,ss.serviceScore,ss.serviceUsers,ss.timeScore,ss.timeUsers,s.areaIdPath')
|
||||
->paginate($pagesize)->toArray();
|
||||
foreach ($page['Rows'] as $key =>$v){
|
||||
//商品列表
|
||||
$goods = db('goods')->where(['dataFlag'=> 1,'isSale'=>1,'goodsStatus'=> 1,'shopId'=> $v["shopId"]])->field('goodsId,goodsName,shopPrice,goodsImg')
|
||||
->order('saleTime desc')->limit(4)->select();
|
||||
$page['Rows'][$key]['goods'] = $goods;
|
||||
}
|
||||
if(empty($page['Rows']))return $page;
|
||||
$shopIds = [];
|
||||
$areaIds = [];
|
||||
foreach ($page['Rows'] as $key =>$v){
|
||||
$shopIds[] = $v['shopId'];
|
||||
$tmp = explode('_',$v['areaIdPath']);
|
||||
$areaIds[] = $tmp[1];
|
||||
$page['Rows'][$key]['areaId'] = $tmp[1];
|
||||
//总评分
|
||||
$page['Rows'][$key]['totalScore'] = WSTScore($v["totalScore"]/3, $v["totalUsers"]);
|
||||
$page['Rows'][$key]['goodsScore'] = WSTScore($v['goodsScore'],$v['goodsUsers']);
|
||||
$page['Rows'][$key]['serviceScore'] = WSTScore($v['serviceScore'],$v['serviceUsers']);
|
||||
$page['Rows'][$key]['timeScore'] = WSTScore($v['timeScore'],$v['timeUsers']);
|
||||
}
|
||||
$rccredMap = [];
|
||||
$goodsCatMap = [];
|
||||
$areaMap = [];
|
||||
//认证、地址、分类
|
||||
if(!empty($shopIds)){
|
||||
$rccreds = Db::name('shop_accreds')->alias('sac')->join('__ACCREDS__ a','a.accredId=sac.accredId and a.dataFlag=1','left')
|
||||
->where('shopId','in',$shopIds)->field('sac.shopId,accredName,accredImg')->select();
|
||||
foreach ($rccreds as $v){
|
||||
$rccredMap[$v['shopId']][] = $v;
|
||||
}
|
||||
$goodsCats = Db::name('cat_shops')->alias('cs')->join('__GOODS_CATS__ gc','cs.catId=gc.catId and gc.dataFlag=1','left')
|
||||
->where('shopId','in',$shopIds)->field('cs.shopId,gc.catName')->select();
|
||||
foreach ($goodsCats as $v){
|
||||
$goodsCatMap[$v['shopId']][] = $v['catName'];
|
||||
}
|
||||
$areas = Db::name('areas')->alias('a')->join('__AREAS__ a1','a1.areaId=a.parentId','left')
|
||||
->where('a.areaId','in',$areaIds)->field('a.areaId,a.areaName areaName2,a1.areaName areaName1')->select();
|
||||
foreach ($areas as $v){
|
||||
$areaMap[$v['areaId']] = $v;
|
||||
}
|
||||
}
|
||||
foreach ($page['Rows'] as $key =>$v){
|
||||
$page['Rows'][$key]['accreds'] = (isset($rccredMap[$v['shopId']]))?$rccredMap[$v['shopId']]:[];
|
||||
$page['Rows'][$key]['catshops'] = (isset($goodsCatMap[$v['shopId']]))?implode(',',$goodsCatMap[$v['shopId']]):'';
|
||||
$page['Rows'][$key]['areas']['areaName1'] = (isset($areaMap[$v['areaId']]['areaName1']))?$areaMap[$v['areaId']]['areaName1']:'';
|
||||
$page['Rows'][$key]['areas']['areaName2'] = (isset($areaMap[$v['areaId']]['areaName2']))?$areaMap[$v['areaId']]['areaName2']:'';
|
||||
}
|
||||
return $page;
|
||||
}
|
||||
/**
|
||||
* 获取卖家中心信息
|
||||
*/
|
||||
public function getShopSummary(){
|
||||
$shopId = (int)input('shopId',1);
|
||||
$shop = $this->alias('s')->join('__SHOP_SCORES__ cs','cs.shopId = s.shopId','left')->join('__SHOP_CONFIGS__ sc','sc.shopId = s.shopId','left')
|
||||
->where(['s.shopId'=>$shopId,'dataFlag'=>1])
|
||||
->field('s.shopId,shopImg,shopName,shopkeeper,shopAddress,shopQQ,shopTel,serviceStartTime,serviceEndTime,isInvoice,invoiceRemarks,cs.*,sc.shopBanner')
|
||||
->find();
|
||||
//评分
|
||||
$scores['totalScore'] = WSTScore($shop['totalScore'],$shop['totalUsers']);
|
||||
$scores['goodsScore'] = WSTScore($shop['goodsScore'],$shop['goodsUsers']);
|
||||
$scores['serviceScore'] = WSTScore($shop['serviceScore'],$shop['serviceUsers']);
|
||||
$scores['timeScore'] = WSTScore($shop['timeScore'],$shop['timeUsers']);
|
||||
WSTUnset($shop, 'totalUsers,goodsUsers,serviceUsers,timeUsers');
|
||||
$shop['scores'] = $scores;
|
||||
//认证
|
||||
$accreds = $this->shopAccreds($shopId);
|
||||
$shop['accreds'] = $accreds;
|
||||
return ['shop'=>$shop];
|
||||
}
|
||||
/**
|
||||
* 自营店铺楼层
|
||||
*/
|
||||
public function getFloorData(){
|
||||
$limit = (int)input('post.currPage');
|
||||
$cacheData = cache('WX_SHOP_FLOOR'.$limit);
|
||||
if($cacheData)return $cacheData;
|
||||
$rs = Db::name('shop_cats')->where(['dataFlag'=>1,'isShow'=>1,'parentId'=>0,'shopId'=>1])->field('catId,catName')->order('catSort asc')->limit($limit,1)->select();
|
||||
if($rs){
|
||||
$rs= $rs[0];
|
||||
$goods = Db::name('goods')->where('shopCatId1','=',$rs['catId'])->where(['dataFlag'=>1,'goodsStatus'=>1])->field('goodsId,goodsName,goodsImg,shopPrice,saleNum')->order('isHot desc')->limit(4)->select();
|
||||
$rs['goods'] = $goods;
|
||||
$rs['currPage'] = $limit;
|
||||
}
|
||||
cache('WX_SHOP_FLOOR'.$limit,$rs,86400);
|
||||
return $rs;
|
||||
}
|
||||
/**
|
||||
* 根据订单id 获取店铺名称
|
||||
*/
|
||||
public function getShopName($oId){
|
||||
return $this->alias('s')
|
||||
->join('__ORDERS__ o',"s.shopId=o.shopId",'inner')
|
||||
->where("o.orderId=$oId")
|
||||
->value('s.shopName');
|
||||
|
||||
}
|
||||
}
|
28
hyhproject/mobile2/model/Users.php
Executable file
28
hyhproject/mobile2/model/Users.php
Executable file
@ -0,0 +1,28 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\model;
|
||||
use wstmart\common\model\Users as CUsers;
|
||||
use Think\Db;
|
||||
/**
|
||||
* ============================================================================
|
||||
* 用户类
|
||||
*/
|
||||
class Users extends CUsers{
|
||||
/**
|
||||
* 验证用户支付密码
|
||||
*/
|
||||
function checkPayPwd(){
|
||||
$payPwd = input('payPwd');
|
||||
$decrypt_data = WSTRSA($payPwd);
|
||||
if($decrypt_data['status']==1){
|
||||
$payPwd = $decrypt_data['data'];
|
||||
}else{
|
||||
return WSTReturn('验证失败');
|
||||
}
|
||||
$userId = (int)session('WST_USER.userId');
|
||||
$rs = $this->field('payPwd,loginSecret')->find($userId);
|
||||
if($rs['payPwd']==md5($payPwd.$rs['loginSecret'])){
|
||||
return WSTReturn('',1);
|
||||
}
|
||||
return WSTReturn('支付密码错误',-1);
|
||||
}
|
||||
}
|
24
hyhproject/mobile2/validate/UserAddress.php
Executable file
24
hyhproject/mobile2/validate/UserAddress.php
Executable file
@ -0,0 +1,24 @@
|
||||
<?php
|
||||
namespace wstmart\mobile\validate;
|
||||
use think\Validate;
|
||||
/**
|
||||
* ============================================================================
|
||||
* WSTMart开源商城
|
||||
* 官网地址:http://www.wstmall.com
|
||||
* 联系QQ:707563272
|
||||
* ============================================================================
|
||||
* 用户地址验证器
|
||||
*/
|
||||
class UserAddress extends Validate{
|
||||
protected $rule = [
|
||||
['userName' ,'require','请输入联系名称'],
|
||||
['userPhone' ,'require','请输入手机号码'],
|
||||
['areaId' ,'require','请选择完整地址'],
|
||||
['userAddress' ,'require','请输入详细地址']
|
||||
];
|
||||
|
||||
protected $scene = [
|
||||
'add' => ['userName','userPhone','areaId','userAddress'],
|
||||
'edit' => ['userName','userPhone','areaId','userAddress']
|
||||
];
|
||||
}
|
168
hyhproject/mobile2/view/default/articles/news_list.html
Executable file
168
hyhproject/mobile2/view/default/articles/news_list.html
Executable file
@ -0,0 +1,168 @@
|
||||
{extend name="default/base" /}
|
||||
{block name="title"}商城快讯 - {__block__}{/block}
|
||||
{block name="css"}
|
||||
<link rel="stylesheet" href="__ROOT__/hyhproject/mobile/view/default/css/articles.css?v={$v}">
|
||||
{/block}
|
||||
{block name="header"}
|
||||
<div id="info_list" style="margin-top: 50px;">
|
||||
<header style="background:#ffffff;" class="ui-header ui-header-positive ui-border-b wst-header">
|
||||
<i class="ui-icon-return" onclick="history.back()"></i><h1>商城快讯</h1>
|
||||
</header>
|
||||
{/block}
|
||||
{block name="main"}
|
||||
<input type="hidden" name="" value="" id="currPage" autocomplete="off">
|
||||
<input type="hidden" name="" value="" id="totalPage" autocomplete="off">
|
||||
<input type="hidden" name="" value="{$catId}" id="catId" autocomplete="off">
|
||||
|
||||
<section class="ui-container" id="shopBox">
|
||||
<div class="ui-tab">
|
||||
<ul class="ui-tab-nav order-tab">
|
||||
{volist name="catInfo" id="vo"}
|
||||
<li class="tab-item {if $catId==$vo.catId}tab-curr{/if}" catId="{$vo['catId']}">{$vo['catName']}</li>
|
||||
{/volist}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<section id="newsListBox" >
|
||||
|
||||
</section>
|
||||
|
||||
<div style="height:50px;"></div>
|
||||
</section>
|
||||
<script id="newsList" type="text/html">
|
||||
{{# for(var i=0;i<d.length;i++){ }}
|
||||
{{# if(d[i].TypeStatus==1){ }}
|
||||
<div class="news-item wst-model" onclick="viewNews({{d[i].articleId}})" >
|
||||
<div class="ui-row-flex">
|
||||
<div class="ui-col">
|
||||
<div class="img j-imgAdapt wst-bor-mix-img" >
|
||||
<a href="javascript:void(0);" >
|
||||
{{# if(d[i].coverImg) { }}
|
||||
<img src="__IMGURL__/{:WSTConf('CONF.goodsLogo')}" data-echo="__IMGURL__/{{d[i].coverImg}}">
|
||||
{{# } else { }}
|
||||
<img src="__IMGURL__/{:WSTConf('CONF.goodsLogo')}" >
|
||||
{{# } }}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ui-col ui-col-3" >
|
||||
<div class="ui-row-flex ui-row-flex-ver wst-info" >
|
||||
<div class="ui-nowrap-multi" style="-webkit-line-clamp: 1;">{{d[i].articleTitle}}</div>
|
||||
<div class="ui-nowrap-multi wst-mix-cont" style="-webkit-line-clamp: 3;">{{d[i].articleContent}}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ui-row-flex ui-whitespace wst-model wst-mix-info ">
|
||||
<div class="ui-col ui-col ui-flex-pack-center ui-flex-align-start">• 已有{{d[i].visitorNum}}人浏览</div>
|
||||
<div class="ui-col ui-col ui-flex-pack-center ui-flex-align-end wst-right-align">• {{d[i].createTime}}</div>
|
||||
</div>
|
||||
</div>
|
||||
{{# } }}
|
||||
{{# if(d[i].TypeStatus==2){ }}
|
||||
<div class="news-item wst-model" onclick="viewNews({{d[i].articleId}})">
|
||||
<div class="ui-row-flex">
|
||||
<div class="ui-col ui-col-3">
|
||||
<div class="ui-row-flex ui-row-flex-ver wst-info" >
|
||||
<div class="ui-nowrap-multi" style="-webkit-line-clamp: 1;">{{d[i].articleTitle}}{{d[i].TypeStatus}}</div>
|
||||
<div class="ui-nowrap-multi wst-mix-cont" style="-webkit-line-clamp: 3;">{{d[i].articleContent}}</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ui-col">
|
||||
<div class="img j-imgAdapt wst-bor-mix-img">
|
||||
<a href="javascript:void(0);" >
|
||||
{{# if(d[i].coverImg) { }}
|
||||
<img src="__IMGURL__/{:WSTConf('CONF.goodsLogo')}" data-echo="__ROOT__/{{d[i].coverImg}}">
|
||||
{{# } else { }}
|
||||
<img src="__IMGURL__/{:WSTConf('CONF.goodsLogo')}" >
|
||||
{{# } }}
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="ui-row-flex ui-whitespace wst-model wst-mix-info ">
|
||||
<div class="ui-col ui-col ui-flex-pack-center ui-flex-align-start">• 已有{{d[i].visitorNum}}人浏览</div>
|
||||
<div class="ui-col ui-col ui-flex-pack-center ui-flex-align-end wst-right-align">• {{d[i].createTime}}</div>
|
||||
</div>
|
||||
</div>
|
||||
{{# } }}
|
||||
{{# if(d[i].TypeStatus==3){ }}
|
||||
<div class="ui-row-flex ui-whitespace ui-row-flex-ver wst-model" style="height:auto;overflow:hidden;" onclick="viewNews({{d[i].articleId}})">
|
||||
<div class="wst-max-info">
|
||||
<div class="ui-nowrap-multi" style="-webkit-line-clamp: 1;" >{{d[i].articleTitle}}</div>
|
||||
</div>
|
||||
<div class="wst-max-info">
|
||||
<div class="ui-nowrap-multi wst-mix-cont" style="-webkit-line-clamp: 1;padding-top: 0px;" >{{d[i].articleContent}}</div>
|
||||
</div>
|
||||
<div class="max-img">
|
||||
<a href="javascript:void(0);">
|
||||
{{# if(d[i].coverImg) { }}
|
||||
<img src="__IMGURL__/{:WSTConf('CONF.goodsLogo')}" data-echo="__IMGURL__/{{d[i].coverImg}}">
|
||||
{{# } else { }}
|
||||
<img src="__IMGURL__/{:WSTConf('CONF.goodsLogo')}" >
|
||||
{{# } }}
|
||||
</a>
|
||||
</div>
|
||||
<div class="max-remind wst-mix-info ui-row">
|
||||
<div class="ui-col ui-col-50 ui-flex ui-flex-ver ui-flex-pack-center ui-flex-align-start">• 已有{{d[i].visitorNum}}人浏览</div>
|
||||
<div class="ui-col ui-col-50 ui-flex ui-flex-ver ui-flex-pack-center ui-flex-align-end">• {{d[i].createTime}}</div>
|
||||
</div>
|
||||
</div>
|
||||
{{# } }}
|
||||
|
||||
{{# } }}
|
||||
</script>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
{/* 遮盖层 */}
|
||||
<div class="wst-cover" id="cover"></div>
|
||||
{/* 分类层 */}
|
||||
<div class="wst-fr-box" id="frame">
|
||||
<div class="title"><span>商城快讯</span><i class="ui-icon-close-page" onclick="javascript:dataHide();"></i><div class="wst-clear"></div></div>
|
||||
<div class="content" id="content">
|
||||
|
||||
|
||||
<div class="ui-whitespace news-content-box">
|
||||
<div class="ui-nowrap ui-whitespace news-title" id="articleTitle"></div>
|
||||
<div class="ui-whitespace news-time" id="createTime"></div>
|
||||
<div class="ui-whitespace view-content" id="articleContent">
|
||||
|
||||
</div>
|
||||
</div>
|
||||
<div class="wst-like ui-whitespace ui-flex ui-flex-pack-center" id="like1" onclick="javascript:like();">
|
||||
<input type="hidden" name="" id="articleId" value="" >
|
||||
<span class="icon-like1"><p class="like_num" id="likeNum"></p></span>
|
||||
</div>
|
||||
<div class="wst-like ui-whitespace ui-flex ui-flex-pack-center" id="like" >
|
||||
<input type="hidden" name="" id="articleId" value="" >
|
||||
<span class="icon-like2"><p class="like_num" id="likeNum2"></p></span>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{/block}
|
||||
{block name="include"}
|
||||
{include file="default/dialog" /}<!-- 对话框模板 -->
|
||||
{/block}
|
||||
{block name="js"}
|
||||
<script>
|
||||
$(function(){
|
||||
// Tab切换卡
|
||||
$('.tab-item').click(function(){
|
||||
$(this).addClass('tab-curr').siblings().removeClass('tab-curr');
|
||||
var catId = $(this).attr('catId');
|
||||
$('#catId').val(catId);
|
||||
reFlashList();
|
||||
});
|
||||
{{if !empty($articleId) }}
|
||||
viewNews({$articleId})
|
||||
{{/if}}
|
||||
})
|
||||
</script>
|
||||
<script type='text/javascript' src='__MOBILE__/js/jquery.min.js'></script>
|
||||
<script type='text/javascript' src='__MOBILE__/articles/news_list.js?v={$v}'></script>
|
||||
{/block}
|
116
hyhproject/mobile2/view/default/articles/news_list.js
Executable file
116
hyhproject/mobile2/view/default/articles/news_list.js
Executable file
@ -0,0 +1,116 @@
|
||||
// 获取商城快讯
|
||||
function getNewList($catId = ''){
|
||||
$('#Load').show();
|
||||
loading = true;
|
||||
var param = {};
|
||||
param.pagesize = 10;
|
||||
param.page = Number( $('#currPage').val() ) + 1;
|
||||
param.catId = $('#catId').val();
|
||||
$.post(WST.U('mobile/news/getNewsList'), param, function(data){
|
||||
var json = WST.toJson(data);
|
||||
var html = '';
|
||||
if(json && json.Rows && json.Rows.length>0){
|
||||
var gettpl = document.getElementById('newsList').innerHTML;
|
||||
laytpl(gettpl).render(json.Rows, function(html){
|
||||
$('#newsListBox').append(html);
|
||||
});
|
||||
$('#currPage').val(data.CurrentPage);
|
||||
$('#totalPage').val(data.TotalPage);
|
||||
}else{
|
||||
html += '<ul class="ui-row-flex wst-flexslp ui-flex-align-center" style="margin-top:150px;">';
|
||||
html += '<li class="ui-col ui-flex ui-flex-pack-center">';
|
||||
html += '<p>暂无商城快讯</p>';
|
||||
html += '</li>';
|
||||
html += '</ul>';
|
||||
$('#newsListBox').html(html);
|
||||
}
|
||||
WST.imgAdapt('j-imgAdapt');
|
||||
loading = false;
|
||||
$('#Load').hide();
|
||||
echo.init();//图片懒加载
|
||||
});
|
||||
}
|
||||
var currPage = totalPage = 0;
|
||||
var loading = false;
|
||||
$(document).ready(function(){
|
||||
WST.initFooter();
|
||||
getNewList();
|
||||
|
||||
|
||||
|
||||
var dataHeight = $("#frame").css('height');
|
||||
$("#frame").css('top',0);
|
||||
var dataWidth = $("#frame").css('width');
|
||||
$("#frame").css('right','-'+dataWidth);
|
||||
|
||||
|
||||
$(window).scroll(function(){
|
||||
if (loading) return;
|
||||
if ((5 + $(window).scrollTop()) >= ($(document).height() - screen.height)) {
|
||||
currPage = Number( $('#currPage').val() );
|
||||
totalPage = Number( $('#totalPage').val() );
|
||||
if( totalPage > 0 && currPage < totalPage ){
|
||||
getNewList();
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
// 刷新列表页
|
||||
function reFlashList(){
|
||||
$('#currPage').val('0');
|
||||
$('#newsListBox').html(' ');
|
||||
getNewList();
|
||||
}
|
||||
|
||||
//弹框
|
||||
function dataShow(){
|
||||
jQuery('#cover').attr("onclick","javascript:dataHide();").show();
|
||||
jQuery('#frame').animate({"right": 0}, 500);
|
||||
}
|
||||
function dataHide(){
|
||||
var dataHeight = $("#frame").css('height');
|
||||
var dataWidth = $("#frame").css('width');
|
||||
jQuery('#frame').animate({'right': '-'+dataWidth}, 500);
|
||||
jQuery('#cover').hide();
|
||||
}
|
||||
|
||||
function viewNews(id){
|
||||
$.post(WST.U('mobile/news/getNews'),{id:id},function(data){
|
||||
var json = WST.toJson(data);
|
||||
$('#createTime').html(json.createTime);
|
||||
$('#articleTitle').html(json.articleTitle);
|
||||
$('#articleContent').html(json.articleContent);
|
||||
$('#likeNum').html(json.likeNum);
|
||||
$('#articleId').val(json.articleId);
|
||||
// 计算弹出层是否需要滚动条
|
||||
var sHeight = WST.pageHeight();
|
||||
var tHeight = $('#articleTitle').height();
|
||||
var cHeight = $('#articleContent').height();
|
||||
$('#content').css('height',sHeight-tHeight+'px');
|
||||
if(json.likeState == 1){
|
||||
$('#like1').hide();
|
||||
$('#like').show();
|
||||
$('#likeNum2').html(json.likeNum);
|
||||
$(".icon-like1").removeClass('icon-like1').addClass('icon-like2');
|
||||
}else{
|
||||
$('#like').hide();
|
||||
$('#like1').show();
|
||||
$(".icon-like2").removeClass('icon-like2').addClass('icon-like1');
|
||||
}
|
||||
dataShow();
|
||||
})
|
||||
}
|
||||
function like(){
|
||||
var articleId = $('#articleId').val();
|
||||
$.post(WST.U('mobile/News/like'),{id:articleId},function(data){
|
||||
var json = WST.toJson(data);
|
||||
if(json.status==1){
|
||||
$(".icon-like1").removeClass('icon-like1').addClass('icon-like2');
|
||||
$num = parseInt($('#likeNum').html());
|
||||
$num = $num+1;
|
||||
$('#like1').hide();
|
||||
$('#like').show();
|
||||
$('#likeNum2').html($num);
|
||||
}
|
||||
})
|
||||
}
|
28
hyhproject/mobile2/view/default/base.html
Executable file
28
hyhproject/mobile2/view/default/base.html
Executable file
@ -0,0 +1,28 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<meta name="format-detection" content="telephone=no">
|
||||
<title>{block name="title"}{:WSTConf('CONF.mallName')}{/block}</title>
|
||||
<link rel="stylesheet" href="__MOBILE__/frozenui/css/frozen.css">
|
||||
<link rel="stylesheet" href="__MOBILE__/css/common.css?v={$v}">
|
||||
{block name="css"}{/block}
|
||||
<script type='text/javascript' src='__MOBILE__/frozenui/js/zepto.min.js'></script>
|
||||
<script type='text/javascript' src='__MOBILE__/frozenui/js/frozen.js'></script>
|
||||
<script type='text/javascript' src='__MOBILE__/js/laytpl/laytpl.js?v={$v}'></script>
|
||||
<script src="__MOBILE__/js/echo.min.js"></script>
|
||||
<script type='text/javascript' src='__MOBILE__/js/common.js?r='+ Math.random()></script>
|
||||
<script>
|
||||
window.conf = {"ROOT":"__ROOT__","IMGURL":"__IMGURL__","MOBILE":"__MOBILE__","APP":"__APP__","STATIC":"__STATIC__","SUFFIX":"{:config('url_html_suffix')}","SMS_VERFY":"{:WSTConf('CONF.smsVerfy')}","SMS_OPEN":"{:WSTConf('CONF.smsOpen')}","MALL_LOGO":"{:WSTConf('CONF.mallLogo')}","GOODS_LOGO":"{:WSTConf('CONF.goodsLogo')}","SHOP_LOGO":"{:WSTConf('CONF.shopLogo')}","USER_LOGO":"{:WSTConf('CONF.userLogo')}","IS_LOGIN":"{if (int)session('WST_USER.userId')>0 }1{else}0{/if}","ROUTES":'{:WSTRoute()}',"IS_CRYPTPWD":"{:WSTConf('CONF.isCryptPwd')}"}
|
||||
</script>
|
||||
</head>
|
||||
<body ontouchstart="">
|
||||
{block name="header"}{/block}
|
||||
{block name="footer"}
|
||||
{include file="default/footer" /}
|
||||
{/block}
|
||||
{block name="main"}主内容{/block}
|
||||
{block name="include"}{/block}
|
||||
{block name="js"}{/block}
|
||||
</body>
|
||||
</html>
|
243
hyhproject/mobile2/view/default/bash.html
Executable file
243
hyhproject/mobile2/view/default/bash.html
Executable file
@ -0,0 +1,243 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title></title>
|
||||
<script src="__MOBILE__/js/common_xs.js" type="text/javascript" charset="utf-8"></script>
|
||||
<link rel="stylesheet" type="text/css" href="__MOBILE__/css/global-lxy.css" />
|
||||
<link rel="stylesheet" type="text/css" href="__MOBILE__/css/bash.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="banner">
|
||||
<img src="__MOBILE__/img/ac3_header_bg.png" />
|
||||
</div>
|
||||
|
||||
<div class="bash_yhj clearfix">
|
||||
<div class="bash_yhj_a">
|
||||
<img src="__MOBILE__/img/ac3_yhq.png" />
|
||||
</div>
|
||||
<div class="bash_yhj_a">
|
||||
<img src="__MOBILE__/img/ac3_yhq.png" />
|
||||
</div>
|
||||
<div class="bash_yhj_a">
|
||||
<img src="__MOBILE__/img/ac3_yhq.png" />
|
||||
</div>
|
||||
<div class="bash_yhj_a">
|
||||
<img src="__MOBILE__/img/ac3_yhq.png" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="shopping">
|
||||
<img src="__MOBILE__/img/ac3_title.png" />
|
||||
</div>
|
||||
|
||||
<div class="choujiang">
|
||||
<img src="__MOBILE__/img/shan.png" class="cj_shan on" />
|
||||
<div class="cj_con clearfix" id="box">
|
||||
<div class="content content-1">
|
||||
<img src="__MOBILE__/img/ac3_bg1.png" />
|
||||
<div class="content_con">
|
||||
<img src="__MOBILE__/img/shangpin1.png" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="content content-2">
|
||||
<img src="__MOBILE__/img/ac3_bg1.png" />
|
||||
<div class="content_con">
|
||||
<img src="__MOBILE__/img/shangpin1.png" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="content content-3">
|
||||
<img src="__MOBILE__/img/ac3_bg1.png" />
|
||||
<div class="content_con">
|
||||
<img src="__MOBILE__/img/shangpin1.png" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="content content-8">
|
||||
<img src="__MOBILE__/img/ac3_bg1.png" />
|
||||
<div class="content_con">
|
||||
<img src="__MOBILE__/img/shangpin1.png" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="content content-click">
|
||||
<div id="text">
|
||||
<img src="__MOBILE__/img/ac3_button1.png" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="content content-4">
|
||||
<img src="__MOBILE__/img/ac3_bg1.png" />
|
||||
<div class="content_con">
|
||||
<img src="__MOBILE__/img/shangpin1.png" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="content content-7">
|
||||
<img src="__MOBILE__/img/ac3_bg1.png" />
|
||||
<div class="content_con">
|
||||
<img src="__MOBILE__/img/shangpin1.png" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="content content-6">
|
||||
<img src="__MOBILE__/img/ac3_bg1.png" />
|
||||
<div class="content_con">
|
||||
<img src="__MOBILE__/img/shangpin1.png" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="content content-5">
|
||||
<img src="__MOBILE__/img/ac3_bg1.png" />
|
||||
<div class="content_con">
|
||||
<img src="__MOBILE__/img/shangpin1.png" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="num">您 今 天 还 剩 <span class="number">3</span> 次 抽 奖 机 会</div>
|
||||
</div>
|
||||
|
||||
<div class="baqi">
|
||||
<img src="__MOBILE__/img/ac3_title1.png" />
|
||||
</div>
|
||||
|
||||
<div class="baqi_man">
|
||||
<div class="man_sp clearfix">
|
||||
<div class="man_cp">
|
||||
<p class="p1">外套专区</p>
|
||||
<p class="p2">买就减10元</p>
|
||||
<p class="p2">外套专区</p>
|
||||
<div class="go">GO</div>
|
||||
</div>
|
||||
<div class="man_cp">
|
||||
<p class="p1">外套专区</p>
|
||||
<p class="p2">买就减10元</p>
|
||||
<p class="p2">外套专区</p>
|
||||
<div class="go">GO</div>
|
||||
</div>
|
||||
<div class="man_cp">
|
||||
<p class="p1">外套专区</p>
|
||||
<p class="p2">买就减10元</p>
|
||||
<p class="p2">外套专区</p>
|
||||
<div class="go">GO</div>
|
||||
</div>
|
||||
<div class="man_cp">
|
||||
<p class="p1">外套专区</p>
|
||||
<p class="p2">买就减10元</p>
|
||||
<p class="p2">外套专区</p>
|
||||
<div class="go">GO</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="man_tejia">
|
||||
<p class="p1">外套专区</p>
|
||||
<p class="p2">买就减10元</p>
|
||||
<p class="p2">外套专区</p>
|
||||
<div class="go">GO</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="liaomei">
|
||||
<img src="__MOBILE__/img/ac3_title2.png"/>
|
||||
</div>
|
||||
|
||||
<div class="liao_gl">
|
||||
<div class="gl_cp clearfix">
|
||||
<div class="gl_sp">
|
||||
<img src="__MOBILE__/img/gua.jpg"/>
|
||||
<p class="p1">夏季男神</p>
|
||||
<p class="p2">¥258</p>
|
||||
</div>
|
||||
<div class="gl_sp">
|
||||
<img src="__MOBILE__/img/gua.jpg"/>
|
||||
<p class="p1">夏季男神</p>
|
||||
<p class="p2">¥258</p>
|
||||
</div>
|
||||
<div class="gl_sp">
|
||||
<img src="__MOBILE__/img/gua.jpg"/>
|
||||
<p class="p1">夏季男神</p>
|
||||
<p class="p2">¥258</p>
|
||||
</div>
|
||||
<div class="gl_sp">
|
||||
<img src="__MOBILE__/img/gua.jpg"/>
|
||||
<p class="p1">夏季男神</p>
|
||||
<p class="p2">¥258</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="liaomei">
|
||||
<img src="__MOBILE__/img/ac3_title3.png"/>
|
||||
</div>
|
||||
|
||||
<div class="liao_gl">
|
||||
<div class="gl_cp clearfix">
|
||||
<div class="gl_sp">
|
||||
<img src="__MOBILE__/img/gua.jpg"/>
|
||||
<p class="p1">夏季男神</p>
|
||||
<p class="p2">¥258</p>
|
||||
</div>
|
||||
<div class="gl_sp">
|
||||
<img src="__MOBILE__/img/gua.jpg"/>
|
||||
<p class="p1">夏季男神</p>
|
||||
<p class="p2">¥258</p>
|
||||
</div>
|
||||
<div class="gl_sp">
|
||||
<img src="__MOBILE__/img/gua.jpg"/>
|
||||
<p class="p1">夏季男神</p>
|
||||
<p class="p2">¥258</p>
|
||||
</div>
|
||||
<div class="gl_sp">
|
||||
<img src="__MOBILE__/img/gua.jpg"/>
|
||||
<p class="p1">夏季男神</p>
|
||||
<p class="p2">¥258</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
<script src="__MOBILE__/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
|
||||
<script type="text/javascript">
|
||||
$('.content').height($('.content').width() * 123 / 165 + 'px')
|
||||
$(window).resize(function() {
|
||||
$('.content').height($('.content').width() + 'px')
|
||||
})
|
||||
|
||||
function time(a) {
|
||||
return function() {
|
||||
if(a > 8) {
|
||||
a = parseInt(a % 8)
|
||||
if(a == 0) {
|
||||
a = 8
|
||||
}
|
||||
}
|
||||
$('.content').removeClass('active');
|
||||
$('.content-' + a).addClass('active');
|
||||
$('.zz_img').toggleClass('on');
|
||||
}
|
||||
}
|
||||
// 在旋转的时候不能再次被点击
|
||||
var t = true
|
||||
$('.content-click').click(function() {
|
||||
if(t) {
|
||||
t = false;
|
||||
// 产生随机数
|
||||
var prize = Math.ceil(Math.random() * ($('.content').length - 1));
|
||||
// 控制概率,永远不是8
|
||||
if(prize == 8) {
|
||||
prize = Math.ceil(Math.random() * ($('.content').length - 2));
|
||||
}
|
||||
if($('.number').html() > 0) {
|
||||
$('.number').html($('.number').html() - 1)
|
||||
// 默认先转3圈
|
||||
prize += 32
|
||||
for(var i = 1; i <= prize; i++) {
|
||||
setTimeout(time(i), 6 * i * i);
|
||||
}
|
||||
setTimeout(function() {
|
||||
t = true;
|
||||
}, 6 * prize * prize)
|
||||
} else {
|
||||
alert('您没有抽奖机会了')
|
||||
}
|
||||
}
|
||||
})
|
||||
</script>
|
||||
|
||||
</html>
|
34
hyhproject/mobile2/view/default/brands.html
Executable file
34
hyhproject/mobile2/view/default/brands.html
Executable file
@ -0,0 +1,34 @@
|
||||
{extend name="default/base" /}
|
||||
{block name="title"}品牌街 - {__block__}{/block}
|
||||
{block name="css"}
|
||||
<link rel="stylesheet" href="__MOBILE__/css/shops_list.css?v={$v}">
|
||||
{/block}
|
||||
{block name="header"}
|
||||
{php}$Title = "品牌街"{/php}
|
||||
{include file="default/header" /}
|
||||
{/block}
|
||||
{block name="main"}
|
||||
<input type="hidden" name="" value="" id="currPage" autocomplete="off">
|
||||
<input type="hidden" name="" value="" id="totalPage" autocomplete="off">
|
||||
<section class="ui-container">
|
||||
<ul id="info-list"></ul>
|
||||
<div class="wst-clear"></div>
|
||||
</section>
|
||||
<script id="list" type="text/html">
|
||||
{{# for(var i=0; i<d.length; i++){ }}
|
||||
<li class="wst-brands {{# if((i)%2==0){ }}left{{# }else{ }}right{{# } }}">
|
||||
<div class="wst-brands_img">
|
||||
<a href="javascript:void(0);" onclick="javascript:getGoodsList({{ d[i].brandId }});">
|
||||
<img src="__IMGURL__/{:WSTConf('CONF.goodsLogo')}" data-echo="__IMGURL__/{{ d[i].brandImg }}" title="{{ d[i].brandName }}">
|
||||
</a>
|
||||
<a href="javascript:void(0);" onclick="javascript:getGoodsList({{ d[i].brandId }});">
|
||||
<span class="ui-nowrap-flex">{{ d[i].brandName }}</span>
|
||||
</a>
|
||||
</div>
|
||||
</li>
|
||||
{{# } }}
|
||||
</script>
|
||||
{/block}
|
||||
{block name="js"}
|
||||
<script type='text/javascript' src='__MOBILE__/js/brands.js?v={$v}'></script>
|
||||
{/block}
|
105
hyhproject/mobile2/view/default/carts.html
Executable file
105
hyhproject/mobile2/view/default/carts.html
Executable file
@ -0,0 +1,105 @@
|
||||
{extend name="default/base" /}
|
||||
{block name="title"}购物车 - {__block__}{/block}
|
||||
{block name="css"}
|
||||
<link rel="stylesheet" href="__MOBILE__/css/carts.css?v={$v}">
|
||||
{/block}
|
||||
{block name="header"}
|
||||
<header style="background:#ffffff;" class="ui-header ui-header-positive wst-header">
|
||||
<a href="{:url('mobile/index/index')}"><i class="ui-icon-return"></i></a><h1>购物车</h1>
|
||||
{if(count($carts['carts'])>0)}
|
||||
<span id="edit" class="edit" onclick="javascript:edit(0);">编辑</span><span id="complete" class="edit" onclick="javascript:edit(1);" style="display: none;">完成</span>
|
||||
<div class="wst-ca-more" onclick="javascript:inMore();">···</div>
|
||||
{/if}
|
||||
</header>
|
||||
<div class="wst-go-more" id="arrow" style="display: none;"><i class="arrow"></i>
|
||||
<ul class="ui-row ui-list-active more">
|
||||
<li class="ui-col"><div class="column line"><a href="{:url('mobile/index/index')}"><i class="home"></i><p>首页</p></a></div></li>
|
||||
<li class="ui-col"><div class="column line"><a href="{:url('mobile/goodscats/index')}"><i class="category"></i><p>分类</p></a></div></li>
|
||||
<li class="ui-col"><div class="column line"><a href="{:url('mobile/favorites/goods')}"><i class="follow"></i><p>关注</p></a></div></li>
|
||||
<li class="ui-col"><div class="column"><a href="{:url('mobile/users/index')}"><i class="user"></i><p>我的</p></a></div></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="wst-ca-layer" id="layer" onclick="javascript:inMore();"></div>
|
||||
{/block}
|
||||
{block name="footer"}
|
||||
{if(count($carts['carts'])>0)}
|
||||
<footer class="ui-footer wst-footer-btns" style="height:42px; border-top: 1px solid #e8e8e8;" id="footer">
|
||||
<div class="wst-ca-se">
|
||||
<div class="wst-ca-layout">
|
||||
<div class="wst-ca-10 totall"><i class="ui-icon-choose ui-icon-unchecked-s" cartId="0" mval="0"></i> </div>
|
||||
<div class="wst-ca-90 totalr">
|
||||
<span>全选</span>
|
||||
<button id="settlement" class="button" type="button" onclick="javascript:toSettlement();">结算</button>
|
||||
<button id="delete" class="button" type="button" onclick="javascript:deletes();" style="display: none;">删除</button>
|
||||
<span id="total" class="total">合计:<span id="totalMoney" class="price"><span>¥ </span>{php}echo sprintf("%.2f", $carts['goodsTotalMoney']);{/php}</span></span>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</footer>
|
||||
{else}
|
||||
{include file="default/footer" /}
|
||||
{/if}
|
||||
{/block}
|
||||
{block name="main"}
|
||||
<section class="ui-container">
|
||||
{if(count($carts['carts'])>0)}
|
||||
<input type="hidden" name="" value="0" id="buyNum_0" autocomplete="off">
|
||||
<input type="hidden" name="" value="{php}echo count($carts['carts'])+1;{/php}" id="totalshop" autocomplete="off">
|
||||
{volist name="$carts['carts']" id="ca" key="k"}
|
||||
<div class="wst-ca-s">
|
||||
<div class="wst-ca-layout shop">
|
||||
<div class="wst-ca-10 shopl"><i class="ui-icon-chooses ui-icon-unchecked-s" childrenId="clist{$k}" cartId="0" mval="0"></i> </div>
|
||||
<div class="wst-ca-90 shopr"><p class="ui-nowrap" onclick="javascript:WST.intoShops({$ca['shopId']});"><i class="shopicon"></i>{$ca['shopName']}</p></div>
|
||||
</div>
|
||||
{volist name="ca['list']" id="li"}
|
||||
{:hook('mobileDocumentCartGoodsPromotion',['goods'=>$li])}
|
||||
<div class="wst-ca-layout goods{if($li['goodsStock']==0)} nogoods{/if} j-g{$li["cartId"]}">
|
||||
<div class="wst-ca-10 goodsl">
|
||||
<i id="gchk_{$li["cartId"]}" class="ui-icon-chooseg {if($li['isCheck'])}ui-icon-success-block wst-active{else}ui-icon-unchecked-s{/if} clist{$k}" cartId="{$li['cartId']}" mval="{$li['shopPrice']}"></i> </div>
|
||||
<div class="wst-ca-90">
|
||||
<div class="wst-ca-24 goodsr">
|
||||
<div class="img j-imgAdapt">
|
||||
<a href="javascript:void(0);" onclick="javascript:WST.intoGoods({$li['goodsId']});">
|
||||
<img src="__IMGURL__/{:WSTConf('CONF.goodsLogo')}" data-echo="__IMGURL__/{:WSTImg($li['goodsImg'],3)}" title="{$li['goodsName']}">
|
||||
</a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="wst-ca-76">
|
||||
<div class="info">
|
||||
<a href="javascript:void(0);" onclick="javascript:WST.intoGoods({$li['goodsId']});"><p class="name">{$li['goodsName']}</p></a><p class="price">¥ {$li['shopPrice']}</p>
|
||||
{if($li['specNames'])}
|
||||
<p class="spec">规格:
|
||||
{volist name="li['specNames']" id="sp"}
|
||||
{$sp['catName']}:{$sp['itemName']}
|
||||
{/volist}
|
||||
</p>
|
||||
{/if}
|
||||
<div class="wst-buy_l">
|
||||
<input class="wst-buy_l1" type="button" value="-" onclick='javascript:WST.changeIptNum(-1,"#buyNum",{$li["cartId"]},"statCartMoney")'><input id="buyNum_{$li['cartId']}" class="wst-buy_l2" data-min='1' data-max='{$li["goodsStock"]}' type="number" value="{$li['cartNum']}" autocomplete="off" onkeyup='WST.changeIptNum(0,"#buyNum",{$li["cartId"]},"statCartMoney")'><input class="wst-buy_l3" type="button" value="+" onclick='javascript:WST.changeIptNum(1,"#buyNum",{$li["cartId"]},"statCartMoney")'>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<span id="noprompt{$li['cartId']}" class="noprompt" style="display: none;"></span>
|
||||
</div>
|
||||
{/volist}
|
||||
<div class="wst-ca-layout bottom">
|
||||
<p class="wst-ca-50">共 {php}echo count($ca['list']);{/php} 件商品</p><p id="tprice_{$k}" class="wst-ca-50 price"><span>¥ </span>{php}echo sprintf("%.2f", $ca['goodsMoney']);{/php}</p>
|
||||
</div>
|
||||
</div>
|
||||
{/volist}
|
||||
{else}
|
||||
<div class="wst-prompt-icon" style="width: 1rem;height: 1rem;"><img src="__MOBILE__/img/nothing-cart.png" style="width: 1rem;height: 1rem;"></div>
|
||||
<div class="wst-prompt-info">
|
||||
<p>购物车内还没商品哦,去逛逛吧~</p>
|
||||
<button class="ui-btn-s" onclick="javascript:WST.intoIndex();">去逛逛</button>
|
||||
</div>
|
||||
{/if}
|
||||
</section>
|
||||
{/block}
|
||||
{block name="include"}
|
||||
{include file="default/dialog" /}<!-- 对话框模板 -->
|
||||
{/block}
|
||||
{block name="js"}
|
||||
<script type='text/javascript' src='__MOBILE__/js/carts.js?v={$v}'></script>
|
||||
{/block}
|
54
hyhproject/mobile2/view/default/css/address.css
Executable file
54
hyhproject/mobile2/view/default/css/address.css
Executable file
@ -0,0 +1,54 @@
|
||||
@CHARSET "UTF-8";
|
||||
.wst-listse{margin-top:8px;font-size:.15rem}
|
||||
.wst-list-infose1{width:96%;padding-top:10px;padding-bottom:10px;border-bottom:1px solid #ededed}
|
||||
.wst-list-infose1 span{float:left;width:100%}
|
||||
.wst-list-infose1 .name{color:#232228}
|
||||
.wst-list-infose1 .address{color:#808080}
|
||||
.wst-ad-operate{padding:10px;height:0.22rem;line-height:0.25rem;font-size:.14rem}
|
||||
.wst-ad-operate .left{float:left;margin-left:22px}
|
||||
.wst-ad-operate .right{float:right}
|
||||
.wst-ad-operate i{float:left;width:22px;height:22px}
|
||||
.j-operate{z-index:100;float:left;width:22px;height:22px;margin:-32px 0 0 9px}
|
||||
.j-operate.default,.ui-form-itemin .operate .default{background:url(../img/icon_adds_users.png) -11px -5px no-repeat;background-size:645%}
|
||||
.j-operate.nodefault,.ui-form-itemin .operate .nodefault{background:url(../img/icon_adds_users.png) -41px -5px no-repeat;background-size:645%}
|
||||
.wst-ad-operate .edit{background:url(../img/icon_adds_users.png) -71px -5px no-repeat;background-size:631%}
|
||||
.wst-ad-operate .delete{background:url(../img/icon_adds_users.png) -106px -5px no-repeat;background-size:631%}
|
||||
.wst-ad-form{margin-top:8px}
|
||||
.ui-form-itemin{position:relative;font-size:16px;height:44px;line-height:44px;padding:1px 10px;font-size:.18rem;background:#fff}
|
||||
.ui-form-itemin .word{color:#232228;font-size:.15rem}
|
||||
.ui-form-itemin input{float:right;width:75%;height:35px;border:0;margin-top:4px;font-size:.15rem}
|
||||
.ui-form-itemin label:not(.ui-switch):not(.ui-checkbox):not(.ui-checkbox-s):not(.ui-radio){position:absolute;text-align:left;box-sizing:border-box}
|
||||
.ui-form-itemin .address{float:right;width:75%;height:35px;line-height:35px;margin-top:4px;font-size:.15rem}
|
||||
.ui-form-itemin .ui-select-group{margin-top:5px}
|
||||
.wst-selectin{float:left;position:relative;width:72%}
|
||||
.wst-address_set{width:100%;height:40px;position:fixed;z-index:100;left:0;bottom:0}
|
||||
.wst-ad-line{padding:0 10px}
|
||||
.wst-ad-line p{border-bottom:1px solid #edebeb}
|
||||
.wst-ad-submit{margin-top:20px}
|
||||
.wst-ad-submit .button{margin:0 auto;width:93%;font-size:.15rem;height:40px;line-height:40px;color:#fff;background:#e00102;border-bottom:1px solid #e00102}
|
||||
.wst-ad-submit .button:not(.disabled):not(:disabled):active{color:#fff0f0;background:#f52f30;background-clip:padding-box}
|
||||
.wst-ad-operate{font-size:.15rem}
|
||||
.ui-switch input:checked:before{border-color: #ff3c3c;box-shadow: #ff3c3c 0px 0px 0px 16px inset;background-color: #ff3c3c;background-color: #ff3c3c;}
|
||||
.ui-switch input:before{height: 26px;}
|
||||
.ui-switch input:checked:after {left: 26px;}
|
||||
.ui-switch input:after {width: 26px;height: 26px;}
|
||||
.ui-switch{margin-top: -14px;}
|
||||
.iziModal{background:#f6f6f8}
|
||||
.iziModal-button-close i{font-size: 22px;line-height:41px;}
|
||||
.iziModal .iziModal-header-title{font-size: 16px;height:22px;line-height:22px;}
|
||||
.wst-cover{position:fixed;left:0;top:0;background-color:#000;width:100%;height:100%;filter:alpha(opacity=60);opacity:.6;z-Index:9999;display:none}
|
||||
.wst-fr-box{position:fixed;z-index:9999;left:0;bottom:-285px;width:100%;min-height:50%;background:#fff;font-size:.15rem}
|
||||
.wst-fr-box .title,.wst-cart-box .title{position:relative;padding:6px 0;border-bottom:1px solid #f1f1f1;}
|
||||
.wst-fr-box .title span{float:left;width:100%;height:26px;line-height:26px;text-align:center;font-size:15px;}
|
||||
.wst-fr-box .title i,.wst-cart-box .title i{position:absolute;right:5px;top:-2px;font-size:27px}
|
||||
.wst-fr-box .content{padding:10px 10px 20px 10px}
|
||||
.wst-fr-box .option{float:left;width:100%;border-bottom:1px solid #edebeb}
|
||||
.wst-fr-box .option p{float:left;width:50px;height:26px;line-height:26px;padding:0 5px;text-align:center}
|
||||
.wst-fr-box .option .active{border-bottom:1px solid #de0301}
|
||||
.wst-fr-box .list{padding-top:5px;font-size:0.14rem;}
|
||||
.wst-fr-box .list.hide{display:none}
|
||||
.wst-fr-box .list p{padding:5px 0}
|
||||
.wst-fr-box .list .active{color:#de0301}
|
||||
.wst-ad-footer{position: fixed;z-index: 100;bottom:0;left: 0;width: 100%;height: 44px;background: #FFF;border-top: 1px solid #e8e8e8;}
|
||||
.wst-ad-footer .button{display: block;margin: 0 auto;margin-top:2px;width: 90%;font-size: .15rem;height: 40px;line-height: 40px;color: #fff;background: #e00102;border-radius: 5px;border-bottom: 1px solid #e00102;}
|
||||
.wst-ad-footer .button:not(.disabled):not(:disabled):active{color:#fff0f0;background:#f52f30;background-clip: padding-box;}
|
44
hyhproject/mobile2/view/default/css/articles.css
Executable file
44
hyhproject/mobile2/view/default/css/articles.css
Executable file
@ -0,0 +1,44 @@
|
||||
@CHARSET "UTF-8";
|
||||
body{font-size:.15rem}
|
||||
.news-time{margin-top:10px;text-align:right;font-size:.13rem;padding-right: 10px;}
|
||||
.news-content-box{background:#fff;padding: 10px 0 35px 0;}
|
||||
.news-content{max-height:100px}
|
||||
.news-title{font-weight:bold;padding: 10px;font-size: 20px;padding-bottom: 0px;}
|
||||
.wst-cover{position:fixed;left:0;top:0;background-color:#000;width:100%;height:100%;filter:alpha(opacity=60);opacity:.6;z-Index:9999;display:none}
|
||||
.wst-fr-box{position:fixed;z-index:9999;right:-999px;bottom:0;width:100%;min-height:40%;background:#f6f6f8;font-size:.15rem}
|
||||
.wst-fr-box .title,.wst-cart-box .title{position:relative;padding:6px 0;border-bottom:1px solid #f1f1f1}
|
||||
.wst-fr-box .title span{float:left;width:100%;height:26px;line-height:26px;text-align:center;font-size:16px}
|
||||
.wst-fr-box .title i,.wst-cart-box .title i{position:absolute;right:5px;top:-2px;font-size:27px}
|
||||
.wst-fr-box .content{overflow-y:scroll;background:#fff}
|
||||
.wst-fr-box .button,.wst-cart-box .button{position:absolute;left:3%;bottom:0;width:93%;font-size:.185rem;height:40px;line-height:40px;color:#fff;background:#e00102;border-bottom:1px solid #e00102}
|
||||
.wst-fr-box .button:not(.disabled):not(:disabled):active,.wst-cart-box .button:not(.disabled):not(:disabled):active{color:#fff0f0;background:#f52f30;background-clip:padding-box}
|
||||
.title{background:#fff}
|
||||
.view-content{background:#fff}
|
||||
.news-time{margin:5px 0;padding: 0.05rem 0.1rem;background:#ffffff;}
|
||||
.wst-info{padding:0.04rem;font-weight: bold;font-size:0.18rem;color: #051B28;padding-left: 0.06rem;height:55px;}
|
||||
.wst-max-info{padding:0.04rem;padding-top: 0rem; font-weight: bold;font-size: 0.140rem;color: #051B28;padding-left: 0.06rem;}
|
||||
.wst-mix-info{padding-left: 0.06rem;padding-right: 0.06rem;color: #999;font-size: 10px;}
|
||||
.max-remind{height: 16px;}
|
||||
.max-img{position: relative;padding-top: 40%; background-size: 30%;overflow: hidden;margin-bottom: 8px;}
|
||||
.max-img a img{position: absolute;width: 100%;top: 50%;left: 50%; transform: translate(-50%, -50%);}
|
||||
.wst-model{background-color: #fff;padding: 0.01rem;margin-top: 10px;}
|
||||
.wst-right-align{text-align: right;}
|
||||
.wst-mix-cont{font-size: 0.12rem;color: #999;padding-top: 10px;}
|
||||
.view-content img{width: 100%;}
|
||||
.wst-like{padding-bottom: 50px;position: relative;}
|
||||
.icon-like1{background: url(../img/icon_like1.png) 5px no-repeat;background-size: 20px 20px;border-radius: 10px; position: absolute;top: 0;left: 0;width: auto;height: 30px;margin-left: 40%;margin-bottom: 20px; border: 1px solid red;}
|
||||
.icon-like2{background: url(../img/icon_like2.png) 5px no-repeat;background-size: 20px 20px;border-radius: 10px; position: absolute;top: 0;left: 0;width: auto;height: 30px;margin-left: 40%;margin-bottom: 20px; border: 1px solid red;}
|
||||
.like_num{display: inline-block;padding: 5px;padding-left: 32px;padding-top: 6px; color: #ED0000;}
|
||||
.wst-bor-mix-img{padding: 0.01rem;padding-bottom: 0;}
|
||||
.wst-headero ~ .ui-container{border-top:72px solid transparent}
|
||||
.ui-tab{position:fixed;width:100%;z-index:100;left:0;top:41px}
|
||||
.order-tab{width:100%;height:35px;line-height:35px;padding:0;background:#fff;overflow-x:scroll}
|
||||
.order-tab::-webkit-scrollbar{width:1px;height:1px;background-color:#fff}
|
||||
.order-tab::-webkit-scrollbar-thumb{background-color:#fff}
|
||||
.wst-headero ~ .ui-container{border-top:72px solid transparent}
|
||||
.item-head{font-size: .15rem;padding:10px 0;border-bottom:1px solid #f2f1f1}
|
||||
.item-head p{padding-left:20px;position: relative;}
|
||||
.item-head .shopicon{position: absolute;display: block;top: 2px;left: 0;width: 19px;height: 19px;background: url(../img/icon_dp.png) 0px 1px no-repeat;background-size: 87%;}
|
||||
.ui-tab-nav li.tab-item{font-size:.15rem;height:35px;line-height:35px;padding:0 5px;text-align:center;}
|
||||
.ui-tab-nav li.tab-curr{color:#de4943;;height:34px;border-bottom:2px solid #de4943;}
|
||||
.ui-header ~ .ui-container{border-top: 25px solid transparent;}
|
215
hyhproject/mobile2/view/default/css/bash.css
Executable file
215
hyhproject/mobile2/view/default/css/bash.css
Executable file
@ -0,0 +1,215 @@
|
||||
body {
|
||||
background: #070503;
|
||||
}
|
||||
.banner img {
|
||||
width: 6.4rem;
|
||||
height: 8.5rem;
|
||||
}
|
||||
.bash_yhj {
|
||||
margin-left: 0.8rem;
|
||||
}
|
||||
.bash_yhj_a {
|
||||
margin-right: 0.1rem;
|
||||
float: left;
|
||||
}
|
||||
.bash_yhj .bash_yhj_a img {
|
||||
width: 1.14rem;
|
||||
height: 1.95rem;
|
||||
}
|
||||
.shopping {
|
||||
margin-left: 1.16rem;
|
||||
margin-top: 0.35rem;
|
||||
margin-bottom: 0.35rem;
|
||||
}
|
||||
.shopping img {
|
||||
width: 4.03rem;
|
||||
height: 0.62rem;
|
||||
}
|
||||
.choujiang {
|
||||
width: 6.13rem;
|
||||
height: 5.29rem;
|
||||
background: url(../img/ac3_bg2.png) no-repeat;
|
||||
background-size: 100% ;
|
||||
margin-left: 0.14rem;
|
||||
position: relative;
|
||||
}
|
||||
.choujiang .cj_shan {
|
||||
width: 6.4rem;
|
||||
height: 5.29rem;
|
||||
position: absolute;
|
||||
left: -0.12rem;
|
||||
top: -0.1rem;
|
||||
}
|
||||
.cj_con {
|
||||
width: 82.8%;
|
||||
position: absolute;
|
||||
margin: 0 auto;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 18%;
|
||||
z-index: 11;
|
||||
padding: 0.5% 0 0 1%;
|
||||
}
|
||||
.content {
|
||||
width: 32.3%;
|
||||
float: left;
|
||||
margin: 0 1% 0.5% 0;
|
||||
position: relative;
|
||||
}
|
||||
.content img {
|
||||
width: 100%;
|
||||
}
|
||||
.num {
|
||||
width: 98%;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
bottom: 4%;
|
||||
color: #FFFFFF;
|
||||
font-size: 13.2px;
|
||||
}
|
||||
.content_con {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: 12;
|
||||
}
|
||||
.cj_con .active .content_con {
|
||||
background: rgba(255, 255, 255, 0.8);
|
||||
border-radius: 10%;
|
||||
}
|
||||
.content_con img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
.choujiang .on {
|
||||
transform: rotateY(180deg);
|
||||
}
|
||||
.baqi {
|
||||
margin-left: 1.16rem;
|
||||
margin-bottom: 0.4rem;
|
||||
margin-top: 0.4rem;
|
||||
}
|
||||
.baqi img {
|
||||
width: 4rem;
|
||||
height: 0.89rem;
|
||||
}
|
||||
.baqi_man {
|
||||
width: 6.4rem;
|
||||
margin-left: 0.14rem;
|
||||
}
|
||||
.baqi_man .man_cp {
|
||||
width: 3rem;
|
||||
height: 1.64rem;
|
||||
background: url(../img/ac3_bg3.png) no-repeat;
|
||||
background-size: 100%;
|
||||
float: left;
|
||||
margin-right: 0.1rem;
|
||||
margin-bottom: 0.15rem;
|
||||
}
|
||||
.man_cp .p1 {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.28rem;
|
||||
color: #fff;
|
||||
margin-top: 0.2rem;
|
||||
margin-left: 0.1rem;
|
||||
margin-bottom: 0.15rem;
|
||||
}
|
||||
.man_cp .p2 {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.18rem;
|
||||
color: #fff;
|
||||
margin-left: 0.1rem;
|
||||
}
|
||||
.man_cp .go {
|
||||
width: 0.58rem;
|
||||
height: 0.22rem;
|
||||
background: #fff;
|
||||
border-radius: 10px;
|
||||
text-align: center;
|
||||
line-height: 0.22rem;
|
||||
color: #000000;
|
||||
font-size: 0.18rem;
|
||||
margin-left: 0.28rem;
|
||||
margin-top: 0.13rem;
|
||||
}
|
||||
.man_tejia {
|
||||
width: 6.13rem;
|
||||
height: 1.48rem;
|
||||
background: url(../img/ac3_bg4.png) no-repeat;
|
||||
background-size: 100% ;
|
||||
padding-top: 0.2rem;
|
||||
}
|
||||
.man_tejia .p1 {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.28rem;
|
||||
color: #fff;
|
||||
margin-left: 0.1rem;
|
||||
margin-bottom: 0.15rem;
|
||||
}
|
||||
.man_tejia .p2 {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.18rem;
|
||||
color: #fff;
|
||||
margin-left: 0.1rem;
|
||||
}
|
||||
.man_tejia .go {
|
||||
width: 0.58rem;
|
||||
height: 0.22rem;
|
||||
background: #fff;
|
||||
border-radius: 10px;
|
||||
text-align: center;
|
||||
line-height: 0.22rem;
|
||||
color: #000000;
|
||||
font-size: 0.18rem;
|
||||
margin-left: 0.28rem;
|
||||
margin-top: 0.13rem;
|
||||
}
|
||||
.liaomei {
|
||||
margin-left: 1.16rem;
|
||||
margin-bottom: 0.4rem;
|
||||
margin-top: 0.4rem;
|
||||
}
|
||||
.liaomei img {
|
||||
width: 4rem;
|
||||
height: 0.89rem;
|
||||
}
|
||||
.liao_gl {
|
||||
width: 6.4rem;
|
||||
margin-left: 0.05rem;
|
||||
}
|
||||
.gl_sp {
|
||||
width: 3.1rem;
|
||||
height: 4.28rem;
|
||||
background: url(../img/ac3_bg5.png) no-repeat;
|
||||
background-size: 100% ;
|
||||
position: relative;
|
||||
float: left;
|
||||
margin-right: 0.09rem;
|
||||
margin-bottom: 0.09rem;
|
||||
}
|
||||
.gl_sp img {
|
||||
width: 2.92rem;
|
||||
height: 3.51rem;
|
||||
position: absolute;
|
||||
top: 0.09rem;
|
||||
left: 0.09rem;
|
||||
}
|
||||
.gl_sp .p1 {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.18rem;
|
||||
color: #fff;
|
||||
position: absolute;
|
||||
bottom: 0.4rem;
|
||||
left: 0.09rem;
|
||||
}
|
||||
.gl_sp .p2 {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.18rem;
|
||||
font-weight: 900;
|
||||
color: #fff;
|
||||
position: absolute;
|
||||
bottom: 0.08rem;
|
||||
left: 0.09rem;
|
||||
}
|
244
hyhproject/mobile2/view/default/css/bash.less
Executable file
244
hyhproject/mobile2/view/default/css/bash.less
Executable file
@ -0,0 +1,244 @@
|
||||
body{
|
||||
background: #070503;
|
||||
}
|
||||
|
||||
.banner img{
|
||||
width: 640/100rem;
|
||||
height: 850/100rem;
|
||||
}
|
||||
|
||||
.bash_yhj{
|
||||
margin-left: 80/100rem;
|
||||
}
|
||||
|
||||
.bash_yhj_a{
|
||||
margin-right: 10/100rem;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.bash_yhj .bash_yhj_a img{
|
||||
width: 114/100rem;
|
||||
height: 195/100rem;
|
||||
}
|
||||
|
||||
.shopping{
|
||||
margin-left: 116/100rem;
|
||||
margin-top: 35/100rem;
|
||||
margin-bottom: 35/100rem;
|
||||
}
|
||||
|
||||
.shopping img{
|
||||
width: 403/100rem;
|
||||
height: 62/100rem;
|
||||
}
|
||||
|
||||
.choujiang{
|
||||
width: 613/100rem;
|
||||
height: 529/100rem;
|
||||
background: url(../img/ac3_bg2.png) no-repeat;
|
||||
background-size:100% ;
|
||||
margin-left: 14/100rem;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
|
||||
.choujiang .cj_shan{
|
||||
width: 640/100rem;
|
||||
height: 529/100rem;
|
||||
position: absolute;
|
||||
left: -12/100rem;
|
||||
top: -10/100rem;
|
||||
}
|
||||
|
||||
.cj_con{
|
||||
width: 82.8%;
|
||||
position: absolute;
|
||||
margin: 0 auto;
|
||||
left: 0;
|
||||
right: 0;
|
||||
top: 18%;
|
||||
z-index: 11;
|
||||
padding: 0.5% 0 0 1%;
|
||||
}
|
||||
.content{
|
||||
width: 32.3%;
|
||||
float: left;
|
||||
margin: 0 1% 0.5% 0;
|
||||
position: relative;
|
||||
}
|
||||
.content img{
|
||||
width: 100%;
|
||||
}
|
||||
.num{
|
||||
width: 98%;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
bottom: 4%;
|
||||
color:#FFFFFF;
|
||||
font-size: 13.2px;
|
||||
}
|
||||
.content_con{
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
z-index: 12;
|
||||
}
|
||||
.cj_con .active .content_con{
|
||||
background: rgba(255,255,255,0.8);
|
||||
border-radius: 10%;
|
||||
}
|
||||
.content_con img{
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.choujiang .on{
|
||||
transform: rotateY(180deg);
|
||||
}
|
||||
|
||||
.baqi{
|
||||
margin-left: 116/100rem;
|
||||
margin-bottom: 40/100rem;
|
||||
margin-top: 40/100rem;
|
||||
}
|
||||
|
||||
.baqi img{
|
||||
width: 400/100rem;
|
||||
height: 89/100rem;
|
||||
}
|
||||
|
||||
.baqi_man{
|
||||
width: 640/100rem;
|
||||
margin-left: 14/100rem;
|
||||
}
|
||||
|
||||
.baqi_man .man_cp{
|
||||
width: 300/100rem;
|
||||
height: 164/100rem;
|
||||
background: url(../img/ac3_bg3.png) no-repeat;
|
||||
background-size: 100%;
|
||||
float: left;
|
||||
margin-right: 10/100rem;
|
||||
margin-bottom: 15/100rem;
|
||||
}
|
||||
|
||||
.man_cp .p1{
|
||||
font-family: "微软雅黑";
|
||||
font-size: 28/100rem;
|
||||
color: #fff;
|
||||
margin-top: 20/100rem;
|
||||
margin-left: 10/100rem;
|
||||
margin-bottom: 15/100rem;
|
||||
}
|
||||
|
||||
.man_cp .p2{
|
||||
font-family: "微软雅黑";
|
||||
font-size: 18/100rem;
|
||||
color: #fff;
|
||||
margin-left: 10/100rem;
|
||||
}
|
||||
|
||||
.man_cp .go{
|
||||
width: 58/100rem;
|
||||
height: 22/100rem;
|
||||
background: #fff;
|
||||
border-radius: 10px;
|
||||
text-align: center;
|
||||
line-height: 22/100rem;
|
||||
color: #000000;
|
||||
font-size: 18/100rem;
|
||||
margin-left: 28/100rem;
|
||||
margin-top: 13/100rem;
|
||||
}
|
||||
|
||||
.man_tejia{
|
||||
width: 613/100rem;
|
||||
height: 148/100rem;
|
||||
background: url(../img/ac3_bg4.png) no-repeat;
|
||||
background-size: 100% ;
|
||||
padding-top: 20/100rem;
|
||||
}
|
||||
|
||||
.man_tejia .p1{
|
||||
font-family: "微软雅黑";
|
||||
font-size: 28/100rem;
|
||||
color: #fff;
|
||||
margin-left: 10/100rem;
|
||||
margin-bottom: 15/100rem;
|
||||
}
|
||||
|
||||
.man_tejia .p2{
|
||||
font-family: "微软雅黑";
|
||||
font-size: 18/100rem;
|
||||
color: #fff;
|
||||
margin-left: 10/100rem;
|
||||
}
|
||||
|
||||
.man_tejia .go{
|
||||
width: 58/100rem;
|
||||
height: 22/100rem;
|
||||
background: #fff;
|
||||
border-radius: 10px;
|
||||
text-align: center;
|
||||
line-height: 22/100rem;
|
||||
color: #000000;
|
||||
font-size: 18/100rem;
|
||||
margin-left: 28/100rem;
|
||||
margin-top: 13/100rem;
|
||||
}
|
||||
|
||||
.liaomei{
|
||||
margin-left: 116/100rem;
|
||||
margin-bottom: 40/100rem;
|
||||
margin-top: 40/100rem;
|
||||
}
|
||||
|
||||
.liaomei img{
|
||||
width: 400/100rem;
|
||||
height: 89/100rem;
|
||||
}
|
||||
|
||||
.liao_gl{
|
||||
width: 640/100rem;
|
||||
margin-left: 5/100rem;
|
||||
}
|
||||
|
||||
.gl_sp{
|
||||
width: 310/100rem;
|
||||
height: 428/100rem;
|
||||
background: url(../img/ac3_bg5.png) no-repeat;
|
||||
background-size:100% ;
|
||||
position: relative;
|
||||
float: left;
|
||||
margin-right: 9/100rem;
|
||||
margin-bottom: 9/100rem;
|
||||
}
|
||||
|
||||
.gl_sp img{
|
||||
width: 292/100rem;
|
||||
height: 351/100rem;
|
||||
position: absolute;
|
||||
top: 9/100rem;
|
||||
left: 9/100rem;
|
||||
}
|
||||
|
||||
.gl_sp .p1{
|
||||
font-family: "微软雅黑";
|
||||
font-size: 18/100rem;
|
||||
color: #fff;
|
||||
position: absolute;
|
||||
bottom: 40/100rem;
|
||||
left: 9/100rem;
|
||||
}
|
||||
.gl_sp .p2{
|
||||
font-family: "微软雅黑";
|
||||
font-size: 18/100rem;
|
||||
font-weight: 900;
|
||||
color: #fff;
|
||||
position: absolute;
|
||||
bottom: 8/100rem;
|
||||
left: 9/100rem;
|
||||
}
|
||||
|
60
hyhproject/mobile2/view/default/css/carts.css
Executable file
60
hyhproject/mobile2/view/default/css/carts.css
Executable file
@ -0,0 +1,60 @@
|
||||
@CHARSET "UTF-8";
|
||||
.wst-ca-layout{display:block;overflow:hidden}
|
||||
.wst-ca-10{float:left;width:10%;box-sizing:border-box}
|
||||
.wst-ca-90{float:left;width:90%;box-sizing:border-box}
|
||||
.wst-ca-24{float:left;width:24%;box-sizing:border-box}
|
||||
.wst-ca-76{float:left;width:75%;box-sizing:border-box}
|
||||
.wst-ca-50{float:left;width:50%;box-sizing:border-box}
|
||||
.wst-ca-s{background:#fff;padding:10px 5px;margin-top:10px;font-size:.15rem}
|
||||
.wst-ca-s .shop{height:26px;line-height:26px;padding-bottom:3px;border-bottom:1px solid #edebeb}
|
||||
.wst-ca-s .goods{padding:3px 0;border-bottom:1px solid #f1f1f1}
|
||||
.wst-ca-s .nogoods{border:1px solid #de0301;background:#f8eeee}
|
||||
.wst-ca-s .nogoods .noprompt{position:absolute;left:0;top:0;color:#fff;font-size:.15rem;background:#e00102}
|
||||
.wst-ca-s .shopr{height:26px;line-height:26px}
|
||||
.wst-ca-s .shopr p{float:left;width:86%;}
|
||||
.wst-ca-s .shopr .shopicon{float:left;width:22px;height:26px;position: relative;background: url(../img/icon_dp.png) 0px 4px no-repeat;background-size: 87%;}
|
||||
.wst-ca-s .shopl,.wst-ca-s .shopr,.wst-ca-s .goodsl,.wst-ca-se .totall,.wst-ca-s .nogoods{position:relative}
|
||||
.wst-ca-s .shopl i{position:absolute;left:-2px;top:-9px}
|
||||
.wst-ca-s .info{padding-left:5px}
|
||||
.wst-ca-s .goodsl i{position:absolute;left:-2px;top:50%}
|
||||
.wst-ca-s .goodsr .img{float:left;width:100%;height:70px;text-align:center;vertical-align:middle;display:block}
|
||||
.wst-ca-s .goodsr .img a{width:100%;height:70px;display:table-cell;vertical-align:middle}
|
||||
.wst-ca-s .goodsr .img a img{max-width:70px;max-height:70px}
|
||||
.wst-ca-s .info .name{float:left;width:72%;font-size:.145rem;font-weight: 700;}
|
||||
.wst-ca-s .info .price{float:right;width:28%;text-align:right;font-size:.13rem}
|
||||
.wst-ca-s .info .spec{float:left;width:100%;padding:3px 0;color:#a6a6a6}
|
||||
.wst-buy_l{float:right;width:100%;margin-top:3px;text-align:right}
|
||||
.wst-buy_l1,.wst-buy_l3{width:30px;height:28px;background:#FFF;border:0;border:1px solid #ddd}
|
||||
.wst-buy_l1{border-right:1px solid #fff;}
|
||||
.wst-buy_l3{border-left:1px solid #fff;}
|
||||
.wst-buy_l1{border-top-left-radius:3px;border-bottom-left-radius:3px}
|
||||
.wst-buy_l3{border-top-right-radius:3px;border-bottom-right-radius:3px}
|
||||
.wst-buy_l2{width:38px;height:28px;border:1px solid #ddd;text-align:center;color:#e00102}
|
||||
.wst-buy_l1:focus,.wst-buy_l3:focus{color:#e00102}
|
||||
.wst-buy_l2:focus{width:38px;height:28px;border:1px solid #e00102}
|
||||
.wst-ca-s .bottom{height:23px;line-height:23px;font-size:.158rem;margin-top:8px}
|
||||
.wst-ca-s .bottom .price{color:#de0202;text-align:right;}
|
||||
.wst-ca-s .bottom .price span{font-size:0.13rem;}
|
||||
.wst-ca-se{padding:0 5px;font-size:.165rem;height:42px;line-height:42px}
|
||||
.wst-ca-se .totall i{position:absolute;left:-2px;top:-2px}
|
||||
.wst-ca-se .totalr span{color:#051b28;}
|
||||
.wst-ca-se .total{float:right;margin-right:6px}
|
||||
.wst-ca-se .total .price{color:#de0202;}
|
||||
.wst-ca-se .totalr .price span{color:#de0202;font-size:.13rem;}
|
||||
.wst-ca-se .totalr .button{float:right;width:31%;height:33px;color:#fff;margin-top:4px;font-size:.18rem;background:#e00102;font-size:.165rem;border-radius:3px;border-bottom:1px solid #e00102}
|
||||
.wst-ca-se .totalr .button:not(.disabled):not(:disabled):active,.wst-ca-se .totalr .button.active{color:#fbd6d6;background:#f25a5b;background-clip:padding-box}
|
||||
.wst-header .edit{right: 33px;}
|
||||
.wst-ca-layer{position: fixed;left: 0px;top: 0px;width: 100%;height: 100%;z-Index: 9999;display: none;}
|
||||
.wst-ca-more{ position: absolute;top: 0;right: 8px;color: #59595c;min-width: 30px;height: 41px;line-height: 41px;font-size: 20px;font-weight: 700;text-align: right;}
|
||||
.wst-go-more{position: fixed;top: 29px;right: 1px;z-Index: 10000;width: 32%;}
|
||||
.wst-go-more .arrow{position: absolute;top:-6px;right:7px;display: block;width: 0;height: 0;line-height: 0;border-width: 0.11rem;border-color: transparent transparent rgba(85,85,85,0.95) transparent;border-style: dashed dashed solid dashed;}
|
||||
.wst-go-more .more{margin-top:13px;border-radius: 3px;background: rgba(85,85,85,0.95);}
|
||||
.wst-go-more .more .column{width: 80px;display: block;margin: 0 auto;height: 23px;line-height: 23px;padding:10px 0px;}
|
||||
.wst-go-more .more .line{border-bottom: 1px solid #f2f2f2;}
|
||||
.wst-go-more .more i{float: left;width: 23px;height: 23px;margin-left:2px;position: relative;}
|
||||
.wst-go-more .home{background: url(../img/icon_bottomnav.png) 0px -24px no-repeat;background-size: 1062%;}
|
||||
.wst-go-more .category{background: url(../img/icon_bottomnav.png) -53px -23px no-repeat;background-size: 1010%;}
|
||||
.wst-go-more .follow{background: url(../img/icon_bottomnav.png) -161px -23px no-repeat;background-size: 1010%;}
|
||||
.wst-go-more .user{background: url(../img/icon_bottomnav.png)-216px -23px no-repeat;background-size: 1010%;}
|
||||
.wst-go-more .more p{float: left;width: 55px;color: #fff;font-size:0.13rem;}
|
||||
.wst-go-more .more li:active{padding-left:2px;background: #252525;}
|
43
hyhproject/mobile2/view/default/css/cashconfigs.css
Executable file
43
hyhproject/mobile2/view/default/css/cashconfigs.css
Executable file
@ -0,0 +1,43 @@
|
||||
@CHARSET 'UTF-8';
|
||||
body{background:#f2f2f2;font-size:.15rem}
|
||||
.ui-icon-return ~ h1{z-index:-1;position:relative}
|
||||
.add{position:absolute;right:0;top:0;display:block;color:black;padding-right:10px}
|
||||
.ui-row{border:1px solid #e2e2e2;border-radius:5px;margin:5px;padding:10px 5px;background:#fff}
|
||||
.wst-ca-accno{color: #de0202;font-size:.17rem;font-weight: 700;letter-spacing:2px;}
|
||||
.wst-ca-info{color: #999;font-size:.13rem;}
|
||||
.c-tr{float: right;line-height:30px;margin-top:26%;}
|
||||
.delete-icon{width:25px;height:30px;display:block;float:left;background:url(../img/icon_adds_users.png) no-repeat;background-position:-86px 0;background-size:cover}
|
||||
.wst-ad-form{margin-top:8px}
|
||||
.wst-ca-choice{float: right;width: 75%;padding: 2px 2px 2px 0px;margin-top: 4px;height: 36px;border-radius: 2px;font-size:.15rem;border: 0;background:#fff;}
|
||||
.ui-form-itemin{position:relative;font-size:16px;height:44px;line-height:44px;padding:1px 10px;font-size:.18rem;background:#fff}
|
||||
.ui-form-itemin .word{color:#232228;font-size:.15rem}
|
||||
.ui-form-itemin input{float:right;width:75%;height:35px;border:0;margin-top:4px;font-size:.15rem;}
|
||||
.ui-form-itemin label:not(.ui-switch):not(.ui-checkbox):not(.ui-checkbox-s):not(.ui-radio){position:absolute;text-align:left;box-sizing:border-box}
|
||||
.ui-form-itemin .address{float:right;width:75%;height:35px;line-height:35px;margin-top:4px;font-size:.15rem;}
|
||||
.ui-form-itemin .ui-select-group{margin-top:5px}
|
||||
.wst-selectin{float:left;position:relative;width:72%}
|
||||
.wst-address_set{width:100%;height:40px;position:fixed;z-index:100;left:0;bottom:0}
|
||||
.wst-ad-line{padding:0 10px}
|
||||
.wst-ad-line p{border-bottom:1px solid #edebeb}
|
||||
.wst-ad-submit{margin-top:20px}
|
||||
.wst-ad-submit .button{margin:0 auto;width:93%;font-size:.185rem;height:40px;line-height:40px;color:#fff;background:#e00102;border-bottom:1px solid #e00102}
|
||||
.wst-ad-submit .button:not(.disabled):not(:disabled):active{color:#fff0f0;background:#f52f30;background-clip:padding-box}
|
||||
.ui-form-itemin .operate{font-size:.158rem}
|
||||
.ui-form-itemin .operate i{float:left;width:22px;height:22px;margin-top:10px;margin-right:2px}
|
||||
.ui-form-itemin .operate span{margin-left:5px}
|
||||
.iziModal{background:#f6f6f8}
|
||||
.iziModal-button-close i{font-size: 22px;line-height:41px;}
|
||||
.iziModal .iziModal-header-title{font-size: 16px;height:22px;line-height:22px;}
|
||||
.wst-cover{position:fixed;left:0;top:0;background-color:#000;width:100%;height:100%;filter:alpha(opacity=60);opacity:.6;z-Index:9999;display:none}
|
||||
.wst-fr-box{position:fixed;z-index:9999;left:0;bottom:-285px;width:100%;min-height:50%;background:#fff;font-size:.14rem}
|
||||
.wst-fr-box .title,.wst-cart-box .title{position:relative;padding:6px 0;border-bottom:1px solid #f1f1f1}
|
||||
.wst-fr-box .title span{float:left;width:100%;height:26px;line-height:26px;text-align:center;font-size: 15px;}
|
||||
.wst-fr-box .title i,.wst-cart-box .title i{position:absolute;right:5px;top:-2px;font-size:27px}
|
||||
.wst-fr-box .content{padding:10px 10px 20px 10px}
|
||||
.wst-fr-box .option{float:left;width:100%;border-bottom:1px solid #edebeb}
|
||||
.wst-fr-box .option p{float:left;width:50px;height:26px;line-height:26px;padding:0 5px;text-align:center}
|
||||
.wst-fr-box .option .active{border-bottom:1px solid #de0301}
|
||||
.wst-fr-box .list{padding-top:5px}
|
||||
.wst-fr-box .list.hide{display:none}
|
||||
.wst-fr-box .list p{padding:5px 0}
|
||||
.wst-fr-box .list .active{color:#de0301}
|
7
hyhproject/mobile2/view/default/css/cashdraws.css
Executable file
7
hyhproject/mobile2/view/default/css/cashdraws.css
Executable file
@ -0,0 +1,7 @@
|
||||
@CHARSET "UTF-8";
|
||||
body{font-size: 0.15rem;}
|
||||
.score-line{border-bottom:1px solid #eaeaea;margin-bottom: 5px;margin-top: 5px;}
|
||||
.score-time{color:#8c8c8c;font-size: 0.13rem;}
|
||||
.score-detail{background: #fff;padding:5px;}
|
||||
.score-detail-title{padding: 5px;padding-left:0px;font-size: 0.18rem;}
|
||||
.score-text{padding:15px 0;text-align: right;color:#de0202;}
|
87
hyhproject/mobile2/view/default/css/common.css
Executable file
87
hyhproject/mobile2/view/default/css/common.css
Executable file
@ -0,0 +1,87 @@
|
||||
@CHARSET "UTF-8";
|
||||
body{color:#232326;background-color:#f6f6f8}
|
||||
a{color:#232326;}
|
||||
button:before{border:none !important;}
|
||||
.wst-header,.wst-in-header{border-bottom:1px solid #e5e5e5;background:#fff;height:41px;line-height:41px}
|
||||
.wst-header h1{font-size: 16px;color: #222;}
|
||||
.wst-header .ui-icon-return{left: 5px;font-size: 22px;height:41px;line-height:41px;}
|
||||
.wst-border-bs{font-size:.16rem;border-bottom:1px solid #e6e6e6}
|
||||
.wst-header .edit{position:absolute;top:0;right:8px;color:#59595c;min-width:32px;height:41px;line-height:41px;font-size:13px}
|
||||
.wst-header .edit:active{color:#827f7f}
|
||||
.wst-se-header2{height: 41px;background: #fff;padding-left:25px;border-bottom: 1px solid #e5e5e5;}
|
||||
.wst-se-header2 .ui-icon-return {top: 2px;left: 8px;color: #df0202;font-size: 22px;line-height: 36px;}
|
||||
.wst-se-search{display: block;width: 90.9%;height: 31px;line-height:31px;padding: 5px 0;margin: auto;position: relative;}
|
||||
.wst-se-search i{position: absolute;top: -2px;left: -2px;color: #999;}
|
||||
.wst-se-search input {margin-top:1px;padding: 0px 0 0 25px;width: 100%;box-sizing: border-box;-ms-box-sizing: border-box;-moz-box-sizing: border-box;-webkit-box-sizing: border-box;border-radius: 15px;background: #eee;color: #999;font-size: 0.13rem;line-height: 28px;letter-spacing: 1px;border: none;}
|
||||
.wst-se-icon{position: absolute;top: 4px;right: 8px;width: 33px;height: 33px;display: block;background: url(../img/classify2.png) center center no-repeat;background-size: 60%;}
|
||||
.wst-co-search{position: fixed;top:0;left:0;width: 100%;height:100%;background:#fff;z-index:1000;display:none;}
|
||||
.wst-co-search .wst-se-header2{z-index: 1000;}
|
||||
.wst-co-search .list{border-top: 42px solid transparent;}
|
||||
.wst-co-search .list .search{padding:0 0.05rem;font: bold 14px/31px verdana;}
|
||||
.wst-co-search .list .search i{float:left;width: 26px;height: 26px;background: url(../img/hot.png) center center no-repeat;background-size: 60%;}
|
||||
.wst-co-search .list .term{margin-top:0.05rem;padding:0 0.1rem;}
|
||||
.wst-co-search .list .term a{float:left;margin:0 0.08rem 0.08rem 0;padding:0.05rem 0.1rem;font-size:0.13rem;border-radius: 0.03rem;color: #686868;background-color: #f0f2f5;}
|
||||
.wst-co-search .classify{border-top: 41px solid transparent;font-size:0.13rem;height: calc((100% - 41px));height: -webkit-calc((100% - 41px));height: -moz-calc((100% - 41px));height: -ms-calc((100% - 41px));height: -o-calc((100% - 41px));overflow-y: scroll;}
|
||||
.wst-co-search .classify li h4{font-size:0.13rem;}
|
||||
.wst-co-search .classify .ui-list-link > li:after,.wst-co-search .classify li .ui-txt-info{color: #232326;}
|
||||
.wst-co-search .classify .shops{margin:0.08rem 0 0.1rem 0;}
|
||||
.wst-co-search .classify .shops2 li{border-bottom: 1px solid #f6f6f8;}
|
||||
.wst-footer-btns{border:0;background:#FFF}
|
||||
.wst-menus{padding-top:2px}
|
||||
.wst-menus .carsNum{position:relative}
|
||||
.wst-menus .carsNum i{display:inline-block;text-align:center;background:#de0202;color:#fff;height:16px;line-height:16px;-webkit-border-radius:10px;padding:0 6px;background-clip:padding-box;font-size:.1rem;position:absolute;top:0;left:36px}
|
||||
.wst-menus p{width:55px;height:42px;margin:0 auto}
|
||||
.wst-menus .icon{width:36px;height:25px;display:block;margin:0 auto}
|
||||
.home-word,.category-word,.cart-word,.follow-word,.user-word{float:left;width:100%;text-align:center;font-size:0.12rem;color:#2c2c2c;height:16px;line-height:16px}
|
||||
.home-active-word,.category-active-word,.cart-active-word,.follow-active-word,.user-active-word{float:left;width:100%;text-align:center;font-size:0.12rem;color:#df0202;height:16px;line-height:16px}
|
||||
.wst-menus .home{background: url(../img/icon_bottomnav.png) 9px 4px no-repeat;background-size: 773%;}
|
||||
.wst-menus .category{background: url(../img/icon_bottomnav.png) -50px 5px no-repeat;background-size: 712%;}
|
||||
.wst-menus .cart{background: url(../img/icon_bottomnav.png) -121px 5px no-repeat;background-size: 770%;}
|
||||
.wst-menus .follow{background: url(../img/icon_bottomnav.png) -178px 5px no-repeat;background-size: 742%;}
|
||||
.wst-menus .user{background: url(../img/icon_bottomnav.png) -240px 5px no-repeat;background-size: 742%;}
|
||||
.wst-menus .home-active{background: url(../img/icon_bottomnav.png) 9px -25px no-repeat;background-size: 773%;}
|
||||
.wst-menus .category-active{background: url(../img/icon_bottomnav.png) -50px -23px no-repeat;background-size: 712%;}
|
||||
.wst-menus .cart-active{background: url(../img/icon_bottomnav.png) -121px -25px no-repeat;background-size: 770%;}
|
||||
.wst-menus .follow-active{background: url(../img/icon_bottomnav.png) -178px -24px no-repeat;background-size: 742%;}
|
||||
.wst-menus .user-active{background: url(../img/icon_bottomnav.png) -240px -24px no-repeat;background-size: 742%;}
|
||||
.wst-toTop{margin:0 16px 60px 0;position:fixed;z-index:100;right:0;width:30px;height:30px;bottom:15px;display:none}
|
||||
.wst-toTopimg{width:40px;height:40px;display:block;background:url(../img/top.png) 0 0 no-repeat;background-size:100%}
|
||||
.wst-toTopimg span{float:left;width:100%;color:#b8b8b8;text-align:center;font-size:.12rem;margin-top:18px}
|
||||
.wst-toHistoryimg{width:40px;height:40px;display:block;background:url(../img/history-icon.png) 0 0 no-repeat;background-size:100%}
|
||||
.wst-prompt-icon{position: relative;top:1rem;margin: 0 auto;width:0.89rem;height:0.89rem;}
|
||||
.wst-prompt-icon img{display: block;width:0.89rem;height:0.89rem;}
|
||||
.wst-prompt-info{position: relative;top:1.2rem;text-align: center;}
|
||||
.wst-prompt-info p{font-size:0.16rem;color: #222;}
|
||||
.wst-prompt-info button{margin-top:0.1rem;font-size:0.15rem;color: #df0202;width:1.5rem;height:0.35rem;border:1px solid #df0202;}
|
||||
.wst-prompt-info button:not(.disabled):not(:disabled):active{color: #df0202;}
|
||||
.wst-button-close{display:block;position:absolute;top:0;right:-5px;z-index:2;outline:0;height:42px;width:46px;border-radius:50%;opacity:.5;transition:transform .5s cubic-bezier(.16,.81,.32,1),opacity .5s ease;color:#000;line-height:42px}
|
||||
.iziModal-button-close i{line-height:42px}
|
||||
.wst-clear{clear:both}
|
||||
.wst-Load{position:fixed;z-index:100;top:49%;left:0px;width: 100%;display:none}
|
||||
.wst-Load .ui-loading{display: block;margin: 0 auto;}
|
||||
.wst-dialog-t{padding-top:12px;padding-bottom:10px}
|
||||
.wst-dialog-l{width:73%;border-bottom:1px solid #ddd}
|
||||
.wst-dialog-b1,.wst-dialog-b2{width:80px;height:30px;line-height: 30px;margin-top:16px;margin-bottom:18px}
|
||||
.wst-dialog-b1{color:#59595c}
|
||||
.wst-dialog-b2{color:#fff;background:#de0202}
|
||||
.wst-dialog-b1:not(.disabled):not(:disabled):active,.wst-dialog-b1 button.active{color:#7d7d7f}
|
||||
.wst-dialog-b2:not(.disabled):not(:disabled):active,.wst-dialog-b2 button.active{color:#f6e8e9;background:#f43a3b}
|
||||
.wst-prompt{width:320px;height:210px;position:fixed;top:0;right:10px;background:url(../img/img_fenxiangtishi.png) 13px -13px no-repeat}
|
||||
.wst-shl-ads{padding-bottom:8px}
|
||||
.wst-shl-ads .title{height:0.35rem;line-height:0.35rem;font: bold 0.15rem/0.35rem verdana;color: #555;text-align:center;background:url(../img/img_titlebg.png) center no-repeat;background-size:40%}
|
||||
.wst-active{color:#de0301}
|
||||
.upload-modal{position:fixed;left:0;top:.5rem;width:100%;height:90%;z-index:102}#upload_modal{display:none}
|
||||
.clipArea{width:100%;height:100%;background-color:rgba(0,0,0,0.7)}
|
||||
#errorBg{background:url(../img/img_error_3.png) no-repeat;background-size:cover}#errorBtn{width:152px;position:absolute;bottom:-50px;left:28%;background:#f9a517;color:#fff;border-color:#f9a517}
|
||||
#errorLostBg{background:url(../img/img_error_2.png) no-repeat;background-size:100% 146%}#errorLostBg p{position:absolute;color:#40ad74;font-size:.18rem;left:7%;top:20%}
|
||||
.wst-pay-inp{width:100%;margin-top:2px;padding:2px 2px 2px 5px;height:36px;border-radius:2px;border:1px solid #a0a0a0}
|
||||
.ui-header ~ .ui-container{border-top:42px solid transparent}
|
||||
.ui-footer ~ .ui-container{border-bottom:45px solid transparent}
|
||||
.ui-header-positive i,.ui-header-positive a{color:#59595c}
|
||||
.ui-dialog-bd h4{margin-bottom:10px;text-align:center}
|
||||
.ui-poptips-success,.ui-poptips-info,.ui-poptips-warn{z-index:9999}
|
||||
.wst-red{color:#de0202}
|
||||
.ft-title i{float:left;width:18px;height:18px;background:url(../img/icon_tishi.png) no-repeat;background-size:100%}
|
||||
.ft-title span{padding-left:7px}
|
||||
.ft-item{padding-left:25px;font-size:.13rem}
|
||||
input[type="search"]::-webkit-search-cancel-button{display:none;-webkit-appearance:none}
|
20
hyhproject/mobile2/view/default/css/consult.css
Executable file
20
hyhproject/mobile2/view/default/css/consult.css
Executable file
@ -0,0 +1,20 @@
|
||||
@CHARSET "UTF-8";
|
||||
body{font-size:.15rem;background:#f0f2f5}
|
||||
.gcListBox{width:99%}
|
||||
.gcList{width:100%}
|
||||
.item-time{float:right}
|
||||
.gcList li{background:#fff;border-bottom:1px solid #ccc;width:97%;padding:10px 5px}
|
||||
.gcList li:last-child{border:0}
|
||||
.gc-item-tit{font-size:.11rem;margin:0 10px}
|
||||
.question-box{padding-top:8px}
|
||||
.question-pic{display:block;width:17px;height:17px;background-size:50px 50px;background-image:url(./../img/QA-icon.png);background-position:0 -15px;margin-left:10px;float:left;margin-top:1px}
|
||||
.question-content{width:100%;margin-left:-27px;display:block;float:left;word-break:break-word;overflow:hidden}
|
||||
.question-content span{margin-left:37px;display:block;padding-right:12px;font-size:13px;color:#848689;line-height:18px;margin-top:0}
|
||||
.question-content{width:100%;margin-left:-27px;display:block;float:left;word-break:break-word;overflow:hidden}
|
||||
.answer-content span{color:#252525}
|
||||
.answer-pic{background-position:-33px -15px}
|
||||
.gcplist{padding:10px}
|
||||
.gcplist li{margin-bottom:5px}#consultContent{width:100%;min-height:100px}
|
||||
.consult{width:30px;height:30px;position:absolute;right:5px;top:5px;background:url(./../img/icon_adds_users.png) no-repeat;background-position:-75px -2px;background-size:150px 38.5px}
|
||||
.consult-button{width:100px;height:30px;margin-top:10px;font-size:.15rem;line-height:30px;color:#fff;background:#e00102;border-radius:3px;border-bottom:1px solid #e00102}
|
||||
.consult-button:not(.disabled):not(:disabled):active{color:#fff0f0;background:#f52f30;background-clip:padding-box}
|
191
hyhproject/mobile2/view/default/css/day_new.css
Executable file
191
hyhproject/mobile2/view/default/css/day_new.css
Executable file
@ -0,0 +1,191 @@
|
||||
body {
|
||||
background: #c82929;
|
||||
}
|
||||
.banner img {
|
||||
width: 6.4rem;
|
||||
height: 3.99rem;
|
||||
}
|
||||
.new_yhj {
|
||||
width: 6.4rem;
|
||||
height: 2.6rem;
|
||||
background: url(../img/ac2_bg1.png) no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
.new_yhj .yhj1 {
|
||||
float: left;
|
||||
margin-left: 0.3rem;
|
||||
margin-top: 0.4rem;
|
||||
}
|
||||
.new_yhj .yhj1 img {
|
||||
width: 2.77rem;
|
||||
height: 1.16rem;
|
||||
}
|
||||
.everyday {
|
||||
width: 6.4rem;
|
||||
height: 6rem;
|
||||
background: url(../img/ac2activity_bg.png) no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
.madeInChina img {
|
||||
width: 6.4rem;
|
||||
height: 1.09rem;
|
||||
padding-bottom: 0.18rem;
|
||||
}
|
||||
.mdc_sp {
|
||||
margin-left: 0.16rem;
|
||||
margin-bottom: 0.6rem;
|
||||
}
|
||||
.mdc_sp .gssp {
|
||||
width: 3rem;
|
||||
height: 3.45rem;
|
||||
background: url(../img/guochan_con_bg.png) no-repeat;
|
||||
background-size: 100%;
|
||||
position: relative;
|
||||
float: left;
|
||||
margin-right: 0.1rem;
|
||||
margin-top: 0.2rem;
|
||||
}
|
||||
.mdc_sp .gssp img {
|
||||
width: 2.72rem;
|
||||
height: 2.73rem;
|
||||
border-radius: 10px;
|
||||
position: absolute;
|
||||
left: 0.14rem;
|
||||
top: 0.14rem;
|
||||
}
|
||||
.mdc_sp .cash {
|
||||
width: 2.73rem;
|
||||
height: 0.42rem;
|
||||
background: rgba(200, 41, 41, 0.4);
|
||||
position: absolute;
|
||||
bottom: 0.58rem;
|
||||
left: 0.12rem;
|
||||
border-radius: 0px 0px 10px 10px;
|
||||
color: #fff;
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.24rem;
|
||||
text-align: center;
|
||||
line-height: 0.42rem;
|
||||
}
|
||||
.baby {
|
||||
width: 6.4rem;
|
||||
height: 1.08rem;
|
||||
background: url(../img/ac2_title_bg.png) no-repeat;
|
||||
background-size: 100%;
|
||||
color: #c82929;
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.36rem;
|
||||
text-align: center;
|
||||
line-height: 1.08rem;
|
||||
font-weight: 900;
|
||||
}
|
||||
.baby_cp {
|
||||
margin-bottom: 0.46rem;
|
||||
}
|
||||
.baby_sp {
|
||||
width: 6.4rem;
|
||||
height: 7.3rem;
|
||||
background: url(../img/ac2_zdzb_bg.png) no-repeat;
|
||||
background-size: 100%;
|
||||
position: relative;
|
||||
}
|
||||
.baby_sp img {
|
||||
width: 5.85rem;
|
||||
height: 5.73rem;
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
top: 0.4rem;
|
||||
left: 0.3rem;
|
||||
}
|
||||
.baby_cp .baby_sp .wenzi {
|
||||
width: 4.55rem;
|
||||
height: 0.4rem;
|
||||
background: #fef8d4;
|
||||
position: absolute;
|
||||
bottom: 0.7rem;
|
||||
left: 1rem;
|
||||
color: #791619;
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.22rem;
|
||||
text-align: center;
|
||||
line-height: 0.4rem;
|
||||
}
|
||||
.baby_sp .sp_p {
|
||||
font-size: 0.55rem;
|
||||
position: absolute;
|
||||
bottom: 0.1rem;
|
||||
left: 0.9rem;
|
||||
color: #c82e2c;
|
||||
}
|
||||
.baby_sp .sp_p span {
|
||||
font-size: 0.18rem;
|
||||
color: #c82e2c;
|
||||
}
|
||||
.baby_sp .baby_shop {
|
||||
width: 1rem;
|
||||
height: 0.3rem;
|
||||
background: #c82e2c;
|
||||
color: #fdfac5;
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.15rem;
|
||||
position: absolute;
|
||||
bottom: 0.25rem;
|
||||
right: 0.9rem;
|
||||
text-align: center;
|
||||
line-height: 0.3rem;
|
||||
border-radius: 8px;
|
||||
}
|
||||
.six {
|
||||
width: 6.4rem;
|
||||
margin-bottom: 0.72rem;
|
||||
margin-top: 0.45rem;
|
||||
}
|
||||
.six .six_nr {
|
||||
width: 2rem;
|
||||
height: 1.1rem;
|
||||
background: url(../img/zdzb2_bg.png) no-repeat;
|
||||
background-size: 100%;
|
||||
margin-left: 0.11rem;
|
||||
float: left;
|
||||
}
|
||||
.six .six_nr p {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.26rem;
|
||||
color: #c72928;
|
||||
text-align: center;
|
||||
line-height: 1.1rem;
|
||||
}
|
||||
.six_cp .six_cp_sp {
|
||||
width: 1.87rem;
|
||||
height: 2.55rem;
|
||||
background: #fcd553;
|
||||
margin-left: 0.17rem;
|
||||
margin-bottom: 0.12rem;
|
||||
float: left;
|
||||
position: relative;
|
||||
}
|
||||
.six_cp .six_cp_sp img {
|
||||
width: 1.7rem;
|
||||
height: 1.75rem;
|
||||
margin: 0.08rem;
|
||||
}
|
||||
.six_cp .six_cp_sp .sanjiao {
|
||||
width: 1.9rem;
|
||||
height: 0.2rem;
|
||||
background: url(../img/ac2_sanjiao.png);
|
||||
position: absolute;
|
||||
left: -0.54rem;
|
||||
top: 1.7rem;
|
||||
}
|
||||
.six_cp .six_cp_sp p {
|
||||
color: #e41f4c;
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.2rem;
|
||||
text-align: center;
|
||||
font-weight: 900;
|
||||
margin-top: 0.2rem;
|
||||
}
|
||||
.footer img {
|
||||
width: 6.4rem;
|
||||
height: 2.52rem;
|
||||
}
|
222
hyhproject/mobile2/view/default/css/day_new.less
Executable file
222
hyhproject/mobile2/view/default/css/day_new.less
Executable file
@ -0,0 +1,222 @@
|
||||
body {
|
||||
background: #c82929;
|
||||
}
|
||||
|
||||
.banner img{
|
||||
width: 640/100rem;
|
||||
height: 399/100rem;
|
||||
}
|
||||
|
||||
.new_yhj{
|
||||
width: 640/100rem;
|
||||
height: 260/100rem;
|
||||
background: url(../img/ac2_bg1.png) no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
.new_yhj .yhj1{
|
||||
float: left;
|
||||
margin-left: 30/100rem;
|
||||
margin-top: 40/100rem;
|
||||
}
|
||||
|
||||
.new_yhj .yhj1 img{
|
||||
width: 277/100rem;
|
||||
height: 116/100rem;
|
||||
}
|
||||
|
||||
.everyday{
|
||||
width: 640/100rem;
|
||||
height: 600/100rem;
|
||||
background: url(../img/ac2activity_bg.png) no-repeat;
|
||||
background-size: 100%;
|
||||
|
||||
}
|
||||
|
||||
.madeInChina img{
|
||||
width: 640/100rem;
|
||||
height: 109/100rem;
|
||||
padding-bottom: 18/100rem;
|
||||
}
|
||||
|
||||
.mdc_sp{
|
||||
margin-left: 16/100rem;
|
||||
margin-bottom: 60/100rem;
|
||||
}
|
||||
|
||||
.mdc_sp .gssp{
|
||||
width: 300/100rem;
|
||||
height: 345/100rem;
|
||||
background: url(../img/guochan_con_bg.png) no-repeat;
|
||||
background-size: 100%;
|
||||
position: relative;
|
||||
float: left;
|
||||
margin-right: 10/100rem;
|
||||
margin-top: 20/100rem;
|
||||
}
|
||||
|
||||
.mdc_sp .gssp img{
|
||||
width: 272/100rem;
|
||||
height: 273/100rem;
|
||||
border-radius: 10px;
|
||||
position: absolute;
|
||||
left: 14/100rem;
|
||||
top: 14/100rem;
|
||||
}
|
||||
|
||||
.mdc_sp .cash{
|
||||
width: 273/100rem;
|
||||
height: 42/100rem;
|
||||
background: rgba(200,41,41,0.4);
|
||||
position: absolute;
|
||||
bottom: 58/100rem;
|
||||
left: 12/100rem;
|
||||
border-radius: 0px 0px 10px 10px;
|
||||
color: #fff;
|
||||
font-family: "微软雅黑";
|
||||
font-size: 24/100rem;
|
||||
text-align: center;
|
||||
line-height: 42/100rem;
|
||||
}
|
||||
|
||||
.baby{
|
||||
width: 640/100rem;
|
||||
height: 108/100rem;
|
||||
background: url(../img/ac2_title_bg.png) no-repeat;
|
||||
background-size: 100%;
|
||||
color: #c82929;
|
||||
font-family: "微软雅黑";
|
||||
font-size: 36/100rem;
|
||||
text-align: center;
|
||||
line-height: 108/100rem;
|
||||
font-weight: 900;
|
||||
}
|
||||
|
||||
.baby_cp{
|
||||
margin-bottom: 46/100rem;
|
||||
}
|
||||
|
||||
.baby_sp{
|
||||
width: 640/100rem;
|
||||
height: 730/100rem;
|
||||
background: url(../img/ac2_zdzb_bg.png) no-repeat;
|
||||
background-size: 100%;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.baby_sp img{
|
||||
width: 585/100rem;
|
||||
height: 573/100rem;
|
||||
border-radius: 50%;
|
||||
position: absolute;
|
||||
top: 40/100rem;
|
||||
left: 30/100rem;
|
||||
}
|
||||
|
||||
.baby_cp .baby_sp .wenzi{
|
||||
width: 455/100rem;
|
||||
height: 40/100rem;
|
||||
background: #fef8d4;
|
||||
position: absolute;
|
||||
bottom: 70/100rem;
|
||||
left: 100/100rem;
|
||||
color: #791619;
|
||||
font-family: "微软雅黑";
|
||||
font-size: 22/100rem;
|
||||
text-align: center;
|
||||
line-height: 40/100rem;
|
||||
}
|
||||
|
||||
.baby_sp .sp_p{
|
||||
font-size: 55/100rem;
|
||||
position: absolute;
|
||||
bottom: 10/100rem;
|
||||
left: 90/100rem;
|
||||
color: #c82e2c;
|
||||
}
|
||||
|
||||
.baby_sp .sp_p span{
|
||||
font-size: 18/100rem;
|
||||
color: #c82e2c;
|
||||
}
|
||||
|
||||
.baby_sp .baby_shop{
|
||||
width: 100/100rem;
|
||||
height: 30/100rem;
|
||||
background:#c82e2c;
|
||||
color: #fdfac5;
|
||||
font-family: "微软雅黑";
|
||||
font-size: 15/100rem;
|
||||
position: absolute;
|
||||
bottom: 25/100rem;
|
||||
right: 90/100rem;
|
||||
text-align: center;
|
||||
line-height: 30/100rem;
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.six{
|
||||
width: 640/100rem;
|
||||
margin-bottom: 72/100rem;
|
||||
margin-top: 45/100rem;
|
||||
}
|
||||
|
||||
.six .six_nr{
|
||||
width: 200/100rem;
|
||||
height: 110/100rem;
|
||||
background: url(../img/zdzb2_bg.png) no-repeat;
|
||||
background-size: 100%;
|
||||
margin-left: 11/100rem;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.six .six_nr p{
|
||||
font-family: "微软雅黑";
|
||||
font-size: 26/100rem;
|
||||
color: #c72928;
|
||||
text-align: center;
|
||||
line-height: 110/100rem;
|
||||
}
|
||||
|
||||
.six_cp .six_cp_sp{
|
||||
width: 187/100rem;
|
||||
height: 255/100rem;
|
||||
background: #fcd553;
|
||||
margin-left: 17/100rem;
|
||||
margin-bottom: 12/100rem;
|
||||
float: left;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.six_cp .six_cp_sp img{
|
||||
width: 170/100rem;
|
||||
height: 175/100rem;
|
||||
margin: 8/100rem;
|
||||
|
||||
}
|
||||
|
||||
.six_cp .six_cp_sp .sanjiao{
|
||||
width: 190/100rem;
|
||||
height: 20/100rem;
|
||||
background: url(../img/ac2_sanjiao.png);
|
||||
position: absolute;
|
||||
left: -54/100rem;
|
||||
top: 170/100rem;
|
||||
}
|
||||
|
||||
.six_cp .six_cp_sp p{
|
||||
color: #e41f4c;
|
||||
font-family: "微软雅黑";
|
||||
font-size: 20/100rem;
|
||||
text-align: center;
|
||||
font-weight: 900;
|
||||
margin-top: 20/100rem;
|
||||
}
|
||||
|
||||
.footer img{
|
||||
width: 640/100rem;
|
||||
height: 252/100rem;
|
||||
}
|
||||
|
||||
|
||||
|
42
hyhproject/mobile2/view/default/css/favorites.css
Executable file
42
hyhproject/mobile2/view/default/css/favorites.css
Executable file
@ -0,0 +1,42 @@
|
||||
@CHARSET "UTF-8";
|
||||
.ui-checkbox-s input:before{font-size:18px;color:#e32726}
|
||||
.ui-checkbox input:before,.ui-checkbox-s input:before{top:20px;left:-2px;font-size:22px!important}
|
||||
.ui-checkbox input:checked:before,.ui-checkbox-s input:checked:before{color:#e32726!important}
|
||||
.sactive{top:-43px!important;margin-right:-5px!important}
|
||||
.add-cart{display:inline-block;width:23px;height:25px;right:7px;bottom:5px;position:absolute;background:url(../img/icon_gzspcart.png) no-repeat;background-size:100%}
|
||||
.favorite-tc{line-height:45px;text-align:left}
|
||||
.f-btn button{position:absolute;top:0.06rem;right:10px;font-size:.15rem;background:#e00102;border-bottom:1px solid #e00102}
|
||||
.f-btn{min-width:85px}
|
||||
.wst-shl-list{position:relative;padding:5px 10px;margin-top:5px;background:#fff}
|
||||
.wst-shl-list .img{float:left;width:100%;height:100px;text-align:center;vertical-align:middle;display:block;position:relative}
|
||||
.wst-shl-list .img a{width:100%;height:100px;display:table-cell;vertical-align:middle}
|
||||
.wst-shl-list .img a img{max-width:100px;max-height:100px}
|
||||
.wst-shl-list .info{padding-left:5px}
|
||||
.wst-shl-list .title{margin-bottom:5px;padding-left:10px;font-size:.15rem;color:#363638}
|
||||
.wst-shl-list p{padding-left:10px}
|
||||
.wst-shl-list .deal{font-size:0.11rem;color: #999;}
|
||||
.wst-shl-list .price{color:#ff0e00;font-size:.16rem;}
|
||||
.wst-shl-list .price span{font-size:.13rem;}
|
||||
.shopImg{float:left;width:100%;height:100px;text-align:center;vertical-align:middle;display:block;position:relative}
|
||||
.shopImg a{width:100%;height:100px;display:table-cell;vertical-align:middle}
|
||||
.shopImg a img{max-width:100px;max-height:100px}
|
||||
.shop-box{margin:10px 0;background:#fff}
|
||||
.f-chk{position:absolute;top:85px;left:0}
|
||||
.s-active{top:-90px;left:-10px}
|
||||
.f-shop-header{position:relative;padding:10px 0;min-height:75px!important}
|
||||
.ui-row-flex-ver .ui-col{width:100%;height:initial}
|
||||
.f-shopname{float:left;line-height:25px;font-size:.16rem}
|
||||
.f-goshops{float:right;text-align:right;color:#ccc;font-size:.15rem;}
|
||||
.goods-box{padding:0!important;margin-bottom: 5px;}
|
||||
.goodsImg{margin-right: 5px;width:23.5%; position: relative;float:left;text-align:center;vertical-align:middle;display:block;position:relative;font-size:0.15rem;}
|
||||
.goodsImg a{width:100%;height:70px;display:table-cell;vertical-align:middle}
|
||||
.goods-item{width:24%;margin-right:5px;position: relative;}
|
||||
.goodsPrice{color: red;}
|
||||
.shop-box{margin:10px 0;background:#fff}
|
||||
.f-chk{position:absolute;top:85px;left:0}
|
||||
.s-active{top:-90px;left:-10px}
|
||||
.f-shop-header{position:relative;padding:10px 0;min-height:75px!important}
|
||||
.ui-row-flex-ver .ui-col{width:100%;height:initial}
|
||||
.f-shopname{float:left;line-height:25px;font-size:.16rem}
|
||||
.f-goshops{float:right;text-align:right;color:#ccc;font-size:.15rem;height: 20px;}
|
||||
.wst-action{margin-top: 5px; ;display: inline-block;height: 25px;width: 90%;float: right; font-size: 0.14rem;color: red; line-height: 25px;text-align: center;border-radius: 10px;border: 1px solid red;}
|
58
hyhproject/mobile2/view/default/css/global-lxy.css
Executable file
58
hyhproject/mobile2/view/default/css/global-lxy.css
Executable file
@ -0,0 +1,58 @@
|
||||
@charset "utf-8";
|
||||
/* CSS Document */
|
||||
|
||||
*{
|
||||
-webkit-tap-highlight-color: transparent;
|
||||
|
||||
}
|
||||
|
||||
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,
|
||||
fieldset,input,textarea,p,blockquote,th,td {
|
||||
margin:0;
|
||||
padding:0;
|
||||
|
||||
}
|
||||
body{
|
||||
font-family: "Helvetica Neue", Helvetica, Arial, "Hiragino Sans GB", "Hiragino Sans GB W3", "WenQuanYi Micro Hei", "Microsoft YaHei UI", "Microsoft YaHei", sans-serif;
|
||||
}
|
||||
table {
|
||||
border-collapse:collapse; /*让表格边框细线*/
|
||||
border-spacing:0; /*清除边框间距*/
|
||||
}
|
||||
fieldset,img {
|
||||
border:0 none; /*有些浏览器默认这些标签有边框,所以要清除默认边框*/
|
||||
display:block;
|
||||
}
|
||||
address,caption,cite,code,dfn,em,i,u,b,strong,th,var {
|
||||
font-style:normal;
|
||||
font-weight:normal;
|
||||
/*清除标签默认文本样式和加粗*/
|
||||
}
|
||||
input,textarea{
|
||||
outline:0 none;/*去掉文本框的默认轮廓线*/
|
||||
}
|
||||
ol,ul {
|
||||
list-style:none; /*清除列表默认样式*/
|
||||
}
|
||||
caption,th {
|
||||
text-align:left; /*清除标签默认文本居中对齐*/
|
||||
}
|
||||
h1,h2,h3,h4,h5,h6 {
|
||||
font-size:100%;
|
||||
font-weight:normal; /*清除标题标签的默认样式*/
|
||||
}
|
||||
a{
|
||||
text-decoration:none;/*大部分页面中的链接没有下划线*/
|
||||
}
|
||||
|
||||
.clearfix:after{
|
||||
height:0;
|
||||
content:" ";
|
||||
display:block;
|
||||
overflow:hidden;
|
||||
clear:both;
|
||||
}
|
||||
.clearfix{
|
||||
zoom:1;/*IE低版本浏览器不支持after伪类所以要加这一句*/
|
||||
}
|
||||
|
38
hyhproject/mobile2/view/default/css/global.css
Executable file
38
hyhproject/mobile2/view/default/css/global.css
Executable file
@ -0,0 +1,38 @@
|
||||
header {
|
||||
padding-top: 18px;
|
||||
line-height: 48px;
|
||||
text-align: center;
|
||||
background: -moz-linear-gradient(left, #f5364c, #e51329);
|
||||
/*Mozilla*/
|
||||
background: -webkit-gradient(linear, 0 50%, 100% 50%, from(#f5364c), to(#e51329));
|
||||
/*Old gradient for webkit*/
|
||||
background: -webkit-linear-gradient(left, #f5364c, #e51329);
|
||||
/*new gradient for Webkit*/
|
||||
background: -o-linear-gradient(left, #f5364c, #e51329);
|
||||
/*Opera11*/
|
||||
color: white;
|
||||
font-size: 18px;
|
||||
z-index: 10;
|
||||
position: fixed;
|
||||
width: 100%;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
|
||||
|
||||
.clearfix:after{
|
||||
height:0;
|
||||
content:" ";
|
||||
display:block;
|
||||
overflow:hidden;
|
||||
clear:both;
|
||||
}
|
||||
.clearfix{
|
||||
zoom:1;/*IE低版本浏览器不支持after伪类所以要加这一句*/
|
||||
}
|
||||
a{
|
||||
color: black;
|
||||
}
|
||||
a:active{
|
||||
color: white;
|
||||
}
|
16
hyhproject/mobile2/view/default/css/goods_category.css
Executable file
16
hyhproject/mobile2/view/default/css/goods_category.css
Executable file
@ -0,0 +1,16 @@
|
||||
@CHARSET "UTF-8";
|
||||
.ui-scrollerl{width:22%;height:496px;overflow:hidden;background:#fff;position:fixed;top:42px;left:0;}
|
||||
.ui-scrollerl li{padding:13px 0px;font-size:0.129rem;text-align:center;}
|
||||
.wst-goodscate{color: #232326;border-top:1px solid #f6f6f8;border-right:1px solid #f6f6f8;border-left:2px solid #f6f6f8;}
|
||||
.wst-goodscate_selected{color:#df0202;background:#f6f6f8;border-right:1px solid #f6f6f8;border-left:2px solid #df0202}
|
||||
.wst-scrollerr{width:78%;float:right}
|
||||
.wst-scrollerr li{margin:0px 5px;padding: 5px 10px 5px 5px;font-size:0.12rem;background: #fff;}
|
||||
.wst-goodsca{height:35px;background:#f2f2f2}
|
||||
.wst-goodscat{float:left;width:100%;}
|
||||
.wst-goodscat span{float: left;width: calc((100% - 15px)/3);width: -webkit-calc((100% - 15px)/3);width: -moz-calc((100% - 15px)/3);width: -ms-calc((100% - 15px)/3);width: -o-calc((100% - 15px)/3);height: calc((100vw - 20px)/3);height: -webkit-calc((100vw - 20px)/3);height: -moz-calc((100vw - 20px)/3);height: -ms-calc((100vw - 20px)/3);height: -o-calc((100vw - 20px)/3);padding: 5px 0px 0px 5px;text-align:center;}
|
||||
.wst-goodscat span a{color: #686868;text-align:center}
|
||||
.wst-goodscat span a img{width:100%;min-height:75px;margin-bottom:2;display:block;}
|
||||
.wst-gc-ads{padding-bottom:5px}
|
||||
.wst-gc-ads .title{margin-top:5;padding-left:10;height:30px;line-height:30px;font-size:0.13rem;}
|
||||
.wst-gc-br .brand{margin-left:5;background:#fff;}
|
||||
.wst-gc-br .brand img{float:left;width: calc((100% - 15px)/3);width: -webkit-calc((100% - 15px)/3);width: -moz-calc((100% - 15px)/3);width: -ms-calc((100% - 15px)/3);width: -o-calc((100% - 15px)/3);height:50px;margin:5px 0 5px 5px;}
|
981
hyhproject/mobile2/view/default/css/goods_detail.css
Executable file
981
hyhproject/mobile2/view/default/css/goods_detail.css
Executable file
@ -0,0 +1,981 @@
|
||||
@CHARSET "UTF-8";
|
||||
.wst-header .cart {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
position: absolute;
|
||||
right: 38px;
|
||||
background: url(../img/icon_spxq.png) -10px -4px no-repeat;
|
||||
background-size: 497%
|
||||
}
|
||||
|
||||
.wst-header .cart span {
|
||||
height: 12px;
|
||||
line-height: 12px;
|
||||
font-size: .11rem;
|
||||
position: absolute;
|
||||
top: 6px;
|
||||
right: 8px;
|
||||
min-width: 12px;
|
||||
text-align: center;
|
||||
border-radius: 5px;
|
||||
color: #fff;
|
||||
background: #de0202
|
||||
}
|
||||
|
||||
.wst-header .share {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
position: absolute;
|
||||
right: 0;
|
||||
background: url(../img/icon_spxq.png) -60px -4px no-repeat;
|
||||
background-size: 497%
|
||||
}
|
||||
|
||||
.swiper-container {
|
||||
height: calc(100vw);
|
||||
height: -webkit-calc(100vw);
|
||||
height: -moz-calc(100vw);
|
||||
height: -ms-calc(100vw);
|
||||
height: -o-calc(100vw);
|
||||
}
|
||||
|
||||
.swiper-pagination-bullet {
|
||||
width: 6px;
|
||||
height: 6px;
|
||||
background: rgba(0, 0, 0, .2);
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.swiper-pagination-bullet-active {
|
||||
background: #ff6666;
|
||||
}
|
||||
|
||||
.wst-go-return {
|
||||
position: absolute;
|
||||
top: 0.1rem;
|
||||
left: 0.1rem;
|
||||
z-index: 10;
|
||||
width: 0.3rem;
|
||||
height: 0.3rem;
|
||||
background-color: rgba(0, 0, 0, .4);
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
.wst-go-return i {
|
||||
position: absolute;
|
||||
top: 0.02rem;
|
||||
left: 0.02rem;
|
||||
width: 0.24rem;
|
||||
height: 0.24rem;
|
||||
line-height: 0.24rem;
|
||||
font-size: 0.24rem;
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wst-go-mores {
|
||||
position: absolute;
|
||||
top: 0.1rem;
|
||||
right: 0.1rem;
|
||||
z-index: 10;
|
||||
width: 0.3rem;
|
||||
height: 0.3rem;
|
||||
background-color: rgba(0, 0, 0, .4);
|
||||
border-radius: 100%;
|
||||
}
|
||||
|
||||
.wst-go-mores i {
|
||||
position: absolute;
|
||||
top: 0.03rem;
|
||||
left: 0.03rem;
|
||||
width: 0.24rem;
|
||||
height: 0.24rem;
|
||||
line-height: 0.24rem;
|
||||
font-size: 0.24rem;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
z-index: 0;
|
||||
}
|
||||
|
||||
.wst-ca-layer {
|
||||
position: fixed;
|
||||
left: 0px;
|
||||
top: 0px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
z-Index: 9999;
|
||||
display: none;
|
||||
background-color: rgba(0, 0, 0, .6);
|
||||
}
|
||||
|
||||
.wst-go-more {
|
||||
position: fixed;
|
||||
top: 29px;
|
||||
right: 0.05rem;
|
||||
z-Index: 10000;
|
||||
width: 32%;
|
||||
}
|
||||
|
||||
.wst-go-more .arrow {
|
||||
position: absolute;
|
||||
top: -6px;
|
||||
right: 7px;
|
||||
display: block;
|
||||
width: 0;
|
||||
height: 0;
|
||||
line-height: 0;
|
||||
border-width: 0.11rem;
|
||||
border-color: transparent transparent #fff transparent;
|
||||
border-style: dashed dashed solid dashed;
|
||||
}
|
||||
|
||||
.wst-go-more .more {
|
||||
margin-top: 13px;
|
||||
border-radius: 3px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.wst-go-more .more .column {
|
||||
width: 80px;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
height: 23px;
|
||||
line-height: 23px;
|
||||
padding: 10px 0px;
|
||||
}
|
||||
|
||||
.wst-go-more .more .line {
|
||||
border-bottom: 1px solid #f2f2f2;
|
||||
}
|
||||
|
||||
.wst-go-more .more i {
|
||||
float: left;
|
||||
width: 23px;
|
||||
height: 23px;
|
||||
margin-left: 2px;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.wst-go-more .home {
|
||||
background: url(../img/icon_bottomnav.png) 0px -24px no-repeat;
|
||||
background-size: 1062%;
|
||||
}
|
||||
|
||||
.wst-go-more .category {
|
||||
background: url(../img/icon_bottomnav.png) -53px -23px no-repeat;
|
||||
background-size: 1010%;
|
||||
}
|
||||
|
||||
.wst-go-more .cart {
|
||||
background: url(../img/icon_bottomnav.png) -107px -23px no-repeat;
|
||||
background-size: 1010%;
|
||||
}
|
||||
|
||||
.wst-go-more .follow {
|
||||
background: url(../img/icon_bottomnav.png) -161px -23px no-repeat;
|
||||
background-size: 1010%;
|
||||
}
|
||||
|
||||
.wst-go-more .user {
|
||||
background: url(../img/icon_bottomnav.png)-216px -23px no-repeat;
|
||||
background-size: 1010%;
|
||||
}
|
||||
|
||||
.wst-go-more .more p {
|
||||
float: left;
|
||||
width: 55px;
|
||||
font-size: 0.13rem;
|
||||
}
|
||||
|
||||
.wst-go-more .more li:active {
|
||||
padding-left: 2px;
|
||||
}
|
||||
|
||||
.wst-go-img {
|
||||
width: 100%;
|
||||
height: calc(100vw);
|
||||
height: -webkit-calc(100vw);
|
||||
height: -moz-calc(100vw);
|
||||
height: -ms-calc(100vw);
|
||||
height: -o-calc(100vw);
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
display: block;
|
||||
position: relative
|
||||
}
|
||||
|
||||
.wst-go-img a {
|
||||
width: calc(100vw);
|
||||
width: -webkit-calc(100vw);
|
||||
width: -moz-calc(100vw);
|
||||
width: -ms-calc(100vw);
|
||||
width: -o-calc(100vw);
|
||||
height: calc(100vw);
|
||||
height: -webkit-calc(100vw);
|
||||
height: -moz-calc(100vw);
|
||||
height: -ms-calc(100vw);
|
||||
height: -o-calc(100vw);
|
||||
display: table-cell;
|
||||
vertical-align: middle
|
||||
}
|
||||
|
||||
.wst-go-img a img {
|
||||
max-width: 100%;
|
||||
max-height: 100%;
|
||||
}
|
||||
|
||||
.wst-go-name {
|
||||
padding: 0.1rem 0.1rem 0 0.1rem;
|
||||
font-size: 0.165rem;
|
||||
color: #051B28;
|
||||
background: #fff;
|
||||
line-height: 0.23rem;
|
||||
}
|
||||
|
||||
.wst-go-price {
|
||||
padding: 0.1rem 0.1rem 0.05rem 0.1rem;
|
||||
background: #fff;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.wst-go-price p {
|
||||
font-size: .15rem;
|
||||
color: #707070;
|
||||
}
|
||||
|
||||
.wst-go-price .price {
|
||||
font-size: .25rem;
|
||||
color: #de0202
|
||||
}
|
||||
|
||||
.wst-go-price .price i {
|
||||
font-size: .13rem;
|
||||
}
|
||||
|
||||
.wst-go-price .market {
|
||||
margin-left: 12px;
|
||||
font-size: .13rem;
|
||||
color: #999;
|
||||
text-decoration: line-through
|
||||
}
|
||||
|
||||
.wst-go-price .info {
|
||||
padding-top: 0.05rem;
|
||||
font-size: 0.13rem;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.wst-go-price .follow,
|
||||
.wst-go-price .nofollow {
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
display: block;
|
||||
margin: 0 auto
|
||||
}
|
||||
|
||||
.lxy_price{
|
||||
float: left;
|
||||
}
|
||||
|
||||
.lxy_price p{
|
||||
color: #de0202;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
|
||||
|
||||
.wst-go-icon .follow {
|
||||
background: url(../img/icon_spxq.png) -154px -47px no-repeat;
|
||||
background-size: 659%
|
||||
}
|
||||
|
||||
.wst-go-icon .nofollow {
|
||||
background: url(../img/icon_spxq.png) -113px -47px no-repeat;
|
||||
background-size: 659%
|
||||
}
|
||||
|
||||
.wst-go-ul {
|
||||
margin: 10px 0
|
||||
}
|
||||
|
||||
.wst-go-ul li {
|
||||
color: #3d3d3d;
|
||||
margin-left: 0;
|
||||
padding: 0.1rem;
|
||||
border-bottom: 1px solid #edebeb
|
||||
}
|
||||
|
||||
.wst-go-ul .icon {
|
||||
color: #dbdada;
|
||||
height: 24px;
|
||||
line-height: 24px;
|
||||
font-size: .35rem
|
||||
}
|
||||
|
||||
.wst-go-ul .word {
|
||||
color: #3d3d3d;
|
||||
}
|
||||
|
||||
.wst-go-ul .line,
|
||||
.wst-go-shop .line {
|
||||
color: #dbdada;
|
||||
padding: 0 5px
|
||||
}
|
||||
|
||||
.wst-go-ul .red,
|
||||
.wst-go-shop .score .red {
|
||||
color: #de0202
|
||||
}
|
||||
|
||||
.wst-go-shop {
|
||||
padding-bottom: 10px;
|
||||
border-bottom: 1px solid #f2f1f1;
|
||||
}
|
||||
|
||||
.wst-go-shop .info {
|
||||
padding: 0.1rem;
|
||||
}
|
||||
|
||||
.wst-go-shop .img {
|
||||
float: left;
|
||||
width: 0.6rem;
|
||||
height: 0.6rem;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
display: block;
|
||||
position: relative
|
||||
}
|
||||
|
||||
.wst-go-shop .img a {
|
||||
width: 0.6rem;
|
||||
height: 0.6rem;
|
||||
display: table-cell;
|
||||
vertical-align: middle
|
||||
}
|
||||
|
||||
.wst-go-shop .img a img {
|
||||
max-width: 0.6rem;
|
||||
max-height: 0.6rem;
|
||||
font-size: 0.13rem
|
||||
}
|
||||
|
||||
.wst-go-shop .name {
|
||||
float: left;
|
||||
width: 80%;
|
||||
}
|
||||
|
||||
.wst-go-shop .name1 {
|
||||
float: left;
|
||||
width: 100%;
|
||||
padding-left: 0.05rem;
|
||||
font-size: 0.165rem;
|
||||
line-height: 0.35rem;
|
||||
}
|
||||
|
||||
.wst-go-shop .name2 {
|
||||
float: left;
|
||||
width: 100%;
|
||||
padding-left: 0.05rem;
|
||||
font-size: 0.13rem;
|
||||
color: #848689;
|
||||
}
|
||||
|
||||
.wst-go-shop .score {
|
||||
padding: 0.08rem 0.1rem;
|
||||
font-size: .13rem;
|
||||
}
|
||||
|
||||
.wst-go-shop .button {
|
||||
padding: 0.08rem 0.1rem;
|
||||
font-size: .15rem;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.wst-go-shop .button a {
|
||||
height: 0.38rem;
|
||||
line-height: 0.38rem;
|
||||
color: #666;
|
||||
border-radius: 4px;
|
||||
text-align: center;
|
||||
display: block;
|
||||
border: 1px solid #ccc;
|
||||
}
|
||||
|
||||
.wst-go-shop .button .goods {
|
||||
margin-right: 0.1rem;
|
||||
}
|
||||
|
||||
.wst-go-shop .button .goods:before {
|
||||
content: '';
|
||||
padding: 2px 8px;
|
||||
width: 10px;
|
||||
margin-right: 6px;
|
||||
background: url(../img/user-tool-icon2.png) 0 1px no-repeat;
|
||||
background-size: 100%
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
.wst-go-shop .button .shop {
|
||||
margin-left: 0.1rem;
|
||||
}
|
||||
.wst-go-shop .button .shop:before {
|
||||
content: '';
|
||||
padding: 2px 8px;
|
||||
width: 10px;
|
||||
margin-right: 6px;
|
||||
background: url(../img/icon_dp.png) 0 2px no-repeat;
|
||||
background-size: 100%
|
||||
}
|
||||
.wst-go-goods {
|
||||
float: left;
|
||||
width: calc((100% - 48px)/3);
|
||||
width: -webkit-calc((100% - 48px)/3);
|
||||
width: -moz-calc((100% - 48px)/3);
|
||||
width: -ms-calc((100% - 48px)/3);
|
||||
width: -o-calc((100% - 48px)/3);
|
||||
padding: 5px;
|
||||
margin: 6px 3px 0px 3px;
|
||||
font-size: .13rem;
|
||||
background: #fff;
|
||||
}
|
||||
.wst-go-goods .img {
|
||||
float: left;
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
display: block;
|
||||
position: relative
|
||||
}
|
||||
.wst-go-goods .img a {
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
display: table-cell;
|
||||
vertical-align: middle
|
||||
}
|
||||
.wst-go-goods .img a img {
|
||||
max-width: 100px;
|
||||
max-height: 100px
|
||||
}
|
||||
.wst-go-goods .name {
|
||||
float: left;
|
||||
width: 100%;
|
||||
height: .42rem;
|
||||
margin-top: 2px;
|
||||
line-height: .21rem
|
||||
}
|
||||
.wst-go-goods .info {
|
||||
float: left;
|
||||
width: 100%;
|
||||
margin-top: 3px
|
||||
}
|
||||
.wst-go-goods .info .price {
|
||||
float: left;
|
||||
font-size: .15rem;
|
||||
color: #e00102
|
||||
}
|
||||
.wst-go-icon .icon,
|
||||
.wst-go-icon .but {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
margin-top: 3px;
|
||||
width: 30px;
|
||||
height: 42px;
|
||||
color: #59595c;
|
||||
position: relative
|
||||
}
|
||||
.wst-go-icon .icon a {
|
||||
width: 30px;
|
||||
height: 42px;
|
||||
display: block
|
||||
}
|
||||
.wst-go-icon .img {
|
||||
width: 30px;
|
||||
height: 22px;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0
|
||||
}
|
||||
.wst-go-icon .tel {
|
||||
background: url(../img/icon_spxq.png) -14px -48px no-repeat;
|
||||
background-size: 738%
|
||||
}
|
||||
.wst-go-icon .qq {
|
||||
background: url(../img/qq.png) 5px 1px no-repeat;
|
||||
background-size: 20px 20px;
|
||||
}
|
||||
.wst-go-icon .shop {
|
||||
background: url(../img/icon_spxq.png) -62px -45px no-repeat;
|
||||
background-size: 648%;
|
||||
}
|
||||
.wst-go-icon .word {
|
||||
width: 100%;
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 2px;
|
||||
font-size: .13rem;
|
||||
text-align: center;
|
||||
color: #232326;
|
||||
}
|
||||
.wst-goods_buy {
|
||||
margin: 0;
|
||||
}
|
||||
.wst-goods_buyl,
|
||||
.wst-goods_buyr {
|
||||
float: left;
|
||||
width: 50%;
|
||||
height: 42px;
|
||||
line-height: 42px;
|
||||
font-size: .15rem;
|
||||
color: #fff
|
||||
}
|
||||
.wst-goods_buyl {
|
||||
background: #f9a517;
|
||||
border-bottom: 1px solid #f9a517;
|
||||
}
|
||||
.wst-goods_buyl:not(.disabled):not(:disabled):active,
|
||||
.wst-goods_buyl.active {
|
||||
color: #fbf6ee;
|
||||
background: #f3c77c;
|
||||
background-clip: padding-box
|
||||
}
|
||||
.wst-goods_buyr {
|
||||
background: #e00102;
|
||||
border-bottom: 1px solid #e00102;
|
||||
}
|
||||
.wst-goods_buyr:not(.disabled):not(:disabled):active,
|
||||
.wst-goods_buyr.active {
|
||||
color: #fbd6d6;
|
||||
background: #f25a5b;
|
||||
background-clip: padding-box
|
||||
}
|
||||
.wst-goods_buym {
|
||||
float: left;
|
||||
width: 100%;
|
||||
height: 42px;
|
||||
line-height: 42px;
|
||||
font-size: .15rem;
|
||||
color: #fff;
|
||||
background: #f23030;
|
||||
border: 1px solid #f23030;
|
||||
}
|
||||
.wst-fav_but {
|
||||
width: 23px;
|
||||
height: 48px;
|
||||
border-radius: none;
|
||||
border: 0;
|
||||
background-clip: padding-box
|
||||
}
|
||||
.wst-go-details {
|
||||
font-size: .16rem;
|
||||
padding: 8px 10px 15px 8px;
|
||||
word-wrap: break-word;
|
||||
word-break: break-all
|
||||
}
|
||||
.wst-go-details img {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
.wst-ev-term {
|
||||
margin-top: 0.02rem;
|
||||
font-size: .15rem;
|
||||
background: #fff;
|
||||
padding: 0.1rem 0;
|
||||
text-align: center;
|
||||
}
|
||||
.wst-ev-term .number {
|
||||
font-size: .13rem;
|
||||
}
|
||||
.wst-ev-term .active {
|
||||
color: #de0202;
|
||||
}
|
||||
.wst-go-evaluate {
|
||||
font-size: .13rem;
|
||||
background: #fff;
|
||||
border-bottom: 1px solid #f2f1f1;
|
||||
}
|
||||
.wst-go-evaluate .info {
|
||||
margin-bottom: 10px;
|
||||
padding: 6px 0;
|
||||
}
|
||||
.wst-go-evaluate .portrait {
|
||||
float: left;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
margin-right: 5px;
|
||||
border-radius: 100%;
|
||||
}
|
||||
.wst-go-evaluate .info .name {
|
||||
float: left
|
||||
}
|
||||
.wst-go-evaluate .info .ranks {
|
||||
float: left;
|
||||
width: 16px;
|
||||
margin: 2px 16px 0 5px
|
||||
}
|
||||
.wst-go-evaluate .info .time {
|
||||
float: right;
|
||||
color: #8e8d8d
|
||||
}
|
||||
.wst-go-evaluate .content {
|
||||
padding-bottom: 3px
|
||||
}
|
||||
.wst-go-evaluate .content p {
|
||||
float: left;
|
||||
width: 100%;
|
||||
}
|
||||
.wst-go-evaluate .content i {
|
||||
float: left;
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
margin: 2px 3px 0 0;
|
||||
}
|
||||
.wst-go-evaluate .content .bright {
|
||||
background: url(../img/img_dpjpj.png) 0 0 no-repeat;
|
||||
background-size: 296%
|
||||
}
|
||||
.wst-go-evaluate .content .dark {
|
||||
background: url(../img/img_dpjpj.png) -26px 0 no-repeat;
|
||||
background-size: 296%
|
||||
}
|
||||
.wst-go-evaluate .content .content2 {
|
||||
font-size: .14rem;
|
||||
margin-top: 2px;
|
||||
}
|
||||
.wst-go-evaluate .content img {
|
||||
float: left;
|
||||
width: 45px;
|
||||
height: 45px;
|
||||
margin: 2px 3px 0 0
|
||||
}
|
||||
.wst-go-evaluate .content .word {
|
||||
color: #8e8d8d;
|
||||
padding: 3px 0
|
||||
}
|
||||
.wst-go-evaluate .reply {
|
||||
padding: 10px 0;
|
||||
border-top: 1px solid #edebeb
|
||||
}
|
||||
.wst-cover {
|
||||
position: fixed;
|
||||
left: 0;
|
||||
top: 0;
|
||||
background-color: #000;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
filter: alpha(opacity=60);
|
||||
opacity: .6;
|
||||
z-Index: 9999;
|
||||
display: none
|
||||
}
|
||||
.wst-fr-box {
|
||||
position: fixed;
|
||||
z-index: 9999;
|
||||
left: 0;
|
||||
bottom: -226px;
|
||||
width: 100%;
|
||||
min-height: 40%;
|
||||
background: #fff;
|
||||
font-size: .15rem
|
||||
}
|
||||
.wst-fr-box .title,
|
||||
.wst-cart-box .title {
|
||||
position: relative;
|
||||
padding: 6px 0;
|
||||
border-bottom: 1px solid #f1f1f1
|
||||
}
|
||||
.wst-fr-box .title span {
|
||||
float: left;
|
||||
width: 100%;
|
||||
height: 26px;
|
||||
line-height: 26px;
|
||||
text-align: center;
|
||||
font-size: .185rem
|
||||
}
|
||||
.wst-fr-box .title i,
|
||||
.wst-cart-box .title i {
|
||||
position: absolute;
|
||||
right: 5px;
|
||||
top: -2px;
|
||||
font-size: 27px
|
||||
}
|
||||
.wst-fr-box .content {
|
||||
padding: 10px 10px 50px 10px
|
||||
}
|
||||
.wst-fr-box .determine,
|
||||
.wst-cart-box .determine {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
bottom: 3px;
|
||||
width: 100%;
|
||||
text-align: center;
|
||||
}
|
||||
.wst-fr-box .button,
|
||||
.wst-cart-box .button {
|
||||
width: 90%;
|
||||
font-size: .15rem;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
color: #fff;
|
||||
background: #e00102;
|
||||
border-radius: 5px;
|
||||
border-bottom: 1px solid #e00102
|
||||
}
|
||||
.wst-fr-box .button:not(.disabled):not(:disabled):active,
|
||||
.wst-cart-box .button:not(.disabled):not(:disabled):active {
|
||||
color: #fff0f0;
|
||||
background: #f52f30;
|
||||
background-clip: padding-box
|
||||
}
|
||||
.wst-cart-box {
|
||||
position: fixed;
|
||||
z-index: 9999;
|
||||
left: 0;
|
||||
bottom: -296px;
|
||||
width: 100%;
|
||||
min-height: 38%;
|
||||
background: #fff;
|
||||
font-size: .14rem
|
||||
}
|
||||
.wst-cart-box .title {
|
||||
min-height: 68px
|
||||
}
|
||||
.wst-cart-box .picture {
|
||||
position: absolute;
|
||||
left: 10px;
|
||||
top: -12px
|
||||
}
|
||||
.wst-cart-box .picture .img {
|
||||
float: left;
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
display: block;
|
||||
position: relative;
|
||||
padding: 5px;
|
||||
background: #fff;
|
||||
border-radius: 2px
|
||||
}
|
||||
.wst-cart-box .img a {
|
||||
width: 70px;
|
||||
height: 70px;
|
||||
display: table-cell;
|
||||
vertical-align: middle
|
||||
}
|
||||
.wst-cart-box .img a img {
|
||||
max-width: 70px;
|
||||
max-height: 70px
|
||||
}
|
||||
.wst-cart-box .title p {
|
||||
float: left;
|
||||
margin: 0 0 5px 96px;
|
||||
color: #3e3e3e;
|
||||
width: 53%
|
||||
}
|
||||
.wst-cart-box .title .price {
|
||||
font-size: .162rem;
|
||||
color: #de0202
|
||||
}
|
||||
.wst-cart-box .title .price .price2 {
|
||||
margin-left: 12px;
|
||||
font-size: .13rem;
|
||||
color: #707070;
|
||||
text-decoration: line-through
|
||||
}
|
||||
.wst-cart-box .standard {
|
||||
padding: 0 10px 118px 10px
|
||||
}
|
||||
.wst-cart-box .spec {
|
||||
padding: 10px 0;
|
||||
border-bottom: 1px solid #f1f1f1
|
||||
}
|
||||
.wst-cart-box .spec p {
|
||||
float: left;
|
||||
width: 100%
|
||||
}
|
||||
.wst-cart-box .spec .img {
|
||||
float: left;
|
||||
width: 40px;
|
||||
height: 40px;
|
||||
border-radius: 2px;
|
||||
margin: 5px 6px 0 0
|
||||
}
|
||||
.wst-cart-box .spec .img.active {
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
border: 1px solid #e00102
|
||||
}
|
||||
.wst-cart-box .spec span {
|
||||
float: left;
|
||||
margin: 5px 6px 0 0;
|
||||
padding: 3px 5px;
|
||||
border: 1px solid #a0a0a0;
|
||||
border-radius: 3px;
|
||||
text-align: center
|
||||
}
|
||||
.wst-cart-box .spec span.active {
|
||||
color: #fff;
|
||||
background: #e00102;
|
||||
border: 1px solid #e00102
|
||||
}
|
||||
.wst-cart-box .number {
|
||||
width: 92%;
|
||||
position: absolute;
|
||||
left: 3%;
|
||||
bottom: 52px;
|
||||
z-Index: 1;
|
||||
background: #fff
|
||||
}
|
||||
.wst-cart-box .number .stock {
|
||||
float: left;
|
||||
color: #3e3e3e;
|
||||
margin-top: 12px
|
||||
}
|
||||
.wst-buy_l {
|
||||
float: right;
|
||||
margin-top: 3px
|
||||
}
|
||||
.wst-buy_l1,
|
||||
.wst-buy_l3 {
|
||||
width: 40px;
|
||||
height: 32px;
|
||||
background: #FFF;
|
||||
border: 0;
|
||||
border: 1px solid #ddd
|
||||
}
|
||||
.wst-buy_l1 {
|
||||
border-right: 1px solid #fff;
|
||||
}
|
||||
.wst-buy_l3 {
|
||||
border-left: 1px solid #fff;
|
||||
}
|
||||
.wst-buy_l1 {
|
||||
border-top-left-radius: 3px;
|
||||
border-bottom-left-radius: 3px
|
||||
}
|
||||
.wst-buy_l3 {
|
||||
border-top-right-radius: 3px;
|
||||
border-bottom-right-radius: 3px
|
||||
}
|
||||
.wst-buy_l2 {
|
||||
width: 48px;
|
||||
height: 32px;
|
||||
border: 1px solid #ddd;
|
||||
text-align: center;
|
||||
color: #e00102
|
||||
}
|
||||
.wst-buy_l1:focus,
|
||||
.wst-buy_l3:focus {
|
||||
color: #e00102
|
||||
}
|
||||
.wst-buy_l2:focus {
|
||||
width: 48px;
|
||||
height: 32px;
|
||||
border: 1px solid #e00102
|
||||
}
|
||||
.ui-tab-nav {
|
||||
width: 62%;
|
||||
height: 40px;
|
||||
float: right;
|
||||
margin-right: 70px
|
||||
}
|
||||
.ui-tab-nav li.active {
|
||||
color: #777;
|
||||
border-bottom: 2px solid #de0202;
|
||||
color: #de0202
|
||||
}
|
||||
.ui-tab-nav li {
|
||||
height: 42px;
|
||||
line-height: 42px;
|
||||
font-size: .16rem;
|
||||
min-width: 50px
|
||||
}
|
||||
.ui-slider-content>li img {
|
||||
display: inline;
|
||||
width: auto
|
||||
}
|
||||
.gc-title {
|
||||
height: 38px;
|
||||
line-height: 38px;
|
||||
padding-left: 38px;
|
||||
font-size: .15rem;
|
||||
text-align: left;
|
||||
position: relative;
|
||||
background: #fff
|
||||
}
|
||||
.gc-tit-icon {
|
||||
display: block;
|
||||
width: 38px;
|
||||
height: 38px;
|
||||
background: url(./../img/icon_indextop.png) no-repeat;
|
||||
background-position: -144px 9px;
|
||||
background-size: 176px 20px;
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
}
|
||||
.gc-tit-icon2 {
|
||||
display: block;
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
background: url(./../img/icon_adds_users.png) -75px -2px no-repeat;
|
||||
position: absolute;
|
||||
top: 4px;
|
||||
right: 5px;
|
||||
background-size: 150px 38.5px;
|
||||
}
|
||||
.gc-title-list {
|
||||
background: #ffffff;
|
||||
padding: 0.1rem 0;
|
||||
border-top: 1px solid #f2f1f1;
|
||||
}
|
||||
.gc-title-list .prompt {
|
||||
text-align: center;
|
||||
font-size: 0.14rem;
|
||||
}
|
||||
.question-box {
|
||||
padding-top: 8px
|
||||
}
|
||||
.question-pic {
|
||||
display: block;
|
||||
width: 17px;
|
||||
height: 17px;
|
||||
background-size: 50px 50px;
|
||||
background-image: url(./../img/QA-icon.png);
|
||||
background-position: 0 -15px;
|
||||
margin-left: 10px;
|
||||
float: left;
|
||||
margin-top: 1px
|
||||
}
|
||||
.question-content {
|
||||
width: 100%;
|
||||
margin-left: -27px;
|
||||
display: block;
|
||||
float: left;
|
||||
word-break: break-word;
|
||||
overflow: hidden
|
||||
}
|
||||
.question-content span {
|
||||
margin-left: 37px;
|
||||
display: block;
|
||||
padding-right: 12px;
|
||||
font-size: 13px;
|
||||
color: #848689;
|
||||
line-height: 18px;
|
||||
margin-top: 0
|
||||
}
|
||||
.question-content {
|
||||
width: 100%;
|
||||
margin-left: -27px;
|
||||
display: block;
|
||||
float: left;
|
||||
word-break: break-word;
|
||||
overflow: hidden
|
||||
}
|
||||
.answer-content span {
|
||||
color: #252525
|
||||
}
|
||||
.answer-pic {
|
||||
background-position: -33px -15px
|
||||
}
|
34
hyhproject/mobile2/view/default/css/goods_list.css
Executable file
34
hyhproject/mobile2/view/default/css/goods_list.css
Executable file
@ -0,0 +1,34 @@
|
||||
@CHARSET "UTF-8";
|
||||
.wst-se-header2{padding-left: 0;}
|
||||
.wst-se-search{width: 76%;}
|
||||
.wst-se-icon{background: url(../img/goods-list.png) center center no-repeat;background-size: 60%;transform: rotate(90deg);-webkit-transition: all .2s linear;transition: all .2s linear;}
|
||||
.wst-se-icon2{background: url(../img/goods-list2.png) center center no-repeat;background-size: 60%;transform: rotate(0deg);}
|
||||
.wst-shl-head{background:#fff;font-size: 0.14rem;color:#6a6b6d;margin-bottom: 0.04rem;}
|
||||
.wst-shl-head .sorts{position:relative}
|
||||
.wst-shl-head .sorts p{height:22px;line-height:24px;padding:10px 15px 10px 0;text-align:center}
|
||||
.wst-shl-head .active{color:#de0202;}
|
||||
.wst-shl-head .sorts i{width:15px;height:15px;position:absolute;right:5px;top:13px}
|
||||
.wst-shl-head .sorts .up2{background: url(../img/img_jgsx.png) 4px -15px no-repeat;background-size: 46%;}
|
||||
.wst-shl-head .sorts .down{background: url(../img/img_jgsx.png) 4px -32px no-repeat;background-size: 46%;}
|
||||
.wst-shl-head .sorts .down2{background: url(../img/img_jgsx.png) 4px 2px no-repeat;background-size: 46%;}
|
||||
.wst-in-goods{float: left;width: 50%;box-sizing: border-box;padding: 5px;margin-bottom: 0.04rem;font-size: 0.14rem;background: #fff;color: #232326;font-family: "Microsoft YaHei",Arial,Helvetica,sans-serif;}
|
||||
.wst-in-goods.left{border-right: 0.02rem solid #f6f6f8;}
|
||||
.wst-in-goods.right{border-left: 0.02rem solid #f6f6f8;}
|
||||
.wst-in-goods .img{float:left;width:1.76rem;height:1.76rem;text-align:center;vertical-align:middle;display:block;position:relative}
|
||||
.wst-in-goods .img a{width:1.76rem;height:1.76rem;display:table-cell;vertical-align:middle}
|
||||
.wst-in-goods .img a img{max-width:1.76rem;max-height:1.76rem;}
|
||||
.wst-in-goods .name{float:left;width:100%;height:0.33rem;margin-top:3px;line-height:0.17rem}
|
||||
.wst-in-goods .info{float:left;width:100%;margin-top:0.01rem;}
|
||||
.wst-in-goods .info .price{float:left;font-size:0.13rem;color:#e00102;}
|
||||
.wst-in-goods .info .price span{font-size:0.166rem;}
|
||||
.wst-in-goods .info2{float:left;width:100%;font-size:0.11rem;}
|
||||
.wst-in-goods .info2 .price{float:left;color: #999;}
|
||||
.wst-in-goods .info2 .deal{float:right;color: #999;}
|
||||
.pd0{padding-right:6px!important}
|
||||
.wst-in-goods .tags{width:100%;float:left}
|
||||
.wst-in-goods .tags .tag{background:#f23030;color:#fff;border-radius:2px;font-size:11px;padding:0 2px 0 2px}
|
||||
.wst-go-switch .wst-in-goods{width: 100%;border:0;}
|
||||
.wst-go-switch .wst-in-goods .img{width:32%;}
|
||||
.wst-go-switch .wst-in-goods .name,.wst-go-switch .wst-in-goods .tags,.wst-go-switch .wst-in-goods .info,.wst-go-switch .wst-in-goods .info2{width:68%;padding-left:0.05rem;box-sizing: border-box;}
|
||||
.wst-go-switch .wst-in-goods .info2{margin-top:0.1rem;}
|
||||
.wst-go-switch .wst-in-goods .img,.wst-go-switch .wst-in-goods .img a{width: calc(31.5%);width: -webkit-calc(31.5%);width: -moz-calc(31.5%);width: -ms-calc(31.5%);width: -o-calc(31.5%);height: calc(31.5vw);height: -webkit-calc(31.5vw);height: -moz-calc(31.5vw);height: -ms-calc(31.5vw);height: -o-calc(31.5vw);}
|
7
hyhproject/mobile2/view/default/css/history.css
Executable file
7
hyhproject/mobile2/view/default/css/history.css
Executable file
@ -0,0 +1,7 @@
|
||||
@CHARSET "UTF-8";
|
||||
.goods-item{margin:5px 0;padding: 0.05rem 0.1rem;background:#ffffff;}
|
||||
.wst-info{padding-left:0.1rem;}
|
||||
.goodsTitle{font-size: 0.15rem;height:0.42rem;line-height:0.21rem;}
|
||||
.goods-info{color:#989292;font-size: 0.12rem;}
|
||||
.price{color: #de0202;font-size: 0.16rem;}
|
||||
.price span{font-size: 0.13rem;}
|
552
hyhproject/mobile2/view/default/css/index-lxy.css
Executable file
552
hyhproject/mobile2/view/default/css/index-lxy.css
Executable file
@ -0,0 +1,552 @@
|
||||
/* 6p */
|
||||
|
||||
@media all and (min-width: 376px) and (max-width: 414px) {
|
||||
.time {
|
||||
width: 100%;
|
||||
height: 182px;
|
||||
background: white;
|
||||
}
|
||||
.time_con {
|
||||
width: 100%;
|
||||
height: 150px;
|
||||
overflow: hidden;
|
||||
margin-top: -5px;
|
||||
}
|
||||
.time_con .swiper-container {
|
||||
height: 140px;
|
||||
width: 100%;
|
||||
margin-left: 12px;
|
||||
}
|
||||
.time_con .swiper-slide img {
|
||||
width: 100%;
|
||||
height: 99px;
|
||||
}
|
||||
.banner,
|
||||
.banner1 {
|
||||
width: 100%;
|
||||
height: 120px;
|
||||
margin-top: 6px;
|
||||
}
|
||||
}
|
||||
/* 6 */
|
||||
|
||||
@media all and (min-width: 321px) and (max-width: 375px) {
|
||||
.time {
|
||||
width: 100%;
|
||||
height: 172px;
|
||||
background: white;
|
||||
}
|
||||
.time_con {
|
||||
width: 100%;
|
||||
height: 140px;
|
||||
overflow: hidden;
|
||||
margin-top: -5px;
|
||||
}
|
||||
.time_con .swiper-container {
|
||||
height: 130px;
|
||||
width: 100%;
|
||||
margin-left: 12px;
|
||||
}
|
||||
.time_con .swiper-slide img {
|
||||
width: 100%;
|
||||
height: 89px;
|
||||
}
|
||||
.banner,
|
||||
.banner1 {
|
||||
width: 100%;
|
||||
height: 120px;
|
||||
margin-top: 6px;
|
||||
}
|
||||
}
|
||||
/* 5 */
|
||||
|
||||
@media all and (max-width: 320px) {
|
||||
.time {
|
||||
width: 100%;
|
||||
height: 178px;
|
||||
background: white;
|
||||
}
|
||||
.time_con {
|
||||
width: 100%;
|
||||
height: 140px;
|
||||
overflow: hidden;
|
||||
margin-top: -5px;
|
||||
}
|
||||
.time_con .swiper-container {
|
||||
height: 130px;
|
||||
width: 100%;
|
||||
margin-left: 12px;
|
||||
}
|
||||
.time_con .swiper-slide img {
|
||||
width: 100%;
|
||||
height: 89px;
|
||||
}
|
||||
.banner,
|
||||
.banner1 {
|
||||
width: 100%;
|
||||
height: 98px;
|
||||
margin-top: 6px;
|
||||
}
|
||||
}
|
||||
|
||||
.ac_center {
|
||||
float: left;
|
||||
width: 30%;
|
||||
border-right: 1px solid #efefef;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.youhaohuo {
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
border-bottom: 1px solid #efefef;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.youhaohuo .img {
|
||||
width: 86.4px;
|
||||
margin-top: 6px;
|
||||
margin-left: 9px;
|
||||
}
|
||||
|
||||
.aiguangjie {
|
||||
width: 100%;
|
||||
height: 105px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.aiguangjie .img {
|
||||
width: 80.4px;
|
||||
margin-top: 6px;
|
||||
margin-left: 9px;
|
||||
}
|
||||
|
||||
.ac_right {
|
||||
float: left;
|
||||
width: 35%;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.kongbai {
|
||||
width: 100%;
|
||||
height: 100px;
|
||||
border-bottom: 1px solid #efefef;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.bimaiqingdan {
|
||||
width: 100%;
|
||||
height: 105px;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.bimaiqingdan .img {
|
||||
width: 85.5px;
|
||||
margin-top: 6px;
|
||||
margin-left: 9px;
|
||||
}
|
||||
|
||||
.activity-lxy {
|
||||
width: 100%;
|
||||
height: 213px;
|
||||
background: #fff;
|
||||
border-bottom: 6px solid #efefef;
|
||||
}
|
||||
|
||||
.ac1_left-lxy {
|
||||
width: 40%;
|
||||
float: left;
|
||||
height: 213px;
|
||||
border-right: 1px solid #efefef;
|
||||
}
|
||||
|
||||
.ac1_left-lxy .img-lxy {
|
||||
width: 123px;
|
||||
margin-top: 12px;
|
||||
margin-left: 12px;
|
||||
}
|
||||
|
||||
.ac1_left-lxy .img-lxy1 {
|
||||
width: 100%;
|
||||
height: 170px;
|
||||
}
|
||||
|
||||
.ac_right-lxy {
|
||||
width: calc(50% - 1px);
|
||||
float: left;
|
||||
height: 213px;
|
||||
}
|
||||
|
||||
.ac_r-lxy {
|
||||
width: 120%;
|
||||
height: 106px;
|
||||
border-bottom: 1px solid #EFEFEF;
|
||||
text-align: center;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.ac_r-lxy .img-lxy {
|
||||
width: 54px;
|
||||
margin-top: 3px;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.ac_right_img1 {
|
||||
width: 50%;
|
||||
height: 85px;
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
}
|
||||
|
||||
.ac_right_img1 img {
|
||||
width: 100%;
|
||||
height: 85px;
|
||||
}
|
||||
|
||||
.ac_right_img2 {
|
||||
width: 50%;
|
||||
height: 85px;
|
||||
position: absolute;
|
||||
top: 20px;
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.ac_right_img2 img {
|
||||
width: 100%;
|
||||
height: 85px;
|
||||
}
|
||||
|
||||
.sw_l {
|
||||
width: 40%;
|
||||
height: 105px;
|
||||
}
|
||||
|
||||
.sw_l .img {
|
||||
width: 39.6px;
|
||||
margin-top: 6px;
|
||||
margin-left: 6px;
|
||||
}
|
||||
|
||||
.sw_r {
|
||||
width: 60%;
|
||||
height: 105px;
|
||||
background: #c1c1c1;
|
||||
}
|
||||
|
||||
.sw_r img {
|
||||
width: 100%;
|
||||
height: 105px;
|
||||
}
|
||||
|
||||
.xianshitehui {
|
||||
background: white url(../img/xianshitehui.png) no-repeat left top;
|
||||
background-size: 175.2px 108px;
|
||||
width: 100%;
|
||||
height: 108px;
|
||||
border-bottom: 6px solid #efefef;
|
||||
}
|
||||
|
||||
.xsth_con {
|
||||
width: calc(100% - 114px);
|
||||
height: 87px;
|
||||
margin-top: 8px;
|
||||
float: right;
|
||||
background: #c1c1c1;
|
||||
}
|
||||
|
||||
.xsth_con img {
|
||||
width: 100%;
|
||||
height: 87px;
|
||||
}
|
||||
|
||||
|
||||
.search1 {
|
||||
width: 70%;
|
||||
position: fixed;
|
||||
left: 11.5%;
|
||||
top: 0;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.wst-in-search1 input {
|
||||
float: left;
|
||||
width: 120%;
|
||||
height: 26px;
|
||||
font-size: .181rem;
|
||||
margin-top: 9px;
|
||||
outline: 0;
|
||||
border: 0;
|
||||
position: relative;
|
||||
left: -13px;
|
||||
background: #fff;
|
||||
opacity: 0.8;
|
||||
font-size: 10px;
|
||||
text-indent: 50px;
|
||||
z-index: 10;
|
||||
}
|
||||
|
||||
.wst-in-search1 p {
|
||||
float: left;
|
||||
width: 100%;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.wst-in-search1 .ui-icon-search {
|
||||
position: absolute;
|
||||
top: 2px;
|
||||
left: 1px;
|
||||
font-size: .35rem;
|
||||
color: #fff
|
||||
}
|
||||
|
||||
.wst-in-actives1 input {
|
||||
float: left;
|
||||
width: 120%;
|
||||
height: 26px;
|
||||
margin-top: 9px;
|
||||
outline: 0;
|
||||
border: 0;
|
||||
position: relative;
|
||||
background: #fff;
|
||||
opacity: 0.8;
|
||||
font-size: 10px;
|
||||
color: #000
|
||||
}
|
||||
|
||||
.msg {
|
||||
width: calc(100% - 24);
|
||||
height: 31.2px;
|
||||
background: white;
|
||||
margin: 6px 6px;
|
||||
border-radius: 12px;
|
||||
line-height: 31.2px;
|
||||
}
|
||||
|
||||
.msg img {
|
||||
width: 61.2px;
|
||||
margin: 6px 2%;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.msg p {
|
||||
float: left;
|
||||
color: #e51329;
|
||||
line-height: 30px;
|
||||
margin: 0;
|
||||
font-size: 12xp;
|
||||
}
|
||||
|
||||
.msg marquee {
|
||||
width: 50%;
|
||||
height: 31.2px;
|
||||
line-height: 31.2px;
|
||||
font-size: 12px;
|
||||
margin-left: 2%;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.msg .msg_more {
|
||||
float: left;
|
||||
color: black;
|
||||
margin-left: 2%;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.time_title {
|
||||
width: 100%;
|
||||
height: 33px;
|
||||
line-height: 38px;
|
||||
}
|
||||
|
||||
.time_title img {
|
||||
float: left;
|
||||
width: 95.4px;
|
||||
margin-left: 4px;
|
||||
margin-top: -3px;
|
||||
}
|
||||
|
||||
.time_title p {
|
||||
float: left;
|
||||
font-size: 13.2px;
|
||||
color: black;
|
||||
margin: 0;
|
||||
margin-left: 1.5%;
|
||||
}
|
||||
|
||||
.count {
|
||||
margin-left: 1%;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.count div {
|
||||
line-height: 15px;
|
||||
float: left;
|
||||
font-size: 10.8px;
|
||||
color: #fefefe;
|
||||
background: black;
|
||||
margin-top: 6px;
|
||||
padding: 3px 2px;
|
||||
border-radius: 2px;
|
||||
}
|
||||
|
||||
.count o {
|
||||
float: left;
|
||||
font-size: 10.8px;
|
||||
line-height: 33px;
|
||||
}
|
||||
|
||||
.jxyh {
|
||||
float: right;
|
||||
font-size: 13.2px;
|
||||
color: #e51329;
|
||||
margin-right: 12px;
|
||||
}
|
||||
|
||||
.time_title .jxyh img {
|
||||
float: right;
|
||||
width: 13.8px;
|
||||
margin-top: 11px;
|
||||
}
|
||||
|
||||
.time_con .swiper-slide p {
|
||||
margin: 0;
|
||||
text-align: center;
|
||||
color: #e51329;
|
||||
font-size: 15.6px;
|
||||
}
|
||||
|
||||
.time_con .swiper-slide del {
|
||||
display: block;
|
||||
text-align: center;
|
||||
color: #909090;
|
||||
font-size: 12px;
|
||||
}
|
||||
|
||||
.box {
|
||||
width: 100%;
|
||||
height: 350px;
|
||||
background: white;
|
||||
}
|
||||
|
||||
.box .img {
|
||||
height: 15.6px;
|
||||
}
|
||||
|
||||
.box p {
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
overflow: hidden;
|
||||
height: 21px;
|
||||
}
|
||||
|
||||
.box_1 {
|
||||
width: 42%;
|
||||
border-top: 1px solid #e6e6e6;
|
||||
border-right: 1px solid #e6e6e6;
|
||||
padding: 9px 12px;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.box .box2 {
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
.boxcon img {
|
||||
float: left;
|
||||
width: 66px;
|
||||
height: 66px;
|
||||
margin: 0 calc((100% - 132px)/4);
|
||||
}
|
||||
/*.banner,
|
||||
.banner1 {
|
||||
width: 100%;
|
||||
height: 120px;
|
||||
margin-top: 6px;
|
||||
}*/
|
||||
|
||||
.banner .swiper-container,
|
||||
.banner1 .swiper-container {
|
||||
padding: 0 12px;
|
||||
}
|
||||
|
||||
.banner .swiper-container .swiper-wrapper .swiper-slide img,
|
||||
.banner1 .swiper-container .swiper-wrapper .swiper-slide img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.pzss_title {
|
||||
margin: 0;
|
||||
margin-top: -9px;
|
||||
}
|
||||
|
||||
.pzss_title img {
|
||||
width: 100%;
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.pzss {
|
||||
margin: 0;
|
||||
/*margin-top: -7px;*/
|
||||
width: 100%;
|
||||
height: 345px;
|
||||
background: white;
|
||||
}
|
||||
|
||||
.pzss1 {
|
||||
width: 49%;
|
||||
border-top: 1px solid #e6e6e6;
|
||||
border-right: 1px solid #e6e6e6;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.pzss1 .p1,
|
||||
.pzss3 .p1 {
|
||||
margin: 0;
|
||||
margin-top: 6px;
|
||||
margin-left: 9px;
|
||||
color: #525252;
|
||||
font-size: 15.6px;
|
||||
overflow: hidden;
|
||||
height: 21px;
|
||||
}
|
||||
|
||||
.pzss1 .p2,
|
||||
.pzss3 .p2 {
|
||||
margin: 0;
|
||||
font-size: 12px;
|
||||
overflow: hidden;
|
||||
height: 21px;
|
||||
color: #ee5be2;
|
||||
margin-left: 9px;
|
||||
}
|
||||
|
||||
.pzss .pzss2 {
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
.pzss3 {
|
||||
width: 24.4%;
|
||||
border-top: 1px solid #e6e6e6;
|
||||
border-right: 1px solid #e6e6e6;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.pzss .pzss4 {
|
||||
border-right: none;
|
||||
}
|
||||
|
||||
.pzss3 img {
|
||||
width: 66px;
|
||||
height: 66px;
|
||||
margin: 0 calc(50% - 33px);
|
||||
}
|
||||
|
||||
<style type="text/css">input::-ms-input-placeholder {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
input::-webkit-input-placeholder {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
</style>
|
609
hyhproject/mobile2/view/default/css/index.css
Executable file
609
hyhproject/mobile2/view/default/css/index.css
Executable file
@ -0,0 +1,609 @@
|
||||
@CHARSET "UTF-8";
|
||||
.wst-in-header {
|
||||
height: 33px;
|
||||
background: -webkit-linear-gradient(top, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0));
|
||||
background: linear-gradient(top, rgba(0, 0, 0, .7), rgba(0, 0, 0, 0));
|
||||
-webkit-transition: background-color .2s linear;
|
||||
-moz-transition: background-color .2s linear;
|
||||
-o-transition: background-color .2s linear;
|
||||
transition: background-color .2s linear;
|
||||
-webkit-transform: translateZ(0);
|
||||
transform: translateZ(0);
|
||||
border-bottom: 0px;
|
||||
}
|
||||
|
||||
.wst-in-header.active {
|
||||
height: 39px;
|
||||
background: #e50e0f;
|
||||
opacity: 0.87;
|
||||
}
|
||||
|
||||
.wst-in-search {
|
||||
position: fixed;
|
||||
z-index: 100;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 100%;
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
padding: 0px;
|
||||
}
|
||||
|
||||
.wst-in-search .ui-icon-search {
|
||||
position: absolute;
|
||||
top: -2px;
|
||||
left: -2px;
|
||||
color: #fff;
|
||||
font-size: 0.35rem;
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
z-index: 100;
|
||||
}
|
||||
|
||||
.wst-in-search .searchs {
|
||||
display: block;
|
||||
width: 73.5%;
|
||||
margin: 0 auto;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.wst-in-search .searchs input {
|
||||
margin-top: 6px;
|
||||
padding: 0 0 0 25px;
|
||||
width: 100%;
|
||||
box-sizing: border-box;
|
||||
-ms-box-sizing: border-box;
|
||||
-moz-box-sizing: border-box;
|
||||
-webkit-box-sizing: border-box;
|
||||
border-radius: 15px;
|
||||
background: rgba(255, 255, 255, 0.5);
|
||||
color: #fff;
|
||||
font-size: 0.14rem;
|
||||
height: 28px;
|
||||
line-height: 28px;
|
||||
letter-spacing: 1px;
|
||||
border: none;
|
||||
}
|
||||
|
||||
.wst-in-search .searchs input::-webkit-input-placeholder {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wst-in-search .searchs input:-moz-placeholder {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wst-in-search .searchs input::-moz-placeholder {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wst-in-search .searchs inputt:-ms-input-placeholder {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
.wst-in-search .searchs.active input {
|
||||
background: #fff;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.wst-in-search .searchs.active input::-webkit-input-placeholder {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.wst-in-search .searchs.active input:-moz-placeholder {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.wst-in-search .searchs.active input::-moz-placeholder {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.wst-in-search .searchs.active inputt:-ms-input-placeholder {
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.wst-in-search .searchs.active .ui-icon-search {
|
||||
color: #333;
|
||||
}
|
||||
|
||||
.wst-in-search .classify {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
left: 0;
|
||||
width: 13.25%;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.wst-in-search .classify i {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
width: 33px;
|
||||
height: 33px;
|
||||
background: url(../img/classify.png) center center no-repeat;
|
||||
background-size: 60%;
|
||||
position: relative;
|
||||
top: 3px;
|
||||
}
|
||||
|
||||
.wst-in-search .user {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
width: 13.25%;
|
||||
height: 40px;
|
||||
line-height: 40px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.wst-in-search .user a {
|
||||
color: #fff;
|
||||
font-size: 0.13rem;
|
||||
}
|
||||
|
||||
.wst-in-search .user i {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
width: 33px;
|
||||
height: 33px;
|
||||
background: url(../img/message-icon.png) center center no-repeat;
|
||||
background-size: 60%;
|
||||
position: relative;
|
||||
top: 3px;
|
||||
}
|
||||
|
||||
.wst-in-search .user i .number {
|
||||
position: absolute;
|
||||
top: 1px;
|
||||
right: -1px;
|
||||
min-width: 10px;
|
||||
display: inline-block;
|
||||
text-align: center;
|
||||
background: #f74c31;
|
||||
color: #fff;
|
||||
font-size: 0.1rem;
|
||||
height: 15px;
|
||||
line-height: 15px;
|
||||
-webkit-border-radius: 8px;
|
||||
padding: 0 3px;
|
||||
background-clip: padding-box;
|
||||
}
|
||||
|
||||
.wst-in-adso .adso img,
|
||||
.wst-in-adsb img,
|
||||
.wst-in-adscats img,
|
||||
.wst-in-activity .img img {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: block
|
||||
}
|
||||
|
||||
.wst-in-choose {
|
||||
padding: 5px 0 12px 0;
|
||||
background: #fff
|
||||
}
|
||||
|
||||
.wst-in-choose p {
|
||||
width: 57.14285714%;
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
padding-bottom: 0.05rem;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
position: relative
|
||||
}
|
||||
|
||||
.wst-in-choose p img {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
.wst-in-choose span {
|
||||
font-size: 0.13rem;
|
||||
display: block;
|
||||
text-align: center;
|
||||
color: #666;
|
||||
}
|
||||
|
||||
.wst-in-activity {
|
||||
background: #fff;
|
||||
padding: 5px 0px 10px 0px;
|
||||
}
|
||||
|
||||
.wst-in-activity .img {
|
||||
height: 1.15rem;
|
||||
}
|
||||
|
||||
.wst-in-news {
|
||||
position: relative;
|
||||
display: block;
|
||||
width: 95%;
|
||||
margin: 0 auto;
|
||||
margin-top: 0.05rem;
|
||||
font-size: 0.14rem;
|
||||
height: 30px;
|
||||
line-height: 30px;
|
||||
background: #fff;
|
||||
border: 1px solid #eee;
|
||||
border-radius: 25px;
|
||||
}
|
||||
|
||||
.wst-in-news .article {
|
||||
float: left;
|
||||
width: 60%;
|
||||
height: 22px;
|
||||
margin-top: 4px;
|
||||
}
|
||||
|
||||
.wst-in-news .article p {
|
||||
height: 22px;
|
||||
line-height: 22px;
|
||||
border-right: 1px solid #eee;
|
||||
}
|
||||
|
||||
.wst-in-news .new {
|
||||
float: left;
|
||||
width: 24%;
|
||||
text-align: left;
|
||||
margin-left: 3px;
|
||||
font: bold 13px/31px verdana;
|
||||
background: url(../img/icon_news1.png) 30px no-repeat;
|
||||
background-size: 50% 70%;
|
||||
}
|
||||
|
||||
.wst-in-news .new p {
|
||||
color: white;
|
||||
display: inline-block;
|
||||
}
|
||||
|
||||
.wst-in-news a {
|
||||
color: #df0202;
|
||||
}
|
||||
|
||||
.wst-in-news .more {
|
||||
float: right;
|
||||
width: 15%;
|
||||
height: 30px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.wst-in-news .more:active {
|
||||
background: #f2f1f1
|
||||
}
|
||||
|
||||
input[type="search"]::-webkit-search-cancel-button {
|
||||
display: none;
|
||||
-webkit-appearance: none
|
||||
}
|
||||
|
||||
.wst-in-adst {
|
||||
padding: 0.1rem 0px;
|
||||
background: #fff
|
||||
}
|
||||
|
||||
.wst-in-adst img {
|
||||
float: left;
|
||||
width: 50%;
|
||||
border-bottom: 0.01rem solid #f2f1f1;
|
||||
}
|
||||
|
||||
.wst-in-adsb {
|
||||
height: 1.05rem;
|
||||
background: #fff
|
||||
}
|
||||
|
||||
.wst-in-title {
|
||||
height: 0.3rem;
|
||||
padding: 0.05rem 0;
|
||||
text-align: center;
|
||||
color: #addd2d;
|
||||
background: #fff;
|
||||
border-bottom: 0.01rem solid #f2f1f1;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.wst-in-title .line {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
margin-top: 0.14rem;
|
||||
width: 66%;
|
||||
height: 0.02rem;
|
||||
background: #addd2d;
|
||||
}
|
||||
|
||||
.wst-in-title .name {
|
||||
position: absolute;
|
||||
left: 0;
|
||||
top: 0;
|
||||
width: 100%;
|
||||
height: 0.4rem;
|
||||
}
|
||||
|
||||
.wst-in-title .name p {
|
||||
display: block;
|
||||
margin: 0 auto;
|
||||
width: 50%;
|
||||
height: 0.4rem;
|
||||
font: bold 0.158rem/0.43rem verdana;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.wst-in-title .name p span {
|
||||
position: relative;
|
||||
padding-left: 0.2rem;
|
||||
}
|
||||
|
||||
.wst-in-title .icon {
|
||||
position: absolute;
|
||||
top: -0.02rem;
|
||||
left: 0;
|
||||
display: block;
|
||||
width: 0.2rem;
|
||||
height: 0.2rem;
|
||||
background: url(../img/index-icon.png) 0px 0px no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
.colour0 {
|
||||
color: #addd2d
|
||||
}
|
||||
|
||||
.colour0 .line {
|
||||
background: #addd2d
|
||||
}
|
||||
|
||||
.colour0 .icon {
|
||||
background-position: 0px 0px
|
||||
}
|
||||
|
||||
.colour1 {
|
||||
color: #59a4f0
|
||||
}
|
||||
|
||||
.colour1 .line {
|
||||
background: #59a4f0
|
||||
}
|
||||
|
||||
.colour1 .icon {
|
||||
background-position: 0px -0.41rem
|
||||
}
|
||||
|
||||
.colour2 {
|
||||
color: #d71c1c
|
||||
}
|
||||
|
||||
.colour2 .line {
|
||||
background: #d71c1c
|
||||
}
|
||||
|
||||
.colour2 .icon {
|
||||
background-position: 0px -0.81rem
|
||||
}
|
||||
|
||||
.colour3 {
|
||||
color: #f28748
|
||||
}
|
||||
|
||||
.colour3 .line {
|
||||
background: #f28748
|
||||
}
|
||||
|
||||
.colour3 .icon {
|
||||
background-position: 0px -1.20rem
|
||||
}
|
||||
|
||||
.colour4 {
|
||||
color: #f28bd4
|
||||
}
|
||||
|
||||
.colour4 .line {
|
||||
background: #f28bd4
|
||||
}
|
||||
|
||||
.colour4 .icon {
|
||||
background-position: 0px -1.60rem
|
||||
}
|
||||
|
||||
.colour5 {
|
||||
color: #a24220
|
||||
}
|
||||
|
||||
.colour5 .line {
|
||||
background: #a24220
|
||||
}
|
||||
|
||||
.colour5 .icon {
|
||||
background-position: 0px -2rem
|
||||
}
|
||||
|
||||
.colour6 {
|
||||
color: #4289db
|
||||
}
|
||||
|
||||
.colour6 .line {
|
||||
background: #4289db
|
||||
}
|
||||
|
||||
.colour6 .icon {
|
||||
background-position: 0px -2.41rem
|
||||
}
|
||||
|
||||
.colour7 {
|
||||
color: #f04f00
|
||||
}
|
||||
|
||||
.colour7 .line {
|
||||
background: #f04f00
|
||||
}
|
||||
|
||||
.colour7 .icon {
|
||||
background-position: 0px -2.80rem
|
||||
}
|
||||
|
||||
.colour8 {
|
||||
color: #009d4e
|
||||
}
|
||||
|
||||
.colour8 .line {
|
||||
background: #009d4e
|
||||
}
|
||||
|
||||
.colour8 .icon {
|
||||
background-position: 0px -3.20rem
|
||||
}
|
||||
|
||||
.colour9 {
|
||||
color: #f6dd06
|
||||
}
|
||||
|
||||
.colour9 .line {
|
||||
background: #f6dd06
|
||||
}
|
||||
|
||||
.colour9 .icon {
|
||||
background-position: 0px -3.61rem
|
||||
}
|
||||
|
||||
.colour10 {
|
||||
color: #b79467
|
||||
}
|
||||
|
||||
.colour10 .line {
|
||||
background: #b79467
|
||||
}
|
||||
|
||||
.colour10 .icon {
|
||||
background-position: 0px -4.01rem
|
||||
}
|
||||
|
||||
.colour11 {
|
||||
color: #ad2be2
|
||||
}
|
||||
|
||||
.colour11 .line {
|
||||
background: #ad2be2
|
||||
}
|
||||
|
||||
.colour11 .icon {
|
||||
background-position: 0px -4.42rem
|
||||
}
|
||||
|
||||
.wst-in-adscats {
|
||||
height: 60px
|
||||
}
|
||||
|
||||
.wst-in-goods {
|
||||
float: left;
|
||||
width: 50%;
|
||||
box-sizing: border-box;
|
||||
padding: 5px;
|
||||
margin-bottom: 0.2rem;
|
||||
font-size: 0.08rem;
|
||||
background: #fff;
|
||||
color: #232326;
|
||||
font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
.wst-in-goods.left {
|
||||
border-right: 0.02rem solid #f6f6f8;
|
||||
}
|
||||
|
||||
.wst-in-goods.right {
|
||||
border
|
||||
}
|
||||
|
||||
.lxy_p {
|
||||
color: #DE0202;
|
||||
font-size: 0.14rem;
|
||||
font-family: "Microsoft YaHei", Arial, Helvetica, sans-serif;
|
||||
}
|
||||
|
||||
.wst-in-goods .img {
|
||||
float: left;
|
||||
width: 1.76rem;
|
||||
height: 1.76rem;
|
||||
text-align: center;
|
||||
vertical-align: middle;
|
||||
display: block;
|
||||
position: relative
|
||||
}
|
||||
|
||||
.wst-in-goods .img a {
|
||||
width: 1.76rem;
|
||||
height: 1.76rem;
|
||||
display: table-cell;
|
||||
vertical-align: middle
|
||||
}
|
||||
|
||||
.wst-in-goods .img a img {
|
||||
max-width: 1.76rem;
|
||||
max-height: 1.76rem;
|
||||
}
|
||||
|
||||
.wst-in-goods .name {
|
||||
float: left;
|
||||
width: 100%;
|
||||
height: 0.33rem;
|
||||
margin-top: 3px;
|
||||
line-height: 0.17rem
|
||||
}
|
||||
|
||||
.wst-in-goods .info {
|
||||
float: left;
|
||||
width: 100%;
|
||||
margin-top: 0.05rem;
|
||||
}
|
||||
|
||||
.wst-in-goods .info .price {
|
||||
float: left;
|
||||
font-size: 0.13rem;
|
||||
color: #e00102;
|
||||
}
|
||||
|
||||
.wst-in-goods .info .price span {
|
||||
font-size: 0.166rem;
|
||||
}
|
||||
|
||||
.wst-in-goods .info2 {
|
||||
float: left;
|
||||
width: 100%;
|
||||
font-size: 0.11rem;
|
||||
}
|
||||
|
||||
.wst-in-goods .info2 .price {
|
||||
float: left;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.wst-in-goods .info2 .deal {
|
||||
float: right;
|
||||
color: #999;
|
||||
}
|
||||
|
||||
.ui-header~.ui-container {
|
||||
border-top: 0px solid transparent
|
||||
}
|
||||
|
||||
|
||||
/*轮播*/
|
||||
|
||||
.ui-slider-indicators {
|
||||
display: block;
|
||||
right: 0px;
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.ui-slider-indicators li {
|
||||
display: inline-block;
|
||||
margin: 0px 3px;
|
||||
width: 8px;
|
||||
height: 3px;
|
||||
-webkit-box-shadow: none;
|
||||
-moz-box-shadow: none;
|
||||
-o-box-shadow: none;
|
||||
box-shadow: none;
|
||||
background: rgba(255, 255, 255, 0.5);
|
||||
}
|
||||
|
||||
.ui-slider-indicators li.current,
|
||||
.ui-slider-indicators li.current:before {
|
||||
background-color: #fff;
|
||||
}
|
54
hyhproject/mobile2/view/default/css/iziModal.css
Executable file
54
hyhproject/mobile2/view/default/css/iziModal.css
Executable file
@ -0,0 +1,54 @@
|
||||
.iziModal{display:none;position:fixed;width:100%;left:50%;top:50%;z-index:999;background:#FFF;border-radius:3px;box-shadow:0 0 8px rgba(0,0,0,.3);transition:margin-top .3s ease}
|
||||
.iziModal *{-webkit-font-smoothing:antialiased}
|
||||
.iziModal::after{content:'';width:100%;height:0;opacity:0;position:absolute;left:0;bottom:0;z-index:1;background:-moz-linear-gradient(top,rgba(0,0,0,0) 0,rgba(0,0,0,0.35) 100%);background:-webkit-gradient(linear,left top,left bottom,color-stop(0%,rgba(0,0,0,0)),color-stop(100%,rgba(0,0,0,0.35)));background:-webkit-linear-gradient(top,rgba(0,0,0,0) 0,rgba(0,0,0,0.35) 100%);background:-o-linear-gradient(top,rgba(0,0,0,0) 0,rgba(0,0,0,0.35) 100%);background:-ms-linear-gradient(top,rgba(0,0,0,0) 0,rgba(0,0,0,0.35) 100%);background:linear-gradient(to bottom,rgba(0,0,0,0) 0,rgba(0,0,0,0.35) 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#00000000',endColorstr='#59000000',GradientType=0);transition:height .3s ease-in-out,opacity .3s ease-in-out;pointer-events:none}
|
||||
.iziModal.hasScroll::after{height:50px;opacity:1}
|
||||
.iziModal .iziModal-button-close{display:block;position:absolute;top:0;left:0;z-index:2;outline:0;height:46px;width:46px;border-radius:50%;opacity:.5;transition:transform .5s cubic-bezier(.16,.81,.32,1),opacity .5s ease}
|
||||
.iziModal-button-close i{color:#000}
|
||||
.iziModal .iziModal-button-close:hover{opacity:1;transform:rotate(180deg)}
|
||||
.iziModal .iziModal-header{background:#88a0b9;padding:14px 40px 15px 18px;border-radius:3px 3px 0 0;border-bottom:1px solid #e8e8e8;overflow:hidden;position:relative;z-index:10}
|
||||
.iziModal .iziModal-header-icon{font-size:40px;color:rgba(255,255,255,0.5);padding-right:15px;float:left}
|
||||
.iziModal .iziModal-header-title{color:#69696b;font-size:18px;line-height:1.3}
|
||||
.iziModal .iziModal-header-subtitle{color:rgba(255,255,255,0.6);font-size:12px;line-height:1.4}
|
||||
.iziModal .iziModal-header-title,.iziModal .iziModal-header-subtitle{margin:0;font-family:Arial;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}
|
||||
.iziModal .iziModal-header.iziModal-noSubtitle{height:auto;padding:9px 15px 9px 15px}
|
||||
.iziModal .iziModal-header.iziModal-noSubtitle .iziModal-header-icon{font-size:23px;padding-right:13px}
|
||||
.iziModal .iziModal-header.iziModal-noSubtitle{font-size:15px;font-weight:400}
|
||||
.iziModal.light .iziModal-header{box-shadow:none}
|
||||
.iziModal.light .iziModal-header-icon{color:rgba(0,0,0,0.5)}
|
||||
.iziModal.light .iziModal-header-title{color:#000}
|
||||
.iziModal.light .iziModal-header-subtitle{color:rgba(0,0,0,0.6)}
|
||||
.iziModal.light .iziModal-button-close{background:url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABgAAAAYCAYAAADgdz34AAAAGXRFWHRTb2Z0d2FyZQBBZG9iZSBJbWFnZVJlYWR5ccllPAAAAyZpVFh0WE1MOmNvbS5hZG9iZS54bXAAAAAAADw/eHBhY2tldCBiZWdpbj0i77u/IiBpZD0iVzVNME1wQ2VoaUh6cmVTek5UY3prYzlkIj8+IDx4OnhtcG1ldGEgeG1sbnM6eD0iYWRvYmU6bnM6bWV0YS8iIHg6eG1wdGs9IkFkb2JlIFhNUCBDb3JlIDUuNi1jMTExIDc5LjE1ODMyNSwgMjAxNS8wOS8xMC0wMToxMDoyMCAgICAgICAgIj4gPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4gPHJkZjpEZXNjcmlwdGlvbiByZGY6YWJvdXQ9IiIgeG1sbnM6eG1wTU09Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC9tbS8iIHhtbG5zOnN0UmVmPSJodHRwOi8vbnMuYWRvYmUuY29tL3hhcC8xLjAvc1R5cGUvUmVzb3VyY2VSZWYjIiB4bWxuczp4bXA9Imh0dHA6Ly9ucy5hZG9iZS5jb20veGFwLzEuMC8iIHhtcE1NOkRvY3VtZW50SUQ9InhtcC5kaWQ6NDU0QjI2RjgyNjZFMTFFNkE3RTk5MEFGMzVBNTcxNkYiIHhtcE1NOkluc3RhbmNlSUQ9InhtcC5paWQ6NDU0QjI2RjcyNjZFMTFFNkE3RTk5MEFGMzVBNTcxNkYiIHhtcDpDcmVhdG9yVG9vbD0iQWRvYmUgUGhvdG9zaG9wIENDIDIwMTQgKFdpbmRvd3MpIj4gPHhtcE1NOkRlcml2ZWRGcm9tIHN0UmVmOmluc3RhbmNlSUQ9InhtcC5paWQ6MDVDRUM4QTFGQTZCMTFFNEExNEZGMTM1MjdDNDE2ODMiIHN0UmVmOmRvY3VtZW50SUQ9InhtcC5kaWQ6MDVDRUM4QTJGQTZCMTFFNEExNEZGMTM1MjdDNDE2ODMiLz4gPC9yZGY6RGVzY3JpcHRpb24+IDwvcmRmOlJERj4gPC94OnhtcG1ldGE+IDw/eHBhY2tldCBlbmQ9InIiPz6mca+RAAABkklEQVR42rxVoU4DQRC9NhhUAYNBICqbVLUJSU+cK4IPuB+4BAeCNAUPAgH6fqCuBkHdGRJEVZPKE4iaKlqFPN4ms8uymbm7hjsmeZmmO/ve7czsTiPLMq9O28tbjOP4EC4EzoE2cEJLKyAFXoFJFEWfEkeDOwGI9+GugRvgoOAjN8Aj8AShr0IBkJ/CvQCdHbOxBC4g8iEKgFyl4N1Kxa6mUncGkZX+o+mkZfoHco/2TonrtwDsCuhV0Dg94voRgOIR3IgJvgR8OjqXDp9iXBsRpzmBasUWVzjk8w0+cETU74DWlsy+FnEagaFw3Am+pA2i1BLR5KlaUzHC3qEt0M0pWuKI2ORJTlN07Zt8XNAZSiQgEa8EueFsejWbFlgXXB6TFqYmkq1tgUUZckpLUlJkYQvMhKCQKahb+FDYO7MFVKttmaAOiAZMQbXIQHgUt7p9zWOH4DHcfUW1vcXpHtwuegbmFZDPieufn2tltOAL70uZgePb5OxFo4nUB+5oHBbZhmL77jQTZ3LtQ79K+xZgAC6hutw74AdUAAAAAElFTkSuQmCC') no-repeat 50% 50%}
|
||||
.iziModal .iziModal-loader{background:#FFF url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDQiIGhlaWdodD0iNDQiIHZpZXdCb3g9IjAgMCA0NCA0NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBzdHJva2U9IiM5OTkiPiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZS13aWR0aD0iMiI+ICAgICAgICA8Y2lyY2xlIGN4PSIyMiIgY3k9IjIyIiByPSIxIj4gICAgICAgICAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJyIiAgICAgICAgICAgICAgICBiZWdpbj0iMHMiIGR1cj0iMS40cyIgICAgICAgICAgICAgICAgdmFsdWVzPSIxOyAyMCIgICAgICAgICAgICAgICAgY2FsY01vZGU9InNwbGluZSIgICAgICAgICAgICAgICAga2V5VGltZXM9IjA7IDEiICAgICAgICAgICAgICAgIGtleVNwbGluZXM9IjAuMTY1LCAwLjg0LCAwLjQ0LCAxIiAgICAgICAgICAgICAgICByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgLz4gICAgICAgICAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJzdHJva2Utb3BhY2l0eSIgICAgICAgICAgICAgICAgYmVnaW49IjBzIiBkdXI9IjEuNHMiICAgICAgICAgICAgICAgIHZhbHVlcz0iMTsgMCIgICAgICAgICAgICAgICAgY2FsY01vZGU9InNwbGluZSIgICAgICAgICAgICAgICAga2V5VGltZXM9IjA7IDEiICAgICAgICAgICAgICAgIGtleVNwbGluZXM9IjAuMywgMC42MSwgMC4zNTUsIDEiICAgICAgICAgICAgICAgIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPiAgICAgICAgPC9jaXJjbGU+ICAgICAgICA8Y2lyY2xlIGN4PSIyMiIgY3k9IjIyIiByPSIxIj4gICAgICAgICAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJyIiAgICAgICAgICAgICAgICBiZWdpbj0iLTAuOXMiIGR1cj0iMS40cyIgICAgICAgICAgICAgICAgdmFsdWVzPSIxOyAyMCIgICAgICAgICAgICAgICAgY2FsY01vZGU9InNwbGluZSIgICAgICAgICAgICAgICAga2V5VGltZXM9IjA7IDEiICAgICAgICAgICAgICAgIGtleVNwbGluZXM9IjAuMTY1LCAwLjg0LCAwLjQ0LCAxIiAgICAgICAgICAgICAgICByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgLz4gICAgICAgICAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJzdHJva2Utb3BhY2l0eSIgICAgICAgICAgICAgICAgYmVnaW49Ii0wLjlzIiBkdXI9IjEuNHMiICAgICAgICAgICAgICAgIHZhbHVlcz0iMTsgMCIgICAgICAgICAgICAgICAgY2FsY01vZGU9InNwbGluZSIgICAgICAgICAgICAgICAga2V5VGltZXM9IjA7IDEiICAgICAgICAgICAgICAgIGtleVNwbGluZXM9IjAuMywgMC42MSwgMC4zNTUsIDEiICAgICAgICAgICAgICAgIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPiAgICAgICAgPC9jaXJjbGU+ICAgIDwvZz48L3N2Zz4=) no-repeat 50% 50%;position:absolute;left:0;right:0;top:0;bottom:0;z-index:9}
|
||||
.iziModal .iziModal-content-loader{background:url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iNDQiIGhlaWdodD0iNDQiIHZpZXdCb3g9IjAgMCA0NCA0NCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIiBzdHJva2U9IiM5OTkiPiAgICA8ZyBmaWxsPSJub25lIiBmaWxsLXJ1bGU9ImV2ZW5vZGQiIHN0cm9rZS13aWR0aD0iMiI+ICAgICAgICA8Y2lyY2xlIGN4PSIyMiIgY3k9IjIyIiByPSIxIj4gICAgICAgICAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJyIiAgICAgICAgICAgICAgICBiZWdpbj0iMHMiIGR1cj0iMS40cyIgICAgICAgICAgICAgICAgdmFsdWVzPSIxOyAyMCIgICAgICAgICAgICAgICAgY2FsY01vZGU9InNwbGluZSIgICAgICAgICAgICAgICAga2V5VGltZXM9IjA7IDEiICAgICAgICAgICAgICAgIGtleVNwbGluZXM9IjAuMTY1LCAwLjg0LCAwLjQ0LCAxIiAgICAgICAgICAgICAgICByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgLz4gICAgICAgICAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJzdHJva2Utb3BhY2l0eSIgICAgICAgICAgICAgICAgYmVnaW49IjBzIiBkdXI9IjEuNHMiICAgICAgICAgICAgICAgIHZhbHVlcz0iMTsgMCIgICAgICAgICAgICAgICAgY2FsY01vZGU9InNwbGluZSIgICAgICAgICAgICAgICAga2V5VGltZXM9IjA7IDEiICAgICAgICAgICAgICAgIGtleVNwbGluZXM9IjAuMywgMC42MSwgMC4zNTUsIDEiICAgICAgICAgICAgICAgIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPiAgICAgICAgPC9jaXJjbGU+ICAgICAgICA8Y2lyY2xlIGN4PSIyMiIgY3k9IjIyIiByPSIxIj4gICAgICAgICAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJyIiAgICAgICAgICAgICAgICBiZWdpbj0iLTAuOXMiIGR1cj0iMS40cyIgICAgICAgICAgICAgICAgdmFsdWVzPSIxOyAyMCIgICAgICAgICAgICAgICAgY2FsY01vZGU9InNwbGluZSIgICAgICAgICAgICAgICAga2V5VGltZXM9IjA7IDEiICAgICAgICAgICAgICAgIGtleVNwbGluZXM9IjAuMTY1LCAwLjg0LCAwLjQ0LCAxIiAgICAgICAgICAgICAgICByZXBlYXRDb3VudD0iaW5kZWZpbml0ZSIgLz4gICAgICAgICAgICA8YW5pbWF0ZSBhdHRyaWJ1dGVOYW1lPSJzdHJva2Utb3BhY2l0eSIgICAgICAgICAgICAgICAgYmVnaW49Ii0wLjlzIiBkdXI9IjEuNHMiICAgICAgICAgICAgICAgIHZhbHVlcz0iMTsgMCIgICAgICAgICAgICAgICAgY2FsY01vZGU9InNwbGluZSIgICAgICAgICAgICAgICAga2V5VGltZXM9IjA7IDEiICAgICAgICAgICAgICAgIGtleVNwbGluZXM9IjAuMywgMC42MSwgMC4zNTUsIDEiICAgICAgICAgICAgICAgIHJlcGVhdENvdW50PSJpbmRlZmluaXRlIiAvPiAgICAgICAgPC9jaXJjbGU+ICAgIDwvZz48L3N2Zz4=) no-repeat 50% 50%}
|
||||
.iziModal .iziModal-content:before,.iziModal .iziModal-content:after{content:'';display:table}
|
||||
.iziModal .iziModal-content:after{clear:both}
|
||||
.iziModal .iziModal-content{zoom:1}
|
||||
.iziModal .iziModal-wrap{position:relative;transition:height .3s ease}
|
||||
.iziModal .iziModal-iframe{width:100%;margin-bottom:-4px;transition:height .3s ease}
|
||||
.iziModal-overlay{display:block;position:fixed;z-index:998;top:0;left:0;height:100%;width:100%}
|
||||
body.iziModal-attached{overflow:hidden}body.iziModal-attached .iziModal{border-radius:0}body.iziModal-attached .iziModal-header{border-radius:0}body.iziModal-attached .iziModal-wrap{overflow-x:hidden}
|
||||
.iziModal.transitionIn .iziModal-header{-webkit-animation:slideDown .7s cubic-bezier(0.7,0,0.3,1);-moz-animation:slideDown .7s cubic-bezier(0.7,0,0.3,1);animation:slideDown .7s cubic-bezier(0.7,0,0.3,1)}
|
||||
.iziModal.transitionIn .iziModal-header .iziModal-header-icon{-webkit-animation:revealIn 1s cubic-bezier(.16,.81,.32,1) both;-moz-animation:revealIn 1s cubic-bezier(.16,.81,.32,1) both;animation:revealIn 1s cubic-bezier(.16,.81,.32,1) both}
|
||||
.iziModal.transitionIn .iziModal-header .iziModal-header-title,.iziModal.transitionIn .iziModal-header .iziModal-header-subtitle{-webkit-animation:slideIn 1s cubic-bezier(.16,.81,.32,1) both;-moz-animation:slideIn 1s cubic-bezier(.16,.81,.32,1) both;animation:slideIn 1s cubic-bezier(.16,.81,.32,1) both}
|
||||
.iziModal.transitionIn .iziModal-header .iziModal-button-close{-webkit-animation:revealIn 1.2s cubic-bezier(0.7,0,0.3,1);-moz-animation:revealIn 1.2s cubic-bezier(0.7,0,0.3,1);animation:revealIn 1.2s cubic-bezier(0.7,0,0.3,1)}
|
||||
.iziModal.transitionIn .iziModal-iframe,.iziModal.transitionIn .iziModal-wrap{-webkit-animation:fadeIn 2s;-moz-animation:fadeIn 2s;animation:fadeIn 2s}
|
||||
.iziModal.transitionIn .iziModal-header{-webkit-animation-delay:.0s;-moz-animation:.0s;animation-delay:.0s}
|
||||
.iziModal.transitionIn .iziModal-header .iziModal-header-icon,.iziModal.transitionIn .iziModal-header .iziModal-header-title{-webkit-animation-delay:.4s;-moz-animation:.4s;animation-delay:.4s}
|
||||
.iziModal.transitionIn .iziModal-header .iziModal-header-subtitle{-webkit-animation-delay:.5s;-moz-animation:.5s;animation-delay:.5s}
|
||||
.fadeOut{-webkit-animation:fadeOut .5s;-moz-animation:fadeOut .5s;animation:fadeOut .5s}
|
||||
.fadeIn{-webkit-animation:fadeIn .5s;-moz-animation:fadeIn .5s;animation:fadeIn .5s}
|
||||
.transitionIn{-webkit-animation:transitionIn .5s ease;-moz-animation:transitionIn .5s ease;animation:transitionIn .5s ease}
|
||||
.transitionOut{-webkit-animation:transitionOut .5s cubic-bezier(.16,.81,.32,1);-moz-animation:transitionOut .5s cubic-bezier(.16,.81,.32,1);animation:transitionOut .5s cubic-bezier(.16,.81,.32,1)}
|
||||
@-webkit-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@-moz-keyframes fadeOut{0%{opacity:1}100%{opacity:0}}@keyframes fadeOut{0%{opacity:1}100%{opacity:0}
|
||||
}@-webkit-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@-moz-keyframes fadeIn{0%{opacity:0}100%{opacity:1}}@keyframes fadeIn{0%{opacity:0}100%{opacity:1}
|
||||
}@-webkit-keyframes slideIn{0%{opacity:0;-webkit-transform:translateX(50px)}100%{opacity:1;-webkit-transform:translateX(0)}}@-moz-keyframes slideIn{0%{opacity:0;-moz-transform:translateX(50px)}
|
||||
100%{opacity:1;-moz-transform:translateX(0)}}@keyframes slideIn{0%{opacity:0;transform:translateX(50px)}100%{opacity:1;transform:translateX(0)}}@-webkit-keyframes transitionIn{0%{opacity:0;transform:scale(0.9) translateY(-20px) perspective(600px) rotateX(10deg)}
|
||||
100%{opacity:1;transform:scale(1) translateY(0) perspective(600px) rotateX(0)}}@-moz-keyframes transitionIn{0%{opacity:0;transform:scale(0.9) translateY(-20px) perspective(600px) rotateX(10deg)}
|
||||
100%{opacity:1;transform:scale(1) translateY(0) perspective(600px) rotateX(0)}}@keyframes transitionIn{0%{opacity:0;transform:scale(0.9) translateY(-20px) perspective(600px) rotateX(10deg)}
|
||||
100%{opacity:1;transform:scale(1) translateY(0) perspective(600px) rotateX(0)}}@-webkit-keyframes transitionOut{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.9)}
|
||||
}@-moz-keyframes transitionOut{0%{opacity:1;transform:scale(1)}100%{opacity:0;transform:scale(0.9)}}@keyframes transitionOut{0%{opacity:1;transform:scale(1)}
|
||||
100%{opacity:0;transform:scale(0.9)}}@-webkit-keyframes slideDown{0%{opacity:0;-webkit-transform:scale(1,0) translateY(-40px);-webkit-transform-origin:center top}
|
||||
}@-moz-keyframes slideDown{0%{opacity:0;-moz-transform:scale(1,0) translateY(-40px);-moz-transform-origin:center top}}@keyframes slideDown{0%{opacity:0;transform:scale(1,0) translateY(-40px);transform-origin:center top}
|
||||
}@-webkit-keyframes revealIn{0%{opacity:0;-webkit-transform:scale3d(0.3,0.3,1)}}@-moz-keyframes revealIn{0%{opacity:0;-moz-transform:scale3d(0.3,0.3,1)}
|
||||
}@keyframes revealIn{0%{opacity:0;transform:scale3d(0.3,0.3,1)}}
|
||||
.iziModal ::-webkit-scrollbar{width:0}
|
150
hyhproject/mobile2/view/default/css/juhui.css
Executable file
150
hyhproject/mobile2/view/default/css/juhui.css
Executable file
@ -0,0 +1,150 @@
|
||||
body {
|
||||
background: #ebebeb;
|
||||
}
|
||||
.header {
|
||||
width: 100%;
|
||||
height: 0.8rem;
|
||||
background: #f12f46;
|
||||
}
|
||||
.header p {
|
||||
font-size: 0.3rem;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
line-height: 0.8rem;
|
||||
}
|
||||
.nav {
|
||||
width: 100%;
|
||||
height: 0.6rem;
|
||||
border-bottom: 1px solid #ececec;
|
||||
background: #fff;
|
||||
}
|
||||
.nav div {
|
||||
width: 33.333%;
|
||||
float: left;
|
||||
}
|
||||
.nav div p {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.22rem;
|
||||
color: #909090;
|
||||
text-align: center;
|
||||
line-height: 0.6rem;
|
||||
}
|
||||
.nav .on p {
|
||||
color: #e5122b;
|
||||
}
|
||||
.guanzhu1,
|
||||
.shangxin1,
|
||||
.haohuo1 {
|
||||
background: #fff;
|
||||
margin-top: 0.1rem;
|
||||
}
|
||||
.guanzhu1 .gz_dpmc {
|
||||
padding-top: 0.17rem;
|
||||
margin-left: 0.2rem;
|
||||
}
|
||||
.guanzhu1 .gz_dpmc img {
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
float: left;
|
||||
}
|
||||
.guanzhu1 .gz_dpmc .gz_p1 {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.28rem;
|
||||
font-weight: 900;
|
||||
color: #000000;
|
||||
}
|
||||
.guanzhu1 .gz_dpmc .gz_p2 {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.22rem;
|
||||
color: #909090;
|
||||
}
|
||||
.guanzhu1 .gz_dpmc .gz_p1,
|
||||
.gz_p2 {
|
||||
margin-left: 1.1rem;
|
||||
}
|
||||
.guanzhu1 .gz_nr {
|
||||
width: 5.75rem;
|
||||
height: 1.3rem;
|
||||
margin-left: 0.2rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
.guanzhu1 .gz_nr p {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.24rem;
|
||||
color: #525252;
|
||||
}
|
||||
.zan {
|
||||
margin-left: 0.2rem;
|
||||
margin-top: 0.45rem;
|
||||
}
|
||||
.zan .eye {
|
||||
width: 0.3rem;
|
||||
height: 0.3rem;
|
||||
float: left;
|
||||
}
|
||||
.zan .eye_p {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.2rem;
|
||||
color: #909090;
|
||||
margin-left: 0.05rem;
|
||||
float: left;
|
||||
}
|
||||
.zan .damuzhi {
|
||||
width: 0.67rem;
|
||||
height: 0.32rem;
|
||||
border: 1px solid #ec5261;
|
||||
border-radius: 10px 10px 10px 10px;
|
||||
float: right;
|
||||
margin-right: 0.34rem;
|
||||
margin-bottom: 0.1rem;
|
||||
}
|
||||
.zan .damuzhi img {
|
||||
width: 0.3rem;
|
||||
height: 0.3rem;
|
||||
margin-left: 0.1rem;
|
||||
float: left;
|
||||
}
|
||||
.zan .damuzhi p {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.2rem;
|
||||
color: #ea4051;
|
||||
float: left;
|
||||
margin-left: 0.05rem;
|
||||
}
|
||||
.shangxin1 .sx_dpmc {
|
||||
padding-top: 0.17rem;
|
||||
margin-left: 0.2rem;
|
||||
}
|
||||
.shangxin1 .sx_dpmc img {
|
||||
width: 1rem;
|
||||
height: 1rem;
|
||||
float: left;
|
||||
}
|
||||
.shangxin1 .sx_dpmc .sx_p1 {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.28rem;
|
||||
font-weight: 900;
|
||||
color: #000000;
|
||||
}
|
||||
.shangxin1 .sx_dpmc .sx_p2 {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.22rem;
|
||||
color: #909090;
|
||||
}
|
||||
.shangxin1 .sx_dpmc .sx_p1,
|
||||
.sx_p2 {
|
||||
margin-left: 1.1rem;
|
||||
}
|
||||
.shangxin1 .sx_sp {
|
||||
width: 6.05rem;
|
||||
margin-top: 0.4rem;
|
||||
margin-left: 0.2rem;
|
||||
}
|
||||
.shangxin1 .sx_spnr {
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
background: #000000;
|
||||
margin-right: 0.01rem;
|
||||
margin-top: 0.02rem;
|
||||
float: left;
|
||||
}
|
236
hyhproject/mobile2/view/default/css/juhui.less
Executable file
236
hyhproject/mobile2/view/default/css/juhui.less
Executable file
@ -0,0 +1,236 @@
|
||||
body{
|
||||
background: #ebebeb;
|
||||
}
|
||||
|
||||
.header{
|
||||
width: 100%;
|
||||
height: 80/100rem;
|
||||
background: #f12f46;
|
||||
}
|
||||
|
||||
.header p{
|
||||
font-size: 30/100rem;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
line-height: 80/100rem;
|
||||
}
|
||||
|
||||
.nav{
|
||||
width: 100%;
|
||||
height: 60/100rem;
|
||||
border-bottom: 1px solid #ececec;
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
.nav div{
|
||||
width: 33.333%;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.nav div p{
|
||||
font-family: "微软雅黑";
|
||||
font-size: 22/100rem;
|
||||
color: #909090;
|
||||
text-align: center;
|
||||
line-height: 60/100rem;
|
||||
}
|
||||
|
||||
.nav .on p{
|
||||
color: #e5122b;
|
||||
}
|
||||
|
||||
.guanzhu1,.shangxin1,.haohuo1{
|
||||
background: #fff;
|
||||
margin-top: 10/100rem;
|
||||
}
|
||||
|
||||
.guanzhu1 .gz_dpmc{
|
||||
padding-top: 17/100rem;
|
||||
margin-left: 20/100rem;
|
||||
}
|
||||
|
||||
.guanzhu1 .gz_dpmc img{
|
||||
width: 100/100rem;
|
||||
height: 100/100rem;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.guanzhu1 .gz_dpmc .gz_p1{
|
||||
font-family: "微软雅黑";
|
||||
font-size: 28/100rem;
|
||||
font-weight: 900;
|
||||
color: #000000;
|
||||
|
||||
}
|
||||
|
||||
.guanzhu1 .gz_dpmc .gz_p2{
|
||||
font-family: "微软雅黑";
|
||||
font-size: 22/100rem;
|
||||
color: #909090;
|
||||
}
|
||||
|
||||
.guanzhu1 .gz_dpmc .gz_p1 , .gz_p2{
|
||||
margin-left: 110/100rem;
|
||||
}
|
||||
|
||||
.guanzhu1 .gz_nr{
|
||||
width: 575/100rem;
|
||||
height: 130/100rem;
|
||||
margin-left: 20/100rem;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
.guanzhu1 .gz_nr p{
|
||||
font-family: "微软雅黑";
|
||||
font-size: 24/100rem;
|
||||
color: #525252;
|
||||
}
|
||||
|
||||
.zan{
|
||||
margin-left: 20/100rem;
|
||||
margin-top: 45/100rem;
|
||||
}
|
||||
|
||||
.zan .eye{
|
||||
width: 30/100rem;
|
||||
height: 30/100rem;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.zan .eye_p{
|
||||
font-family: "微软雅黑";
|
||||
font-size: 20/100rem;
|
||||
color: #909090;
|
||||
margin-left: 5/100rem;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.zan .damuzhi{
|
||||
width: 67/100rem;
|
||||
height: 32/100rem;
|
||||
border: 1px solid #ec5261;
|
||||
border-radius: 10px 10px 10px 10px;
|
||||
float: right;
|
||||
margin-right: 34/100rem;
|
||||
margin-bottom: 10/100rem;
|
||||
}
|
||||
|
||||
.zan .damuzhi img{
|
||||
width: 30/100rem;
|
||||
height: 30/100rem;
|
||||
margin-left: 10/100rem;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.zan .damuzhi p{
|
||||
font-family: "微软雅黑";
|
||||
font-size: 20/100rem;
|
||||
color: #ea4051;
|
||||
float: left;
|
||||
margin-left: 5/100rem;
|
||||
}
|
||||
|
||||
|
||||
.shangxin1 .sx_dpmc{
|
||||
padding-top: 17/100rem;
|
||||
margin-left: 20/100rem;
|
||||
}
|
||||
|
||||
.shangxin1 .sx_dpmc img{
|
||||
width: 100/100rem;
|
||||
height: 100/100rem;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.shangxin1 .sx_dpmc .sx_p1{
|
||||
font-family: "微软雅黑";
|
||||
font-size: 28/100rem;
|
||||
font-weight: 900;
|
||||
color: #000000;
|
||||
|
||||
}
|
||||
|
||||
.shangxin1 .sx_dpmc .sx_p2{
|
||||
font-family: "微软雅黑";
|
||||
font-size: 22/100rem;
|
||||
color: #909090;
|
||||
}
|
||||
|
||||
.shangxin1 .sx_dpmc .sx_p1 , .sx_p2{
|
||||
margin-left: 110/100rem;
|
||||
}
|
||||
|
||||
.shangxin1 .sx_sp{
|
||||
width: 605/100rem;
|
||||
margin-top: 40/100rem;
|
||||
margin-left: 20/100rem;
|
||||
}
|
||||
|
||||
.shangxin1 .sx_spnr{
|
||||
width: 200/100rem;
|
||||
height: 200/100rem;
|
||||
background: #000000;
|
||||
margin-right: 1/100rem;
|
||||
margin-top: 2/100rem;
|
||||
float: left;
|
||||
}
|
||||
|
||||
//.shangxin1 .sx_spnr img{
|
||||
// width: 200/100rem;
|
||||
// height: 200/100rem;
|
||||
//}
|
||||
|
||||
|
||||
//.banner {
|
||||
// height: 258/100rem;
|
||||
// position: relative;
|
||||
// overflow: hidden;
|
||||
//}
|
||||
//
|
||||
//.banner .list {
|
||||
// transition: .3s ease-in-out;
|
||||
// width: 500%;
|
||||
//}
|
||||
//
|
||||
//.banner .list li {
|
||||
// float: left;
|
||||
// width: 20%;
|
||||
//}
|
||||
//
|
||||
//.banner .list a {
|
||||
// height: 195/40rem;
|
||||
// display: block;
|
||||
//}
|
||||
//
|
||||
//.banner .list img {
|
||||
// width: 100%;
|
||||
// height: 100%;
|
||||
//}
|
||||
//
|
||||
//.banner img {
|
||||
// width: 640/100rem;
|
||||
// height: 258/64rem;
|
||||
//}
|
||||
//
|
||||
//.banner .btn {
|
||||
// position: absolute;
|
||||
// left: 50%;
|
||||
// bottom: 8/100rem;
|
||||
// transform: translateX(-50%);
|
||||
//}
|
||||
//
|
||||
//.banner .btn li {
|
||||
// float: left;
|
||||
// width: 12/100rem;
|
||||
// height: 12/100rem;
|
||||
// border-radius: 50%;
|
||||
// background: rgba(255, 255, 255, 0.3);
|
||||
// margin: 0 4/100rem;
|
||||
//}
|
||||
//
|
||||
//.banner .btn .on {
|
||||
// background: #E8503E;
|
||||
//}
|
||||
|
||||
|
||||
|
18
hyhproject/mobile2/view/default/css/list_complains.css
Executable file
18
hyhproject/mobile2/view/default/css/list_complains.css
Executable file
@ -0,0 +1,18 @@
|
||||
@CHARSET "UTF-8";
|
||||
body{font-size:.13rem}
|
||||
.c-tr{text-align:right}
|
||||
.complain-box{margin-top:5px;padding:5px;background:#fff}
|
||||
.c-line{border-bottom:1px solid #eaeaea;margin-bottom:5px}
|
||||
.c-item li{padding:10px 0;font-size:.15rem}
|
||||
.wst-cover{position:fixed;left:0;top:0;background-color:#000;width:100%;height:100%;filter:alpha(opacity=60);opacity:.6;z-Index:9999;display:none}
|
||||
.wst-fr-box{position:fixed;z-index:9999;right:-999px;bottom:0;width:100%;min-height:40%;background-color:#f6f6f8;font-size:.15rem}
|
||||
.wst-fr-box .title,.wst-cart-box .title{background:#fff;height:auto;position:relative;padding:6px 0;border-bottom:1px solid #f1f1f1}
|
||||
.wst-fr-box .title span{float:left;width:100%;height:26px;line-height:26px;text-align:center;font-size:14px}
|
||||
.wst-fr-box .title i,.wst-cart-box .title i{position:absolute;right:5px;top:-2px;font-size:27px}
|
||||
.wst-fr-box .content{overflow-y:scroll}
|
||||
.com-detail-box{margin:10px 0;background:#fff}
|
||||
.com-detail-box li{padding:5px}
|
||||
.com-detail-big-title{margin-left:6px;font-weight:bold}
|
||||
.com-detail-title{text-align:right}
|
||||
.annex{width:60px;height:60px}
|
||||
.wst-co-status{color: #fa281b;}
|
38
hyhproject/mobile2/view/default/css/logmoneys.css
Executable file
38
hyhproject/mobile2/view/default/css/logmoneys.css
Executable file
@ -0,0 +1,38 @@
|
||||
@CHARSET "UTF-8";
|
||||
h1{position:relative}
|
||||
.record{display:inline-block;position:absolute;right: 10px;top:0;color:black;color: #59595c;font-size: 13px;}
|
||||
.bgimg{display:inline-block;width:67px;height:60px;margin-top:20px;margin-bottom:5px}
|
||||
.head-btn{display:block;width:auto;height:40px;line-height:40px;font-size:.22rem;color:#fff;background-color:#ff4e4e}
|
||||
.head-btn i{position:relative;top:16%;display:inline-block;width:26px;height:26px;margin-right:5px;background:url(../img/icon_tixian.png) no-repeat;background-size:100%}
|
||||
.head-btn-box{margin-top:77px}
|
||||
.wst-header h1{z-index:-1}
|
||||
.head{min-height:1rem;color:#fff;background:url(../img/icon_logmoney.png) no-repeat;background-size:cover;position: relative;}
|
||||
.title{position: absolute;left:0;bottom:0;width:100%;}
|
||||
.title .money_number{font-size:0.15rem;text-align: right;padding:0 0.1rem;}
|
||||
.title .money_number2{font-size:0.13rem;margin-top: 2px;text-align: right;padding:0 0.1rem 0.05rem 0.1rem;}
|
||||
.title .money_number p{font-size:0.16rem;}
|
||||
.title .money_number span{font-size:0.13rem;}
|
||||
.money-detail{padding:5px;background-color:#fff;border-bottom:1px solid #edebeb;font-size:.15rem;}
|
||||
.money-detail h5{font-size:.15rem;}
|
||||
.money-detail-title{padding:5px 10px;font-size:.18rem}
|
||||
.m-tr{text-align:right;color:#abaaaa}
|
||||
.first-time{font-size:0.15rem;color:#abaaaa;padding-left:5px;margin-top:10px}
|
||||
.wst-lo-choice{width:100%;padding:2px 2px 2px 5px;height:36px;border-radius:2px;border:1px solid #a0a0a0;background:#fff;}
|
||||
.wst-cover{position:fixed;left:0;top:0;background-color:#000;width:100%;height:100%;filter:alpha(opacity=60);opacity:.6;z-Index:9999;display:none}
|
||||
.wst-fr-box{position:fixed;z-index:9999;right:-999px;bottom:0;width:100%;min-height:40%;background:#f2f2f2;font-size:.15rem}
|
||||
.wst-fr-box .title,.wst-cart-box .title{height:auto;background:#fff;position:relative;padding:6px 0;border-bottom:1px solid #f1f1f1}
|
||||
.wst-fr-box .title span{float:left;width:100%;height:26px;line-height:26px;text-align:center;font-size: 16px;}
|
||||
.wst-fr-box .title i,.wst-cart-box .title i{position:absolute;right:5px;top:-2px;font-size:27px}
|
||||
.wst-fr-box .info{padding:0.1rem;background:#fff;font-size:.15rem;}
|
||||
.wst-fr-box .info .money{margin-top:0.05rem;font-size:.175rem;color: #df0202;}
|
||||
.wst-fr-box .info .money span{font-size:.15rem;}
|
||||
.wst-fr-box .content{padding:0.1rem;margin-top:10px;background:#fff;font-size:.15rem;}
|
||||
.wst-fr-box .content li{margin:5px auto;line-height:36px}
|
||||
.recharge-box{height:50px;line-height:50px;text-align:center;background:white;color:black;font-size:.15rem;border-bottom: 1px solid #f2f1f1;}
|
||||
.wst-apply-button{height: 38px;line-height: 38px;font-size: 0.15rem;color: #fff;background: #e00102;border-radius: 3px;border-bottom: 1px solid #e00102;}
|
||||
.icon_add{background: url(../img/icon_add_money.png) no-repeat;background-size: contain; width: 60px;margin:5px;margin: 0 auto;margin-top: 10%; height: 20px;}
|
||||
.icon_out{background: url(../img/icon_out_money.png) no-repeat;background-size: contain; width: 60px;margin:5px;margin: 0 auto;margin-top: 10%; height: 20px;}
|
||||
.wst_model p {display: inline-block;padding-left:14px;line-height: 20px;}
|
||||
.icon_stript{width: 20px;height:20px;float: left;}
|
||||
.stript_1{background: url(../img/icon_cart_money.png) no-repeat;background-size: cover;}
|
||||
.stript_2{background: url(../img/icon_record.png) no-repeat;background-size: cover;}
|
23
hyhproject/mobile2/view/default/css/messages.css
Executable file
23
hyhproject/mobile2/view/default/css/messages.css
Executable file
@ -0,0 +1,23 @@
|
||||
@CHARSET "UTF-8";
|
||||
body{color:#333}
|
||||
.wst-info_delete{padding:0}
|
||||
.wst-info_delete button{height:49px;color:#333;line-height:49px}
|
||||
.wst-info_delete button:not(.disabled):not(:disabled):active,.wst-info_delete button.active{border-color:#e7530a;color:#504f4f;background-clip:padding-box}
|
||||
.wst-info_content input:before{font-size:22px;left:15px}
|
||||
.wst-info_content input:checked:before{color:#f24566}
|
||||
.wst-info_content span{float:left;width:20px;height:20px;margin-right:5px}
|
||||
.wst-info_content h5{font-size:.15rem}
|
||||
.wst-info_ico{background:url(../img/info_icon.png) 0 0 no-repeat}
|
||||
.wst-info_ico1{background:url(../img/info_icon.png) -22px 0 no-repeat}
|
||||
.msg-chk{margin-left:-13px;margin-right:10px}
|
||||
.favorite-tc{line-height:45px;text-align:left;font-size: .165rem;}
|
||||
.f-btn{min-width:85px}
|
||||
.f-btn button{background:#e00102;border-bottom:1px solid #e00102;font-size:.15rem}
|
||||
.ui-checkbox input:before,.ui-checkbox-s input:before{font-size:22px!important}
|
||||
.ui-checkbox input:checked:before,.ui-checkbox-s input:checked:before{color:#e32726!important}
|
||||
.sactive{margin-right:0!important}
|
||||
.detail-time{text-align:center}
|
||||
.del-btn{position:absolute;top:8px;right:10px}
|
||||
.wst-info_detime{font-size:.13rem}
|
||||
.wst-info_decontent{font-size:.15rem}
|
||||
.wst-line{border-bottom:1px solid #edebeb;margin:0 10px}
|
107
hyhproject/mobile2/view/default/css/orders.css
Executable file
107
hyhproject/mobile2/view/default/css/orders.css
Executable file
@ -0,0 +1,107 @@
|
||||
@CHARSET "UTF-8";
|
||||
body{font-size:.14rem}
|
||||
.wst-headero ~ .ui-container{border-top:72px solid transparent}
|
||||
.ui-tab{position:fixed;width:100%;z-index:100;left:0;top:41px}
|
||||
.order-tab{width:100%;height:35px;line-height:35px;padding:0;background:#fff;overflow-x:scroll}
|
||||
.order-tab::-webkit-scrollbar{width:1px;height:1px;background-color:#fff}
|
||||
.order-tab::-webkit-scrollbar-thumb{background-color:#fff}
|
||||
.wst-headero ~ .ui-container{border-top:72px solid transparent}
|
||||
.item-head{font-size: .15rem;padding:10px 0;border-bottom:1px solid #f2f1f1}
|
||||
.item-head p{padding-left:20px;position: relative;}
|
||||
.item-head .shopicon{position: absolute;display: block;top: 2px;left: 0;width: 19px;height: 19px;background: url(../img/icon_dp.png) 0px 1px no-repeat;background-size: 87%;}
|
||||
.ui-tab-nav li.tab-item{font-size:.15rem;height:35px;line-height:35px;min-width:55px;padding:0 5px;text-align:center}
|
||||
.ui-tab-nav li.tab-curr{color:#de4943;;height:34px;border-bottom:2px solid #de4943;}
|
||||
.order-item{background:#fff;margin-top:6px;padding:0 10px;border-bottom:1px solid #e3e3e3}
|
||||
.order-tr{text-align:right}
|
||||
.o-shops{padding:2px 0 2px 0;border-bottom:0.01rem solid #f2f1f1;}
|
||||
.o-shops p{position: relative;padding-left:20px;font-size:.15rem;}
|
||||
.o-shops i{position: absolute;display: block;top: 1;left: 0;width: 20px;height: 20px;background: url(../img/icon_dp.png) 0px 1px no-repeat;background-size: 87%;}
|
||||
.o-status{color:#de4943;}
|
||||
.o-status2{float:right;color:#de4943;}
|
||||
.wst-or-term{padding:2px 0;}
|
||||
.wst-or-term2{margin-top:10px;padding:10px 0;border-top: 1px solid #f2f1f1;}
|
||||
.wst-or-term2 .o-status2{font-size:.17rem;font-weight: bold;}
|
||||
.wst-or-describe{float:left;width: 0.72rem;color: #999;}
|
||||
.wst-or-describe2{float:left;}
|
||||
.o-Img{max-width:60px;max-height:60px;width:60px;height:60px;padding-top:5px}
|
||||
.o-gInfo{padding:5px}
|
||||
.o-gSpec{color:#ccc}
|
||||
.border-b{padding-bottom:5px;border-bottom:1px solid #f2f1f1;padding-left: 0;padding-right: 0;}
|
||||
.o-btn-box{padding-right:0}
|
||||
.o-btn{float:right;margin-top:10px;margin-left:5px;font-size:.13rem;color:#de0202;border:1px solid #de0202;padding:0 9px}
|
||||
.o-btn:not(.disabled):not(:disabled):active{color:#de0202;}
|
||||
.o-cancel-btn{color:inherit;border:1px solid #000}
|
||||
.o-cancel-btn:not(.disabled):not(:disabled):active{color:inherit}
|
||||
.wst-wa-info{background:#fff;padding:5px 0;margin-bottom:10px}
|
||||
.wst-wa-info .info{padding:5px 0;text-align:center;border-bottom:1px solid #ccc}
|
||||
.wst-wa-info .info span{color:red}
|
||||
.wst-wa-info .pay-info{text-align: center;padding:10px;color:#000;font-weight:bold;}
|
||||
.wst-wa-info .pay{padding:10px}
|
||||
.wst-wa-info .pay input{width:70%;padding:2px 2px 2px 5px;height:36px;border-radius:2px;border:1px solid #a0a0a0}
|
||||
.wst-wa-forget{padding-bottom:20px}
|
||||
.wst-pa-l{margin-top:8px}
|
||||
.wst-pa-l .line{border-bottom:1px solid #edebeb}
|
||||
.wst-pa-l span{width:23px;height:23px;display:block;margin-right:6px}
|
||||
.wst-pa-l .weixinpays{background:url(../img/icon_zhifu.png) 0 1px no-repeat;background-size:97%}
|
||||
.wst-pa-l .wallets{background:url(../img/icon_zhifu.png) 0 -53px no-repeat;background-size:97%}
|
||||
.wst-pa-l .alipays{background:url(../img/icon_zhifu.png) 0 -107px no-repeat;background-size:97%}
|
||||
.ui-dialog-bd{font-size:.15rem}
|
||||
.cancel-btn-box{margin-left:0;}
|
||||
.wst-or-process{margin-bottom:0.1rem;}
|
||||
.wst-or-process .process{position: relative;}
|
||||
.wst-or-process p{text-align:center;}
|
||||
.wst-or-process .line{margin-bottom:10px;padding:10px 0;}
|
||||
.wst-or-process .line span{float:left;width:50%;height:2px;background:#eaeaea;}
|
||||
.wst-or-process .line span.active{background:#e00102;}
|
||||
.wst-or-process .icon{position: absolute;left:0;top:0;display: block;width:100%;height:20px;}
|
||||
.wst-or-process .icon i{height:20px;line-height:20px;font-size: 27px;}
|
||||
.wst-or-process .icon i.active{color:#e00102;}
|
||||
.wst-or-process .icon i:before {background: #fff;}
|
||||
.wst-or-process{margin-bottom:0.1rem;}
|
||||
.wst-or-process .process{position: relative;}
|
||||
.wst-or-process p{text-align:center;}
|
||||
.wst-or-process .line{margin-bottom:10px;padding:10px 0;}
|
||||
.wst-or-process .line span{float:left;width:50%;height:2px;background:#eaeaea;}
|
||||
.wst-or-process .line span.active{background:#e00102;}
|
||||
.wst-or-process .icon{position: absolute;left:0;top:0;display: block;width:100%;height:20px;}
|
||||
.wst-or-process .icon i{height:20px;line-height:20px;font-size: 27px;}
|
||||
.wst-or-process .icon i.active{color:#e00102;}
|
||||
.wst-or-process .icon i:before {background: #fff;}
|
||||
.detail-head{border-bottom:1px solid #eaeaea;padding:10px 5px;background:#fff;margin-top:5px}
|
||||
.d-uInfo{background:#fff;height:40px;margin-bottom:5px}
|
||||
.d-utel{padding-left:15px}
|
||||
.d-uaddr{padding-left:15px;position:relative}
|
||||
.d-uaddr i{width:9px;height:25px;display:block;position:absolute;left:1px;top:-3px;background:url(../img/icon_user_adds.png) no-repeat 0 2px;background-size:100%}
|
||||
.d-goodsitme{background:#fff;border-bottom:0;margin-bottom:5px;font-size:.11rem}
|
||||
.d-item{background:#fff;border-bottom:1px solid #eaeaea;padding:7px 5px}
|
||||
.d-item-right{color:#b5b5b5}
|
||||
.d-gSpec{padding-left:10px}
|
||||
.price{color:red}
|
||||
.title{font-size:.15rem;color:#59595c}
|
||||
#detailBox,#refundBox{font-size:.14rem}
|
||||
#boxTitle,#refund-boxTitle,#refundFrame{background:#fff}
|
||||
.wst-cover{position:fixed;left:0;top:0;background-color:#000;width:100%;height:100%;filter:alpha(opacity=60);opacity:.6;z-Index:9999;display:none}
|
||||
.wst-fr-box{position:fixed;z-index:9999;right:-999px;top:0;width:100%;min-height:40%;background:#f2f2f2;font-size:.15rem;background: red;}
|
||||
.wst-fr-box .title,.wst-cart-box .title{position:relative;padding:6px 0;border-bottom:1px solid #f1f1f1}
|
||||
.wst-fr-box .title span{float:left;width:100%;height:26px;line-height:26px;text-align:center;font-size:16px;}
|
||||
.wst-fr-box .title i,.wst-cart-box .title i{position:absolute;right:5px;top:-2px;font-size:27px}
|
||||
.wst-fr-box .content{background:#f2f2f2;overflow:scroll}
|
||||
.wst-refund{position:fixed;z-index:9999;right:-999px;top:0;width:100%;min-height:40%;background:#f2f2f2;font-size:.15rem;background: red;}
|
||||
#reject,#reason{height:30px;border-radius: 2px;border: 1px solid #a0a0a0;background: #fff;}
|
||||
.o-oListMoney{float:left;width:100%;text-align:right;margin-bottom:3px;font-size:.15rem}
|
||||
.o-oListMoney span{color:#de0202;}
|
||||
.ui-dialog-bd .ui-dialog-bd-title{padding-left:25px}
|
||||
.order-tr .title{border:none!important}
|
||||
.wst-btn-dangerlo{color:#fff;font-size:.15rem;height:38px;line-height:38px;background:#e00102;border-radius:3px;border-bottom:1px solid #e00102}
|
||||
.wst-btn-dangerlo:not(.disabled):not(:disabled):active{color:#fff0f0;background:#f52f30;background-clip:padding-box}
|
||||
.notice{padding:3px 6px;color:#e55454}
|
||||
.recharge-box{text-align: center;line-height:40px;padding-top:20px;font-size: 0.18rem;}
|
||||
.recharge-box .paybox{border-top:1px solid #d2d2d2;font-size:0.25rem;margin:10px;}
|
||||
.order_from{ margin-left: 10px;color: #fff;font-size:.12rem;padding: 0 4px;line-height:22px;border-radius: 10px;background-color: #f19325;position: absolute;left: 0}
|
||||
.wst-or-refund{padding: 10px 5px;}
|
||||
.wst-or-refund .prompt{padding:0 10px 10px 10px;border-bottom: 1px solid #eaeaea;padding}
|
||||
.wst-or-refund .term{padding:10px 10px 0 10px;line-height:30px;}
|
||||
.wst-or-refund .sign{color:#de0202;}
|
||||
#refundReason{width:68%;height: 30px;border-radius: 2px;border: 1px solid #a0a0a0;background: #fff;}
|
||||
.wst-or-refund .term input{width:68%;height:30px;border-radius: 2px;border: 1px solid #a0a0a0;background: #fff;}
|
||||
.wst-or-refund .wst-dialog-b2{width:220px;height: 35px;line-height: 35px;}
|
30
hyhproject/mobile2/view/default/css/orders_appraises.css
Executable file
30
hyhproject/mobile2/view/default/css/orders_appraises.css
Executable file
@ -0,0 +1,30 @@
|
||||
@CHARSET "UTF-8";
|
||||
.item-head{margin-top:5px;padding:5px 10px;background:#fff;border-bottom:1px solid #eaeaea}
|
||||
.item-head .shop{position: relative;padding-left:20px;font-size:.15rem;}
|
||||
.item-head .shop i{position: absolute;display: block;top: 2px;left: 0;width: 19px;height: 19px;background: url(../img/icon_dp.png) 0px 1px no-repeat;background-size: 87%;}
|
||||
.border-b{padding:5px 10px 10px 10px;border-bottom:1px solid #eaeaea}
|
||||
.g-Img{max-width:60px;max-height:60px;padding-top:5px}
|
||||
.g-Img img{max-width:60px;max-height:60px;}
|
||||
.g-gInfo{padding:5px}
|
||||
.g-gName{max-height:40px;line-height: 20px;font-size:.14rem;}
|
||||
.g-gSpec{color:#ccc;font-size:.13rem;}
|
||||
.order-tr{text-align:right;line-height:60px}
|
||||
.order-tr .appraise{float: right;margin-top:20px;font-size:.13rem;color: #f19325;width:30px;height:25px;background: url(../img/evaluate.png) 0px 0px no-repeat;background-size: 72%;}
|
||||
.g-item{background:#fff}
|
||||
.appraise-title{padding-left:10px}
|
||||
.appraise-name{padding-right:10px;height: 0.42rem;line-height:0.21rem;}
|
||||
.appraise-box{margin-bottom:10px;padding-top:10px;background:#fff;margin-top:5px;font-size:.14rem;border-bottom:1px solid #eaeaea}
|
||||
.score{color: #f19325;}
|
||||
.start-on,.start-not{display:inline-block;width:20px;height:25px;background:url(../img/img_dpjpj.png) no-repeat}
|
||||
.start-on{background-position:1px 4px;background-size:265%}
|
||||
.start-not{background-position:-34px 4px;background-size:265%}
|
||||
.appraisesContent{width:100%;min-height:100px;resize:none}
|
||||
.post-btn button{height: 38px;line-height: 38px;font-size: 0.15rem;color: #fff;background: #e00102;border-radius: 3px;border-bottom: 1px solid #e00102;}
|
||||
.post-btn{margin:0;background:#fff}#appraisesBox{margin-top:15px}
|
||||
.complainFileBox{margin-left:10px;min-height:65px}
|
||||
.complainFileBox li{float:left;margin-right:5px;max-height:60px}
|
||||
.complainFileBox img{max-width:50px;max-height:50px}
|
||||
.edit_charts{position:relative}
|
||||
.del-btn{position:relative;top:-43px;left:0}
|
||||
.ui-icon,[class^="ui-icon-de"]{font-size:20px;position:absolute;left:32px;top:-1px;color:red;line-height:17px}
|
||||
.webuploader-pick {padding: 5px 6px!important;}
|
52
hyhproject/mobile2/view/default/css/orders_complains.css
Executable file
52
hyhproject/mobile2/view/default/css/orders_complains.css
Executable file
@ -0,0 +1,52 @@
|
||||
@CHARSET "UTF-8";body{font-size:.14rem}
|
||||
.order-tab{height:30px;line-height:30px;padding:0;background:#fff}
|
||||
.item-head{padding:5px}
|
||||
.tab-item{text-align:center}
|
||||
.tab-curr{border-bottom:2px solid red}
|
||||
.order-item{background:#fff;margin:10px auto}
|
||||
.order-tr{text-align:right}
|
||||
.o-status{color:red}
|
||||
.o-Img{max-width:60px;max-height:60px;padding-top:5px}
|
||||
.o-gInfo{padding:5px}
|
||||
.o-gName{max-height:40px}
|
||||
.o-gSpec{color:#ccc}
|
||||
.border-b{padding-bottom:5px;border-bottom:1px solid #ccc}
|
||||
.o-btn-box{padding-right:0}
|
||||
.o-btn{float:right;margin-bottom:5px;margin-right:5px;font-size:.15rem;color:red;border:1px solid red;padding:0 9px}
|
||||
.o-cancel-btn{color:inherit;border:1px solid #000}
|
||||
.detail-head{border-bottom:1px solid #eaeaea;padding:10px 5px;background:#fff;margin-top:5px}
|
||||
.d-uInfo{background:#fff;height:30px;margin-bottom:5px;padding:5px;font-size:.14rem;}
|
||||
.d-uname{padding:3px 0;margin-left:-4px}
|
||||
.d-utel{padding-left:15px}
|
||||
.d-goodsitme{background:#fff;border-bottom:0;margin-bottom:5px;font-size:.13rem}
|
||||
.d-item{background:#fff;border-bottom:1px solid #eaeaea;padding:5px}
|
||||
.d-item-right{color:#b5b5b5}
|
||||
.d-gSpec{padding-left:10px}
|
||||
.price{color:red}
|
||||
.title{font-size:.15rem;color:#59595c}
|
||||
#detailBox{font-size:.15rem}#boxTitle{background:#fff}
|
||||
.c-item{margin-top:5px;padding:10px 5px;font-size:.15rem}
|
||||
.c-box{margin:0;padding:0;font-size:.15rem}
|
||||
.c-title{padding:30px 5px 5px 5px;padding-top:10px;background:#fff;height:36px!important;border-bottom:1px solid #eaeaea}
|
||||
.c-content{background:#fff;height:125px!important;padding:5px;}#complain{width:100%;height:120px;resize:none}
|
||||
.webuploader-pick{padding:5px 6px!important;}
|
||||
.complainFileBox{min-height:60px;margin-top: 15px;margin-left: 5px;}
|
||||
.complainFileBox li{float:left;margin-right:5px;max-height:60px}
|
||||
.complainFileBox img{max-width:50px;max-height:50px}
|
||||
.edit_charts{position:relative}
|
||||
.del-btn{position:relative;top:-43px;left:0}
|
||||
.ui-icon,[class^="ui-icon-de"]{font-size:20px;position:absolute;left:32px;top:-1px;color:red;line-height:17px}
|
||||
.uploadfile-box{background:#fff;height:100px!important;position:relative}
|
||||
.ui-icon-thumb{line-height:20px}
|
||||
.uploadfile-input{width:12%;height:25px;position:absolute;left:0;top:73px;z-index:-55;opacity:0}
|
||||
.wst-cover{position:fixed;left:0;top:0;background-color:#000;width:100%;height:100%;filter:alpha(opacity=60);opacity:.6;z-Index:9999;display:none}
|
||||
.wst-fr-box{position:fixed;z-index:9999;right:0;bottom:-300px;width:100%;min-height:40%;background:#f2f2f2;font-size:.15rem}
|
||||
.wst-fr-box .title,.wst-cart-box .title{position:relative;padding:6px 0;border-bottom:1px solid #f1f1f1}
|
||||
.wst-fr-box .title span{float:left;width:100%;height:26px;line-height:26px;text-align:center;font-size:15px;color: #222;}
|
||||
.wst-fr-box .title i,.wst-cart-box .title i{position:absolute;right:5px;top:-2px;font-size:27px}
|
||||
.wst-fr-box .content{background:#f2f2f2;overflow:scroll}
|
||||
.complain-item{background:#fff;border-bottom:1px solid #eaeaea;padding:10px;font-size:.14rem}#content{min-height:130px}
|
||||
.ui-checkbox input,.ui-checkbox-s input{height:18px}
|
||||
.ui-checkbox input:before,.ui-checkbox-s input:before{left:53px;top:-13px;font-size:26px!important}
|
||||
.ui-checkbox input:checked:before,.ui-checkbox-s input:checked:before{color:#e32726!important}
|
||||
.c-btn{height: 38px;line-height: 38px;font-size: 0.15rem;color: #fff;background: #e00102;border-radius: 3px;border-bottom: 1px solid #e00102;}
|
314
hyhproject/mobile2/view/default/css/rebate.css
Executable file
314
hyhproject/mobile2/view/default/css/rebate.css
Executable file
@ -0,0 +1,314 @@
|
||||
body {
|
||||
background: #3d2467;
|
||||
height: 2000px;
|
||||
}
|
||||
.banner img {
|
||||
width: 6.4rem;
|
||||
height: 7.18rem;
|
||||
}
|
||||
.youhui {
|
||||
width: 5.95rem;
|
||||
height: 4.77rem;
|
||||
background: #5224a8;
|
||||
margin-left: 0.21rem;
|
||||
border-radius: 10px;
|
||||
}
|
||||
.youhui .yhq {
|
||||
width: 5.9rem;
|
||||
}
|
||||
.youhui .yhq_block {
|
||||
width: 1.38rem;
|
||||
height: 1.95rem;
|
||||
margin-left: 0.09rem;
|
||||
margin-top: 0.2rem;
|
||||
float: left;
|
||||
position: relative;
|
||||
}
|
||||
.youhui .yhq_block img {
|
||||
width: 1.38rem;
|
||||
height: 1.95rem;
|
||||
}
|
||||
.youhui .yhq_btn {
|
||||
width: 1.25rem;
|
||||
height: 0.35rem;
|
||||
background: #ffbd1f;
|
||||
border-radius: 20px;
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.15rem;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
bottom: 0.06rem;
|
||||
left: 0.08rem;
|
||||
line-height: 0.35rem;
|
||||
}
|
||||
.youhui .miaosha {
|
||||
width: 5.72rem;
|
||||
height: 2.05rem;
|
||||
background: url(../img/miaosha_bg.png) no-repeat;
|
||||
margin-left: 0.12rem;
|
||||
margin-top: 0.17rem;
|
||||
border-radius: 5px;
|
||||
padding-top: 0.1rem;
|
||||
}
|
||||
.miaosha .mssp {
|
||||
width: 2rem;
|
||||
height: 2rem;
|
||||
background: #7fe4eb;
|
||||
border-radius: 50%;
|
||||
margin-left: 0.43rem;
|
||||
float: left;
|
||||
position: relative;
|
||||
}
|
||||
.miaosha .mssp img {
|
||||
width: 2.3rem;
|
||||
height: 2.3rem;
|
||||
position: absolute;
|
||||
left: -0.18rem;
|
||||
top: -0.23rem;
|
||||
}
|
||||
.miaosha .zdms {
|
||||
margin-left: 0.5rem;
|
||||
margin-top: 0.23rem;
|
||||
float: left;
|
||||
}
|
||||
.miaosha .zdms .ms_p1 {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.3rem;
|
||||
color: #fefd21;
|
||||
}
|
||||
.miaosha .zdms .ms_p2 {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.24rem;
|
||||
color: #fff;
|
||||
margin-left: 0.16rem;
|
||||
margin-top: 0.12rem;
|
||||
}
|
||||
.miaosha .zdms img {
|
||||
width: 2rem;
|
||||
height: 0.45rem;
|
||||
margin-left: 0.23rem;
|
||||
margin-top: 0.3rem;
|
||||
}
|
||||
.hengfu img {
|
||||
width: 100%;
|
||||
margin-top: 0.21rem;
|
||||
}
|
||||
.bktj img {
|
||||
width: 5.4rem;
|
||||
height: 0.92rem;
|
||||
margin-left: 0.5rem;
|
||||
margin-top: 0.33rem;
|
||||
}
|
||||
.bk_cp1,
|
||||
.bk_cp2,
|
||||
.bk_cp3,
|
||||
.bk_cp4 {
|
||||
width: 6.33rem;
|
||||
height: 2.85rem;
|
||||
margin-top: 0.1rem;
|
||||
}
|
||||
.bk_cp1 {
|
||||
background: url(../img/bk_bg1.png) no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
.bk_cp2 {
|
||||
background: url(../img/bk_bg2.png) no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
.bk_cp3 {
|
||||
background: url(../img/bk_bg3.png) no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
.bk_cp4 {
|
||||
background: url(../img/bk_bg4.png) no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
.bk_cp1 .bk_img1 {
|
||||
width: 2.6rem;
|
||||
height: 2.6rem;
|
||||
margin-left: 0.65rem;
|
||||
float: left;
|
||||
}
|
||||
.bk_cp1 .bk_p1 {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.36rem;
|
||||
color: #fdfd21;
|
||||
float: left;
|
||||
margin-left: 0.8rem;
|
||||
margin-top: 0.3rem;
|
||||
}
|
||||
.bk_cp1 .bk_p2 {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.22rem;
|
||||
color: #fff;
|
||||
float: left;
|
||||
margin-left: 0.95rem;
|
||||
margin-top: 0.25rem;
|
||||
}
|
||||
.bk_cp1 .bk_p3 {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.3rem;
|
||||
color: #fdfd21;
|
||||
float: left;
|
||||
margin-left: 0.95rem;
|
||||
margin-top: 0.1rem;
|
||||
}
|
||||
.bk_cp1 .bk_img2 {
|
||||
width: 1.03rem;
|
||||
height: 0.41rem;
|
||||
float: left;
|
||||
margin-left: 0.95rem;
|
||||
margin-top: 0.25rem;
|
||||
}
|
||||
.bk_cp3 .bk_img1 {
|
||||
width: 2.6rem;
|
||||
height: 2.6rem;
|
||||
margin-left: 0.65rem;
|
||||
float: left;
|
||||
}
|
||||
.bk_cp3 .bk_p1 {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.36rem;
|
||||
color: #fdfd21;
|
||||
float: left;
|
||||
margin-left: 0.8rem;
|
||||
margin-top: 0.3rem;
|
||||
}
|
||||
.bk_cp3 .bk_p2 {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.22rem;
|
||||
color: #fff;
|
||||
float: left;
|
||||
margin-left: 0.95rem;
|
||||
margin-top: 0.25rem;
|
||||
}
|
||||
.bk_cp3 .bk_p3 {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.3rem;
|
||||
color: #fdfd21;
|
||||
float: left;
|
||||
margin-left: 0.95rem;
|
||||
margin-top: 0.1rem;
|
||||
}
|
||||
.bk_cp3 .bk_img2 {
|
||||
width: 1.03rem;
|
||||
height: 0.41rem;
|
||||
float: left;
|
||||
margin-left: 0.95rem;
|
||||
margin-top: 0.25rem;
|
||||
}
|
||||
.bk_cp2 .bk2_p1 {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.36rem;
|
||||
color: #fdfd21;
|
||||
float: left;
|
||||
margin-left: 0.9rem;
|
||||
margin-top: 0.3rem;
|
||||
}
|
||||
.bk_cp2 .bk2_p2 {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.22rem;
|
||||
color: #fff;
|
||||
float: left;
|
||||
margin-left: -1.25rem;
|
||||
margin-top: 0.95rem;
|
||||
}
|
||||
.bk_cp2 .bk2_p3 {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.3rem;
|
||||
color: #fdfd21;
|
||||
float: left;
|
||||
margin-left: -1.25rem;
|
||||
margin-top: 1.3rem;
|
||||
}
|
||||
.bk_cp2 .bk_img2 {
|
||||
width: 1.03rem;
|
||||
height: 0.41rem;
|
||||
float: left;
|
||||
margin-left: -1.25rem;
|
||||
margin-top: 1.9rem;
|
||||
}
|
||||
.bk_cp2 .bk_img1 {
|
||||
width: 2.6rem;
|
||||
height: 2.6rem;
|
||||
margin-left: 0.65rem;
|
||||
float: left;
|
||||
}
|
||||
.bk_cp4 .bk2_p1 {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.36rem;
|
||||
color: #fdfd21;
|
||||
float: left;
|
||||
margin-left: 0.9rem;
|
||||
margin-top: 0.3rem;
|
||||
}
|
||||
.bk_cp4 .bk2_p2 {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.22rem;
|
||||
color: #fff;
|
||||
float: left;
|
||||
margin-left: -1.25rem;
|
||||
margin-top: 0.95rem;
|
||||
}
|
||||
.bk_cp4 .bk2_p3 {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.3rem;
|
||||
color: #fdfd21;
|
||||
float: left;
|
||||
margin-left: -1.25rem;
|
||||
margin-top: 1.3rem;
|
||||
}
|
||||
.bk_cp4 .bk_img2 {
|
||||
width: 1.03rem;
|
||||
height: 0.41rem;
|
||||
float: left;
|
||||
margin-left: -1.25rem;
|
||||
margin-top: 1.9rem;
|
||||
}
|
||||
.bk_cp4 .bk_img1 {
|
||||
width: 2.6rem;
|
||||
height: 2.6rem;
|
||||
margin-left: 0.65rem;
|
||||
float: left;
|
||||
}
|
||||
.xpss img {
|
||||
width: 5.4rem;
|
||||
height: 0.92rem;
|
||||
margin-left: 0.5rem;
|
||||
margin-top: 0.33rem;
|
||||
}
|
||||
.xpss_nr .xp_cp {
|
||||
width: 2.77rem;
|
||||
height: 3.37rem;
|
||||
background: url(../img/xpbk.png) no-repeat;
|
||||
background-size: 100%;
|
||||
margin-left: 0.3rem;
|
||||
margin-top: 0.27rem;
|
||||
float: left;
|
||||
}
|
||||
.xpss_nr .xp_cp .xpss_img1 {
|
||||
width: 2.4rem;
|
||||
height: 2.4rem;
|
||||
margin-left: 0.16rem;
|
||||
}
|
||||
.xpss_nr .xp_cp .xpss_p1 del {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.16rem;
|
||||
font-weight: 300;
|
||||
color: #5f5f5f;
|
||||
}
|
||||
.xpss_nr .xp_cp .xpss_p1 {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 0.4rem;
|
||||
color: #f1063a;
|
||||
font-weight: 800;
|
||||
margin-top: -0.25rem;
|
||||
margin-left: 0.2rem;
|
||||
}
|
||||
.xpss_nr .xp_cp .xpss_img2 {
|
||||
width: 2.17rem;
|
||||
height: 0.39rem;
|
||||
margin-left: 0.25rem;
|
||||
margin-top: 0.15rem;
|
||||
}
|
361
hyhproject/mobile2/view/default/css/rebate.less
Executable file
361
hyhproject/mobile2/view/default/css/rebate.less
Executable file
@ -0,0 +1,361 @@
|
||||
body {
|
||||
background: #3d2467;
|
||||
height: 2000px;
|
||||
}
|
||||
|
||||
.banner img {
|
||||
width: 640/100rem;
|
||||
height: 718/100rem;
|
||||
}
|
||||
|
||||
.youhui {
|
||||
width: 595/100rem;
|
||||
height: 477/100rem;
|
||||
background: #5224a8;
|
||||
margin-left: 21/100rem;
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.youhui .yhq {
|
||||
width: 590/100rem;
|
||||
}
|
||||
|
||||
.youhui .yhq_block {
|
||||
width: 138/100rem;
|
||||
height: 195/100rem;
|
||||
margin-left: 9/100rem;
|
||||
margin-top: 20/100rem;
|
||||
float: left;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.youhui .yhq_block img {
|
||||
width: 138/100rem;
|
||||
height: 195/100rem;
|
||||
}
|
||||
|
||||
.youhui .yhq_btn {
|
||||
width: 125/100rem;
|
||||
height: 35/100rem;
|
||||
background: #ffbd1f;
|
||||
border-radius: 20px;
|
||||
font-family: "微软雅黑";
|
||||
font-size: 15/100rem;
|
||||
color: #fff;
|
||||
text-align: center;
|
||||
position: absolute;
|
||||
bottom: 6/100rem;
|
||||
left: 8/100rem;
|
||||
line-height: 35/100rem;
|
||||
}
|
||||
|
||||
.youhui .miaosha {
|
||||
width: 572/100rem;
|
||||
height: 205/100rem;
|
||||
background: url(../img/miaosha_bg.png) no-repeat;
|
||||
margin-left: 12/100rem;
|
||||
margin-top: 17/100rem;
|
||||
border-radius: 5px;
|
||||
padding-top: 10/100rem;
|
||||
}
|
||||
|
||||
.miaosha .mssp {
|
||||
width: 200/100rem;
|
||||
height: 200/100rem;
|
||||
background: #7fe4eb;
|
||||
border-radius: 50%;
|
||||
margin-left: 43/100rem;
|
||||
float: left;
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.miaosha .mssp img {
|
||||
width: 230/100rem;
|
||||
height: 230/100rem;
|
||||
position: absolute;
|
||||
left: -18/100rem;
|
||||
top: -23/100rem;
|
||||
}
|
||||
|
||||
.miaosha .zdms {
|
||||
margin-left: 50/100rem;
|
||||
margin-top: 23/100rem;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.miaosha .zdms .ms_p1 {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 30/100rem;
|
||||
color: #fefd21;
|
||||
}
|
||||
|
||||
.miaosha .zdms .ms_p2 {
|
||||
font-family: "微软雅黑";
|
||||
font-size: 24/100rem;
|
||||
color: #fff;
|
||||
margin-left: 16/100rem;
|
||||
margin-top: 12/100rem;
|
||||
}
|
||||
|
||||
.miaosha .zdms img {
|
||||
width: 200/100rem;
|
||||
height: 45/100rem;
|
||||
margin-left: 23/100rem;
|
||||
margin-top: 30/100rem;
|
||||
}
|
||||
|
||||
.hengfu img {
|
||||
width: 100%;
|
||||
margin-top: 21/100rem
|
||||
}
|
||||
|
||||
.bktj img {
|
||||
width: 540/100rem;
|
||||
height: 92/100rem;
|
||||
margin-left: 50/100rem;
|
||||
margin-top: 33/100rem;
|
||||
}
|
||||
|
||||
.bk_cp1,
|
||||
.bk_cp2,
|
||||
.bk_cp3,
|
||||
.bk_cp4 {
|
||||
width: 633/100rem;
|
||||
height: 285/100rem;
|
||||
margin-top: 10/100rem;
|
||||
|
||||
}
|
||||
|
||||
.bk_cp1 {
|
||||
background: url(../img/bk_bg1.png) no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
.bk_cp2 {
|
||||
background: url(../img/bk_bg2.png) no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
.bk_cp3 {
|
||||
background: url(../img/bk_bg3.png) no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
.bk_cp4 {
|
||||
background: url(../img/bk_bg4.png) no-repeat;
|
||||
background-size: 100%;
|
||||
}
|
||||
|
||||
.bk_cp1 .bk_img1{
|
||||
width: 260/100rem;
|
||||
height: 260/100rem;
|
||||
margin-left: 65/100rem;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.bk_cp1 .bk_p1{
|
||||
font-family: "微软雅黑";
|
||||
font-size: 36/100rem;
|
||||
color: #fdfd21;
|
||||
float: left;
|
||||
margin-left: 80/100rem;
|
||||
margin-top: 30/100rem;
|
||||
}
|
||||
|
||||
.bk_cp1 .bk_p2{
|
||||
font-family: "微软雅黑";
|
||||
font-size: 22/100rem;
|
||||
color: #fff;
|
||||
float: left;
|
||||
margin-left: 95/100rem;
|
||||
margin-top: 25/100rem;
|
||||
}
|
||||
|
||||
.bk_cp1 .bk_p3{
|
||||
font-family: "微软雅黑";
|
||||
font-size: 30/100rem;
|
||||
color: #fdfd21;
|
||||
float: left;
|
||||
margin-left: 95/100rem;
|
||||
margin-top: 10/100rem;
|
||||
}
|
||||
|
||||
.bk_cp1 .bk_img2{
|
||||
width: 103/100rem;
|
||||
height: 41/100rem;
|
||||
float: left;
|
||||
margin-left: 95/100rem;
|
||||
margin-top: 25/100rem;
|
||||
}
|
||||
|
||||
.bk_cp3 .bk_img1{
|
||||
width: 260/100rem;
|
||||
height: 260/100rem;
|
||||
margin-left: 65/100rem;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.bk_cp3 .bk_p1{
|
||||
font-family: "微软雅黑";
|
||||
font-size: 36/100rem;
|
||||
color: #fdfd21;
|
||||
float: left;
|
||||
margin-left: 80/100rem;
|
||||
margin-top: 30/100rem;
|
||||
}
|
||||
|
||||
.bk_cp3 .bk_p2{
|
||||
font-family: "微软雅黑";
|
||||
font-size: 22/100rem;
|
||||
color: #fff;
|
||||
float: left;
|
||||
margin-left: 95/100rem;
|
||||
margin-top: 25/100rem;
|
||||
}
|
||||
|
||||
.bk_cp3 .bk_p3{
|
||||
font-family: "微软雅黑";
|
||||
font-size: 30/100rem;
|
||||
color: #fdfd21;
|
||||
float: left;
|
||||
margin-left: 95/100rem;
|
||||
margin-top: 10/100rem;
|
||||
}
|
||||
|
||||
.bk_cp3 .bk_img2{
|
||||
width: 103/100rem;
|
||||
height: 41/100rem;
|
||||
float: left;
|
||||
margin-left: 95/100rem;
|
||||
margin-top: 25/100rem;
|
||||
}
|
||||
|
||||
.bk_cp2 .bk2_p1{
|
||||
font-family: "微软雅黑";
|
||||
font-size: 36/100rem;
|
||||
color: #fdfd21;
|
||||
float: left;
|
||||
margin-left: 90/100rem;
|
||||
margin-top: 30/100rem;
|
||||
}
|
||||
.bk_cp2 .bk2_p2{
|
||||
font-family: "微软雅黑";
|
||||
font-size: 22/100rem;
|
||||
color: #fff;
|
||||
float: left;
|
||||
margin-left:-125/100rem;
|
||||
margin-top: 95/100rem;
|
||||
}
|
||||
.bk_cp2 .bk2_p3{
|
||||
font-family: "微软雅黑";
|
||||
font-size: 30/100rem;
|
||||
color: #fdfd21;
|
||||
float: left;
|
||||
margin-left:-125/100rem;
|
||||
margin-top: 130/100rem;
|
||||
}
|
||||
|
||||
.bk_cp2 .bk_img2{
|
||||
width: 103/100rem;
|
||||
height: 41/100rem;
|
||||
float: left;
|
||||
margin-left:-125/100rem;
|
||||
margin-top: 190/100rem;
|
||||
}
|
||||
|
||||
.bk_cp2 .bk_img1{
|
||||
width: 260/100rem;
|
||||
height: 260/100rem;
|
||||
margin-left: 65/100rem;
|
||||
float: left;
|
||||
}
|
||||
.bk_cp4 .bk2_p1{
|
||||
font-family: "微软雅黑";
|
||||
font-size: 36/100rem;
|
||||
color: #fdfd21;
|
||||
float: left;
|
||||
margin-left: 90/100rem;
|
||||
margin-top: 30/100rem;
|
||||
}
|
||||
.bk_cp4 .bk2_p2{
|
||||
font-family: "微软雅黑";
|
||||
font-size: 22/100rem;
|
||||
color: #fff;
|
||||
float: left;
|
||||
margin-left:-125/100rem;
|
||||
margin-top: 95/100rem;
|
||||
}
|
||||
.bk_cp4 .bk2_p3{
|
||||
font-family: "微软雅黑";
|
||||
font-size: 30/100rem;
|
||||
color: #fdfd21;
|
||||
float: left;
|
||||
margin-left:-125/100rem;
|
||||
margin-top: 130/100rem;
|
||||
}
|
||||
|
||||
.bk_cp4 .bk_img2{
|
||||
width: 103/100rem;
|
||||
height: 41/100rem;
|
||||
float: left;
|
||||
margin-left:-125/100rem;
|
||||
margin-top: 190/100rem;
|
||||
}
|
||||
|
||||
.bk_cp4 .bk_img1{
|
||||
width: 260/100rem;
|
||||
height: 260/100rem;
|
||||
margin-left: 65/100rem;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.xpss img{
|
||||
width: 540/100rem;
|
||||
height: 92/100rem;
|
||||
margin-left: 50/100rem;
|
||||
margin-top: 33/100rem;
|
||||
}
|
||||
|
||||
.xpss_nr .xp_cp{
|
||||
width: 277/100rem;
|
||||
height: 337/100rem;
|
||||
background: url(../img/xpbk.png) no-repeat;
|
||||
background-size: 100%;
|
||||
margin-left: 30/100rem;
|
||||
margin-top: 27/100rem;
|
||||
float: left;
|
||||
}
|
||||
|
||||
.xpss_nr .xp_cp .xpss_img1{
|
||||
width: 240/100rem;
|
||||
height: 240/100rem;
|
||||
margin-left: 16/100rem;
|
||||
}
|
||||
|
||||
.xpss_nr .xp_cp .xpss_p1 del{
|
||||
font-family: "微软雅黑";
|
||||
font-size: 16/100rem;
|
||||
font-weight: 300;
|
||||
color: #5f5f5f;
|
||||
|
||||
}
|
||||
.xpss_nr .xp_cp .xpss_p1{
|
||||
font-family: "微软雅黑";
|
||||
font-size: 40/100rem;
|
||||
color: #f1063a;
|
||||
font-weight: 800;
|
||||
margin-top: -25/100rem;
|
||||
margin-left: 20/100rem;
|
||||
}
|
||||
|
||||
.xpss_nr .xp_cp .xpss_img2{
|
||||
width: 217/100rem;
|
||||
height: 39/100rem;
|
||||
margin-left: 25/100rem;
|
||||
margin-top: 15/100rem;
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
|
36
hyhproject/mobile2/view/default/css/recharge.css
Executable file
36
hyhproject/mobile2/view/default/css/recharge.css
Executable file
@ -0,0 +1,36 @@
|
||||
.ui-radio input:checked:after{background:#f43d30;}
|
||||
.ui-grid-trisect{background-color:#fff; }
|
||||
.j-charge-money{display: none;}
|
||||
.charge-othermoney{width:1rem;height:0.29rem;}
|
||||
.j-show-box,.j-edit-box,.j-list-box,.wst-list-box{padding:5px 0px 20px 15px;}
|
||||
.j-list-box li{height:40px;line-height:40px;}
|
||||
.j-edit-box .rows{width:auto;height:auto;}
|
||||
.j-edit-box .label{float:left;width:120px;text-align:right;padding:2px 0px 2px 0px;}
|
||||
.j-edit-box .field{float:left;padding:2px 0px 2px 0px;}
|
||||
.field label{margin-right:20px;}
|
||||
#saveAddressBtn{margin-left:120px;}
|
||||
.j-show-box .address{line-height:36px;}
|
||||
.j-show-box .address a{color: #1c9eff;}
|
||||
.j-show-box .address a:hover{text-decoration:underline;}
|
||||
.j-default{padding:5px;background:#ccc;}
|
||||
.wst-frame1{border: 2px solid #e2e2e2;text-align:center;position:relative; }
|
||||
.wst-frame2{border: 2px solid #e2e2e2;text-align:center;border-radius: 10px;position:relative;padding: 0.2rem 0;font-size: 0.13rem; }
|
||||
.wst-frame2 div{line-height:normal; }
|
||||
.wst-frame2 div.charge-alone{line-height:0.3rem;font-size: 0.13rem;}
|
||||
.wst-frame1.j-selected i,.wst-frame2.j-selected i{font-size: 0;line-height: 0;background: url(../img/img_gd_sel.png) no-repeat 0 0;display: block; width: 11px;height: 11px;position: absolute;z-index: 1;right: -1px;bottom: -1px;}
|
||||
.wst-frame1.j-selected,.wst-frame2.j-selected{border: 2px solid #e4393c;}
|
||||
.tips-box{margin:0.1rem;}
|
||||
.paytype-term{padding:0 0.1rem 0 0.05rem;font-size: 0.14rem;border-bottom: 1px solid #f2f1f1;}
|
||||
.paytype-term label{position: absolute;top:23px;right:0;}
|
||||
.paytype-term i{display: block;width:44px;height: 44px;}
|
||||
.paytype-term .alipays{background: url(../img/pays-ali.png) center center no-repeat;background-size: 70%;}
|
||||
.paytype-term .weixinpays{background: url(../img/pays-weixin.png) center center no-repeat;background-size: 70%;}
|
||||
.paytype-term .unionpay{background: url(../img/pays-union.png) center center no-repeat;background-size: 70%;}
|
||||
.first-time{font-size: 0.15rem;color: #abaaaa;padding-left: 5px;margin-top: 10px;}
|
||||
.wst-re-button{height: 38px;line-height: 38px;font-size: 0.15rem;color: #fff;background: #e00102;border-radius: 3px;border-bottom: 1px solid #e00102;}
|
||||
.ui-checkbox input:before, .ui-checkbox-s input:before{font-size: 24px;color:#ff3c3c;}
|
||||
.ui-checkbox input:checked:before, .ui-checkbox-s input:checked:before{color:#ff3c3c;}
|
||||
.wst-re-info{margin:0.08rem 0;padding:0.1rem;background-color:#fff;font-size: 0.15rem;}
|
||||
.wst-re-info p{padding:0.05rem 0;color: #999;}
|
||||
.wst-re-info .balance{padding-left:0.2rem;font-size: 0.13rem;color:#df0202;}
|
||||
.wst-re-info .balance span{font-size: 0.15rem;}
|
19
hyhproject/mobile2/view/default/css/security.css
Executable file
19
hyhproject/mobile2/view/default/css/security.css
Executable file
@ -0,0 +1,19 @@
|
||||
@CHARSET "UTF-8";
|
||||
.wst-se-l{margin-top:8px}
|
||||
.wst-se-l .line{border-bottom:1px solid #edebeb}
|
||||
.wst-se-l span{width:23px;height:23px;display:block;margin-right:6px}
|
||||
.wst-se-l .pay{background:url(../img/icon_zhanghuanquan.png) 0 0 no-repeat;background-size:97%}
|
||||
.wst-se-l .phone{background:url(../img/icon_zhanghuanquan.png) 0 -53px no-repeat;background-size:97%}
|
||||
.wst-se-pay{font-size:.18rem;margin-top:8px;padding:12px 10px 2px 10px;background:#fff}
|
||||
.wst-se-pay .pay{padding-bottom:10px}
|
||||
.wst-se-pay .pay input{width:100%;padding:2px 2px 2px 5px;height:36px;border-radius:2px;border:1px solid #a0a0a0;font-size:.14rem;}
|
||||
.wst-se-footer{position:fixed;width:100%;z-index:100;left:0;bottom:0}
|
||||
.wst-se-footer .button{position:absolute;left:3%;bottom:10px;width:93%;margin-bottom:6px;font-size:.15rem;height:38px;line-height:38px;color:#fff;background:#e00102;border-radius:3px;border-bottom:1px solid #e00102}
|
||||
.wst-se-footer .button:not(.disabled):not(:disabled):active{color:#fff0f0;background:#f52f30;background-clip:padding-box}
|
||||
.wst-se-pay .verify{border-radius:2px;margin-bottom:10px;border:1px solid #a0a0a0}
|
||||
.wst-se-pay .verify input{width:60%;padding:2px 2px 2px 5px;height:36px;border-top-left-radius:2px;border-bottom-left-radius:2px;border:0;font-size:.14rem;}
|
||||
.wst-se-pay .verify button{float:right;height:36px;width:40%;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;font-size:.14rem;}
|
||||
.wst-se-pay .verify img{float:right;height:36px;width:40%;border-top-right-radius:2px;border-bottom-right-radius:2px}
|
||||
.wst-se-pay .phone{padding:10px;font-size:.15rem;}
|
||||
.wst-se-back{padding:10px;font-size:.14rem;}
|
||||
.wst-se-back a{color: #999;}
|
87
hyhproject/mobile2/view/default/css/self_shop.css
Executable file
87
hyhproject/mobile2/view/default/css/self_shop.css
Executable file
@ -0,0 +1,87 @@
|
||||
@CHARSET "UTF-8";
|
||||
body{background: #fff;}
|
||||
.ui-footer ~ .ui-container{border: 0px solid transparent;}
|
||||
.wst-se-header2 .ui-icon-return {color: #59595c;}
|
||||
.wst-se-header3{position: absolute;padding-left: 0;background: transparent;border-bottom: 0px;}
|
||||
.wst-se-search2{width: 66%;margin-right: 23%;}
|
||||
.wst-se-search2 input{background: rgba(255,255,255,0.5);}
|
||||
.wst-se-search2 input::-webkit-input-placeholder {color:#fff;}
|
||||
.wst-se-search2 input:-moz-placeholder {color:#fff;}
|
||||
.wst-se-search2 input::-moz-placeholder {color:#fff;}
|
||||
.wst-se-search2 inputt:-ms-input-placeholder {color:#fff;}
|
||||
.wst-se-header3 .ui-icon-return,.wst-se-header3 .ui-icon-search{color: #fff;}
|
||||
.wst-se-icon0{background: url(../img/classify.png) center center no-repeat;background-size: 60%;}
|
||||
.wst-se-icon2{right: 40px;background: url(../img/cart.png) center center no-repeat;background-size: 60%;}
|
||||
.wst-se-icon2 i{display: inline-block;text-align: center;background: #de0202;color: #fff;height: 15px;line-height: 15px;border-radius: 10px;padding: 0 5px;background-clip: padding-box;font-size: .1rem;position: absolute;top: 0;left: 20px;}
|
||||
.wst-sh-banner{display: block;width:100%;height:1.7rem;background:url(../img/default_shopbanner.png) center top no-repeat;background-size:cover}
|
||||
.shop-banner{width:100%;}
|
||||
.shop-photo{position: relative;}
|
||||
.shop-photo .photo{display: block;width:0.8rem;height:0.8rem;margin-left:0.1rem;padding:0.05rem;position: absolute;top:-0.42rem;background: #fff;border-radius: 3px;}
|
||||
.shop-photo .photo img{width:100%;height:100%;border: 1px solid #f2f1f1;border-radius: 2px;}
|
||||
.shop-photo .photo .name{position: absolute;left:-0.05rem;bottom:-0.28rem;width:2.6rem;font: 0.16rem/31px verdana;}
|
||||
.shop-photo .introduce{float:right;margin:0.1rem 0.1rem 0 0;font-size:0.14rem;color:#de0202;}
|
||||
.shop-info{padding-top:0.8rem;text-align:center;font-size:0.13rem;}
|
||||
.shop-btn{float:left;margin-left: 0.11rem;margin-top: 0.05rem;width:30px;height:30px;background: url(../img/follow-shop.png) 1px 3px no-repeat;background-size: 200%;}
|
||||
.shop-btn.follow{background: url(../img/follow-shop.png) -31px 3px no-repeat;background-size: 200%;}
|
||||
.shop-notice{padding:0.1rem;font-size:0.13rem;border-bottom: 0.05rem solid #f2f1f1;}
|
||||
.shop-notice .title{margin-bottom:0.05rem;font-size:0.15rem;}
|
||||
.shop-ads{margin:5px auto;width:100%;}
|
||||
.wst-gol-adsb{padding:0.05rem 0;height:110px;background:#fff;font-size:0.13rem;}
|
||||
.wst-gol-adsb p{float:left;width:100%;color:#de0202;text-align:center}
|
||||
.wst-gol-img{float:left;width:100%;height:100px;text-align:center;vertical-align:middle;display:block;position:relative;}
|
||||
.wst-gol-img a{width:100%;height:100px;display:table-cell;vertical-align:middle}
|
||||
.wst-gol-img a img{max-width:100px;max-height:100px}
|
||||
.shop-floor-title{background:#fff;padding-left:5px;height:33px;line-height:33px;font-size:0.15rem;margin-bottom:0.04rem;}
|
||||
.f0{border-left:3px solid #dc4bd1;color:#dc4bd1;}
|
||||
.f1{border-left:3px solid #8a5063;color:#8a5063;}
|
||||
.f2{border-left:3px solid #df2003;color:#df2003;}
|
||||
.f3{border-left:3px solid lightblue;color:lightblue;}
|
||||
.f4{border-left:3px solid #ff8043;color:#ff8043;}
|
||||
.f5{border-left:3px solid #24b0ed;color:#24b0ed;}
|
||||
.f6{border-left:3px solid green;color:green;}
|
||||
.shop-more{float:right;margin-right:5px;display:inline-block;padding-right:20px;position: relative;}
|
||||
.shop-more i{position: absolute;display: block;width:33px;height:33px;top:-6px;right:-7px;}
|
||||
.wst-shl-head{background:#fff;font-size:.158rem;color:#6a6b6d}
|
||||
.wst-shl-head .sorts{position:relative}
|
||||
.wst-shl-head .sorts p{height:22px;line-height:22px;padding:10px 15px 10px 0;text-align:center}
|
||||
.wst-shl-head .active{color:#de0202;border-bottom:2px solid #de0202}
|
||||
.wst-shl-head .sorts i{width:15px;height:15px;position:absolute;right:5px;top:13px}
|
||||
.wst-shl-head .sorts .up{background:url(../img/img_jgsx.png) 0 -19px no-repeat;background-size:285%}
|
||||
.wst-shl-head .sorts .up2{background:url(../img/img_jgsx.png) -28px -19px no-repeat;background-size:285%}
|
||||
.wst-shl-head .sorts .down{background:url(../img/img_jgsx.png) 0 2px no-repeat;background-size:285%}
|
||||
.wst-shl-head .sorts .down2{background:url(../img/img_jgsx.png) -28px 2px no-repeat;background-size:285%}
|
||||
.wst-in-goods{float: left;width: 50%;box-sizing: border-box;padding:5px;margin-bottom:0.04rem;font-size:0.14rem;background:#fff;color: #232326; font-family: "Microsoft YaHei",Arial,Helvetica,sans-serif;}
|
||||
.wst-in-goods.left{border-right: 0.02rem solid #f6f6f8;}
|
||||
.wst-in-goods.right{border-left: 0.02rem solid #f6f6f8;}
|
||||
.wst-in-goods .img{float:left;width:1.76rem;height:1.76rem;text-align:center;vertical-align:middle;display:block;position:relative}
|
||||
.wst-in-goods .img a{width:1.76rem;height:1.76rem;display:table-cell;vertical-align:middle}
|
||||
.wst-in-goods .img a img{max-width:1.76rem;max-height:1.76rem;}
|
||||
.wst-in-goods .name{float:left;width:100%;height:0.33rem;margin-top:3px;line-height:0.17rem}
|
||||
.wst-in-goods .info{float:left;width:100%;margin-top:0.05rem;}
|
||||
.wst-in-goods .info .price{float:left;font-size:0.13rem;color:#e00102;}
|
||||
.wst-in-goods .info .price span{font-size:0.166rem;}
|
||||
.wst-in-goods .info2{float:left;width:100%;font-size:0.11rem;}
|
||||
.wst-in-goods .info2 .price{float:left;color: #999;text-decoration:line-through;}
|
||||
.wst-in-goods .info2 .deal{float:right;color: #999;}
|
||||
.wst-cover{position:fixed;left:0;top:0;background-color:#000;width:100%;height:100%;filter:alpha(opacity=60);opacity:.6;z-Index:9999;display:none}
|
||||
.wst-fr-box{position:fixed;z-index:9999;right:-999px;top:0;width:100%;height:100%;background:#f6f6f8;}
|
||||
.wst-fr-box .title,.wst-cart-box .title{position:relative;border-bottom:1px solid #f6f6f8;;background:#fff;height:41px;line-height:41px;text-align:center;font-size: 14px;}
|
||||
.wst-fr-box .title i,.wst-cart-box .title i{position:absolute;right:5px;top:-2px;font-size:27px}
|
||||
.wst-fr-box .button,.wst-cart-box .button{position:absolute;left:3%;bottom:0;width:93%;font-size:.185rem;height:40px;line-height:40px;color:#fff;background:#e00102;border-bottom:1px solid #e00102}
|
||||
.wst-fr-box .button:not(.disabled):not(:disabled):active,.wst-cart-box .button:not(.disabled):not(:disabled):active{color:#fff0f0;background:#f52f30;background-clip:padding-box}
|
||||
.ui-scrollerl{width:24%;height:100%;overflow:hidden;background:#fff;position:fixed}
|
||||
.ui-scrollerl li{padding:13px 5px;font-size: 0.129rem;text-align:center}
|
||||
.wst-goodscate{color: #232326;border-top: 1px solid #f6f6f8;border-right: 1px solid #f6f6f8;border-left: 2px solid #f6f6f8;}
|
||||
.wst-goodscate_selected{color: #df0202;background: #f6f6f8;border-right: 1px solid #f6f6f8;border-left: 2px solid #df0202;}
|
||||
.wst-scrollerr{width:76%;float:right}
|
||||
.wst-scrollerr li{float:left;width:100%;font-size:.15rem;color:#000}
|
||||
.wst-goodsca{height:35px;background:#f2f2f2;margin-bottom:8px;}
|
||||
.wst-goodsca span{float:left;color: #232326;margin-top:8px;margin-left:8px;border-left:2px solid #fc786b;font-size: 0.13rem;}
|
||||
.wst-goodsca i{float:right;height:35px;margin-top:-6px;color:#fc786b}
|
||||
.wst-goodscat{float:left;width:94%;padding:0 0 12px 8px}
|
||||
.wst-goodscats{float:left;width:94%;padding:0 0 12px 8px}
|
||||
.wst-goodscat span{float:left;width:49%;padding:8px 0;text-align:center;background:#fff;border:0.01rem solid #f2f1f1;color: #686868;font-size: 0.12rem;}
|
||||
.wst-goodscat span a{color:#69696b}
|
||||
.notice{display:flex;align-items:center;padding:5px;margin-bottom:5px;background:#fff}
|
||||
.notice_img{width:20px;height:20px}
|
||||
.notice_txt{min-height:30px;flex:1;padding-left:6px}
|
85
hyhproject/mobile2/view/default/css/settlement.css
Executable file
85
hyhproject/mobile2/view/default/css/settlement.css
Executable file
@ -0,0 +1,85 @@
|
||||
@CHARSET "UTF-8";
|
||||
.ui-list-link > li:after{color:#848484;}
|
||||
.wst-se-address{margin:10px 0px;padding-bottom:0.04rem;position: relative;}
|
||||
.wst-se-address:after {content: '';position: absolute;bottom: 0;left: -50%;width: 200%;height: 0.04rem;background: url(../img/line-address.png) 0px 0px;-webkit-transform: scale(0.5);}
|
||||
.wst-se-address .infot{color:#59595c;font-size:0.15rem;height: 22px;line-height: 22px;}
|
||||
.wst-se-address .infob{font-size:0.158rem;position: relative;text-indent:1em;height: 23px;line-height: 23px;}
|
||||
.wst-se-address .infob i{position: absolute;left:-23px;top:-12px;color:#df0001;}
|
||||
.wst-se-address .infono{color:#f8a106;height: 36px;line-height: 36px;}
|
||||
.wst-se-sh{padding:0px 10px 6px 10px;margin:5px 0px;font-size: 0.15rem;background:#ffffff;}
|
||||
.wst-se-sh .shopn{padding:6px 0px 2px 20px;position: relative;}
|
||||
.wst-se-sh .shopn i{position: absolute;display: block;bottom: 2px;left: 0;width: 20px;height: 20px;background: url(../img/icon_dp.png) 0px 1px no-repeat;background-size: 87%;}
|
||||
.wst-se-sh .goods .img{float: left;width: 100%;height: 70px;text-align: center;vertical-align: middle;display: block;}
|
||||
.wst-se-sh .goods{padding:5px 0px;border-bottom: 1px solid #f1f1f1;font-size:0.13rem;}
|
||||
.wst-se-sh .goods .img a{width: 100%;height: 70px;display: table-cell;vertical-align: middle;}
|
||||
.wst-se-sh .goods .img a img{max-width: 70px;max-height: 70px;}
|
||||
.wst-se-sh .name{padding:0px 5px;}
|
||||
.wst-se-sh .names{font-size: 0.14rem;}
|
||||
.wst-se-sh .spec{color: #a6a6a6;}
|
||||
.wst-se-sh .price,.wst-se-sh .number{text-align: right;font-size: 0.14rem;}
|
||||
.wst-se-sh .remarks,.wst-se-sh .cost{padding:5px 0px;}
|
||||
.wst-se-sh .cost span{float: right;color: #de0202;}
|
||||
.wst-se-sh .remarks textarea{width:100%;height: 30px;padding: 5px;}
|
||||
.wst-se-sh .remarks textarea:focus{height:58px;border:1px solid #3bb4f2;}
|
||||
.wst-se-mode .mode{border-bottom: 1px solid #f1f1f1;}
|
||||
.wst-se-mode .ui-txt-info{width:78%;text-align: right;}
|
||||
.ui-list li h4 {font-size: 0.15rem;}
|
||||
.wst-se-mode{font-size: 0.15rem;}
|
||||
.wst-se-total{height: 38px;line-height: 38px;padding:0px 10px;font-weight: bold;font-size: 0.17rem;}
|
||||
.wst-se-total span{float: right;color: #de0202;}
|
||||
.wst-se-confirm .button{position: absolute;left:3%;bottom:2px;width: 93%;margin-bottom:6px;height: 38px;line-height: 38px;color:#ffffff;background:#e00102;font-size: 0.15rem;border-radius:3px;border-bottom:1px solid #e00102;}
|
||||
.wst-se-confirm .button:not(.disabled):not(:disabled):active{color:#fff0f0;background:#f52f30;background-clip: padding-box;}
|
||||
/*遮盖层*/
|
||||
.wst-cover{position:fixed;left:0px;top:0px;background-color:#000;width:100%;height:100%;filter:alpha(opacity=60); /*设置透明度为60%*/opacity:0.6; /*非IE浏览器下设置透明度为60%*/z-Index:9999;display:none;}
|
||||
/*参数弹框*/
|
||||
.wst-fr-box{position: fixed;z-index: 9999;left:0px;bottom: -226px;width:100%;min-height:40%;background-color: #f6f6f8;font-size: 0.15rem;}
|
||||
.wst-fr-box .title{position: relative;padding:6px 0px;background-color: #ffffff;border-bottom: 1px solid #f1f1f1;}
|
||||
.wst-fr-box .title span{float: left;width: 100%;height: 26px;line-height: 26px;text-align: center;font-size: 15px;}
|
||||
.wst-fr-box .title i,.wst-cart-box .title i{position: absolute;right:5px;top:-2px;font-size: 27px;}
|
||||
.wst-fr-box .content{padding:8px 0px 50px 0px;}
|
||||
.wst-fr-box .button,.wst-cart-box .button{position: absolute;left:3%;bottom:4px;width: 93%;height: 38px;line-height: 38px;color:#ffffff;background:#e00102;font-size: 0.15rem;border-radius:3px;border-bottom:1px solid #e00102;}
|
||||
.wst-fr-box .button:not(.disabled):not(:disabled):active,.wst-cart-box .button:not(.disabled):not(:disabled):active{color:#fff0f0;background:#f52f30;background-clip: padding-box;}
|
||||
.wst-list-infose1{width:90%;padding-left: 0px;padding-top: 8px;padding-bottom: 8px;position: relative;}
|
||||
.wst-list-infose1 span{float:left;width:100%;height: 20px;line-height: 20px;font-size:0.14rem;}
|
||||
.wst-list-infose1 i{position: absolute;top:0;left:-13px;display: block;width:36px;height: 36px;}
|
||||
.wst-list-infose1 .alipays{background: url(../img/pays-ali.png) center center no-repeat;background-size: 70%;}
|
||||
.wst-list-infose1 .weixinpays{background: url(../img/pays-weixin.png) center center no-repeat;background-size: 70%;}
|
||||
.wst-list-infose1 .cod{background: url(../img/pays-cod.png) center center no-repeat;background-size: 70%;}
|
||||
.wst-list-infose1 .wallets{background: url(../img/pays-wallets.png) center center no-repeat;background-size: 70%;}
|
||||
.wst-list-infose1 .unionpay{background: url(../img/pays-union.png) center center no-repeat;background-size: 70%;}
|
||||
.ui-list{position: relative;}
|
||||
.ui-icon-push{position: absolute;top:0;right:0;width:32px;height: 36px;line-height: 36px;font-size: 0.32rem;}
|
||||
.wst-se-line{padding:0px 10px;}
|
||||
.wst-se-line p{border-bottom:1px solid #EDEDED;}
|
||||
.wst-fr-invoice{padding:0px 10px;background: #ffffff;font-size:0.18rem;}
|
||||
.wst-fr-invoice textarea{width: 100%;height: 46px;padding: 2px;}
|
||||
.wst-fr-invoice textarea:focus{border:1px solid #3bb4f2;}
|
||||
.wst-fr-score{padding-top:10px;}
|
||||
.wst-fr-score span{color:#e00102;}
|
||||
/* 发票信息层 */
|
||||
.invoice_box{position: fixed;z-index: 9999;right:-999px;bottom: 0px;width:100%;min-height:40%;background:#f2f2f2;font-size: 0.15rem;top:0;}
|
||||
.invoice_box .title,.wst-cart-box .title{position: relative;padding:6px 0px;border-bottom: 1px solid #f1f1f1;background-color: #fff;}
|
||||
.invoice_box .title span{float: left;width: 100%;height: 26px;line-height: 26px;text-align: center;font-size: 16px;}
|
||||
.invoice_box .title i,.wst-cart-box .title i{position: absolute;right:5px;top:-2px;font-size: 27px;}
|
||||
.invoice_box .content{margin-top:5px;background:#f2f2f2;overflow: scroll;min-height: 80%;}
|
||||
.inv_ul{margin-right: 15px;padding: 0 15px;position: relative;width: inherit;float: left;}
|
||||
.pdtb10{padding: 10px 0;}
|
||||
.inv_chk{position: absolute;left: 0;}
|
||||
.inv_item{padding: 15px 10px;background-color: #fff;}
|
||||
.inv_tit{color: #232326;font-size: 14px;padding-left: 5px;}
|
||||
.inv_hidebox{background-color: #fff;width: 100%;position: relative;display: none;}
|
||||
.inv_head_input{border: 0;border-radius: 3px;padding: 8px 0 8px 10px;width: 100%;color: #232326;font-size: 13px;background: #f0f2f5;padding-right: 30px;}
|
||||
#inv_headlist{display: none;position: absolute;z-index: 3;width: 100%;background-color: #fff;}
|
||||
.inv_list_item{width: 100%;background-color: #f0f2f5;}
|
||||
.inv_list_item li{padding-left: 10px;line-height: 35px;border-top: 1px solid #e0e0e0;-webkit-line-clamp: 1;}
|
||||
.inv_code_input{border: 0;border-radius: 3px;padding: 8px 0 8px 10px;height: 35px;width: 100%;color: #232326;font-size: 13px;background: #f0f2f5;padding-right: 30px;display: -webkit-box;}
|
||||
.inv_code_input::-webkit-input-placeholder{color:#f23030}
|
||||
.inv_code_input::-moz-placeholder{color:#f23030}
|
||||
.inv_code_input::-ms-input-placeholder{color:#f23030}
|
||||
.inv_code_inputbox{margin-top:10px}
|
||||
.inv_line{padding-bottom: 5px;border-bottom: 1px solid #ccc;}
|
||||
.none_float{float:inherit}
|
||||
.inv_tip{padding: 15px 10px;}
|
||||
.inv_tip li i{font-style: normal;font-size: 20px;font-weight: bold;margin-right: 5px;}
|
||||
.invoice_box .button{position: absolute;left:3%;bottom:4px;width: 93%;font-size: 0.185rem;height: 40px;line-height: 40px;color:#ffffff;background:#e00102;font-size: 0.18rem;border-radius:3px;border-bottom:1px solid #e00102;}
|
||||
.invoice_box .button:not(.disabled):not(:disabled):active,.wst-cart-box .button:not(.disabled):not(:disabled):active{color:#fff0f0;background:#f52f30;background-clip: padding-box;}
|
78
hyhproject/mobile2/view/default/css/shop_home.css
Executable file
78
hyhproject/mobile2/view/default/css/shop_home.css
Executable file
@ -0,0 +1,78 @@
|
||||
@CHARSET "UTF-8";
|
||||
body{background: #fff;}
|
||||
.ui-footer ~ .ui-container{border: 0px solid transparent;}
|
||||
.wst-se-header2 .ui-icon-return {color: #59595c;}
|
||||
.wst-se-header3{position: absolute;padding-left: 0;background: transparent;border-bottom: 0px;}
|
||||
.wst-se-search2{width: 66%;margin-right: 23%;}
|
||||
.wst-se-search2 input{background: rgba(255,255,255,0.5);}
|
||||
.wst-se-search2 input::-webkit-input-placeholder {color:#fff;}
|
||||
.wst-se-search2 input:-moz-placeholder {color:#fff;}
|
||||
.wst-se-search2 input::-moz-placeholder {color:#fff;}
|
||||
.wst-se-search2 inputt:-ms-input-placeholder {color:#fff;}
|
||||
.wst-se-header3 .ui-icon-return,.wst-se-header3 .ui-icon-search{color: #fff;}
|
||||
.wst-se-icon0{background: url(../img/classify.png) center center no-repeat;background-size: 60%;}
|
||||
.wst-se-icon2{right: 40px;background: url(../img/cart.png) center center no-repeat;background-size: 60%;}
|
||||
.wst-se-icon2 i{display: inline-block;text-align: center;background: #de0202;color: #fff;height: 15px;line-height: 15px;border-radius: 10px;padding: 0 5px;background-clip: padding-box;font-size: .1rem;position: absolute;top: 0;left: 20px;}
|
||||
.wst-sh-banner{display: block;width:100%;height:1.7rem;background:url(../img/default_shopbanner.png) center top no-repeat;background-size:cover}
|
||||
.shop-banner{width:100%;}
|
||||
.shop-photo{position: relative;}
|
||||
.shop-photo .photo{display: block;width:0.8rem;height:0.8rem;margin-left:0.1rem;padding:0.05rem;position: absolute;top:-0.42rem;background: #fff;border-radius: 3px;}
|
||||
.shop-photo .photo img{width:100%;height:100%;border: 1px solid #f2f1f1;border-radius: 2px;}
|
||||
.shop-photo .photo .name{position: absolute;left:-0.05rem;bottom:-0.28rem;width:2.6rem;font: 0.16rem/31px verdana;}
|
||||
.shop-photo .introduce{float:right;margin:0.1rem 0.1rem 0 0;font-size:0.14rem;color:#de0202;}
|
||||
.shop-info{padding-top:0.6rem;text-align:center;font-size:0.13rem;}
|
||||
.shop-btn{float:left;margin-left: 0.11rem;margin-top: 0.05rem;width:30px;height:30px;background: url(../img/follow-shop.png) 1px 3px no-repeat;background-size: 200%;}
|
||||
.shop-btn.follow{background: url(../img/follow-shop.png) -31px 3px no-repeat;background-size: 200%;}
|
||||
.shop-notice{padding:0.1rem;font-size:0.13rem;border-bottom: 0.05rem solid #f2f1f1;}
|
||||
.shop-notice .title{margin-bottom:0.05rem;font-size:0.15rem;}
|
||||
.shop-ads{margin:0 auto;width:100%;}
|
||||
.wst-sh-term{width:100%;border-bottom: 2px solid #ebebed;background:#fff;}
|
||||
.wst-sh-term li{float:left;height:20px;padding:10px 20px;font: bold 0.155rem/20px verdana;background:#fff;color:#000;}
|
||||
.wst-sh-term li.active{color:#de0202;}
|
||||
.wst-sh-term.active{position: fixed;top:0;left:0;z-index:100;}
|
||||
.wst-sh-index,.wst-sh-list{background: #f6f6f8;}
|
||||
.wst-sh-index .index,.wst-sh-list .index{display: block;width:100%;}
|
||||
.wst-sh-index .title{padding:0.1rem 0.1rem;font-size:0.15rem;background: #fff;border-bottom: 0.03rem solid #f6f6f8;}
|
||||
.wst-sh-list{display:none;}
|
||||
.wst-shl-head{background:#fff;font-size:.15rem;color:#6a6b6d;margin-bottom: 0.04rem;}
|
||||
.wst-shl-head .sorts{position:relative}
|
||||
.wst-shl-head .sorts p{height:22px;line-height:22px;padding:10px 15px 10px 0;text-align:center}
|
||||
.wst-shl-head .active{color:#de0202;}
|
||||
.wst-shl-head .sorts i{width:15px;height:15px;position:absolute;right:5px;top:13px}
|
||||
.wst-shl-head .sorts .up2{background: url(../img/img_jgsx.png) 4px -15px no-repeat;background-size: 46%;}
|
||||
.wst-shl-head .sorts .down{background: url(../img/img_jgsx.png) 4px -32px no-repeat;background-size: 46%;}
|
||||
.wst-shl-head .sorts .down2{background: url(../img/img_jgsx.png) 4px 2px no-repeat;background-size: 46%;}
|
||||
.wst-sh-goods{height: calc(100% - 0.8rem);height: -webkit-calc(100% - 0.8rem);height: -moz-calc(100% - 0.8rem);height: -ms-calc(100% - 0.8rem);height: -o-calc(100% - 0.8rem);}
|
||||
.wst-in-goods{float: left;width: 50%;box-sizing: border-box;padding:5px;margin-bottom:0.04rem;font-size:0.14rem;background:#fff;color: #232326;font-family: "Microsoft YaHei",Arial,Helvetica,sans-serif;}
|
||||
.wst-in-goods.left{border-right: 0.02rem solid #f6f6f8;}
|
||||
.wst-in-goods.right{border-left: 0.02rem solid #f6f6f8;}
|
||||
.wst-in-goods .img{float:left;width:1.76rem;height:1.76rem;text-align:center;vertical-align:middle;display:block;position:relative}
|
||||
.wst-in-goods .img a{width:1.76rem;height:1.76rem;display:table-cell;vertical-align:middle}
|
||||
.wst-in-goods .img a img{max-width:1.76rem;max-height:1.76rem;}
|
||||
.wst-in-goods .name{float:left;width:100%;height:0.33rem;margin-top:3px;line-height:0.17rem}
|
||||
.wst-in-goods .info{float:left;width:100%;margin-top:0.05rem;}
|
||||
.wst-in-goods .info .price{float:left;font-size:0.13rem;color:#e00102;}
|
||||
.wst-in-goods .info .price span{font-size:0.166rem;}
|
||||
.wst-in-goods .info2{float:left;width:100%;font-size:0.11rem;}
|
||||
.wst-in-goods .info2 .price{float:left;color: #999;text-decoration:line-through;}
|
||||
.wst-in-goods .info2 .deal{float:right;color: #999;}
|
||||
.wst-cover{position:fixed;left:0;top:0;background-color:#000;width:100%;height:100%;filter:alpha(opacity=60);opacity:.6;z-Index:9999;display:none}
|
||||
.wst-fr-box{position:fixed;z-index:9999;right:-999px;top:0;width:100%;height:100%;background:#f6f6f8;}
|
||||
.wst-fr-box .title,.wst-cart-box .title{position:relative;border-bottom:1px solid #f6f6f8;;background:#fff;height:41px;line-height:41px;text-align:center;font-size: 14px;}
|
||||
.wst-fr-box .title i,.wst-cart-box .title i{position:absolute;right:5px;top:-2px;font-size:27px}
|
||||
.wst-fr-box .button,.wst-cart-box .button{position:absolute;left:3%;bottom:0;width:93%;font-size:.185rem;height:40px;line-height:40px;color:#fff;background:#e00102;border-bottom:1px solid #e00102}
|
||||
.wst-fr-box .button:not(.disabled):not(:disabled):active,.wst-cart-box .button:not(.disabled):not(:disabled):active{color:#fff0f0;background:#f52f30;background-clip:padding-box}
|
||||
.ui-scrollerl{width:24%;height:100%;overflow:hidden;background:#fff;position:fixed}
|
||||
.ui-scrollerl li{padding:13px 5px;font-size: 0.129rem;text-align:center}
|
||||
.wst-goodscate{color: #232326;border-top: 1px solid #f6f6f8;border-right: 1px solid #f6f6f8;border-left: 2px solid #f6f6f8;}
|
||||
.wst-goodscate_selected{color: #df0202;background: #f6f6f8;border-right: 1px solid #f6f6f8;border-left: 2px solid #df0202;}
|
||||
.wst-scrollerr{width:76%;float:right}
|
||||
.wst-scrollerr li{float:left;width:100%;font-size:.15rem;color:#000}
|
||||
.wst-goodsca{height:35px;background:#f2f2f2;margin-bottom:8px;}
|
||||
.wst-goodsca span{float:left;color: #232326;margin-top:8px;margin-left:8px;border-left:2px solid #fc786b;font-size: 0.13rem;}
|
||||
.wst-goodsca i{float:right;height:35px;margin-top:-6px;color:#fc786b}
|
||||
.wst-goodscat{float:left;width:94%;padding:0 0 12px 8px}
|
||||
.wst-goodscats{float:left;width:94%;padding:0 0 12px 8px}
|
||||
.wst-goodscat span{float:left;width:49%;padding:8px 0;text-align:center;background:#fff;border:0.01rem solid #f2f1f1;color: #686868;font-size: 0.12rem;}
|
||||
.wst-goodscat span a{color:#69696b}
|
||||
.pd0{padding-right:6px!important}
|
20
hyhproject/mobile2/view/default/css/shops.css
Executable file
20
hyhproject/mobile2/view/default/css/shops.css
Executable file
@ -0,0 +1,20 @@
|
||||
@CHARSET "UTF-8";
|
||||
.wst-shop{padding-top:5px}
|
||||
.wst-shop-home-bg{margin:0 auto;width:100%;height:190px;background:url(../img/default_shopbanner.png) center top no-repeat;background-size:cover}
|
||||
.wst-shop-photo{width:50px;height:50px;margin:0 auto;padding-top:20px;padding-bottom:10px;}
|
||||
.wst-shop-photo img{width:100%;height:100%;border-radius:50%}
|
||||
.wst-shop-name{font-size:0.19rem}
|
||||
.wst-shop-name{width:100%;height:30px;text-align:center;color:#fff}
|
||||
.shop-home-btn-box{width:70%;margin:10px auto;height:30px}
|
||||
.shop-home-btn img{position:absolute;width:16px;height:15px;margin-top:4px;left:8px}
|
||||
.shop-home-btn{position:relative;background:transparent;height:25px;line-height:25px;color:#fff;border:1px solid #fff;padding:0!important;font-size:.13rem;width:25px;padding-left:8px!important}
|
||||
.shop-home-btn:before{border: none;}
|
||||
.shop-home-btn:not(.disabled):not(:disabled):active{background:transparent;color:fff;}
|
||||
.f-btn,.f-btn:not(.disabled):not(:disabled):active{background:#fff;color:#e8121e}
|
||||
.f-btn:before{border: none;}
|
||||
.score-box{margin:0 auto;width:100%;height:35px;margin-top:10px}
|
||||
.score-item{color:#fff;padding-top:5px;text-align:center;font-size:.13rem;}
|
||||
.wst-shop-home-info{margin-top:10px;font-size:.14rem;width:100%;height:300px}
|
||||
.wst-shop-home-view{margin-top:8px;width:100%;height:80px;position:fixed}
|
||||
.shop-info li{padding:0.08rem 0.1rem;border-bottom:1px solid #e7e7e7}
|
||||
.shop-qrcode{margin-top:30px;text-align:center}
|
50
hyhproject/mobile2/view/default/css/shops_list.css
Executable file
50
hyhproject/mobile2/view/default/css/shops_list.css
Executable file
@ -0,0 +1,50 @@
|
||||
@CHARSET "UTF-8";
|
||||
.wst-shl-adsb{padding:0.05rem 0;height:110px;background:#fff;}
|
||||
.wst-shl-adsb img{width:100%;height:100%;display:block}
|
||||
.wst-shl-head{background:#fff;font-size:0.14rem;color:#232326;}
|
||||
.wst-shl-head .choice{width:65%;height:20px;line-height:22px;margin:0 auto;padding:9px 0}
|
||||
.wst-shl-head .active{color:#de0202;}
|
||||
.wst-shl-head .active select{color:#de0202}
|
||||
.wst-shl-select select{color:#232326;;padding-right:0}
|
||||
.wst-shl-select:after{color:#232326;}
|
||||
.wst-shl-select.active:after{color:#de0202}
|
||||
.ui-select:after{display:none}
|
||||
.wst-shl-head .evaluate{text-align:center;position:relative}
|
||||
.wst-shl-head .evaluate i{width:15px;height:15px;position:absolute;right:36px;top:12px}
|
||||
.wst-shl-head .sorts .up2{background: url(../img/img_jgsx.png) 4px -15px no-repeat;background-size: 46%;}
|
||||
.wst-shl-head .sorts .down{background: url(../img/img_jgsx.png) 4px -32px no-repeat;background-size: 46%;}
|
||||
.wst-shl-head .sorts .down2{background: url(../img/img_jgsx.png) 4px 2px no-repeat;background-size: 46%;}
|
||||
.wst-current{color:#e77f74}
|
||||
.wst-shl-list{padding:5px 10px;margin-top:5px;background:#fff; }
|
||||
.wst-shl-list .img{width: 100%; float:left;text-align:center;vertical-align:middle;display:block;position:relative;font-size:0.15rem;}
|
||||
.wst-shl-list .img a{width:100%;height:55px;display:table-cell;vertical-align:middle; border:1px solid #eee;}
|
||||
.wst-shl-list .info{padding-left:16px}
|
||||
.wst-shl-list .title{margin-bottom:0;font-size:0.11rem;color:#363638;font-weight: bold;}
|
||||
.wst-shl-list p{font-size:0.10rem;height:0.2rem;}
|
||||
.wst-shl-list p img{width:0.16rem}
|
||||
.wst-shl-list p span{float:left}
|
||||
.wst-shl-list p i{float:left;width:0.12rem;height:0.16rem;margin:0.01rem 0.03rem 0 0}
|
||||
.wst-shl-list p .bright{background:url(../img/img_dpjpj.png) 0 0 no-repeat;background-size:300%}
|
||||
.wst-shl-list p .dark{background:url(../img/img_dpjpj.png) -0.3rem 0 no-repeat;background-size:300%}
|
||||
.wst-brands{float:left;width:50%;height:1rem;margin-top:10px;padding:0 0.1rem;box-sizing:border-box}
|
||||
.wst-brands.left{padding-right:0.05rem;}
|
||||
.wst-brands.right{padding-left:0.05rem;}
|
||||
.wst-brands_img{height:0.8rem;padding:5px 0 5px 2px;background:#fff;box-shadow:0 1px 2px #f1f0f0}
|
||||
.wst-brands_img a{width:100%;height:0.8rem;text-align:center;display:table-cell;vertical-align:middle}
|
||||
.wst-brands img{max-width:0.9rem;max-height:0.8rem;border-radius:3px}
|
||||
.wst-brands span{float:left;font-size:0.13rem;line-height:0.8rem;width:0.65rem;height:0.8rem;margin-left:4px;padding:0 0.05rem;border-left:1px solid #e6e6e6;}
|
||||
.goods-box{padding:0!important;}
|
||||
.goodsImg a{width:100%;height:70px;display:table-cell;vertical-align:middle; }
|
||||
.goodsImg img{width:70px;height:70px; }
|
||||
.goods-item{margin-right: 5px;width:24%; position: relative;float:left;text-align:center;vertical-align:middle;display:block;position:relative;font-size:0.15rem;}
|
||||
.goods-item img{border:1px solid #eee;}
|
||||
.goodsPrice{color: red;}
|
||||
.shop-box{margin:10px 0;background:#fff}
|
||||
.f-chk{position:absolute;top:85px;left:0}
|
||||
.s-active{top:-90px;left:-10px}
|
||||
.f-shop-header img{height:60px;width:60px;}
|
||||
.f-shop-header{position:relative;padding:10px 0;min-height:75px!important}
|
||||
.ui-row-flex-ver .ui-col{width:100%;height:initial}
|
||||
.f-shopname{float:left;line-height:25px;font-size:.16rem}
|
||||
.f-goshops{float:right;text-align:right;color:#ccc;font-size:.15rem;height: 20px;}
|
||||
.wst-action{margin-top: 5px; ;display: inline-block;height: 25px;width: 90%;font-size: 0.14rem;color: red; line-height: 25px;text-align: center;border-radius: 10px;border: 1px solid red;}
|
15
hyhproject/mobile2/view/default/css/swiper.min.css
vendored
Executable file
15
hyhproject/mobile2/view/default/css/swiper.min.css
vendored
Executable file
File diff suppressed because one or more lines are too long
110
hyhproject/mobile2/view/default/css/user.css
Executable file
110
hyhproject/mobile2/view/default/css/user.css
Executable file
@ -0,0 +1,110 @@
|
||||
@CHARSET "UTF-8";
|
||||
body{background:#f5f5f5}
|
||||
.wst-users_info{background: url(../img/user.png) center top no-repeat;background-size: cover;padding:0.5rem 0;color:#fff;position: relative;}
|
||||
.wst-users_infol{float:left;margin-left: 0.28rem;}
|
||||
.wst-users_infol img{width:0.67rem;border-radius:1000px;border: 2px solid #f2f1f1;}
|
||||
.wst-users_infor{float:left;width:55.666%;padding-left:0.1rem;}
|
||||
.wst-msg-icon{position: absolute;display: block;right:0.15rem;top:0.1rem;width:26px;height:25px;background: url(../img/message-icon.png) center center no-repeat;background-size: 80%;}
|
||||
.wst-msg-icon .number{position: absolute;top:-0.03rem;right:-0.1rem;min-width:0.16rem;display: inline-block;text-align: center;background: #f74c31;color: #fff;font-size: 0.1rem;height: 15px;line-height: 15px;-webkit-border-radius: 8px;padding: 0 3px;background-clip: padding-box;}
|
||||
.wst-info-icon{position: absolute;top:0.1rem;right:0.5rem;width:26px;height:26px;line-height: 26px;color: #fff;font-size: 0.28rem;}
|
||||
.wst-users_infortop{margin-top:9px;font-size:.16rem;}
|
||||
.wst-users_infortop img{position: relative;top:2px;left:5px;width: 15px;height: 15px;}
|
||||
.wst-users_inforbo{font-size:.13rem;}
|
||||
.wst-users_icon{padding:0.15rem 0;background:#FFF;}
|
||||
.wst-users_icon span{font-size:.13rem}
|
||||
.wst-users_icon p{margin:0 auto;width:38px;height:36px}
|
||||
.wst-users_icon p i{float:left;width:38px;height:36px}
|
||||
.wst-users_capital{padding:0.15rem 0;background:#FFF;}
|
||||
.wst-users_capital p{font-size: 0.165rem;color: #ec5151;padding:0 0.1rem ;}
|
||||
.wst-users_capital span{font-size:.13rem}
|
||||
.wst-us-sign{float:left;width:100%;height:100%;position: relative;}
|
||||
.wst-us-sign .sign{position: absolute;right:0;bottom:0;width:62px;height:39px;margin-right:0.1rem;background: url(../img/sign-icon.png) center center no-repeat;background-size: cover;}
|
||||
.wst-us-sign .sign2{background: url(../img/sign-icon2.png) center center no-repeat;background-size: cover;}
|
||||
.user-order{margin-top:0.1rem;font-size:0.15rem;background:#ffffff;}
|
||||
.user-order .order-icon{float:left;width:17px;height:17px;margin-right:5px;background:url(../img/user-order-icon.png) no-repeat;background-size:cover;}
|
||||
.user-order .wallet-icon{float:left;width:17px;height:17px;margin-right:5px;background:url(../img/user-wallet-icon.png) no-repeat;background-size:cover;}
|
||||
.user-order .tool-icon{float:left;width:17px;height:17px;margin-right:5px;background:url(../img/user-tool-icon.png) no-repeat;background-size:cover;position: relative;top:1px;}
|
||||
.user-order .order{margin-left:0.1rem;padding:0.1rem 0.1rem 0.1rem 0;line-height: 0.22rem;border-bottom:1px solid #f2f1f1;}
|
||||
.view-order{text-align:right;padding-right:5px;font-size:.13rem;color:#a2a0a0}
|
||||
.wst-users_icon1,.wst-users_icon2,.wst-users_icon3,.wst-users_icon4,.wst-users_icon5{background:url(../img/users_icon.png) no-repeat;background-size:963%}
|
||||
.wst-users_icon1{background-position:-29px -7px}
|
||||
.wst-users_icon2{background-position:-94px -7px}
|
||||
.wst-users_icon3{background-position:-159px -7px}
|
||||
.wst-users_icon4{background-position:-224px -7px}
|
||||
.wst-users_icon5{background-position:-289px -7px}
|
||||
.wait-payment{height:16px;line-height:16px;font-size:.11rem!important;position:absolute;left:24px;top:-3px;min-width:16px;text-align:center;border-radius:5px;color:#fff;background:#de0202;padding:0;border-radius:50%;right:0}
|
||||
.msg-red-icon{top:-53px;left:57px}
|
||||
.border-b{border-bottom:1px solid #e7e7e7}
|
||||
.user-icon-box{padding:5px 0;min-width:24%;min-height:85px;padding-bottom:5px;background:#fff;}
|
||||
.user-icon-box span{font-size:0.13rem}
|
||||
.user-icon-box:active{background:#e7e7e7!important}
|
||||
.user-icon-box p{margin:0 auto;width:39px;height:42px}
|
||||
.user-icon-box i{float:left;width:38px;height:38px}
|
||||
.user-icon1,.user-icon2,.user-icon3,.user-icon4,.user-icon5,.user-icon6,.user-icon7,.user-icon8,.user-icon9,.user-icon10,.user-icon11{background:url(../img/img_users_icon.png) no-repeat;background-size:1050%}
|
||||
.user-icon1{background-position:-31px -18px}
|
||||
.user-icon2{background-position:-130px -18px}
|
||||
.user-icon3{background-position:-206px -14px;background-size:945%}
|
||||
.user-icon4{background-position:-292px -13px;background-size:938%}
|
||||
.user-icon5{background-position:-28px -110px;background-size:988%}
|
||||
.user-icon6{background-position:-125px -112px;background-size:1008%}
|
||||
.user-icon7{background-position:-210px -139px}
|
||||
.user-icon8{background-position:-300px -139px}
|
||||
.user-icon9{background-position:-25px -191px;background-size:927%}
|
||||
.user-icon10{background-position:-119px -199px}
|
||||
.user-icon11{background-position:-204px -192px;background-size:943%}
|
||||
.wst-users_list{border-top:2px solid #ededed}
|
||||
.wst-users_list1{border-top:2px solid #ededed;border-bottom:2px solid #ededed}
|
||||
.wst-list-thumb-sus{width:50px;height:50px;position:relative}
|
||||
.wst-list-thumb-sus>span{display:block;width:100%;height:100%;z-index:1;background-repeat:no-repeat;-webkit-background-size:cover}
|
||||
.ui-list>li{margin-left:0}
|
||||
.wst-users_chart1{background:url(../img/mine-icon.png) 2px 0 no-repeat}
|
||||
.wst-users_chart2{background:url(../img/mine-icon.png) -46px 0 no-repeat}
|
||||
.wst-users_chart3{background:url(../img/mine-icon.png) -100px 0 no-repeat}
|
||||
.wst-users_chart4{background:url(../img/mine-icon.png) -149px 0 no-repeat}
|
||||
.wst-users_chart5{background:url(../img/mine-icon.png) -199px 0 no-repeat}
|
||||
.wst-users_chart6{background:url(../img/mine-icon.png) -246px -1px no-repeat}
|
||||
.wst-users_chart7{background:url(../img/mine-icon.png) -292px -1px no-repeat}
|
||||
.ui-badge-corner{border:0}
|
||||
.wst-message_icon{position:absolute;height:19px;line-height:19px;font-size:12px;min-width:19px;-webkit-border-radius:10px;top:17px;left:110px;display:inline-block;text-align:center;background:#f74c31;color:#fff;font-size:11px;height:16px;line-height:16px;-webkit-border-radius:8px;padding:0 6px;background-clip:padding-box}
|
||||
.wst-lo-choice{margin:50px 20px 0 20px;border-radius:10px;padding-bottom:20px;font-size:.158rem}
|
||||
.wst-lo-choice .img{text-align:center}
|
||||
.wst-lo-choice .img img{width:65px;border:2px solid #d4d3d3;border-radius:1000px;padding:2px}
|
||||
.wst-lo-choice .name{height:50px;line-height:50px;text-align:center;font-weight:bolder}
|
||||
.wst-lo-choice .prompt{height:20px;line-height:20px;text-align:center;padding-bottom:42px}
|
||||
.wst-lo-choice .choice{text-align:center}
|
||||
.wst-lo-choice .choice .button0{width:100%;height:38px;border-radius:1000px;font-size:.159rem;color:#fff;background:#04be02}
|
||||
.wst-lo-choice .choice .button0:not(.disabled):not(:disabled):active{color:#f7fdf7;background:#06c804;background-clip:padding-box}
|
||||
.wst-lo-choice .choice .button1{width:100%;height:38px;border-radius:1000px;font-size:.159rem;color:#59595c;background:#fff;border:1px solid #d4d3d3;margin-top:10px}
|
||||
.wst-lo-choice .choice .button1:not(.disabled):not(:disabled):active{color:#56565d;background:#f8f7f7;background-clip:padding-box}
|
||||
.wst-lo-frame{font-size:.16rem;margin-top:8px;padding:12px 10px 2px 10px;background:#fff}
|
||||
.wst-lo-frame .frame{padding:0.05rem 0px;position: relative;}
|
||||
.wst-lo-frame .frame p{display: inline-block;float: right;margin-right: 20px;}
|
||||
.wst-lo-frame .frame:after {content: '';position: absolute;bottom: 0;left: -50%;width: 200%;height: 0.01rem;background: #d9d9d9;-webkit-transform: scale(0.5);}
|
||||
.wst-lo-frame .frame input{width:100%;padding-left:5px;height:0.38rem;border:0;font-size:.15rem;}
|
||||
.wst-lo-frame .verify{padding:0.05rem 0px;border:0;position: relative;}
|
||||
.wst-lo-frame .verify:after {content: '';position: absolute;bottom: 0;left: -50%;width: 200%;height: 0.01rem;background: #d9d9d9;-webkit-transform: scale(0.5);}
|
||||
.wst-lo-frame .verify input{width:60%;padding-left:5px;height:0.38rem;border-top-left-radius:2px;border-bottom-left-radius:2px;border:0;font-size:.15rem;}
|
||||
.wst-lo-frame .verify button{float:right;height:0.36rem;line-height: 0.36rem;width:40%;font-size:.14rem;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;background-color: #ffffff;background-image:none;color:#ff3c3c;border:1px solid #ff3c3c;}
|
||||
.wst-lo-frame .verify button:not(.disabled):not(:disabled):active{background-color: #ffffff;color:#df0202;border:1px solid #df0202;}
|
||||
.wst-lo-frame .verify img{float:right;height:0.36rem;width:40%;border-top-right-radius:2px;border-bottom-right-radius:2px}
|
||||
.wst-lo-button{padding:30px 10px 0 10px}
|
||||
.wst-lo-button .button{width:100%;bottom:10px;margin-bottom:6px;height:0.45rem;line-height:0.45rem;color:#fff;background:#ff3c3c;font-size:.15rem;border-radius:3px;border:1px solid #ff3c3c;}
|
||||
.wst-lo-button .button:not(.disabled):not(:disabled):active{color:#fff0f0;background:#f52f30;background-clip:padding-box}
|
||||
.wst-cover{position:fixed;left:0;top:0;background-color:#000;width:100%;height:100%;filter:alpha(opacity=60);opacity:.6;z-Index:9999;display:none}
|
||||
.wst-fr-box{position:fixed;z-index:9999;right:-999px;bottom:0;width:100%;min-height:40%;background:#fff;font-size:.15rem}
|
||||
.wst-fr-box .title,.wst-cart-box .title{position:relative;padding:6px 0;border-bottom:1px solid #f1f1f1}
|
||||
.wst-fr-box .title span{float:left;width:100%;height:26px;line-height:26px;text-align:center;font-size:16px;}
|
||||
.wst-fr-box .title i,.wst-cart-box .title i{position:absolute;right:5px;top:-2px;font-size:27px}
|
||||
.wst-fr-box .codebutton{float:right;width:70%;padding:0 10px;font-size:.12rem;height:36px;line-height:36px;margin-right:10px}
|
||||
.wst-lo-term{margin-top:20px;padding:0 10px;}
|
||||
.wst-lo-term .term{color: #7f7f7f;font-size:.13rem}
|
||||
.wst-lo-agreement{position: relative;height:20px;line-height:20px;padding: 12px 10px 10px 35px;font-size:.14rem;}
|
||||
.wst-lo-agreement i{position: absolute;top:-1px;left:5px;}
|
||||
.wst-lo-agreement span{color: #ff3c3c;}
|
||||
.wst-fr-protocol{position: fixed; z-index: 9999; right: -999px; top:0px; width: 100%; height: 100%; background: #ffffff; font-size: 0.15rem; color:#000;}
|
||||
.wst-fr-protocol .title{height: auto;color: #222;position: relative;background: #ffffff;border-bottom: 1px solid #e8e8e8;}
|
||||
.wst-fr-protocol .title span{float: left;width: 100%;height: 41px;line-height: 41px;text-align: center;font-size: 16px;}
|
||||
.wst-fr-protocol .title i{position: absolute;right:5px;top:-1px;color: #222;font-size: 27px;}
|
||||
.wst-fr-protocol .content{padding:10px;}
|
||||
.wst-fr-protocol .content img{width: 100%;}
|
||||
.wst-mar{margin-left: 5px;}
|
26
hyhproject/mobile2/view/default/css/userinfo.css
Executable file
26
hyhproject/mobile2/view/default/css/userinfo.css
Executable file
@ -0,0 +1,26 @@
|
||||
@CHARSET "UTF-8";
|
||||
.wst-useri_portrait{margin-top:-10px;width:65px;border-radius:1000px}
|
||||
.wst-useri_line{border-bottom:1px solid #ededed}
|
||||
.uploadfile-input{width:35%;height:90px;position:absolute;right:0;top:0;opacity:0;z-index:100}
|
||||
.wst-useri_determine{position:relative;font-size:16px;height:44px;line-height:44px;padding-right:26px;padding-left:15px;font-size:.18rem;padding-top:7px;padding-bottom:7px;margin-top:6px}
|
||||
.wst-useri_determine input{float:left;width:100%;height:40px;border:1px solid #ccc;border-radius:6px;padding-left:8px;font-size:.15rem}
|
||||
.wst-listse li{border-bottom:1px solid #ededed}
|
||||
.wst-list-infose1{width:90%;padding-top:12px;padding-bottom:12px;}
|
||||
.wst-list-infose1 span{float:left;width:100%;font-size:.15rem}
|
||||
.wst-list-infose2{float:right;width:32px;margin-top:-45px}
|
||||
.wst-icon-checked-s_se{color:#de0301}
|
||||
.wst-fav_search{height:30px;width:62%;float:left;background:#FFF;border:1px solid #ccc;border-radius:15px;-webkit-box-sizing:border-box;-webkit-box-pack:center;margin-left:50px;margin-top:8px}
|
||||
.wst-fav_search span{width:25px;float:left;margin-top:-7px}
|
||||
.wst-fav_search input{float:left;width:80%;margin-top:6px;border:0}
|
||||
.wst-fav_searchs{font-size:.17rem;margin-right:8px;line-height:45px;float:right;color:#FFF}
|
||||
.wst-fav_list{margin-top:5px;border-bottom:1px solid #ddd}
|
||||
.wst-fav_listl{width:85px;margin:0 auto}
|
||||
.wst-fav_listl img{width:85px;height:85px}
|
||||
.wst-fav_listr button{float:right;color:#504f4f;width:74px;background:#e6e6e6}
|
||||
.wst-fav_listr1{margin-top:8px;font-size:.16rem}
|
||||
.wst-fav_listr2{height:30px;color:#ef641f;font-size:.2rem;margin-bottom:3px}
|
||||
.wst-fav_listr2 span{float:right;width:30px;height:30px}
|
||||
.wst-fav_listr2 img{width:30px;height:30px}
|
||||
.wst-fav_listr button:not(.disabled):not(:disabled):active,.wst-fav_listr button.active{background:#b7ada9;border-color:#e6e6e6;color:#504f4f;background-clip:padding-box}
|
||||
.wst-ed-info li,.wst-ed-info li h4{font-size:.15rem;}
|
||||
.wst-ed-button{height: 38px;line-height: 38px;font-size: 0.15rem;color: #fff;background: #e00102;border-radius: 3px;border-bottom: 1px solid #e00102;}
|
20
hyhproject/mobile2/view/default/css/userscores.css
Executable file
20
hyhproject/mobile2/view/default/css/userscores.css
Executable file
@ -0,0 +1,20 @@
|
||||
@CHARSET "UTF-8";
|
||||
.head{min-height:77px;color:#fff;background:url(../img/icon_userscores.png) no-repeat;background-size:cover;}
|
||||
.head-btn{padding:0 75px;font-size:15px}
|
||||
.user_scores{font-size:0.16rem;margin-top: 20px;}
|
||||
.user_scores p{text-align: right;}
|
||||
.ui-btn-lg{font-size:14px;height:24px;line-height:23px;display:block;width:100%;border-radius:3px;background:transparent;border:1px solid #fff;color:#fff}
|
||||
.ui-btn-lg:active{background:#fff!important;border:1px solid #ff5e45!important;color:#ff5e45!important}
|
||||
.score-detail{padding:10px}
|
||||
.score-detail-title{padding:10px;font-size:.15rem;border-bottom:1px solid #eaeaea;font-weight: bold;}
|
||||
.score-reduce{font-weight:bold;padding:15px 0;text-align:right;color:#18c328;font-size:.14rem;}
|
||||
.score-plus{font-weight:bold;padding:15px 0;text-align:right;color:#f81d1d;font-size:.14rem;}
|
||||
.score-line{border-bottom:1px solid #eaeaea;margin-bottom:5px;margin-top:8px}
|
||||
.wst-re-info{font-size:.14rem;position: relative;padding-bottom:0.2rem;}
|
||||
.score-time{position: absolute;bottom:0;left:0;color:#8c8c8c;font-size:0.12rem;}
|
||||
.wst-cover{position:fixed;left:0;top:0;background-color:#000;width:100%;height:100%;filter:alpha(opacity=60);opacity:.6;z-Index:9999;display:none}
|
||||
.wst-fr-box{position:fixed;z-index:9999;right:-999px;bottom:0;width:100%;min-height:40%;background-color:#f6f6f8;font-size:.15rem}
|
||||
.wst-fr-box .title{height: auto;background: #fff;position: relative;padding: 6px 0;border-bottom: 1px solid #f1f1f1;}
|
||||
.wst-fr-box .title span{float: left;width: 100%;height: 26px;line-height: 26px;text-align: center;font-size: 14px;}
|
||||
.wst-fr-box .title i{position:absolute;right:5px;top:-2px;font-size:27px}
|
||||
.wst-fr-box .content{padding:5px 5px 5px 5px;}
|
37
hyhproject/mobile2/view/default/css/userset.css
Executable file
37
hyhproject/mobile2/view/default/css/userset.css
Executable file
@ -0,0 +1,37 @@
|
||||
@CHARSET "UTF-8";
|
||||
body{background: #fff;}
|
||||
.wst-se-l .line{border-bottom:1px solid #edebeb}
|
||||
.wst-se-l span{width:23px;height:23px;display:block;margin-right:6px}
|
||||
.wst-se-l .pay{background:url(../img/icon_user_info.png) 0 0 no-repeat;background-size:97%}
|
||||
.wst-se-l .safety{background:url(../img/icon_user_safety.png) 0 0 no-repeat;background-size:97%}
|
||||
.wst-se-l .about{background:url(../img/icon_user_about.png) 0 0 no-repeat;background-size:97%}
|
||||
.wst-se-pay{font-size:.18rem;margin-top:8px;padding:12px 10px 2px 10px;background:#fff}
|
||||
.wst-se-pay .pay{padding-bottom:10px}
|
||||
.wst-se-pay .pay input{width:100%;padding:2px 2px 2px 5px;height:36px;border-radius:2px;border:1px solid #a0a0a0;font-size:.14rem;}
|
||||
.wst-se-footer{position:fixed;width:100%;z-index:100;left:0;bottom:0}
|
||||
.wst-se-footer .button{position:absolute;left:3%;bottom:10px;width:93%;margin-bottom:6px;font-size:.15rem;height:38px;line-height:38px;color:#fff;background:#e00102;border-radius:3px;border-bottom:1px solid #e00102}
|
||||
.wst-se-footer .button:not(.disabled):not(:disabled):active{color:#fff0f0;background:#f52f30;background-clip:padding-box}
|
||||
.wst-se-pay .verify{border-radius:2px;margin-bottom:10px;border:1px solid #a0a0a0}
|
||||
.wst-se-pay .verify input{width:60%;padding:2px 2px 2px 5px;height:36px;border-top-left-radius:2px;border-bottom-left-radius:2px;border:0;font-size:.14rem;}
|
||||
.wst-se-pay .verify button{float:right;height:36px;width:40%;border-top-left-radius:0;border-bottom-left-radius:0;border-top-right-radius:2px;border-bottom-right-radius:2px;font-size:.14rem;}
|
||||
.wst-se-pay .verify img{float:right;height:36px;width:40%;border-top-right-radius:2px;border-bottom-right-radius:2px}
|
||||
.wst-se-pay .phone{padding:10px;font-size:.15rem;}
|
||||
.wst-se-back{padding:10px;font-size:.14rem;}
|
||||
.wst-se-back a{color: #999;}
|
||||
.logout{padding: 0.1rem 1.1rem; margin-top: 20px;}
|
||||
.logout-btn {font-size: .15rem;height: 30px;line-height: 30px;background: #e00102;border-bottom: 1px solid #e00102;}
|
||||
.wst-about{width: 99.2%;height: auto;}
|
||||
.wst-about p{text-align: center;font-size: .15rem;color: #777;font-weight: bold;}
|
||||
.wst-about .wst-brand{width: 120px;height: 60px;margin: 60px auto;margin-bottom: 10px;}
|
||||
.wst-about .wst-brand img{width: 100%;height: 100%;}
|
||||
.wst-about .wst-version{width: 100%;height: 20px;}
|
||||
.wst-border{width:70%; height:1px;margin:0 auto;background: #eee;margin-top: 20px;}
|
||||
.wst-about .wst-left{width: 23%;height:100%;display: inline-block; }
|
||||
.wst-about .wst-center{text-align: center; width: 46%;overflow: hidden; white-space: nowrap; display: inline-block;line-height: 40px;font-size: 14px;color: #777; }
|
||||
.wst-about .wst-right{width: 23%;height:100%;display: inline-block; }
|
||||
.wst-about span{width:20px;height:20px;display:block;margin-left: 14px; margin-right:6px;}
|
||||
.phone{background:url(../img/custom.png) 0 0 no-repeat;background-size:97%;}
|
||||
.qq{background:url(../img/qq.png) 0 0 no-repeat;background-size:97%;}
|
||||
.email{background:url(../img/email.png) 0 3px no-repeat;background-size:97%;}
|
||||
.belong{background:url(../img/copy.png) 0 1px no-repeat;background-size:97%;}
|
||||
.wst-contact{width: 90%;margin: 0 auto;float: right;}
|
143
hyhproject/mobile2/view/default/day_new.html
Executable file
143
hyhproject/mobile2/view/default/day_new.html
Executable file
@ -0,0 +1,143 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title></title>
|
||||
<script src="__MOBILE__/js/common_xs.js" type="text/javascript" charset="utf-8"></script>
|
||||
<link rel="stylesheet" type="text/css" href="__MOBILE__/css/global-lxy.css" />
|
||||
<link rel="stylesheet" type="text/css" href="__MOBILE__/css/day_new.css" />
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<div class="banner">
|
||||
<img src="__MOBILE__/img/activity2_head.png" />
|
||||
</div>
|
||||
|
||||
<div class="new_yhj clearfix">
|
||||
<div class="yhj1">
|
||||
<img src="__MOBILE__/img/youhuiquan2.png" />
|
||||
</div>
|
||||
<div class="yhj1">
|
||||
<img src="__MOBILE__/img/youhuiquan2.png" />
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="everyday"></div>
|
||||
|
||||
<div class="madeInChina">
|
||||
<img src="__MOBILE__/img/guochanjingxuan.png" />
|
||||
</div>
|
||||
|
||||
<div class="mdc_sp clearfix">
|
||||
<div class="gssp">
|
||||
<img src="__MOBILE__/img/QQ20170914154124.png" />
|
||||
<div class="cash">
|
||||
¥174.40
|
||||
</div>
|
||||
</div>
|
||||
<div class="gssp">
|
||||
<img src="__MOBILE__/img/QQ20170914154124.png" />
|
||||
<div class="cash">
|
||||
¥174.40
|
||||
</div>
|
||||
</div>
|
||||
<div class="gssp">
|
||||
<img src="__MOBILE__/img/QQ20170914154124.png" />
|
||||
<div class="cash">
|
||||
¥174.40
|
||||
</div>
|
||||
</div>
|
||||
<div class="gssp">
|
||||
<img src="__MOBILE__/img/QQ20170914154124.png" />
|
||||
<div class="cash">
|
||||
¥174.40
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="baby">
|
||||
镇/店/之/宝
|
||||
</div>
|
||||
|
||||
<div class="baby_cp">
|
||||
<div class="baby_sp">
|
||||
<img src="__MOBILE__/img/2.jpg" />
|
||||
<div class="wenzi">新款秋款卡通牛奶瓶拼皮透字母卫衣</div>
|
||||
<p class="sp_p"><span>¥</span>99</p>
|
||||
<div class="baby_shop">立即购买</div>
|
||||
</div>
|
||||
<div class="baby_sp">
|
||||
<img src="__MOBILE__/img/2.jpg" />
|
||||
<div class="wenzi">新款秋款卡通牛奶瓶拼皮透字母卫衣</div>
|
||||
<p class="sp_p"><span>¥</span>99</p>
|
||||
<div class="baby_shop">立即购买</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="baby">
|
||||
镇/店/之/宝
|
||||
</div>
|
||||
|
||||
<div class="six clearfix">
|
||||
<div class="six_nr">
|
||||
<p>外套</p>
|
||||
</div>
|
||||
<div class="six_nr">
|
||||
<p>外套</p>
|
||||
</div>
|
||||
<div class="six_nr">
|
||||
<p>外套</p>
|
||||
</div>
|
||||
<div class="six_nr">
|
||||
<p>外套</p>
|
||||
</div>
|
||||
<div class="six_nr">
|
||||
<p>外套</p>
|
||||
</div>
|
||||
<div class="six_nr">
|
||||
<p>外套</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="six_cp clearfix">
|
||||
<div class="six_cp_sp">
|
||||
<img src="__MOBILE__/img/QQ20170914154124.png" />
|
||||
<div class="sanjiao"></div>
|
||||
<p>RMB 299.00</p>
|
||||
</div>
|
||||
<div class="six_cp_sp">
|
||||
<img src="__MOBILE__/img/QQ20170914154124.png" />
|
||||
<div class="sanjiao"></div>
|
||||
<p>RMB 299.00</p>
|
||||
</div>
|
||||
<div class="six_cp_sp">
|
||||
<img src="__MOBILE__/img/QQ20170914154124.png" />
|
||||
<div class="sanjiao"></div>
|
||||
<p>RMB 299.00</p>
|
||||
</div>
|
||||
<div class="six_cp_sp">
|
||||
<img src="__MOBILE__/img/QQ20170914154124.png" />
|
||||
<div class="sanjiao"></div>
|
||||
<p>RMB 299.00</p>
|
||||
</div>
|
||||
<div class="six_cp_sp">
|
||||
<img src="__MOBILE__/img/QQ20170914154124.png" />
|
||||
<div class="sanjiao"></div>
|
||||
<p>RMB 299.00</p>
|
||||
</div>
|
||||
<div class="six_cp_sp">
|
||||
<img src="__MOBILE__/img/QQ20170914154124.png" />
|
||||
<div class="sanjiao"></div>
|
||||
<p>RMB 299.00</p>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="footer">
|
||||
<img src="__MOBILE__/img/ac2_footer.png"/>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
<script src="__MOBILE__/js/jquery.min.js" type="text/javascript" charset="utf-8"></script>
|
||||
|
||||
</html>
|
24
hyhproject/mobile2/view/default/demo.html
Executable file
24
hyhproject/mobile2/view/default/demo.html
Executable file
@ -0,0 +1,24 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="UTF-8">
|
||||
<title></title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
|
||||
<style type="text/css">
|
||||
.text-gradient {
|
||||
display: inline-block;
|
||||
color: green;
|
||||
font-size: 8em;
|
||||
font-family: 微软雅黑;
|
||||
background-image: -webkit-gradient(linear, 0 0, 0 bottom, from(rgba(0, 128, 0, 1)), to(rgba(511, 511, 51, 1)));
|
||||
-webkit-background-clip: text;
|
||||
-webkit-text-fill-color: transparent;
|
||||
};
|
||||
</style>
|
||||
|
||||
<h2 class="text-gradient">简明现代魔法</h2>
|
||||
</body>
|
||||
</html>
|
15
hyhproject/mobile2/view/default/dialog.html
Executable file
15
hyhproject/mobile2/view/default/dialog.html
Executable file
@ -0,0 +1,15 @@
|
||||
{/* 对话框 prompt */}
|
||||
<div class="ui-dialog" id="wst-di-prompt">
|
||||
<div class="ui-dialog-cnt">
|
||||
<div class="ui-dialog-bd">
|
||||
<p id="wst-dialog" class="wst-dialog-t">提示</p>
|
||||
<p class="wst-dialog-l"></p>
|
||||
<button id="wst-event1" type="button" class="ui-btn-s wst-dialog-b1" data-role="button">取消</button>
|
||||
<button id="wst-event2" type="button" class="ui-btn-s wst-dialog-b2">确定</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
{/* 提示分享对话框 share */}
|
||||
<div class="ui-dialog" id="wst-di-share" onclick="WST.dialogHide('share');">
|
||||
<div class="wst-prompt"></div>
|
||||
</div>
|
22
hyhproject/mobile2/view/default/error_lost.html
Executable file
22
hyhproject/mobile2/view/default/error_lost.html
Executable file
@ -0,0 +1,22 @@
|
||||
{extend name="default/base" /}
|
||||
{block name="title"}提示信息 - {__block__}{/block}
|
||||
{block name="header"}
|
||||
{php}$Title = "提示信息"{/php}
|
||||
{include file="default/header" /}
|
||||
{/block}
|
||||
{block name="main"}
|
||||
<section class="ui-container" id="errorLostBg" style="height:69%;position:relative;">
|
||||
<p>{if(isset($message))}{$message}{else}对不起你要找的商品不见了~~o(>_<)o~~{/if}</p>
|
||||
<div class="ui-btn-wrap">
|
||||
<button class="ui-btn-s" id="errorBtn" onclick="history.back()">
|
||||
返回上一页
|
||||
</button>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/block}
|
||||
{block name="js"}
|
||||
<script>
|
||||
$(function(){WST.initFooter();})
|
||||
</script>
|
||||
{/block}
|
15
hyhproject/mobile2/view/default/error_switch.html
Executable file
15
hyhproject/mobile2/view/default/error_switch.html
Executable file
@ -0,0 +1,15 @@
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="viewport" content="initial-scale=1, maximum-scale=1, user-scalable=no">
|
||||
<meta name="format-detection" content="telephone=no">
|
||||
<title>提示信息 - {:WSTConf('CONF.mallName')}</title>
|
||||
<link rel="stylesheet" href="__MOBILE__/frozenui/css/frozen.css">
|
||||
<link rel="stylesheet" href="__MOBILE__/css/common.css?v={$v}">
|
||||
</head>
|
||||
<body ontouchstart="">
|
||||
<section class="ui-container" id="errorLostBg" style="height:69%;position:relative;">
|
||||
<p>{if(WSTConf('CONF.seoMallSwitchDesc'))}{:WSTConf('CONF.seoMallSwitchDesc')}{else}商城暂时关闭{/if}</p>
|
||||
</section>
|
||||
</body>
|
||||
</htm
|
21
hyhproject/mobile2/view/default/error_sys.html
Executable file
21
hyhproject/mobile2/view/default/error_sys.html
Executable file
@ -0,0 +1,21 @@
|
||||
{extend name="default/base" /}
|
||||
{block name="title"}系统出错了 - {__block__}{/block}
|
||||
{block name="header"}
|
||||
{php}$Title = "系统出错了"{/php}
|
||||
{include file="default/header" /}
|
||||
{/block}
|
||||
{block name="main"}
|
||||
<section class="ui-container" id="errorBg" style="height:69%;position:relative;">
|
||||
<div class="ui-btn-wrap">
|
||||
<button class="ui-btn-s" id="errorBtn" onclick="history.back()">
|
||||
返回上一页
|
||||
</button>
|
||||
</div>
|
||||
</section>
|
||||
|
||||
{/block}
|
||||
{block name="js"}
|
||||
<script>
|
||||
$(function(){WST.initFooter();})
|
||||
</script>
|
||||
{/block}
|
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user